From: Arthur Miller <arthur.miller@live.com>
To: emacs-orgmode@gnu.org
Subject: Checkboxes in headings - opinions wanted
Date: Mon, 03 May 2021 09:00:40 +0200 [thread overview]
Message-ID: <DB9PR09MB4986615A691918D0D154ACFC965B9@DB9PR09MB4986.eurprd09.prod.outlook.com> (raw)
[-- Attachment #1: org-heading-checkbox.el --]
[-- Type: application/emacs-lisp, Size: 4104 bytes --]
[-- Attachment #2: Type: text/plain, Size: 854 bytes --]
Last night I have been playing with a minor mode to enable a checkbox in
a heading, or rather to fake a checkbox. To be honest, it was a 10
minute job. Took me way moare time to figure out avialable key
combination to use (which I didn't found).
In general, enable mode and use S+up/down to toggle a checkbox. A
heading with a checkbox is of form [ \t]*\\*+.*? followed by a [ ] or
[x] before a heading. It means a [ ] can be placed somewhere after the
leading stars, whitespaces ignored.
This has nothing todo with my previous hacks of todo keywords. This one
does not uses todo states at all so it can be used with todo states.
It is just a small prototype. I will use something else than
replace-string later on.
Just wonder if the approach is sane.
There is also a repo on gh for interested one:
https://github.com/amno1/org-heading-checkbox
next reply other threads:[~2021-05-03 7:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-03 7:00 Arthur Miller [this message]
2021-05-03 8:32 ` Checkboxes in headings - opinions wanted Bastien
2021-05-03 8:42 ` Timothy
2021-05-03 15:25 ` Arthur Miller
2021-05-03 15:21 ` Arthur Miller
2021-05-04 3:18 ` Ihor Radchenko
2021-05-04 10:47 ` Arthur Miller
2021-05-03 15:50 ` Russell Adams
2021-05-03 18:28 ` Arthur Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB9PR09MB4986615A691918D0D154ACFC965B9@DB9PR09MB4986.eurprd09.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.