From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Enhancing the Org/Gnus experience Date: Thu, 04 Nov 2010 17:21:39 +0100 Message-ID: <87r5f1hxf0.fsf@thinkpad.tsdh.de> References: <80k4lj78ui.fsf@mundaneum.com> <87sk07fl3s.fsf@gmail.com> <80k4lf337a.fsf@mundaneum.com> <80vd4z9q2f.fsf@mundaneum.com> <874oc2z2uv.fsf@gmail.com> <8062wdcp6y.fsf@mundaneum.com> <877hgtfhaq.fsf@ucl.ac.uk> <87sjzhdxmh.fsf@gmail.com> <87zktpchzr.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=47729 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PE2ce-0007xH-HL for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 12:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PE2cc-0004b4-Ut for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 12:25:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:49158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PE2cc-0004a3-NF for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 12:25:06 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PE2ca-0001DH-LZ for emacs-orgmode@gnu.org; Thu, 04 Nov 2010 17:25:04 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Nov 2010 17:25:04 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Nov 2010 17:25:04 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric S Fraga 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