On Thursday, 4 Jun 2020 at 14:49, Dominik Schrempf wrote:
> For cases like these, it would be advantageous if major modes could
> redefine certain functions.
fill-paragraph will check fill-paragraph-function and, if that this
defined, it will be used instead of the default behaviour.
--
: Eric
Dear Nicolas!
Thank you for your fast reply! I now use a custom =org-unfill-toggle= which does
the same as =unfill-toggle= but uses =org-fill-paragraph=. It just took me a
while to see where the problem lies! For cases like these, it would be
advantageous if major modes could redefine certain func
Hello,
Dominik Schrempf writes:
> I am using a global keybinding for =M-q=, so that I can fill and unfill
> paragraphs with one key stroke (unfill.el):
>
> : (global-set-key (kbd "s-q") 'unfill-toggle)
>
> For a long time, I thought that =fill-paragraph= was broken in Org mode,
> because
> it d
Hello,
I am using a global keybinding for =M-q=, so that I can fill and unfill
paragraphs with one key stroke (unfill.el):
: (global-set-key (kbd "s-q") 'unfill-toggle)
For a long time, I thought that =fill-paragraph= was broken in Org mode, because
it doesn't work well on code blocks, on lists,