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

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

Re: regexp to collapse multiple blank lines into one


From: Tim X
Subject: Re: regexp to collapse multiple blank lines into one
Date: 12 Oct 2005 08:21:29 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Neon Absentius <absent@sdf.lonestar.org> writes:

> On Mon, Oct 10, 2005 at 12:33:50PM -0600, Kevin Rodgers wrote:
> 
> > 
> > In any case, replacing \(^ C-q C-j \)+ with \1 is 10 key strokes, which
> > is actually more typing than if you were to replace ^ C-q C-j + with C-q
> > C-j (6 keys).
> > 
> 
> Yes indeed.  I didn't think of it.  I just wrote the first think
> that came to my mind and it worked.  About the keystrokes though I
> think that C-q shoud count for more than 1 keystroke; perhaps not 2
> keystrokes but 1.5 so your solution has really 8 keystrokes :).

So, in that case, is A 1.5 keystrokes while a is only 1?

Tim


-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!


reply via email to

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