[Top][All Lists]

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

enhance just-one-space to act on regions

From: Dan Jacobson
Subject: enhance just-one-space to act on regions
Date: 10 May 2002 19:14:39 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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     
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.  Anyways, I propose 'em,
you implement 'em. 
http://jidanni.org/ Taiwan(04)25854780

reply via email to

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