From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrea Rossetti Subject: "#+BEGIN_SRC mail" and org-src-fontify-natively Date: Thu, 04 Dec 2014 02:10:33 +0100 Message-ID: <8461ds6wza.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwKwY-0006xW-Bf for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 20:10:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwKwS-000072-UB for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 20:10:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:35844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwKwS-00006x-M1 for emacs-orgmode@gnu.org; Wed, 03 Dec 2014 20:10:48 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XwKwQ-00052G-H9 for emacs-orgmode@gnu.org; Thu, 04 Dec 2014 02:10:46 +0100 Received: from net-93-147-78-10.cust.dsl.teletu.it ([93.147.78.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Dec 2014 02:10:46 +0100 Received: from andrea.rossetti by net-93-147-78-10.cust.dsl.teletu.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Dec 2014 02:10:46 +0100 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: emacs-orgmode@gnu.org 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