From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#38665: [PATCH] Add nosqueeze for fill-paragraph Date: Wed, 20 May 2020 11:59:02 +1200 Message-ID: <9e408bcd5bdfe3a4cae46564ce1cf4b7@webmail.orcon.net.nz> References: <16f1b2142c1.db34a11d477759.6290031006911449352@aoeu2code.com> <83ftbw80yx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120611"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: 38665@debbugs.gnu.org, jefferson@aoeu2code.com To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 20 02:00:12 2020 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 1jbC9b-000VIb-Rl for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 May 2020 02:00:11 +0200 Original-Received: from localhost ([::1]:45326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbC9a-00012V-Ii for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 May 2020 20:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbC9S-00011r-Ph for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 20:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jbC9S-0004xM-EU for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 20:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jbC9S-0008JU-B7 for bug-gnu-emacs@gnu.org; Tue, 19 May 2020 20:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 May 2020 00:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38665-submit@debbugs.gnu.org id=B38665.158993275431865 (code B ref 38665); Wed, 20 May 2020 00:00:02 +0000 Original-Received: (at 38665) by debbugs.gnu.org; 19 May 2020 23:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:51555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbC8f-0008Ht-UN for submit@debbugs.gnu.org; Tue, 19 May 2020 19:59:14 -0400 Original-Received: from smtp-1.orcon.net.nz ([60.234.4.34]:32785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jbC8e-0008Hl-Iv for 38665@debbugs.gnu.org; Tue, 19 May 2020 19:59:13 -0400 Original-Received: from [10.253.37.70] (port=50341 helo=webmail.orcon.net.nz) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1jbC8U-0000B5-IM; Wed, 20 May 2020 11:59:03 +1200 Original-Received: from ip-101-53-216-155.kinect.net.nz ([101.53.216.155]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 20 May 2020 11:59:02 +1200 In-Reply-To: X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- 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" Xref: news.gmane.io gmane.emacs.bugs:180634 Archived-At: On 2020-05-20 02:22, Stefan Kangas wrote: > Eli Zaretskii writes: >> It sounds like a one-off feature, so perhaps some special value of >> the prefix argument, like zero or maybe "C-u C-u", would be a >> better UI, as that would allow one to activate this option for a >> specific command. > > Agreed. Jefferson, would you like to work on an updated patch? To complicate things slightly, I have a patch languishing in my "get back to at some point" pile for enhancing the use of prefix arguments when filling text: https://lists.gnu.org/r/emacs-devel/2016-11/msg00300.html Reviewing that thread, employing C-u C-u arose: https://lists.gnu.org/r/emacs-devel/2016-11/msg00313.html My suggestion there for C-u C-u was: >>> That could mean "prompt for the fill-prefix, and use the default >>> column and justify values", but it might be more useful to instead >>> make it prompt for *everything* -- justify, fill-column, >>> fill-prefix, and maybe left-margin too. >>> >>> The default value would be provided in each case, so you could >>> just RET your way past the ones you didn't want to change. I think we could blend the 'nosqueeze' option into all this, but if the new changes could happen in a way which wouldn't create any serious conflicts for the other changes I'm still hoping to get made, that would be grand. Or if someone is motivated, please feel free to run with what I'd already done. I may have some more-recent local WIP on my other machine; I'll have a look for that later. -Phil