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

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

Re: ought to also have a non-inclusive zap-to-char


From: Dan Jacobson
Subject: Re: ought to also have a non-inclusive zap-to-char
Date: 30 Aug 2001 05:21:45 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "David" == David desJardins <david@desjardins.org> in
>>>>> clandestine email:

David> Dan Jacobson writes:
>> The above example shows that often we want to kill characters of set
>> A, and leave characters of set B... anyway, emacs needs an additional
>> command like M-z < that wouldn't also eat the <.

David> If such a command requires an extra keystroke, would using it really be
David> any easier than just typing "M-z < <" ?

Also noted by Kai.  Indeed.  It is this kind of lightning bolt thinking
that we here on the A team are looking for :-)

Trying to be of help for a change, I was gonna make the context diffs
but noticed I didn't have the texinfo source handy, anyways, you get
the idea:

! search backward and kill text before point.
  --- 1188,1196 ----
  (`zap-to-char') reads a character and kills from point up to (and
  including) the next occurrence of that character in the buffer.  A
  numeric argument acts as a repeat count.  A negative argument means to
! search backward and kill text before point.  To kill up to, but not
! including the target character, for example "b", use `M-z b b'.

Also add that sentence to the *help* message.
-- 
http://www.geocities.com/jidanni/ Tel+886-4-25854780 積丹尼



reply via email to

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