[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: enhance just-one-space to act on regions
From: |
Andreas Schwab |
Subject: |
Re: enhance just-one-space to act on regions |
Date: |
Fri, 10 May 2002 15:17:29 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux) |
Dan Jacobson <jidanni@deadspam.com> writes:
|> It was with a flash of light that I thought of
|> ESC SPC runs the command just-one-space
|> Delete all spaces and tabs around point, leaving one space.
|> could be "enhanced" to act on a region.
|> For instance I have this line
|> pscoast -R-30/30/-40/40 -Jm0.1i -B5 -N1/0.25tap
-W0.25p/255/255/255
|> well, ^here I place a mark and then move the cursor to the end
|> of the line and hit M-SPC, and voila:
|> pscoast -R-30/30/-40/40 -Jm0.1i -B5 -N1/0.25tap -W0.25p/255/255/255
|> Can you say "better living thru science"?
|>
|> Sure, you are gonna show me how there already exits 13 ways to do
|> this, however I bet my keystrokes are less.
You've lost. M-q (fill-region).
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."