[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions s
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line |
Date: |
Sat, 09 Aug 2014 10:00:11 +0200 |
Hello,
Federico Beffa <address@hidden> writes:
> OK, I understand that the Cons above is a serious issue and nobody wants it.
> For this reason I went back to my original idea and modified the
> `org-fill-paragraph' function. This provides the two Pros above
> without having to introduce the undesired Cons. The behavior is a
> follows:
> - if \[...\] is inline, behave as before.
> - if \[ is the first non space character of a line and the closing \]
> is the last non space character of a line (possibly spanning several
> lines), then do not fill this region of the paragraph.
But then, you introduce a discrepancy between M-q results and Org
syntax. This is not optimal either.
Also, this will not be consistent anyway with \begin{...} ... \end{...}
markup, which is handled differently, unlike to LaTeX.
> Attached you find a patch with the proposed modification. I would
> greatly appreciate if you could consider it for inclusion in org-mode
> and provide feedback.
Note that you should use master to provide patches. `org-fill-paragraph'
was modified recently.
Regards,
--
Nicolas Goaziou
- [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Federico Beffa, 2014/08/05
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line,
Nicolas Goaziou <=
- [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Federico Beffa, 2014/08/07
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Federico Beffa, 2014/08/10
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Nicolas Goaziou, 2014/08/11
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Federico Beffa, 2014/08/11
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Rasmus, 2014/08/11
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Nicolas Goaziou, 2014/08/11
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Federico Beffa, 2014/08/16
- Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line, Nicolas Goaziou, 2014/08/16