emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org, E Sabof <esabof@gmail.com>
Subject: Re: org-bullets extension
Date: Tue, 18 Dec 2012 12:05:52 +0100	[thread overview]
Message-ID: <87obhri9ta.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87fw37n0j4.fsf@gmail.com> (Jambunathan K.'s message of "Sat, 15 Dec 2012 14:40:39 +0530")

Hi Jambunathan,

Jambunathan K <kjambunathan@gmail.com> 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

  parent reply	other threads:[~2012-12-18 16:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 17:16 org-bullets extension E Sabof
2012-12-12 23:48 ` Bastien
2012-12-15  9:10 ` Jambunathan K
     [not found]   ` <CAEp6Dybepdf_-6qC9mPDyYhat9DqXht=HCb4NuihS1rmNd7JQA@mail.gmail.com>
2012-12-16  1:37     ` Fwd: " E Sabof
2012-12-18 11:05   ` Bastien [this message]
2013-01-28  0:41     ` E Sabof
2013-02-11 17:38       ` Bastien
2013-02-12  2:38         ` François Pinard
2013-02-12  4:36           ` François Pinard
2013-02-12  4:45             ` Jambunathan K
2013-02-13  7:40         ` E Sabof
2013-02-20 22:58           ` E Sabof
2013-02-21 17:58             ` François Pinard
2013-02-23  9:31             ` Bastien
2013-02-23  9:39       ` Bastien

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87obhri9ta.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=esabof@gmail.com \
    --cc=kjambunathan@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).