|
From: | Tom Burbage |
Subject: | Re: [O] org-mode: Would like to add custom chars as org-list bullets |
Date: | Mon, 29 Oct 2018 12:21:31 -0700 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 |
I don't think the suggestions made in that thread are going to help
in terms of org-mode recognizing a line as being a list item. What I tried that I did think might work was to customize org-list-full-item-re: org-list-full-item-re is a variable defined in ‘org-list.el’. Its value is "^[ ]*\\(\\(?:[-+*]\\|\\(?:[0-9]+\\|[A-Za-z]\\)[.)]\\)\\(?:[ ]+\\|$\\)\\)\\(?:address@hidden(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\][ ]*\\)?\\(?:\\(\\[[ X-]\\]\\)\\(?:[ ]+\\|$\\)\\)?\\(?:\\(.*\\)[ ]+::\\(?:[ ]+\\|$\\)\\)?" This variable may be risky if used as a file-local variable. Documentation: Matches a list item and puts everything into groups: group 1: bullet group 2: counter group 3: checkbox group 4: description tag to add '!' and '?' to '-+' in the group 1 _expression_, but that didn't do it. ( [-+*] => [-+!?*] ) On 10/24/2018 5:47 PM, Grant Rettke
wrote:
On Sat, Oct 13, 2018 at 1:56 AM Colin Baxter <address@hidden> wrote:Tom Burbage <address@hidden> writes:> When I use simple lists, I would like to be able to mix in '!' and > '?' with '-' as these are sometimes more expressive of what the > list item represents. My request is that the list of characters > org-list recognizes as being a valid "bullet" be customizable by > the user. Have a look at https://emacs.stackexchange.com/questions/35626/how-to-make-my-own-org-mode-text-emphasis-work-again.Which code are you recommending? |
[Prev in Thread] | Current Thread | [Next in Thread] |