From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Changing [X] by something else Date: Sat, 11 Feb 2012 21:09:28 +0530 Message-ID: <81r4y1751r.fsf@gmail.com> References: <878vkdfemv.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwF3G-0001fh-9b for emacs-orgmode@gnu.org; Sat, 11 Feb 2012 10:39:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwF3E-0001Xi-OX for emacs-orgmode@gnu.org; Sat, 11 Feb 2012 10:39:50 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:41832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwF3E-0001XN-HX for emacs-orgmode@gnu.org; Sat, 11 Feb 2012 10:39:48 -0500 Received: by pbcwz17 with SMTP id wz17so3493809pbc.0 for ; Sat, 11 Feb 2012 07:39:47 -0800 (PST) In-Reply-To: <878vkdfemv.fsf@iro.umontreal.ca> (=?utf-8?Q?=22Fran=C3=A7ois?= Pinard"'s message of "Wed, 08 Feb 2012 12:04:23 -0500") 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: =?utf-8?Q?Fran=C3=A7ois?= Pinard Cc: emacs-orgmode@gnu.org pinard@iro.umontreal.ca (Fran=C3=A7ois Pinard) writes: > I notice in org.el that [X] is hard-wired, while I would have liked the > possibility of changing it by [=E2=9C=93] in my things, which I find both= softer > and cleaner. How about a variation of this #+begin_src emacs-lisp (font-lock-add-keywords 'org-mode `(("\\[X\\]" (0 (progn (compose-region (match-beginning 0) (match-end 0) "=E2=9C=93") nil))))) #+end_src along the lines of http://www.emacswiki.org/emacs/PrettyLambda --=20