[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-src.el begin_src/end_src fontification may have been broken rece
From: |
Eric Schulte |
Subject: |
Re: org-src.el begin_src/end_src fontification may have been broken recently |
Date: |
Mon, 13 Jun 2011 07:38:31 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Štěpán Němec <address@hidden> writes:
> Ted Zlatanov <address@hidden> writes:
>
>> On Sat, 11 Jun 2011 20:16:59 +0200 Julien Danjou <address@hidden> wrote:
>>
>>>>
>>>> Julien, are you using that extra ":" because it's legitimate? Or is it
>>>> an accident? What should I do with my patch?
>>
>> JD> Ah yes, probably a mistake.
> ^^^^^^^^
> definitely
>
>> JD> If you ask me, I'd say the syntax should allow both, but well, I admit I
>> JD> do that mistake very often… :-)
>>
>> I'd say a mistake shouldn't break Gnus' article display :) Can that be
>> fixed in org.el or in Gnus? It seems to me org.el is the right place.
>
> What is there to fix in org.el? In Org, when you use some bogus
> delimiter like #+begin_src:, the block simply won't work. If Gnus
> article display is broken, it should obviously be fixed in Gnus, no?
>
I have the following altered function definition in my personal
configuration which fixes (well, papers over) the problem.
#+begin_src emacs-lisp
(defun mm-display-org-inline (handle)
"Show an Org mode text from HANDLE inline."
(condition-case nil
(mm-display-inline-fontify handle 'org-mode)
(error (mm-insert-part handle))))
#+end_src
It is not clear to me why Org-mode fontification would only throw errors
when called from `mm-display-inline-fontify'.
Best -- Eric
--
Eric Schulte
http://cs.unm.edu/~eschulte/
- Re: org-src.el begin_src/end_src fontification may have been broken recently, (continued)
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/07
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/09
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/10
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Thierry Volpiatto, 2011/06/10
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Bastien, 2011/06/11
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/11
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/11
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Julien Danjou, 2011/06/11
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/12
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Štěpán Němec, 2011/06/13
- Re: org-src.el begin_src/end_src fontification may have been broken recently,
Eric Schulte <=
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/13
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Julien Danjou, 2011/06/14
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/14
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Julien Danjou, 2011/06/15
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Ted Zlatanov, 2011/06/15
- Re: org-src.el begin_src/end_src fontification may have been broken recently, Bastien, 2011/06/20
- Re: just-the-text Emacs frame, Julien Danjou, 2011/06/06
- Re: just-the-text Emacs frame, Jan Djärv, 2011/06/06
Re: just-the-text Emacs frame, T. V. Raman, 2011/06/10