emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pondersson <pondersson@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] No org-checkbox face when using alphabetical bullets
Date: Tue, 13 Jun 2023 23:01:25 +0200	[thread overview]
Message-ID: <CAHewz5N5vNMiWFuG3t=bZoyVmsYswyerZ6VsLC88DGTXR+AhOA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

The org-checkbox face does not get applied when using alphabetical
bullets in plain lists. See the attached ECM.

This might be intentional, and if so I'd like to know the reasoning
behind it, but I couldn't find any information about it in the code or
the manual. When checking Org's git history I found that the current
version of the responsible regexp dates back to 2010 whereas
alphabetical bullets were added in 2011, so I figure there's a chance
that it's just an oversight.

Here is a link to the regexp in question:
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/lisp/org.el?h=main#n5852

This issue was reported a couple of years ago but ignored:
https://lists.gnu.org/archive/html/emacs-orgmode/2021-02/msg00395.html

I'm using the latest development version of Org at the time of sending
this email.

Thanks

[-- Attachment #2: minimal.emacs --]
[-- Type: application/octet-stream, Size: 175 bytes --]

(add-to-list 'load-path (expand-file-name "~/Git/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.org\\`" . org-mode))
(require 'org)
(setq org-list-allow-alphabetical t)

[-- Attachment #3: checkbox-face.org --]
[-- Type: text/org, Size: 109 bytes --]

Numerical bullet, checkbox gets the org-checkbox face:
1) [X] item
Alphabetical bullet, no face:
a) [X] item

             reply	other threads:[~2023-06-13 21:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 21:01 pondersson [this message]
2023-06-14 10:50 ` [BUG] No org-checkbox face when using alphabetical bullets Ihor Radchenko

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHewz5N5vNMiWFuG3t=bZoyVmsYswyerZ6VsLC88DGTXR+AhOA@mail.gmail.com' \
    --to=pondersson@gmail.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).