[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Changing [X] by something else
From: |
Jambunathan K |
Subject: |
Re: [O] Changing [X] by something else |
Date: |
Sun, 12 Feb 2012 00:40:27 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (windows-nt) |
Jambunathan K <address@hidden> writes:
> address@hidden (François Pinard) writes:
>
>> I notice in org.el that [X] is hard-wired, while I would have liked the
>> possibility of changing it by [✓] 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)
> "")
> nil)))))
> #+end_src
>
> along the lines of http://www.emacswiki.org/emacs/PrettyLambda
Btw, C-h f org-toggle-pretty-entities does composition and decomposition.
--