From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14359 invoked from network); 17 Jan 1997 00:12:48 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by coral.primenet.com.au with SMTP; 17 Jan 1997 00:12:48 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id TAA18662; Thu, 16 Jan 1997 19:20:27 -0500 (EST) Resent-Date: Thu, 16 Jan 1997 19:20:27 -0500 (EST) From: Zoltan Hidvegi Message-Id: <199701170020.BAA00513@hzoli.ppp.cs.elte.hu> Subject: Re: call this a mark?? To: pws@ifh.de (Peter Stephenson) Date: Fri, 17 Jan 1997 01:20:07 +0100 (MET) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199701161641.RAA29990@hydra.ifh.de> from Peter Stephenson at "Jan 16, 97 05:41:06 pm" X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"kCjBC.0.XZ4.ANito"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/2803 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > 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