From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10675 invoked from network); 27 Nov 1997 19:11:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 27 Nov 1997 19:11:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id NAA08934; Thu, 27 Nov 1997 13:43:05 -0500 (EST) Resent-Date: Thu, 27 Nov 1997 13:42:51 -0500 (EST) From: "Bart Schaefer" Message-Id: <971127104306.ZM3164@candle.brasslantern.com> Date: Thu, 27 Nov 1997 10:43:06 -0800 In-Reply-To: <97Nov27.202243gmt+0100.17026@internet01.amc.de> Comments: In reply to Christopher Croughton "Re: History key bindings" (Nov 27, 7:21pm) References: <97Nov27.202243gmt+0100.17026@internet01.amc.de> X-Mailer: Z-Mail (4.0b.820 20aug96) To: Christopher Croughton Subject: Re: History key bindings Cc: zsh-users@math.gatech.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"SD5dh1.0.5B2.gyRVq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1155 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Nov 27, 7:21pm, Christopher Croughton wrote: } Subject: Re: History key bindings } } Bart Schaefer wrote: } > When you first press up-arrow, there (normally) won't be any mark on } > the line, so ^X^X does nothing. } } Er, on 3.0 it seems that the mark is initially set to the start of the line, I thought I was seeing that behavior at one point, but now I can't get it to happen again (... some fooling about occurs ...) Aha! Whenever you use a history operation like ^P, the mark gets set at the beginning of the line before the new history line is inserted. So you can't mix that bindkey -s with other history motions unless you set the mark yourself in between. If all you do is type the prefix and then press up-arrow, it works fine. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com