Eric S Fraga <[email protected]> writes:
Hi Eric,
>> if it is working, then the following code block should be fontified as
>> if in an Org-mode buffer
>>
>> #+begin_src emacs-lisp
>> (message "is it working?")
>> #+end_src
>
> Definitely not working then! This comes out as simple text in gnus
> and doesn't look at all like it would in an org buffer for me.
Hm, for me it's shown the same as verbatim blocks or stuff like
--8<---------------cut here---------------start------------->8---
this
--8<---------------cut here---------------end--------------->8---
with the difference that the markers are still visible, which is a good
thing, cause else the language wouldn't be visible. I've added only
--8<---------------cut here---------------start------------->8---
;; Highlight org-babel source code blocks and results like verbatim marks.
(add-to-list 'mm-uu-type-alist
'(org-babel-block
"^#\\+begin_src"
"^#\\+end_src"
(lambda nil
(mm-uu-verbatim-marks-extract 0 0))
nil))
(add-to-list 'mm-uu-type-alist
'(org-babel-results
"^#\\+results:"
"\n\n"
(lambda nil
(mm-uu-verbatim-marks-extract 0 0))
nil))
(mm-uu-configure)
--8<---------------cut here---------------end--------------->8---
to my ~/.gnus.el.
I use the gnus version from its git repository, but that shouldn't make
a difference.
Bye,
Tassilo
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode