GNU bug report logs - #38665
[PATCH] Add nosqueeze for fill-paragraph

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Jefferson Carpenter <jefferson@HIDDEN>; dated Wed, 18 Dec 2019 22:30:03 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 10 Jan 2024 22:17:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 10 17:17:07 2024
Received: from localhost ([127.0.0.1]:43439 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rNgsh-0007bm-PN
	for submit <at> debbugs.gnu.org; Wed, 10 Jan 2024 17:17:07 -0500
Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:49338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1rNgsf-0007at-GN
 for 38665 <at> debbugs.gnu.org; Wed, 10 Jan 2024 17:17:02 -0500
Received: by mail-ed1-x52f.google.com with SMTP id
 4fb4d7f45d1cf-5542a7f1f3cso5539212a12.2
 for <38665 <at> debbugs.gnu.org>; Wed, 10 Jan 2024 14:17:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704925017; x=1705529817; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=Um7HCwOBLMSVOjBowsVVBzjgjt2lvHv47g572BEq47w=;
 b=fsy6orOwb7JRRsnO3MxnCNyfGr32wCLMqz+ZsdMgReaRtaSwsia0GO0r0w2BSoK4IQ
 YXHdTsc6PoTKwdHT0tojOPV797f2B8VvTiE2cHoq72gq9HNjo+lXllVziwaovtcgnWQ7
 PvBhOEiBUwfakdfbCc6AV27wbeFhwKIsfpEl52Nf3cLSHW+jnAieaNprLwQ75VLsUnAU
 ShdvaW0El6IWsAV9s5+ELfODvbAXvMu+kOU2JnSSnrJIMUHFJI4lnSzQl2JUUnFMTPUk
 Upd1XQwXb7QGZs5ipn70Oz+ddrkUvEwwDvmjo7TU0K7GcZNVG5KG2RTZilfEVGYPolB/
 VvZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704925017; x=1705529817;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=Um7HCwOBLMSVOjBowsVVBzjgjt2lvHv47g572BEq47w=;
 b=cgDzXCEYpjr3WfGeD9+aXkMFeIIW3b7FHw5078b19BHkvtZV/patPLCu1cvA4YJdeL
 U1s58WvSR0fvwgSdSnlHz0Tv7hS5f5Acq9xmBBnPKFecVu8NYdxvSRA5gvdJwg82WFDq
 kS5PFgCxfeuYgqGsBLG/6XlZMRb7P0Uv3yK7XJcsQf0vRErSDfzD1njDT7PdKFxo0MuH
 7xB1mt4uuD/I+sU06ZuHxCqGxA2VaCTHURbvPWhewu9+06tL5JRmkm7A3hxgAJ75lR+r
 0MUmgtsozwoiNPN2G4RMTe05qMe7yA2Gjdw+B0pQkvHwI+c76zuhy0RAojD5pu8LllJw
 7AvQ==
X-Gm-Message-State: AOJu0YyDn6cK2AMR9/HHHgzxJ//MzoaKjbHb6PyssFWpkiff7QECsvAR
 anb+KwqCGmsdtniGg5X4W9z0eB9tpxpSH8YqIL8=
X-Google-Smtp-Source: AGHT+IF8rLLAbTVfMtWBDwv3vPDXzSFxteO/MCaPM1nq1CK4hLi9Bw+xIs9Ph5gbRHX1deuiVLhrXsy8Wh+EWegfbWA=
X-Received: by 2002:a05:6402:308e:b0:557:1a95:1569 with SMTP id
 de14-20020a056402308e00b005571a951569mr81374edb.36.1704925016859; Wed, 10 Jan
 2024 14:16:56 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Wed, 10 Jan 2024 14:16:56 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <CADwFkm=yjvvtNE7RLGSPR3FXSHgJFRtAfzB5pcJvsTzC_DuYFw@HIDDEN>
 (Stefan Kangas's message of "Thu, 24 Nov 2022 17:36:48 -0800")
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 <83ftbw80yx.fsf@HIDDEN>
 <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
 <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN>
 <87v9fuu0l1.fsf@HIDDEN>
 <CADwFkm=yjvvtNE7RLGSPR3FXSHgJFRtAfzB5pcJvsTzC_DuYFw@HIDDEN>
MIME-Version: 1.0
Date: Wed, 10 Jan 2024 14:16:56 -0800
Message-ID: <CADwFkmkdd_a3o3aiAW42pUNo-tuqW8WxY=RmqhKx5HoNz92=Jg@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 38665
Cc: Phil Sainty <psainty@HIDDEN>, 38665 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz@HIDDEN>, jefferson@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stefan Kangas <stefankangas@HIDDEN> writes:

> Lars Ingebrigtsen <larsi@HIDDEN> writes:
>
>> Phil Sainty <psainty@HIDDEN> writes:
>>
>>> 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.
>>
>> I think the idea is sound -- there's so many variations of what you'd
>> possibly want this command to do, so prompting seems good: Neither user
>> options nor adding more prefix combinations would help, I think.
>>
>> If you could finish up the WIP and post the patch, that'd be great.
>
> That was 2 years ago.  Phil, did you make any progress with your patch?

Friendly "one year later" ping.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 25 Nov 2022 01:36:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 24 20:36:56 2022
Received: from localhost ([127.0.0.1]:60956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oyNeB-00038J-SF
	for submit <at> debbugs.gnu.org; Thu, 24 Nov 2022 20:36:56 -0500
Received: from mail-ot1-f41.google.com ([209.85.210.41]:46928)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1oyNeA-000385-CH
 for 38665 <at> debbugs.gnu.org; Thu, 24 Nov 2022 20:36:54 -0500
Received: by mail-ot1-f41.google.com with SMTP id
 m7-20020a9d6447000000b0066da0504b5eso1826173otl.13
 for <38665 <at> debbugs.gnu.org>; Thu, 24 Nov 2022 17:36:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=DbSmNjZU7E0Y/JVkCcqOKGGF9wTCiNC7FEgj8TniNKI=;
 b=G8BMpTNd1iBFdL7R1WqkQVGyM7jbmw35/pE+ZmWwsFzU9qzZUDnrsOi5BgSah2ay4X
 m0LvTxExyAIGR+ANe0Hqi9mWc6dLd1lCnzOzuwcwp4+thgCFE36KC8MoEG0JKah6PRt6
 96yToyrzgtBEjudOekWwkSa4LC34a2Sw8ZUqW0ZAgxc9naiypDR44um5A0pTM+x81jAs
 bb4BjWW9C3eDEPWAjh5TSfDqIVuW6QhWD8o3aiwyM9w+HK2YHvrst8PiZ0B4RG00f9Fz
 N6y0pRZC1RS6hYWBL1KY/CIRLI5OH26KsMuKboQaoX/Dd9e2CN0MHZzUmqIfSS4KOXXz
 /2MA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=DbSmNjZU7E0Y/JVkCcqOKGGF9wTCiNC7FEgj8TniNKI=;
 b=EfOQYH8stgb2oFu5xRsz2wFoK8Twxg2XSMuxKjkVTo0riTy/inseuY328vxQ59Ih/W
 f2x5CncCY8iqEJW9ndXRBVRcL0Ka6Df1CqR6kiA2WrbnR9mTw/7yWsUtcHhioeexSjcd
 XhwcqSjsY3uZL+pDamt/k5Oxn5OVxTPKWiWp9FCpM4ZZiYV1cShTIohzWrVYGyjAsvOd
 9uZUs8v2Gqt/O9lW65PSkGJk73/Ak2bfxkGLxCLHrBDEbVjiaqiq4umxQLb9l0HGzDp2
 6EU522r60oQfspedfCDngfsX4VU4IOJ78NcQUC7Zr00lWWkpvyP/GDcu8TP2twCs4uDw
 diWw==
X-Gm-Message-State: ANoB5pl6o2dxshXRu7Urclb6X5DtcFWMLU729vwARdi8WKLcTSDGxa3H
 jl/qlcTxT073z9CE0/LVcEXxznZx4XCGvWhqOn4=
X-Google-Smtp-Source: AA0mqf7Ep8vVhOIodxf0dlaFo+DiU4oeIqoDa84xyHaVqMUwtOXkNrKpY8nHLIVyLyi3CNRhMmk7QvgBaJyt1IH4E0o=
X-Received: by 2002:a9d:70cc:0:b0:66c:5232:b9d1 with SMTP id
 w12-20020a9d70cc000000b0066c5232b9d1mr7868221otj.224.1669340208844; Thu, 24
 Nov 2022 17:36:48 -0800 (PST)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Thu, 24 Nov 2022 17:36:48 -0800
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <87v9fuu0l1.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu,
 01 Oct 2020 04:44:26 +0200")
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 <83ftbw80yx.fsf@HIDDEN>
 <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
 <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN>
 <87v9fuu0l1.fsf@HIDDEN>
X-Hashcash: 1:20:221125:larsi@HIDDEN::LkeBQkpaO/ZkoZaP:3P7+
MIME-Version: 1.0
Date: Thu, 24 Nov 2022 17:36:48 -0800
Message-ID: <CADwFkm=yjvvtNE7RLGSPR3FXSHgJFRtAfzB5pcJvsTzC_DuYFw@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
To: Lars Ingebrigtsen <larsi@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 38665
Cc: Phil Sainty <psainty@HIDDEN>, 38665 <at> debbugs.gnu.org,
 Eli Zaretskii <eliz@HIDDEN>, jefferson@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> Phil Sainty <psainty@HIDDEN> writes:
>
>> 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.
>
> I think the idea is sound -- there's so many variations of what you'd
> possibly want this command to do, so prompting seems good: Neither user
> options nor adding more prefix combinations would help, I think.
>
> If you could finish up the WIP and post the patch, that'd be great.

That was 2 years ago.  Phil, did you make any progress with your patch?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 1 Oct 2020 02:44:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 30 22:44:42 2020
Received: from localhost ([127.0.0.1]:33580 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kNoaI-0003Nq-HT
	for submit <at> debbugs.gnu.org; Wed, 30 Sep 2020 22:44:42 -0400
Received: from quimby.gnus.org ([95.216.78.240]:53392)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1kNoaG-0003Na-C7
 for 38665 <at> debbugs.gnu.org; Wed, 30 Sep 2020 22:44:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=IVPgEaJxDhXENdnGDGmqB+U+zQhpExkN1JnVMrJHZyc=; b=Ppe8pf7xd5HIK3TNRyG2Qi54yT
 lJTjZY3WCHf4okyR7foYIofEHoyhInWxXzyXeyk2T255I0LgIYvMX+a2pQfM9FdWbyiF/8gXafHsM
 wfef1LPa67ADHXaVtGj0J/15qIy2WoS4CGRExSqts/Vw3fRhSA3OHE6NZY35/GGaLc38=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1kNoa3-000174-PE; Thu, 01 Oct 2020 04:44:31 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Phil Sainty <psainty@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 <83ftbw80yx.fsf@HIDDEN>
 <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
 <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN>
X-Now-Playing: Barbara Morgenstern's _Beide_: =?utf-8?Q?=22=C3=9Cbermorgen?=
 =?utf-8?Q?=22?=
Date: Thu, 01 Oct 2020 04:44:26 +0200
In-Reply-To: <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN> (Phil
 Sainty's message of "Wed, 20 May 2020 11:59:02 +1200")
Message-ID: <87v9fuu0l1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Phil Sainty <psainty@HIDDEN> writes: > 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 prom [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 38665
Cc: 38665 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 jefferson@HIDDEN, Stefan Kangas <stefan@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Phil Sainty <psainty@HIDDEN> writes:

> 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.

I think the idea is sound -- there's so many variations of what you'd
possibly want this command to do, so prompting seems good: Neither user
options nor adding more prefix combinations would help, I think.

If you could finish up the WIP and post the patch, that'd be great.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 21 May 2020 01:51:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 20 21:51:19 2020
Received: from localhost ([127.0.0.1]:54847 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jbaMg-00062J-Lt
	for submit <at> debbugs.gnu.org; Wed, 20 May 2020 21:51:19 -0400
Received: from smtp-4.orcon.net.nz ([60.234.4.59]:35403)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <psainty@HIDDEN>) id 1jbaMd-000627-V7
 for 38665 <at> debbugs.gnu.org; Wed, 20 May 2020 21:51:17 -0400
Received: from [10.253.37.70] (port=57740 helo=webmail.orcon.net.nz)
 by smtp-4.orcon.net.nz with esmtpa (Exim 4.90_1)
 (envelope-from <psainty@HIDDEN>)
 id 1jbaMS-0007no-Mv; Thu, 21 May 2020 13:51:05 +1200
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); Thu, 21 May 2020 13:51:04 +1200
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 21 May 2020 13:51:04 +1200
From: Phil Sainty <psainty@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
In-Reply-To: <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN>
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 <83ftbw80yx.fsf@HIDDEN>
 <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
 <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN>
Message-ID: <fb8d888e70d14828462cdbb43434940f@HIDDEN>
X-Sender: psainty@HIDDEN
User-Agent: Orcon Webmail
X-GeoIP: --
X-Spam_score: -2.9
X-Spam_score_int: -28
X-Spam_bar: --
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 38665
Cc: 38665 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 jefferson@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2020-05-20 11:59, Phil Sainty wrote:
> I may have some more-recent local WIP on my other machine;
> I'll have a look for that later.

Having checked this, I do have a fairly sizeable WIP diff
against my initial patch, and it all still applies with
only one minor context change.  That's all I've checked
though -- I haven't tried to work out exactly where I got
to with the changes, or which problems still needed to be
figured out.

The additional changes are very much WIP and messy, so
there's not a nice patch to put anywhere; but if someone
is interested in actively working on this feature in the
near future, and didn't mind picking through some mess,
then let me know.

-Phil





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.
Removed tag(s) patch. Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 19 May 2020 23:59:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 19:59:14 2020
Received: from localhost ([127.0.0.1]:51555 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jbC8f-0008Ht-UN
	for submit <at> debbugs.gnu.org; Tue, 19 May 2020 19:59:14 -0400
Received: from smtp-1.orcon.net.nz ([60.234.4.34]:32785)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <psainty@HIDDEN>) id 1jbC8e-0008Hl-Iv
 for 38665 <at> debbugs.gnu.org; Tue, 19 May 2020 19:59:13 -0400
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 <psainty@HIDDEN>)
 id 1jbC8U-0000B5-IM; Wed, 20 May 2020 11:59:03 +1200
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
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 20 May 2020 11:59:02 +1200
From: Phil Sainty <psainty@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
In-Reply-To: <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 <83ftbw80yx.fsf@HIDDEN>
 <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
Message-ID: <9e408bcd5bdfe3a4cae46564ce1cf4b7@HIDDEN>
X-Sender: psainty@HIDDEN
User-Agent: Orcon Webmail
X-GeoIP: --
X-Spam_score: -2.9
X-Spam_score_int: -28
X-Spam_bar: --
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 38665
Cc: 38665 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>,
 jefferson@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2020-05-20 02:22, Stefan Kangas wrote:
> Eli Zaretskii <eliz@HIDDEN> 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





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 19 May 2020 14:22:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 10:22:23 2020
Received: from localhost ([127.0.0.1]:50714 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jb38R-0004NA-Df
	for submit <at> debbugs.gnu.org; Tue, 19 May 2020 10:22:23 -0400
Received: from mail-qk1-f178.google.com ([209.85.222.178]:41550)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1jb38P-0004Mw-2K
 for 38665 <at> debbugs.gnu.org; Tue, 19 May 2020 10:22:22 -0400
Received: by mail-qk1-f178.google.com with SMTP id n14so15230966qke.8
 for <38665 <at> debbugs.gnu.org>; Tue, 19 May 2020 07:22:21 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:mime-version:date
 :message-id:subject:to:cc;
 bh=pmqy3iMJ/EqwFctytBqlncUlRosqlfdg0kVPZBgdiv8=;
 b=J2KiJRZMLBbSLpyot2735WCFuFAfPRwLWnAOJchp2qbBL9Sxt5Rh8PsMdQA/ML+mwq
 TeoyeABaymos9qAQUXcvl11OVAFCTWiqUBfTzg6kV5pivLAzq/VEGdkbZFqMsBTVIr7b
 1W/dGfUPHdDqlegM7N1mKQREwIEyeXd/syTXIAMxJxS0RQkHg8pjN+zdaNIIIFR746J7
 /13iJvWL3eKCjMb+VyUUZHt3iBrR82q+Va7JQjeUFn6C0ObUuYg+KvNYtSKJkZFVnntf
 2y12P9W55M+C9RVLsY9+97CP7KVZw7LRPYCSGpntZjYiELpNz34hu/NaiJux5VSd8EeT
 eh9Q==
X-Gm-Message-State: AOAM530E221f8nU8kZYptTTlf64ZsKu9bQprCZivX0qDkIlmh7eBGN5V
 6daCnikbwX1Fz9RnGgbXfVp26QuRRpJ/s91WMxaCTg==
X-Google-Smtp-Source: ABdhPJzs+Rgl7RgHeaGgFIfJdV5SWWuNS4hBYsd8EmvasXdh1qltSZ3ipNCkRLmiLGMuTFoLZJcjyjDVbBdUtW+u1zk=
X-Received: by 2002:a25:5f52:: with SMTP id h18mr20189810ybm.231.1589898135553; 
 Tue, 19 May 2020 07:22:15 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Tue, 19 May 2020 07:22:15 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <83ftbw80yx.fsf@HIDDEN>
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 <83ftbw80yx.fsf@HIDDEN>
MIME-Version: 1.0
Date: Tue, 19 May 2020 07:22:15 -0700
Message-ID: <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 38665
Cc: 38665 <at> debbugs.gnu.org, jefferson@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Eli Zaretskii <eliz@HIDDEN> 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?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 19 May 2020 14:16:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 10:16:00 2020
Received: from localhost ([127.0.0.1]:50695 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jb32G-0004BZ-LR
	for submit <at> debbugs.gnu.org; Tue, 19 May 2020 10:16:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59552)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1jb32F-0004BO-Nb
 for 38665 <at> debbugs.gnu.org; Tue, 19 May 2020 10:15:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:51845)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <eliz@HIDDEN>)
 id 1jb329-0002x2-Mp; Tue, 19 May 2020 10:15:54 -0400
Received: from [176.228.60.248] (port=4189 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1jb329-0003ou-68; Tue, 19 May 2020 10:15:53 -0400
Date: Tue, 19 May 2020 17:15:50 +0300
Message-Id: <83ftbw80yx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
 (message from Stefan Kangas on Mon, 18 May 2020 21:13:27 -0700)
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 38665
Cc: 38665 <at> debbugs.gnu.org, jefferson@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Stefan Kangas <stefan@HIDDEN>
> Date: Mon, 18 May 2020 21:13:27 -0700
> Cc: 38665 <at> debbugs.gnu.org
> 
> > Use case: I'm writing markdown text that goes something like
> >
> >     Outputs a 12-character string blah blah blah blah or if blah blah blah, returns `"            "`.
> >
> > In which the markdown contains a literal string with 12 spaces.  When I run fill-paragraph on that, the spaces get collapsed down to 1 space, so I added a customization option to keep the 12-space string unchanged.
> 
> Thanks for the patch, and sorry for the much the delayed response.
> 
> I think this could go in, if some people find it useful.

It sounds strange to me to have a defcustom for this.  Are you saying
that you want this no-squeeze variant for all or many M-q commands or
for prolonged periods of time?  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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.

Message received at 38665 <at> debbugs.gnu.org:


Received: (at 38665) by debbugs.gnu.org; 19 May 2020 04:13:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 19 00:13:35 2020
Received: from localhost ([127.0.0.1]:48878 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jatdH-0005OP-LF
	for submit <at> debbugs.gnu.org; Tue, 19 May 2020 00:13:35 -0400
Received: from mail-qk1-f181.google.com ([209.85.222.181]:46429)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1jatdF-0005O7-Gn
 for 38665 <at> debbugs.gnu.org; Tue, 19 May 2020 00:13:34 -0400
Received: by mail-qk1-f181.google.com with SMTP id f83so13137475qke.13
 for <38665 <at> debbugs.gnu.org>; Mon, 18 May 2020 21:13:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=JfKeOGHlPhoKVk8GnnRruiVstU20lYWiKsjj7ss8zJo=;
 b=fJMMuZbonBTM7ElLj8xYUGaOSaLgadA4clOozrOe5WO1wuCHZndhfVIkJh3C8GAEVu
 xlOd/LxZb/apJOHmtdyV0CNUl1QPm2FmrYEZ+lcrsBOrPA+5IBVhY3FVsiaYev9Les+G
 WyjZ5ucad+00+HAw21Qfd7M0H2S2rhJ8d4zGyKPzV2DyCHUi0WE9pozxGjcNT2W5YKp0
 BfQCLVDsR5xytg2W7o5n29iGdy9Lgawz8SYe/eZVXl+4SOYKgmf14nUFNhfvu2Qlb5FU
 McvJ+gGKESTkBj3E5cZIB8GIp7YYS1fEy+kFESJvHxiehUTWRzB+9wBSCcxNc+Zwc94S
 sKCw==
X-Gm-Message-State: AOAM532NkX7RZIYoNoIvZyd6uM9ZH8jHEVHYp6zbOCHoFoM3n2WX9UWy
 wQoFuxqBf89FJYRLXFsOu+eJTY5piH1F7KVNrZ5iPw==
X-Google-Smtp-Source: ABdhPJxijPywtOhnaGt9nWCYmICfJBFXWK0D5t9foYEWjMVWqW3KFLr8astqhiyJuhMEiC3Qq4wa+e/jjTJEQzNw+Uc=
X-Received: by 2002:a25:5f52:: with SMTP id h18mr16650125ybm.231.1589861608009; 
 Mon, 18 May 2020 21:13:28 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 18 May 2020 21:13:27 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
 (Jefferson Carpenter's message of "Wed, 18 Dec 2019 22:29:22 +0000")
References: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Date: Mon, 18 May 2020 21:13:27 -0700
Message-ID: <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@HIDDEN>
Subject: Re: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
To: Jefferson Carpenter <jefferson@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 38665
Cc: 38665 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Jefferson Carpenter <jefferson@HIDDEN> writes:

> Just added this patch for myself, thought I would pass it along for comments and/or for merging should you think it a good idea.
>
> Use case: I'm writing markdown text that goes something like
>
>     Outputs a 12-character string blah blah blah blah or if blah blah blah, returns `"            "`.
>
> In which the markdown contains a literal string with 12 spaces.  When I run fill-paragraph on that, the spaces get collapsed down to 1 space, so I added a customization option to keep the 12-space string unchanged.

Thanks for the patch, and sorry for the much the delayed response.

I think this could go in, if some people find it useful.

Any other opinions?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Dec 2019 22:29:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 18 17:29:33 2019
Received: from localhost ([127.0.0.1]:44080 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ihhoy-0004jd-K8
	for submit <at> debbugs.gnu.org; Wed, 18 Dec 2019 17:29:32 -0500
Received: from lists.gnu.org ([209.51.188.17]:37181)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jefferson@HIDDEN>) id 1ihhox-0004jW-6M
 for submit <at> debbugs.gnu.org; Wed, 18 Dec 2019 17:29:31 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:47433)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <jefferson@HIDDEN>) id 1ihhow-0006hv-3w
 for bug-gnu-emacs@HIDDEN; Wed, 18 Dec 2019 17:29:31 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jefferson@HIDDEN>) id 1ihhov-0000jr-0z
 for bug-gnu-emacs@HIDDEN; Wed, 18 Dec 2019 17:29:29 -0500
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21133)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jefferson@HIDDEN>)
 id 1ihhot-0000gN-Md
 for bug-gnu-emacs@HIDDEN; Wed, 18 Dec 2019 17:29:28 -0500
ARC-Seal: i=1; a=rsa-sha256; t=1576708162; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=UfhVqYyAWPy2Jw7tF19G7xVtXgYbYeb7EReiTrXl6BjhMKeKyn4RH5/Z2sqm//a0EhLxIBJ0QkV89PhRFtEH0J0v9Ddt1dpjRwRiFqxmpYXKpjWiTDl23hZpe34eYsRUJLCLHusZzvhKQMDqxSul9iaJMln/o6N3iMv0/ABasQY=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; 
 t=1576708162; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; 
 bh=xPAgfzTyGUK84RaNNQ/0Zt1iSET/2Yh3zBrYk/JYo4Q=; 
 b=edofjsw1zoSFP9J6PcaTiuegO1pFr6ugP4TZH8F8rDr13CLpAzFaKOaw3farusNn8c/NNFhHDFOHvDiO3asQJckhTG/OcBGeriT2opwbmP8AqXBCCRqBJdfauWqTklCjdfK9I4D1kNsZL+IsD5rfr2zEAkvrXBODGbvJjqqXhto=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=aoeu2code.com;
 spf=pass  smtp.mailfrom=jefferson@HIDDEN;
 dmarc=pass header.from=<jefferson@HIDDEN>
 header.from=<jefferson@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1576708162; 
 s=zoho; d=aoeu2code.com; i=jefferson@HIDDEN;
 h=Date:From:To:Message-Id:In-Reply-To:Subject:MIME-Version:Content-Type;
 bh=xPAgfzTyGUK84RaNNQ/0Zt1iSET/2Yh3zBrYk/JYo4Q=;
 b=ODNKyw4H2picIGw0fV2E5Je0oumX0vbqIaAWgOcw8UiAWX7r9z8pJoWIq68Gdj5r
 8Sq31TlxbjgFufWQrhqry/cY/u7MnzyGf6xvFTgE+SKdvRhalD4S4nM+P4UR2LoRPqr
 iIs2VmuZqYdv3nIZFbfaj4dumvMeMp6m6YO7q178=
Received: from mail.zoho.com by mx.zohomail.com
 with SMTP id 1576708162258816.7738363256569;
 Wed, 18 Dec 2019 14:29:22 -0800 (PST)
Date: Wed, 18 Dec 2019 22:29:22 +0000
From: Jefferson Carpenter <jefferson@HIDDEN>
To: "bug-gnu-emacs" <bug-gnu-emacs@HIDDEN>
Message-Id: <16f1b2142c1.db34a11d477759.6290031006911449352@HIDDEN>
In-Reply-To: 
Subject: [PATCH] Add nosqueeze for fill-paragraph
MIME-Version: 1.0
Content-Type: multipart/mixed; 
 boundary="----=_Part_1385231_1548135443.1576708162241"
X-Priority: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
X-Zoho-Virus-Status: 1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 136.143.188.51
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

------=_Part_1385231_1548135443.1576708162241
Content-Type: multipart/alternative; 
	boundary="----=_Part_1385232_163415736.1576708162241"

------=_Part_1385232_163415736.1576708162241
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Just added this patch for myself, thought I would pass it along for comment=
s and/or for merging should you think it a good idea.



Use case: I'm writing markdown text that goes something like=C2=A0



=C2=A0 =C2=A0 Outputs a 12-character string  blah blah blah blah or if blah=
 blah blah, returns=C2=A0`"=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0 "`.



In which the markdown contains a literal string with 12 spaces.=C2=A0 When =
I run fill-paragraph on that, the spaces get collapsed down to 1 space, so =
I added a customization option to keep the 12-space string unchanged.



Jefferson
------=_Part_1385232_163415736.1576708162241
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Just added this patch for myself, thought I would pass it along for comments and/or for merging should you think it a good idea.<br></div><div><br></div><div>Use case: I'm writing markdown text that goes something like&nbsp;<br></div><div><br></div><div>&nbsp; &nbsp; Outputs a 12-character string  blah blah blah blah or if blah blah blah, returns&nbsp;`"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "`.<br></div><div><br></div><div>In which the markdown contains a literal string with 12 spaces.&nbsp; When I run fill-paragraph on that, the spaces get collapsed down to 1 space, so I added a customization option to keep the 12-space string unchanged.<br></div><div><br></div><div>Jefferson</div></div><br></body></html>
------=_Part_1385232_163415736.1576708162241--

------=_Part_1385231_1548135443.1576708162241
Content-Type: application/octet-stream; 
	name=0001-Add-nosqueeze-for-fill-paragraph.patch
Content-Transfer-Encoding: base64
X-ZM_AttachId: 137960009622420000
Content-Disposition: attachment; 
	filename=0001-Add-nosqueeze-for-fill-paragraph.patch

RnJvbSAzYmMyM2Y2ZGJlNGYwOTc1ZjkzZDZlOTY0MGYxM2FiNDFhNDk2NzI1IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBKZWZmZXJzb24gQ2FycGVudGVyIDxqZWZmZXJzb24uY2FycGVu
dGVyQHRyYW5zdW5pb24uY29tPgpEYXRlOiBXZWQsIDE4IERlYyAyMDE5IDE2OjE2OjU2IC0wNjAw
ClN1YmplY3Q6IFtQQVRDSF0gQWRkIG5vc3F1ZWV6ZSBmb3IgZmlsbC1wYXJhZ3JhcGgKCi0tLQog
ZXRjL05FV1MgICAgICAgICAgICAgICB8ICA1ICsrKysrCiBsaXNwL3RleHRtb2Rlcy9maWxsLmVs
IHwgMTAgKysrKysrKystLQogMiBmaWxlcyBjaGFuZ2VkLCAxMyBpbnNlcnRpb25zKCspLCAyIGRl
bGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2V0Yy9ORVdTIGIvZXRjL05FV1MKaW5kZXggY2Y0ZTcw
NWE1Mi4uNzgyNTg1MWZiMCAxMDA2NDQKLS0tIGEvZXRjL05FV1MKKysrIGIvZXRjL05FV1MKQEAg
LTUzMyw2ICs1MzMsMTEgQEAgVGhlIEhJU1QgYXJndW1lbnQgb2YgJ3JlYWQtZnJvbS1taW5pYnVm
ZmVyJyBub3cgd29ya3MgY29ycmVjdGx5IHdpdGgKIGJ1ZmZlci1sb2NhbCB2YXJpYWJsZXMuICBU
aGlzIG1lYW5zIHRoYXQgZGlmZmVyZW50IGJ1ZmZlcnMgY2FuIGhhdmUKIHRoZWlyIG93biBzZXBh
cmF0ZWQgaW5wdXQgaGlzdG9yeSBsaXN0IGlmIGRlc2lyZWQuCiAKKy0tLQorKiogTmV3IHVzZXIg
b3B0aW9uICdmaWxsLXBhcmFncmFwaC1ub3NxdWVlemUnLgorVGhpcyBwYXNzZXMgbm9uLW5pbCBO
T1NRVUVFWkUgdG8gZmlsbC1yZWdpb24gZnVuY3Rpb25zIGR1cmluZworZmlsbC1wYXJhZ3JhcGgg
aW52b2NhdGlvbnMuCisKIAwKICogRWRpdGluZyBDaGFuZ2VzIGluIEVtYWNzIDI3LjEKIApkaWZm
IC0tZ2l0IGEvbGlzcC90ZXh0bW9kZXMvZmlsbC5lbCBiL2xpc3AvdGV4dG1vZGVzL2ZpbGwuZWwK
aW5kZXggYzI4NTQ5MWEzMC4uNmY5ZWIyYTcyNSAxMDA2NDQKLS0tIGEvbGlzcC90ZXh0bW9kZXMv
ZmlsbC5lbAorKysgYi9saXNwL3RleHRtb2Rlcy9maWxsLmVsCkBAIC01OSw2ICs1OSwxMiBAQCB3
b3JkcyBhcmUgY2F0ZWdvcml6ZWQuIgogICA6Z3JvdXAgJ2ZpbGwKICAgOnZlcnNpb24gIjI2LjEi
KQogCisoZGVmY3VzdG9tIGZpbGwtcGFyYWdyYXBoLW5vc3F1ZWV6ZSBuaWwKKyAgIk5vbi1uaWwg
bWVhbnMgdG8gbGVhdmUgd2hpdGVzcGFjZSBvdGhlciB0aGFuIGxpbmUgYnJlYWtzCisgIHVudG91
Y2hlZC4iCisgIDp0eXBlICdib29sZWFuCisgIDpncm91cCAnZmlsbCkKKwogKGRlZnZhciBmaWxs
LXBhcmFncmFwaC1mdW5jdGlvbiBuaWwKICAgIk1vZGUtc3BlY2lmaWMgZnVuY3Rpb24gdG8gZmls
bCBhIHBhcmFncmFwaCwgb3IgbmlsIGlmIHRoZXJlIGlzIG5vbmUuCiBJZiB0aGUgZnVuY3Rpb24g
cmV0dXJucyBuaWwsIHRoZW4gYGZpbGwtcGFyYWdyYXBoJyBkb2VzIGl0cyBub3JtYWwgd29yay4K
QEAgLTg5MCw4ICs4OTYsOCBAQCByZWdpb24sIGluc3RlYWQgb2YganVzdCBmaWxsaW5nIHRoZSBj
dXJyZW50IHBhcmFncmFwaC4iCiAgICAgICAgICAgICAgICAgICAgICAgICAgICA7OyBDYW4ndCB1
c2UgZmlsbC1yZWdpb24tYXMtcGFyYWdyYXBoLCBzaW5jZSB0aGlzCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICA7OyBwYXJhZ3JhcGggbWF5IHN0aWxsIGNvbnRhaW4gaGFyZCBuZXdsaW5lcy4g
IFNlZQogICAgICAgICAgICAgICAgICAgICAgICAgICAgOzsgZmlsbC1yZWdpb24uCi0gICAgICAg
ICAgICAgICAgICAgICAgICAgICAoZmlsbC1yZWdpb24gYmVnIGVuZCBqdXN0aWZ5KQotICAgICAg
ICAgICAgICAgICAgICAgICAgIChmaWxsLXJlZ2lvbi1hcy1wYXJhZ3JhcGggYmVnIGVuZCBqdXN0
aWZ5KSkpKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAoZmlsbC1yZWdpb24gYmVnIGVu
ZCBqdXN0aWZ5IGZpbGwtcGFyYWdyYXBoLW5vc3F1ZWV6ZSkKKyAgICAgICAgICAgICAgICAgICAg
ICAgICAoZmlsbC1yZWdpb24tYXMtcGFyYWdyYXBoIGJlZyBlbmQganVzdGlmeSBmaWxsLXBhcmFn
cmFwaC1ub3NxdWVlemUpKSkpKSkKICAgICAgICAgICAgZmlsbC1wZngpKQogICAgICAgOzsgSWYg
d2UgZGlkbid0IGNoYW5nZSBhbnl0aGluZyBpbiB0aGUgYnVmZmVyIChhbmQgdGhlIGJ1ZmZlcgog
ICAgICAgOzsgd2FzIHByZXZpb3VzbHkgdW5tb2RpZmllZCksIHRoZW4gZmxpcCB0aGUgbW9kaWZp
Y2F0aW9uIHN0YXR1cwotLSAKMi4yMC4xIChBcHBsZSBHaXQtMTE3KQoK
------=_Part_1385231_1548135443.1576708162241--






Acknowledgement sent to Jefferson Carpenter <jefferson@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#38665; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

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