[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-bullets extension
From: |
Bastien |
Subject: |
Re: [O] org-bullets extension |
Date: |
Tue, 18 Dec 2012 12:05:52 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Jambunathan,
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)))))
This does convert all headlines characters (*+) to a single
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