zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: Re: call this a mark??
Date: Fri, 17 Jan 1997 09:32:30 +0100	[thread overview]
Message-ID: <199701170832.JAA28343@sgi.ifh.de> (raw)
In-Reply-To: "Zoltan Hidvegi"'s message of "Fri, 17 Jan 1997 01:20:07 MET." <199701170020.BAA00513@hzoli.ppp.cs.elte.hu>

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@ifh.de>       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.


      parent reply	other threads:[~1997-01-17  8:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-16 16:41 Peter Stephenson
1997-01-17  0:20 ` Zoltan Hidvegi
1997-01-17  1:56   ` Daniel Reish
1997-01-17  8:32   ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199701170832.JAA28343@sgi.ifh.de \
    --to=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).