|
From: | E Sabof |
Subject: | Re: [O] org-bullets extension |
Date: | Mon, 28 Jan 2013 00:41:26 +0000 |
Hi Jambunathan,
This does convert all headlines characters (*+) to a single
Jambunathan K <address@hidden> writes:
> (font-lock-add-keywords
> 'org-mode `(("\\(?:^\\(?1:\\*+\\)[[:blank:]]\\)"
> (0 (progn (compose-region
> (match-beginning 1) (match-end 1)
> (pcase (length (match-string 1))
> (1 ?\u2219)
> (2 ?\u2022)
> (3 ?\u25c9)
> (_ ?\u25CB)))
> nil)))))
unicode character. Close to what many users are looking for,
but extending this snippet to handle converting several *
characters would come closer.
Are you working on this? If so, could this be a minor mode?
Thanks,
--
Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |