From: Grant Rettke <gcr@wisdomandwonder.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: How to use em-dash as a bullet for plain text lists?
Date: Thu, 14 Jun 2018 19:35:58 -0500 [thread overview]
Message-ID: <CAAjq1mcAhpvv5qZbho8ecT2HQVm+QA3KoBMoBPvgEZYcMMfb4g@mail.gmail.com> (raw)
In-Reply-To: <CAAjq1mc3smQAgnGBKUETJ9FVvMEqLjPWYthXrYD2mzK-5Do1hw@mail.gmail.com>
>> What could be possible, however, is to add UTF-8 characters as overlays
>> on top of standard bullets. I think "org-bullet" does something like
>> that.
This seems to work:
(font-lock-add-keywords
'org-mode
'(("^[[:space:]]*\\(-\\) "
0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "—")))))
prev parent reply other threads:[~2018-06-15 0:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-14 3:09 How to use em-dash as a bullet for plain text lists? Grant Rettke
2018-06-14 14:14 ` Nicolas Goaziou
2018-06-14 16:35 ` Grant Rettke
2018-06-15 0:35 ` Grant Rettke [this message]
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=CAAjq1mcAhpvv5qZbho8ecT2HQVm+QA3KoBMoBPvgEZYcMMfb4g@mail.gmail.com \
--to=gcr@wisdomandwonder.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@nicolasgoaziou.fr \
/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.