From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4464 invoked by alias); 26 Jan 2012 19:11:13 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 30126 Received: (qmail 28536 invoked from network); 26 Jan 2012 19:11:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.12 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Bernhard Tittelbach Subject: Question about _history-complete-older Date: Thu, 26 Jan 2012 20:10:38 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: chello080109208103.3.graz.surfer.at User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20091001 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 Hi, It seems to me that the functions _history-complete-newer and _history-complete-older do the reciprocal opposite of what their names would indicate. In my zsh version 4.3.11, _history-complete-newer completes a word from the history, beginning with the oldest words in the history, while _history-complete-older completes a word from history starting with the most recent entries. Could this possibly be a bug ? :-) This is especially bothersome when considering the default keybindings: "^[," _history-complete-newer "^[/" _history-complete-older Completing a word from recent history seem to me to be the most common use case, but while 'm' ',' and '.' are next to each other on most keyboard layouts, '/' is seldom reachable without holding the Shift key (in addition to the Esc-Key for the keybinding) on non-english keyboard layouts. regards, Bernhard