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

Re: call this a mark??



Zoltan Hidvegi wrote:
> 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).

Nope, emacs tracks not only the current mark but a whole lot of
previous ones (typing \C-u\C-@ will you take you back through them),
plus an arbitrary number of ones maintained by utilities, plus in
version 19 the marks associated with overlays etc.  They are all
updated properly with insertion and deletion.  Maybe you're thinking
of transient mark mode, where the mark is deactivated, but not
invalidated.

I wasn't thinking of tracking more than the current emacs mode mark in
zsh, that what obviously be too much.

-- 
Peter Stephenson <pws@xxxxxx>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.



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