[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Prepare release 8.2.6
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Prepare release 8.2.6 |
Date: |
Sat, 05 Apr 2014 21:18:24 +0200 |
Hello,
"R. Michael Weylandt" <address@hidden> writes:
>> 1) Tell Emacs not to break inline source blocks when filling paragraphs:
>>
>> http://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg01310.html
>
> Small patch in support:
Thank you.
> +(defun org-in-inline-src-block-p ()
> + "Test if within an inline src block."
> + (org-in-regexp org-babel-inline-src-block-regexp))
I suggest not to use `org-in-regexp' here but `org-element-context'.
> - org-fill-paragraph-with-timestamp-nobreak-p)))))
> + org-fill-paragraph-with-timestamp-nobreak-p
> + org-in-inline-src-block-p)))))
Besides inline source blocks, ISTR there was other places where filling
was inappropriate (verbatim, code, export snippet, macro...). A single
`org-element-context' will find them all.
Another option for the problem at hand is to simply remove newline
characters in inline source blocks before executing them.
Regards,
--
Nicolas Goaziou
- Re: [O] Prepare release 8.2.6, (continued)
- Re: [O] Prepare release 8.2.6, Alan Schmitt, 2014/04/03
- Re: [O] Prepare release 8.2.6, KDr2, 2014/04/03
- Re: [O] Prepare release 8.2.6, Rainer M Krug, 2014/04/03
- Re: [O] Prepare release 8.2.6, Rainer M Krug, 2014/04/07
- [O] Prepare release 8.2.6, Bastien, 2014/04/03
- Re: [O] Prepare release 8.2.6, Sebastien Vauban, 2014/04/04
- Re: [O] Prepare release 8.2.6, Michael Weylandt, 2014/04/04
- Re: [O] Prepare release 8.2.6, Michael Weylandt, 2014/04/04
- Re: [O] Prepare release 8.2.6, R. Michael Weylandt, 2014/04/05
- Re: [O] Prepare release 8.2.6, Nicolas Goaziou, 2014/04/05
- Re: [O] Prepare release 8.2.6, York Zhao, 2014/04/05
- Re: [O] Prepare release 8.2.6, R. Michael Weylandt, 2014/04/06
- Re: [O] Prepare release 8.2.6, Nicolas Goaziou, 2014/04/06
- Re: [O] Prepare release 8.2.6, Eric Schulte, 2014/04/10