emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BEGIN_SRC..END_SRC


From: Bastien
Subject: Re: BEGIN_SRC..END_SRC
Date: Sat, 05 May 2012 15:38:24 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

Hi Eli,

Eli Zaretskii <address@hidden> writes:

>> From: Tom Rauchenwald <address@hidden>
>> Date: Sat, 05 May 2012 10:39:32 +0200
>> 
>> Eli Zaretskii <address@hidden> writes:
>> 
>> > Do these BEGIN_SRC and END_SRC marks serve some useful purpose in mail
>> > messages?
>> 
>> In recent Gnus builds it will font lock that part off the message
>> appropriatly, making it look pretty.
>
> Thanks, but why isn't this done in general-purpose font-lock of email
> messages?  Why limit this to Gnus?

Here is the relevant code in lisp/gnus/mm-view.el:

(defun mm-display-org-inline (handle)
  "Show an Org mode text from HANDLE inline."
  (mm-display-inline-fontify handle 'org-mode))

I don't if we can use mm-view.el outside Gnus but if so, it would
be great.

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]