GNU bug report logs - #56197
lisp-fill-paragraph behavior changed in Emacs 28

Previous Next

Package: emacs;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 24 Jun 2022 16:18:01 UTC

Severity: normal

Tags: patch

Found in version 28.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Felix Lechner <felix.lechner <at> lease-up.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 56197 <at> debbugs.gnu.org,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>, stefankangas <at> gmail.com
Subject: Re: [PATCH v3] lisp: Introduce a `lisp-fill-paragraph-as-displayed'
 variable.
Date: Sat, 25 Jan 2025 20:24:42 -0800
Hi Eli,

On Sat, Jan 25 2025, Eli Zaretskii wrote:

>> Starting with Emacs 28, filling strings now happens in a
>> narrowed scope, and looses the leading indentation and can cause
>> the string to extend past the fill-column value.  Introduce
>> `lisp-fill-paragraph-as-displayed' as a new variable allowing
>> opting out of this new behavior in specific scenarios (such as
>> when using the Scheme major mode, say).

Thanks, but the name is terrible.  The name fill-paragraph-as-displayed
is the standard behavior.  It would be better to invert the logic and
call it fill-strings-instead-of-paragraphs.

Kind regards
Felix




This bug report was last modified 109 days ago.

Previous Next


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