From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-bullets extension Date: Tue, 18 Dec 2012 12:05:52 +0100 Message-ID: <87obhri9ta.fsf@bzg.ath.cx> References: <87fw37n0j4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl0NE-0000PO-9a for emacs-orgmode@gnu.org; Tue, 18 Dec 2012 11:50:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tl0N9-0004s2-OI for emacs-orgmode@gnu.org; Tue, 18 Dec 2012 11:50:32 -0500 Received: from mail-wg0-f54.google.com ([74.125.82.54]:53426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tl0N9-0004rU-Hq for emacs-orgmode@gnu.org; Tue, 18 Dec 2012 11:50:27 -0500 Received: by mail-wg0-f54.google.com with SMTP id fg15so411865wgb.21 for ; Tue, 18 Dec 2012 08:50:26 -0800 (PST) In-Reply-To: <87fw37n0j4.fsf@gmail.com> (Jambunathan K.'s message of "Sat, 15 Dec 2012 14:40:39 +0530") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jambunathan K Cc: emacs-orgmode@gnu.org, E Sabof Hi Jambunathan, Jambunathan K 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