GNU bug report logs -
#78561
[PATCH] Add semantic linefeed support for paragraph filling
Previous Next
Reported by: Roi Martin <jroi.martin <at> gmail.com>
Date: Fri, 23 May 2025 09:59:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #58 received at 78561-done <at> debbugs.gnu.org (full text, mbox):
> From: Roi Martin <jroi.martin <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, rms <at> gnu.org, 78561 <at> debbugs.gnu.org,
> mbork <at> mbork.pl
> Date: Tue, 03 Jun 2025 08:45:17 +0200
>
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
> > Side comment, tho: it would be good to get rid of the `with-restriction`
> > so that the code can see the surrounding text. In the past such
> > restrictions in `fill.el` have posed problems for example when we want
> > to refill code in a way that obeys indentation rules or that
> > needs to distinguish filling within strings vs filling within comments.
>
> The latest version is far from perfect but works well for the most
> common use cases. The included tests can given you an idea of the
> current state. Are you OK with tackling the `with-restriction'
> improvement in a future patch?
Thanks, I've now installed this on the master branch, and I'm
therefore closing the bug.
This bug report was last modified 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.