unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
Cc: gnu-emacs-bug@moderators.isc.org
Subject: Re: enhance just-one-space to act on regions
Date: Fri, 10 May 2002 15:17:29 +0200	[thread overview]
Message-ID: <jed6w45ehi.fsf@sykes.suse.de> (raw)
In-Reply-To: <m21yckp84g.fsf@jidanni.org> (Dan Jacobson's message of "10 May 2002 19:14:39 +0800")

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."

  reply	other threads:[~2002-05-10 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-10 11:14 enhance just-one-space to act on regions Dan Jacobson
2002-05-10 13:17 ` Andreas Schwab [this message]
2002-05-12 22:32   ` Dan Jacobson
2002-05-13  9:44     ` Andreas Schwab
2002-05-12 22:32   ` Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jed6w45ehi.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=gnu-emacs-bug@moderators.isc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).