From: pinard@iro.umontreal.ca (François Pinard)
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Changing [X] by something else
Date: Sun, 12 Feb 2012 09:12:22 -0500 [thread overview]
Message-ID: <87fwegrvi1.fsf@iro.umontreal.ca> (raw)
In-Reply-To: <81zkco7evn.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 12 Feb 2012 11:49:24 +0530")
Jambunathan K <kjambunathan@gmail.com> 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 =E2=9C=93. 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) "✔") nil)))
))
I'm being lucky here, as I only barely understand what the incantation
means! :-)
François
prev parent reply other threads:[~2012-02-12 14:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-08 17:04 Changing [X] by something else François Pinard
2012-02-08 17:16 ` suvayu ali
2012-02-08 17:29 ` François Pinard
2012-02-08 17:40 ` suvayu ali
2012-02-09 16:26 ` Nicolas Goaziou
2012-02-09 16:54 ` François Pinard
2012-02-10 13:24 ` Allen S. Rout
2012-02-12 4:06 ` François Pinard
2012-02-10 13:23 ` Allen S. Rout
2012-02-11 9:40 ` Reiner Steib
2012-02-11 15:39 ` Jambunathan K
2012-02-11 19:10 ` Jambunathan K
2012-02-11 19:18 ` Jon Miller
2012-02-12 2:44 ` François Pinard
2012-02-12 6:19 ` Jambunathan K
2012-02-12 14:12 ` François Pinard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fwegrvi1.fsf@iro.umontreal.ca \
--to=pinard@iro.umontreal.ca \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).