Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: backward-kill-word behavior

Sven Wischnowsky wrote:
> Personally, I'd prefer it if we started moving more into shell code or
> at least `prepare' that.  So, how about adding a special array
> `kill_ring' or whatever to the zleparameter module?

Fine, but we will have to expose the ZLE_KILL flag so we know whether to
overwrite or add to the existing buffer when user commands are mixed with
internal kills.  This problem is why (some time ago) Zefram was trying to
decrease dependence on internal flags.  The only other way is a different
way of communicating this and other pieces of state information.

Of course, we can do it completely separately, but then you're forced to
replace all the internal kill commands with functions, which seems to me a
bit much to force on people.

We also need to decide how to rotate the kill ring if it's presented as an

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author