[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remove extra whitespace on a line
From: |
Chris Menzel |
Subject: |
Re: remove extra whitespace on a line |
Date: |
Sat, 2 Dec 2006 06:46:38 +0000 (UTC) |
User-agent: |
slrn/0.9.8.1 (FreeBSD) |
On Sat, 02 Dec 2006 01:27:00 -0500, Greg Bognar <bognar@christal.elte.hu> said:
> 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?
You can set the mark at the beginning of the line, Ctrl-E to the end and
use "fill-region".