From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Order of eshell/pcomplete completions when cycling Date: Fri, 10 Apr 2015 14:21:14 +0300 Message-ID: <83oamwtej9.fsf@gnu.org> References: <871tjt49bj.fsf@gnu.org> <83y4m1e0z8.fsf@gnu.org> <87k2xkmeb2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1428664899 20761 80.91.229.3 (10 Apr 2015 11:21:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2015 11:21:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 10 13:21:32 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YgX08-0001i2-8f for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 13:21:32 +0200 Original-Received: from localhost ([::1]:38648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgX07-0003Rf-1R for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Apr 2015 07:21:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWzu-0003Qf-Ea for help-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:21:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgWzr-0002Rf-NS for help-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:21:18 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:55025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgWzr-0002RX-FC for help-gnu-emacs@gnu.org; Fri, 10 Apr 2015 07:21:15 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NML00L008R72I00@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Fri, 10 Apr 2015 14:22:33 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NML00A0X8XLPQA0@mtaout26.012.net.il> for help-gnu-emacs@gnu.org; Fri, 10 Apr 2015 14:22:33 +0300 (IDT) In-reply-to: <87k2xkmeb2.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.182 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103628 Archived-At: > From: Tassilo Horn > Cc: help-gnu-emacs@gnu.org > Date: Fri, 10 Apr 2015 13:08:01 +0200 > > > I think you want string-collate-lessp, not string-lessp. AFAIK, > > that's what the shells use. > > Yes, you are right. Unfortunately, it seems the function used for > `eshell-cmpl-compare-entry-function' (which is the default value for > `pcomplete-compare-entry-function' in eshell buffers) has no effect on > the order in which completions are cycled when hitting TAB repeatedly. Well, then maybe they should, at least as an option?