GNU bug report logs - #68418
refill-mode interferes with org-mode headlines

Previous Next

Package: emacs;

Reported by: Lars Rustand <rustand.lars <at> gmail.com>

Date: Sat, 13 Jan 2024 07:14:02 UTC

Severity: normal

Merged with 52778

Full log


Message #40 received at 68418 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: rustand.lars <at> gmail.com, 68418 <at> debbugs.gnu.org, salutis <at> me.com
Subject: Re: bug#68418: refill-mode interferes with org-mode headlines
Date: Sat, 13 Jan 2024 21:00:55 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: salutis <at> me.com, 68418 <at> debbugs.gnu.org, rustand.lars <at> gmail.com
> Date: Sat, 13 Jan 2024 18:37:23 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I mean the problem with refill-mode that you described in
> >
> >   https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68418#19
> >
> > Is it possible to fix that by some improvements to
> > fill-forward-paragraph-function used by Org?
> 
> I doubt so. The only idea that is coming to my mind is to make Org
> mode's `fill-forward-paragraph-function' not move anywhere when not on
> paragraph - this will prevent refill-mode from filling anything but Org
> paragraphs.

Is the problem in your example what fill-forward-paragraph-function
does, or is the problem elsewhere in refill-fill-paragraph-at and/or
refill-post-command-function?  IOW, can you tell which part(s) of
refill.el fail to DTRT in an Org buffer?  I don't know enough about
all the peculiarities of the Org format to tell what should be fixed
in that case, let alone how.




This bug report was last modified 1 year and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.