GNU bug report logs - #78927
[PATCH] Update `fill-region-as-paragraph-semlf' to follow fill.el protocols

Previous Next

Package: emacs;

Reported by: Roi Martin <jroi.martin <at> gmail.com>

Date: Mon, 30 Jun 2025 11:11:01 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Roi Martin <jroi.martin <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: 78927 <at> debbugs.gnu.org, eliz <at> gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#78927: [PATCH] Update `fill-region-as-paragraph-semlf' to
 follow fill.el protocols
Date: Tue, 01 Jul 2025 10:44:11 +0200
Juri Linkov <juri <at> linkov.net> writes:

> Thanks, now I tried to change this setting in .dir-locals.el:
>
>   (fill-paragraph-function . fill-paragraph-semlf)
>
> to
>
>   (fill-region-as-paragraph-function . fill-region-as-paragraph-semlf)
>
> and everything works nicely with the default keybinding 'M-q'.

I'm glad to hear that!

> Shouldn't this way of enabling the new feature be mentioned in etc/NEWS?

I think so.  I plan to send a new patch that updates the etc/NEWS file
and also adds a small section about semantic-linefeed filling to the GNU
Emacs manual.  Something similar to what is described here:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78561#5

But also explaining how to do it in Emacs.  That will allow us to use
the manual as reference in the doc strings of the semlf functions.

        Roi




This bug report was last modified 9 days ago.

Previous Next


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