From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: org-bullets extension Date: Sat, 15 Dec 2012 14:40:39 +0530 Message-ID: <87fw37n0j4.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:50670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjniX-0001xa-26 for emacs-orgmode@gnu.org; Sat, 15 Dec 2012 04:07:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjniV-00013m-Rv for emacs-orgmode@gnu.org; Sat, 15 Dec 2012 04:07:32 -0500 Received: from mail-pb0-f41.google.com ([209.85.160.41]:63629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjniV-00013c-MB for emacs-orgmode@gnu.org; Sat, 15 Dec 2012 04:07:31 -0500 Received: by mail-pb0-f41.google.com with SMTP id xa7so2676959pbc.0 for ; Sat, 15 Dec 2012 01:07:30 -0800 (PST) In-Reply-To: (E. Sabof's message of "Wed, 12 Dec 2012 17:16:58 +0000") 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: E Sabof Cc: emacs-orgmode@gnu.org E Sabof 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 > --