GNU bug report logs -
#38665
[PATCH] Add nosqueeze for fill-paragraph
Previous Next
Full log
Message #13 received at 38665 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefan <at> marxist.se>
> 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.
This bug report was last modified 1 year and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.