Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: call this a mark??
- X-seq: zsh-workers 2803
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: pws@xxxxxx (Peter Stephenson)
- Subject: Re: call this a mark??
- Date: Fri, 17 Jan 1997 01:20:07 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199701161641.RAA29990@xxxxxxxxxxxx> from Peter Stephenson at "Jan 16, 97 05:41:06 pm"
> I suppose this is just my ignorance, but I was amazed to discover just
> now (playing with the history lines thing) that the `mark' in zle is
> not a mark at all, just a character offset which is confused by
> insertion and deletion. Shouldn't it be possible to do something
> about this by adding code to spaceinline(), backkill/del(),
> forekill/del() -- or are there hidden problems?
Emacs just invalidates the mark when any character is inserted/deleted. That
would be a simple solution (a new ZLE_ flag can be added to mark those zle
functions which do not invalidate the mark).
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author