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.
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: Wed, 20 May 2020 01:00:02 UTC

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