emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: C-c ' and mail sources
Date: Wed, 13 Nov 2013 00:16:43 -0500	[thread overview]
Message-ID: <87r4akkhj8.fsf@iro.umontreal.ca> (raw)

Hi, Org people.  Just observing this little nit.

If I insert an email message (copy and pasted from Gnus in my case)
within:

   #+BEGIN_SRC mail
   #+END_SRC

the header lines of the message are highlighted with a reasonable set of
colors.  However, with the cursor within the message, I hid "C-c '"
twice, this has the effect of shifting the inserted message two columns
to the right, the highlighting of the header is then lost.

Not a big problem, and I expect that someone on this list will reply
that this is an Org limitation (a way to say that the bug is innocuous
enough to not deserve a correction).  I rather use the word limitation
for a bug which has been documented :-).  In any case, this is a bug.

I do not know what would be the reasonable way to correct it: preventing
the shifting, or changing how highlighting interpret beginning of lines,
in case of Org?

François

             reply	other threads:[~2013-11-13  5:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13  5:16 François Pinard [this message]
2013-11-13  8:58 ` C-c ' and mail sources Bastien
2013-11-13 18:03 ` Aaron Ecay

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=87r4akkhj8.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=emacs-orgmode@gnu.org \
    /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).