From mboxrd@z Thu Jan 1 00:00:00 1970 From: pinard@iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois?= Pinard) Subject: Re: Changing [X] by something else Date: Sun, 12 Feb 2012 09:12:22 -0500 Message-ID: <87fwegrvi1.fsf@iro.umontreal.ca> References: <878vkdfemv.fsf@iro.umontreal.ca> <81r4y1751r.fsf@gmail.com> <87k43swz2b.fsf@iro.umontreal.ca> <81zkco7evn.fsf@gmail.com> 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]:41412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwaAD-0006xS-Ov for emacs-orgmode@gnu.org; Sun, 12 Feb 2012 09:12:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwaAC-0007oI-N9 for emacs-orgmode@gnu.org; Sun, 12 Feb 2012 09:12:25 -0500 Received: from 206-248-137-202.dsl.teksavvy.com ([206.248.137.202]:55661 helo=mercure.epsilon-ti.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwaAC-0007o5-JH for emacs-orgmode@gnu.org; Sun, 12 Feb 2012 09:12:24 -0500 In-Reply-To: <81zkco7evn.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 12 Feb 2012 11:49:24 +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 Jambunathan K writes: >> Ctrl-S being turned into a rectangle is mysterious. Is it the >> standard way for Emacs to tell about a non-printable character? > You can see the tick mark if you follow this link: > http://article.gmane.org/gmane.emacs.orgmode/52281 Oops, indeed! Checking more closely on the message you originally sent to me (with a Cc: to the mailing list)... There were two check marks in the message. If I open the message raw in Gnus (`C-u g' in the summary buffer), I see both of them coded as =3DE2=3D9C=3D93. But if I let Gnus to render the message, while the first check mark is OK, the second gets mangled into a Ctrl-S. Could it be a problem with the Gnus rendering mechanics for whatever sits between #+begin_src and #+end_src? > If the above command doesn't yield a tick mark the issue is with your > setup. Changing the Ctrl-S by the check mark, within ~/.emacs, now makes much more sense! I'm getting exactly what I wanted through this writing, inspired from yours (thanks, Jambunathan!): (font-lock-add-keywords 'org-mode '(("\\[\\(X\\)\\]" (0 (progn (compose-region (match-beginning 1) (match-end 1) "=E2=9C=94"= ) nil))) )) I'm being lucky here, as I only barely understand what the incantation means! :-) Fran=C3=A7ois