From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#21284: 25.0.50; `completion-file-name-table' should/not use `nreverse'? Date: Mon, 17 Aug 2015 10:25:13 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1439884211 338 80.91.229.3 (18 Aug 2015 07:50:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 07:50:11 +0000 (UTC) To: 21284@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 09:49:59 2015 Return-path: Envelope-to: geb-bug-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 1ZRbeg-0002fT-Nt for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 09:49:59 +0200 Original-Received: from localhost ([::1]:37755 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRbee-0002bd-NR for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 03:49:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZROpJ-0005sP-QD for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 14:08:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZROpG-00066i-Ch for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 14:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZROpG-00066e-A6 for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 14:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZROpF-0001pw-Pa for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 14:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Aug 2015 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21284 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14398348407000 (code B ref -1); Mon, 17 Aug 2015 18:08:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Aug 2015 18:07:20 +0000 Original-Received: from localhost ([127.0.0.1]:58300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZROoZ-0001op-SF for submit@debbugs.gnu.org; Mon, 17 Aug 2015 14:07:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47126) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZROoX-0001oh-QE for submit@debbugs.gnu.org; Mon, 17 Aug 2015 14:07:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZROoR-0005Wr-K2 for submit@debbugs.gnu.org; Mon, 17 Aug 2015 14:07:17 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZROoR-0005Wg-BJ for submit@debbugs.gnu.org; Mon, 17 Aug 2015 14:07:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRO9v-0001Bx-TM for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 13:25:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRO9r-000149-RE for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 13:25:19 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:34703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRO9r-00012K-Js for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 13:25:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Type:MIME-Version:Subject:To:From:Message-ID:Date; bh=kqslHvK7GE906qF8jN+ZA/ivYdeQ9cJ4A1aP8VBGmbI=; b=lT82n40rZ3P+VZ3FkMSdq97b9tA7zJg2QEkm5YA8wU9pGa5yPel3dgwCcG5M6iPUA8gLXNrrCtQ6W2juRKOkK6uGH9T17935TzPECdUkHsjwLIv3BTvHOlyDjxSQ0/4Y; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50794 helo=server.local.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1ZRO9p-0005mS-8i for bug-gnu-emacs@gnu.org; Mon, 17 Aug 2015 13:25:13 -0400 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105549 Archived-At: The function `completion-file-name-table' uses `(setq all (nreverse comp))' instead of `(setq all comp)'. This has the effect of reversing what was accomplished when `pcomplete-compare-entry-function' is set to `'string-lessp'. In a nutshell, the completions are in reverse alphabetical order as a result of `(setq all (nreverse comp))'. This was tested in an eshell buffer by typing at a prompt: rm [space tab]; and, with `lawlist-eshell-cmpl-compare-entry-function` set to `'string-lessp'. Thanks, Keith ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; In GNU Emacs 25.0.50.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549)) of 2015-08-15 on server.local Repository revision: 118363 mina86@mina86.com-20141117204835-paxrwolqd1cgwtdp Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure --with-ns --without-imagemagick' Configured features: ACL LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: ELISP Minor modes in effect: tb-mode: t sb-mode: t ml-mode: t fl-mode: t ds-mode: t sd-mode: t bc-mode: t +-mode: t buffer-read-only: t Recent messages: Wrote /Users/HOME/.0.data/.0.emacs/.lock Emacs: completion-file-name-table Load-path shadows: None found. Features: (shadow emacsbug sendmail lawlist-ztree lawlist-yas lawlist-ws lawlist-wl elmo-imap4 elmo-localdir modb-standard modb-legacy elmo-internal elmo-flag mmelmo-imap mmelmo-buffer elsp-generic mel-u ps-print ps-def lpr parse-time enriched lawlist-w3m browse-url doc-view image-mode ccl lawlist-vl lawlist-view lawlist-undo lawlist-txt lawlist-tm lawlist-tex compare-w lawlist-tabbar lawlist-speedbar lawlist-shell info esh-groups ehelp ange-ftp lawlist-sgml lawlist-sb lawlist-saveplace lawlist-ruler mule-util lawlist-replace lawlist-rectangle lawlist-re-builder lawlist-python skeleton lawlist-profiler lawlist-print lawlist-php lawlist-perl lawlist-parens lawlist-org lawlist-calendar org-agenda org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint ob-core ob-eval org-compat org-macs org-loaddefs holidays hol-loaddefs cal-menu calendar cal-loaddefs lawlist-neotree lawlist-movement lawlist-mouse lawlist-ml lawlist-minibuffer lawlist-misc lawlist-messages lawlist-mc rect lawlist-markdown noutline outline lawlist-lorem lawlist-ln lawlist-keymap lawlist-js lawlist-ispell lawlist-isearch lawlist-imenu lawlist-ibuffer lawlist-hl lawlist-grep lawlist-git ido view vc-git vc vc-dispatcher url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth url-cookie url-domsuf url-gw thingatpt time-stamp server log-view log-edit message mml mml-sec mm-decode mm-bodies mm-encode gmm-utils mailheader pcvs-util add-log lawlist-help quail help-mode json grep compile find-lisp ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff ert find-func ewoc eieio-base diff-mode conf-mode autorevert filenotify lawlist-frame lawlist-frame-bufs lawlist-font-lock lawlist-fm lawlist-env lawlist-elscreen lawlist-elisp lawlist-dv jka-compr lawlist-image lawlist-files zeroconf url-util url-parse auth-source eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core password-cache url-vars dbus xml lawlist-ds lawlist-dired epa epg epg-config format-spec edmacro kmacro dired lawlist-desktop frameset lawlist-debug lawlist-window debug lawlist-css smie lawlist-compile rx lawlist-color lawlist-cm pcase lawlist-cc cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cc-bytecomp lawlist-calc lawlist-calccomp lawlist-calcalg3 lawlist-calcalg2 lawlist-calc+ easymenu lawlist-bk lawlist-bc lawlist-bbdb gnus gnus-ems nnheader gnus-util mail-utils wid-edit mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-extr rfc822 cl timezone lawlist-as lawlist-archive cl-macs gv cl-loaddefs cl-lib lawlist-+ disp-table easy-mmode derived advice help-fns shell pcomplete comint ansi-color ring savehist time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 2078627 153097) (symbols 48 83114 0) (miscs 40 560 467) (strings 32 191705 23218) (string-bytes 1 6865927) (vectors 16 40524) (vector-slots 8 960694 10088) (floats 8 2574 897) (intervals 56 730 61) (buffers 976 12))