emacs-orgmode
[Top][All Lists]
Advanced

[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: Federico Beffa
Subject: Re: [O] [PATCH] org.el: make org-paragraph-fill ignore \[...\] regions starting and ending a line
Date: Sat, 16 Aug 2014 09:50:07 +0200

On Mon, Aug 11, 2014 at 10:44 PM, Nicolas Goaziou
<address@hidden> wrote:
> Rasmus <address@hidden> writes:
>
>> How about adding the possibility to add hooks to org-fill-paragraph?
>> So that people can add "extensions" to fill as they want and the core
>> function can rely on org-element only?
>
> You can `defadvice' anything to your heart's content.
>

>From the elisp manual:
"...   Advising a function can cause confusion in debugging, since people
who debug calls to the original function may not notice that it has
been modified with advice.  Therefore, if you have the possibility to
change the code of that function to run a hook, please solve the
problem that way.  ..."

Given that people have different opinions on this, a hook would
actually be a good idea. It would give more freedom to the users.
Isn't this the goal of the GNU project :-)

Regards,
Fede



reply via email to

[Prev in Thread] Current Thread [Next in Thread]