help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remove extra whitespace on a line


From: roodwriter
Subject: Re: remove extra whitespace on a line
Date: 02 Dec 2006 03:20:50 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Greg Bognar <address@hidden> writes:

> Suppose     I    have   a   line  like   this.
> 
> How can I remove the extra spaces from the line?  So that I end up with
> this:
> 
> Suppose I have a line like this.
> 
> Exactly like fill-paragraph, but I do not want to "fill" the paragraph,
> only the current line.  Is there an Emacs function to do this?
> 
> Thanks,
> Greg

I'm not exactly clear on what you want done, but possibly 
M-x canonically-space-region might work.

--Rod
______________________
Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical
Consumers" and "Boring Stories from Uncle Rod." To reply by e-mail
take the second "o" out of the e-mail address.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]