emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: emacs-orgmode@gnu.org
Subject: "#+BEGIN_SRC mail" and org-src-fontify-natively
Date: Thu, 04 Dec 2014 02:10:33 +0100	[thread overview]
Message-ID: <8461ds6wza.fsf@gmail.com> (raw)

Hello Org users,

  when I start emacs -Q and do the following recipe:

1) open the test file "prova.org" (see attach)
2) confirm at the file-local variable prompt, by typing "y"
3) quit with C-x C-c 

then Emacs unexpectedly asks for a confirm to save the
modified buffer "org-src-fontify:mail-mode", even if I took care
to avoid any editing between steps 2) and 3).

  The unexpected confirm is not asked if the same recipe is replayed
with a modified "prova.org", where org-src-fontify-natively has been
set to nil instead of t.

  May I please ask: it's reproducible for you as well? any clue on
how to suppress that annoying confirm? Thanks in advance for your
suggestions.

  Another minor issue is that "To:" and "Subject:" aren't fontified
if the mail text is indented by two spaces (typically added by default
if you edit the block by typing C-c '). Not a big deal, just to let
you know. One could just avoid using C-c ' and align the mail text
at left side. The issue is visible in the buffer window, but
HTML export is not affected, it works fine.

  Thanks for reading, kindest regards.

  Andrea

             reply	other threads:[~2014-12-04  1:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-04  1:10 Andrea Rossetti [this message]
2014-12-04  1:16 ` "#+BEGIN_SRC mail" and org-src-fontify-natively Andrea Rossetti
2014-12-05  8:56 ` Nicolas Goaziou
2014-12-21 16:58   ` Andrea Rossetti

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=8461ds6wza.fsf@gmail.com \
    --to=andrea.rossetti@gmail.com \
    --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).