Org-mode mailing list
 help / color / mirror / Atom feed
* Checkboxes in headings - opinions wanted
@ 2021-05-03  7:00 Arthur Miller
  2021-05-03  8:32 ` Bastien
  2021-05-03 15:50 ` Russell Adams
  0 siblings, 2 replies; 9+ messages in thread
From: Arthur Miller @ 2021-05-03  7:00 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-05-04 10:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-03  7:00 Checkboxes in headings - opinions wanted Arthur Miller
2021-05-03  8:32 ` 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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git