all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: 38665@debbugs.gnu.org, jefferson@aoeu2code.com
Subject: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
Date: Tue, 19 May 2020 17:15:50 +0300	[thread overview]
Message-ID: <83ftbw80yx.fsf@gnu.org> (raw)
In-Reply-To: <CADwFkmk=n+mrmYd7MWg7wR1berNfruMtdsiMBND8B5XSn5nqkw@mail.gmail.com> (message from Stefan Kangas on Mon, 18 May 2020 21:13:27 -0700)

> From: Stefan Kangas <stefan@marxist.se>
> Date: Mon, 18 May 2020 21:13:27 -0700
> Cc: 38665@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.





  reply	other threads:[~2020-05-19 14:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 22:29 bug#38665: [PATCH] Add nosqueeze for fill-paragraph Jefferson Carpenter
2020-05-19  4:13 ` Stefan Kangas
2020-05-19 14:15   ` Eli Zaretskii [this message]
2020-05-19 14:22     ` Stefan Kangas
2020-05-19 23:59       ` Phil Sainty
2020-05-21  1:51         ` Phil Sainty
2020-10-01  2:44         ` Lars Ingebrigtsen
2022-11-25  1:36           ` Stefan Kangas
2024-01-10 22:16             ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ftbw80yx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=38665@debbugs.gnu.org \
    --cc=jefferson@aoeu2code.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.