From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8588 invoked from network); 21 Feb 2004 15:51:16 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 21 Feb 2004 15:51:16 -0000 Received: (qmail 1483 invoked by alias); 21 Feb 2004 15:51:00 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7078 Received: (qmail 1472 invoked from network); 21 Feb 2004 15:50:59 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 21 Feb 2004 15:50:59 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [80.91.224.249] by sunsite.dk (MessageWall 1.0.8) with SMTP; 21 Feb 2004 15:50:59 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AuZP9-0006U7-00 for ; Sat, 21 Feb 2004 16:50:59 +0100 Received: from isi-dialin-129-56.isionline-dialin.de ([195.158.129.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 15:50:59 2004 Received: from thorsten by isi-dialin-129-56.isionline-dialin.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat Feb 21 15:50:59 2004 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: Thorsten Kampe Subject: Re: incremental history search Date: Sat, 21 Feb 2004 16:50:48 +0100 Message-ID: References: <1lk8q9de9jvbv.dlg@thorstenkampe.de> <1epb3ga9oumiw$.dlg@thorstenkampe.de> <20040221143934.GB16036@teapot.iano-fletcher.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: isi-dialin-129-56.isionline-dialin.de User-Agent: 40tude_Dialog/2.0.10.1de Sender: news * Anthony Iano-Fletcher (2004-02-21 15:39 +0100) > history-beginning-search-backward and history-beginning-search-forward > were designed to repeatedly match whatever was to the left of the cursor > with one's history. The cursor shouldn't move or else a repeated match > would not be looking for the original prefix. I know that, thanks. I was referring to the *special case where I haven't typed anything and the command line is empty* and there is *nothing to search for*. In this case "up-line-or-search" does simply a "up-line" and moves the cursor to the end of any recalled command line from history. "history-beginning-search-backward" does a "up-line", too, in this case, but leaves the cursor where it was (at the beginning of each recalled command line from history). Both approaches are useful in certain cases but in my opinion the dynamic movement to the end of the line is more useful because I manipulate the end of commands more often than the beginning. Thorsten