From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56197: 28.1; lisp-fill-paragraph result regressed with Emacs 28 Date: Sat, 28 Dec 2024 10:45:30 +0200 Message-ID: <86o70wurf9.fsf@gnu.org> References: <87zgi2xcgm.fsf@gmail.com> <87y1xlj6wn.fsf@gnus.org> <834k08c3se.fsf@gnu.org> <874k08kj31.fsf@gnus.org> <87y1xkj4co.fsf@gnus.org> <87tu88j3tf.fsf@gnus.org> <87bjwzr027.fsf@lease-up.com> <86v7v7ynf0.fsf@gnu.org> <87seq8tm2f.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 56197@debbugs.gnu.org, felix.lechner@lease-up.com, stefankangas@gmail.com To: Maxim Cournoyer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 09:46:42 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tRST3-0008E6-4i for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 09:46:41 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRSSU-0007h3-64; Sat, 28 Dec 2024 03:46:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRSSQ-0007gj-7j for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:46:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRSSP-00021l-VO for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:46:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=9fRva5hd9gWy6VZ1R88AL0n5XGzZWKIVeC0h9NNvcrw=; b=Q7QjHQA4npDi935AMMwW/+40NXVHJtZNvkkWPkdiz4kCk1lEoTie8lsKlWOSevk7VPJMuMpWZlwtVOxMMcjFJFJNK2dKXov464sxN0JxdeacoN3Uv2eZMmTPyKkdfJAoZftnPI0VMAxasUJEoUpWKZJLIx1PRnYxpaHr7t9gdWvujBWCGdc3YcPMafhpNcaxg4NRYzW5zmiFwrVkgpl0Fxn86SYE+aO1Gil88G5cwfT59iBLaGt/xnzwitrkG/t/wzZa18YpMvTpMuRlpUOG9KfWlRICpp2BvfzU7D2CryKrjgyiBCUGSGU+9f0PB9ySkto17gDa31Woq3UPGbgl6A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRSSP-0008KA-RM for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 03:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 08:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56197 X-GNU-PR-Package: emacs Original-Received: via spool by 56197-submit@debbugs.gnu.org id=B56197.173537555931989 (code B ref 56197); Sat, 28 Dec 2024 08:46:01 +0000 Original-Received: (at 56197) by debbugs.gnu.org; 28 Dec 2024 08:45:59 +0000 Original-Received: from localhost ([127.0.0.1]:48690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRSSM-0008Jt-Pu for submit@debbugs.gnu.org; Sat, 28 Dec 2024 03:45:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRSSK-0008JZ-JK for 56197@debbugs.gnu.org; Sat, 28 Dec 2024 03:45:57 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRSSE-00020A-NG; Sat, 28 Dec 2024 03:45:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9fRva5hd9gWy6VZ1R88AL0n5XGzZWKIVeC0h9NNvcrw=; b=T/7woA8kgyrB KjtdLtqfnMJ8pxYNOqk6DPlz7iNYqiWzUbvlNrBGq7sCOmc6w3DSSQ4f3BoxsCrBoNArFp0/0Wn10 Y16q+9FEEkbRekK7jU2bq7PBu79qi9uUtvwayfx/zoaVvbT6rfqkwDHLTxf47mbmpBGecL7Q3fffU HJSjHszR9dZfp/dv82SWFwtBrWC+4aF0PN0xkzBBOBezmMGaC0adfuVw0oqOvgxqTik3QDdgsw4wG /jrB01vTZfnEXsGwhctPZjmuV2aYis/qzxDbM/0w+KTErpLIJhsDVijYAnKtjAykOh7SytiJJ8TEC Vzxu8QvDePWE47kNcfUDEA==; In-Reply-To: <87seq8tm2f.fsf@gmail.com> (message from Maxim Cournoyer on Sat, 28 Dec 2024 14:26:32 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297859 Archived-At: > From: Maxim Cournoyer > Cc: Felix Lechner , 56197@debbugs.gnu.org, > stefankangas@gmail.com, larsi@gnus.org > Date: Sat, 28 Dec 2024 14:26:32 +0900 > > I can't say it feels very satisfactory; a switch like one imagined by > Felix could be a step in the right direction; it'd be at least more > concise in the project .dir-locals. Would a patch implementing that be > welcome? I don't see how a user option to control this could be useful, since the preferred behavior is not only buffer-local, but also specific to certain syntactic constructs. But I won't object to having such an option. I also don't see what's wrong with the solution of having a special function in .dir-locals.el. We don't pretend that the default Emacs behavior should necessarily fit all the use cases, and provide ample opportunities for customizing Emacs behavior for that reason. Defining a custom fill-paragraph function is a perfectly valid solution, not very different from having a user option for the same purpose. So I'm not sure I understand why you prefer adding an option, when the Guix project has already solved the problem in a perfectly legitimate and clean way.