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

Previous Next

Package: emacs;

Reported by: Jefferson Carpenter <jefferson <at> aoeu2code.com>

Date: Wed, 18 Dec 2019 22:30:03 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jefferson Carpenter <jefferson <at> aoeu2code.com>
To: "bug-gnu-emacs" <bug-gnu-emacs <at> gnu.org>
Subject: [PATCH] Add nosqueeze for fill-paragraph
Date: Wed, 18 Dec 2019 22:29:22 +0000
[Message part 1 (text/plain, inline)]
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.



Jefferson
[Message part 2 (text/html, inline)]
[0001-Add-nosqueeze-for-fill-paragraph.patch (application/octet-stream, attachment)]

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.