unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46734: make new function: gnus-article-squeeze-space
@ 2021-02-23 13:13 積丹尼 Dan Jacobson
  2021-02-24 16:25 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-02-23 13:13 UTC (permalink / raw)
  To: 46734

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#46734: make new function: gnus-article-squeeze-space
  2021-02-23 13:13 bug#46734: make new function: gnus-article-squeeze-space 積丹尼 Dan Jacobson
@ 2021-02-24 16:25 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-24 16:25 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 46734

積丹尼 Dan Jacobson <jidanni@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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-24 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 13:13 bug#46734: make new function: gnus-article-squeeze-space 積丹尼 Dan Jacobson
2021-02-24 16:25 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).