emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-bullets extension


From: Jambunathan K
Subject: Re: [O] org-bullets extension
Date: Sat, 15 Dec 2012 14:40:39 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

E Sabof <address@hidden> writes:

> Hello,
>
> I am the author of org-bullets extension, which can be found at 
> github.com/sabof/org-bullets
>
> I wondered whether you would like to include it in org-contrib, or
> perhaps integrate the functionality in org-mode?

I think what the package does can be achieved by the following snippet
or with minor tweaks to it.  Is my understanding correct?

    (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)))))

> Evgeni
>

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]