GNU bug report logs - #46734
make new function: gnus-article-squeeze-space

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Wed, 24 Feb 2021 00:21:04 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 46734 <at> debbugs.gnu.org
Subject: bug#46734: make new function: gnus-article-squeeze-space
Date: Wed, 24 Feb 2021 17:25:29 +0100
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> We read
>
> ‘W E s’
>      Remove all white space from the beginning of all lines of the
>      article body (‘gnus-article-strip-leading-space’).
>
> ‘W E e’
>      Remove all white space from the end of all lines of the article
>      body (‘gnus-article-strip-trailing-space’).
>
> OK, maybe add gnus-article-squeeze-space function,
> that would turn e.g.,
> A             B
> into
> A B

Messages with excessive white space at the start and end of lines are
common, which is why those two commands were added.  Excessive space in
the middle of text isn't.  Closing.

(And you can use the `W w' command if you want reformatting.)

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




This bug report was last modified 4 years and 89 days ago.

Previous Next


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