Skip to content

Creating a new checkbox in a list with org meta return unchecks the first checkbox #960

Closed
@gerazov

Description

@gerazov

Describe the bug

A cute little bug that is not a big deal but just reporting it here 🙂

Steps to reproduce

Create a list of checkboxes and check them all:

* TODO Checklist [4/4]
  - [X] item 1
  - [X] item 2
  - [X] item 3
  - [X] item 4

Now go to last line and do org_meta_return (I guess <leader><cr> is the default mapping - couldn't find it in the documentation), and you get:

* TODO Checklist [3/5]
  - [ ] item 1
  - [X] item 2
  - [X] item 3
  - [X] item 4
  - [ ] 

Expected behavior

Not to uncheck first checkbox.

Emacs functionality

No response

Minimal init.lua

/

Screenshots and recordings

No response

nvim-orgmode version

latest

OS / Distro

Manjaro Linux

Neovim version/commit

v0.10.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions