orgmode icon indicating copy to clipboard operation
orgmode copied to clipboard

Manage checkboxes as we do headings

Open lyz-code opened this issue 2 years ago • 1 comments

Does this feature exist in Emacs orgmode core?

N/A

Orgmode link

No response

Feature value

I'd find it useful to be able to manage the checkboxes as we do the headings, namely:

  • Promote and demote them with org_do_promote, org_do_demote, org_promote_subtree, org_demote_subtree.
  • Move it up and down with org_move_subtree_up and org_move_subtree_down

Additional context

If there is a way to do this I'm sorry :S, I'm just diving in nvim-orgmode for the first time (It is awesome!)

lyz-code avatar Feb 24 '23 13:02 lyz-code

Emacs does support both features.

Promotion 'kinda' works by visually selecting the line with V and then <<. To demote do >> instead. However, that's just vim functionality, we're not doing anything elaborate. E.g.

  - [X] foo
      - [X] bar
  - [ ] baz

demoting baz should result in

  - [-] foo
      - [X] bar
      - [ ] baz

since foo no longer is completely checked. But that's not what's happening currently.

Moving list items up and down is not yet possible, but shouldn't be too hard.

Offtopic: @kristijanhusak what's your opinion on splitting the enhancement label into one for missing emacs functionality and one for other improvements not found in emacs. Speaking of labels: this issue seems like a candidate for good first issue

jgollenz avatar Feb 25 '23 07:02 jgollenz