From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: "Ryan C. Thompson" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 07 Oct 2015 22:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21644@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144425856827271 (code B ref -1); Wed, 07 Oct 2015 22:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Oct 2015 22:56:08 +0000 Received: from localhost ([127.0.0.1]:59483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjxd0-00075l-BA for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:56:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40191) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjxcw-00075Z-5H for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:56:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zjxcs-0001V9-7w for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:56:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjxcs-0001V5-40 for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:55:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjxco-0004VM-GD for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 18:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zjxck-0001Tv-To for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 18:55:54 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjxck-0001Td-J2 for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 18:55:50 -0400 Received: by padhy16 with SMTP id hy16so33935905pad.1 for ; Wed, 07 Oct 2015 15:55:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=R9s9S1sjgQMDXovXP9X4kr4CBHnZCrJg1C+QfCn4I3Q=; b=L/3VWs86z0AbZ30u1jLrUaPGvSY2yGvwaVT2A0GPBe4O4VKfl9io4KbfBEkSBVwKqQ Z2HWGgAeryXXh/kD3Rx9Gc9FAWMClR5HeBTDkzJfpewbr9Mas4BAFHDT7/wDX8TqYNBV b5BPOnVXxAKuQWqd+0Ipyui29CdfUd5HgQRjo/4yOLVUmKedai7F9bb7SqXn+TOl2zSi EYzgYgwgKJAnTbplI9iKZJZSHNVx60iMb0U2dyl6NqJ1qGfiGxI3VCiv8inC3dQPS2n2 Eq9uMZqsr6dpN+WaQwkGSL5c0Myx462hlsucERjOFXsUi1+haco+e98ESlM5JulSnY6T yNrw== X-Gm-Message-State: ALoCoQkp7ul8FuDfEzLY/s74aqdmonib6k4vAbwapfgITDX8YpbgYbe3VT74X261dBNX4JbU6wzb X-Received: by 10.66.228.97 with SMTP id sh1mr3894183pac.91.1444258544545; Wed, 07 Oct 2015 15:55:44 -0700 (PDT) Received: from [137.131.89.60] (salomon14.scripps.edu. [137.131.89.60]) by smtp.googlemail.com with ESMTPSA id rx10sm21500896pab.21.2015.10.07.15.55.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2015 15:55:43 -0700 (PDT) From: "Ryan C. Thompson" Message-ID: <5615A2EA.4@thompsonclan.org> Date: Wed, 7 Oct 2015 15:55:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) I've discovered that completing-read works differently if COLLECTION is a function than if it is a list, even if the function represents exactly the same set of completions as the list. For example, we can define a function to convert any collection to an equivalent function using a closure: (setq lexical-binding t) (defun collection-as-function (collection) "Return a function equivalent to COLLECTION. The returned function will work equivalently to COLLECTION when passed to `all-completions' and `try-completion'." (if (functionp collection) collection ;; Capture collection in a closure (lambda (string pred all) (funcall (if all #'all-completions #'try-completion) string collection pred)))) collection-as-function (completing-read "Prompt: " '("blue" "yellow" "green") nil t) (completing-read "Prompt: " (collection-as-function '("blue" "yellow" "green")) nil t) Try typing "g" followed by RET for both of the above. In the first case (collection is a list), it returns "green". In the second case (collection is a function), it returns just "g". This is reproducible in emacs -Q. In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2015-03-21 on kissel, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Ubuntu 15.04 Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: recentf-mode: t ws-butler-global-mode: t ws-butler-mode: t winner-mode: t sml-modeline-mode: t savehist-mode: t minibuffer-electric-default-mode: t minibuffer-depth-indicate-mode: t ido-yes-or-no-mode: t icomplete-mode: t global-undo-tree-mode: t undo-tree-mode: t global-pointback-mode: t pointback-mode: t global-hl-line-mode: t global-anzu-mode: t anzu-mode: t desktop-save-mode: t delete-selection-mode: t auto-dim-other-buffers-mode: t git-wip-mode: t ido-complete-space-or-hyphen-mode: t pretty-symbols-mode: t diff-auto-refine-mode: t global-git-commit-mode: t lexbind-mode: t highlight-defined-mode: t global-git-gutter-mode: t git-gutter-mode: t ido-everywhere: t shell-dirtrack-mode: t eldoc-mode: t autopair-global-mode: t autopair-mode: t show-paren-mode: t global-auto-complete-mode: t auto-complete-mode: t adjust-parens-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-_ C-x C-e C-x C-e g g C-a C-M-S-f M-w C-e C-y C-e C-e C-j g M-x i d o - u b - m o C-_ C-j g C-_ C-a C-M-S-f M-w C-y C-j g C-e C-j g ( u n e l e s s SPC ( f u n c t i o n C-x C-s C-a M-w M-w C-a M-w C-a C-_ C-_ C-_ C-a M-w M-x r e p o r t M-x M-x r e p o r t - e m a c s c o m p l e t i n g - r e a d SPC a c t s SPC d i f f e r e n t l y SPC o n SPC f u n c t i o n a l SPC c o l l e c t i o n M-x r e p o r C-g C-g C-x k M-x r e p o r - v i a - m a i l Recent messages: Checking 261 files in /usr/share/emacs/24.4/lisp/gnus... Checking 57 files in /usr/share/emacs/24.4/lisp/eshell... Checking 70 files in /usr/share/emacs/24.4/lisp/erc... Checking 48 files in /usr/share/emacs/24.4/lisp/emulation... Checking 151 files in /usr/share/emacs/24.4/lisp/emacs-lisp... Checking 24 files in /usr/share/emacs/24.4/lisp/cedet... Checking 57 files in /usr/share/emacs/24.4/lisp/calendar... Checking 87 files in /usr/share/emacs/24.4/lisp/calc... Checking 95 files in /usr/share/emacs/24.4/lisp/obsolete... Checking for load-path shadows...done Quit [2 times] Load-path shadows: /home/ryan/.emacs.d/el-get/ido-completing-read+/ido-completing-read+ hides /home/ryan/.emacs.d/.cask/24.4.1/elpa/ido-completing-read+-20151005.2131/ido-completing-read+ /home/ryan/.emacs.d/el-get/tempbuf/tempbuf hides /home/ryan/.emacs.d/.cask/24.4.1/elpa/tempbuf-20111124.1307/tempbuf /home/ryan/.emacs.d/.cask/24.4.1/elpa/bar-cursor-1.1/bar-cursor hides /usr/share/emacs24/site-lisp/emacs-goodies-el/bar-cursor /home/ryan/.emacs.d/.cask/24.4.1/elpa/apache-mode-20140625.1556/apache-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/apache-mode /home/ryan/.emacs.d/.cask/24.4.1/elpa/markdown-mode-20150628.502/markdown-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/markdown-mode /home/ryan/.emacs.d/.cask/24.4.1/elpa/keydef-20090428.1231/keydef hides /usr/share/emacs24/site-lisp/emacs-goodies-el/keydef /home/ryan/.emacs.d/.cask/24.4.1/elpa/diminish-20091203.1012/diminish hides /usr/share/emacs24/site-lisp/emacs-goodies-el/diminish /home/ryan/.emacs.d/.cask/24.4.1/elpa/debian-changelog-mode-1.96/debian-changelog-mode hides /usr/share/emacs24/site-lisp/dpkg-dev-el/debian-changelog-mode /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.4/lisp/md4 /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.4/lisp/hex-util /home/ryan/.emacs.d/el-get/ido-mode-el/ido hides /usr/share/emacs/24.4/lisp/ido /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-ctags hides /usr/share/emacs/24.4/lisp/org/org-ctags /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-eval hides /usr/share/emacs/24.4/lisp/org/ob-eval /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-docview hides /usr/share/emacs/24.4/lisp/org/org-docview /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-awk hides /usr/share/emacs/24.4/lisp/org/ob-awk /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-screen hides /usr/share/emacs/24.4/lisp/org/ob-screen /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sql hides /usr/share/emacs/24.4/lisp/org/ob-sql /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-mscgen hides /usr/share/emacs/24.4/lisp/org/ob-mscgen /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-md hides /usr/share/emacs/24.4/lisp/org/ox-md /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-list hides /usr/share/emacs/24.4/lisp/org/org-list /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-perl hides /usr/share/emacs/24.4/lisp/org/ob-perl /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-attach hides /usr/share/emacs/24.4/lisp/org/org-attach /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-js hides /usr/share/emacs/24.4/lisp/org/ob-js /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-w3m hides /usr/share/emacs/24.4/lisp/org/org-w3m /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-org hides /usr/share/emacs/24.4/lisp/org/ox-org /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-texinfo hides /usr/share/emacs/24.4/lisp/org/ox-texinfo /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-id hides /usr/share/emacs/24.4/lisp/org/org-id /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ocaml hides /usr/share/emacs/24.4/lisp/org/ob-ocaml /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sqlite hides /usr/share/emacs/24.4/lisp/org/ob-sqlite /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-plantuml hides /usr/share/emacs/24.4/lisp/org/ob-plantuml /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-entities hides /usr/share/emacs/24.4/lisp/org/org-entities /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-agenda hides /usr/share/emacs/24.4/lisp/org/org-agenda /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-beamer hides /usr/share/emacs/24.4/lisp/org/ox-beamer /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-exp hides /usr/share/emacs/24.4/lisp/org/ob-exp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-install hides /usr/share/emacs/24.4/lisp/org/org-install /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-mobile hides /usr/share/emacs/24.4/lisp/org/org-mobile /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-emacs-lisp hides /usr/share/emacs/24.4/lisp/org/ob-emacs-lisp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-lob hides /usr/share/emacs/24.4/lisp/org/ob-lob /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-feed hides /usr/share/emacs/24.4/lisp/org/org-feed /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-python hides /usr/share/emacs/24.4/lisp/org/ob-python /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-latex hides /usr/share/emacs/24.4/lisp/org/ox-latex /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-crypt hides /usr/share/emacs/24.4/lisp/org/org-crypt /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-calc hides /usr/share/emacs/24.4/lisp/org/ob-calc /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-table hides /usr/share/emacs/24.4/lisp/org/ob-table /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-picolisp hides /usr/share/emacs/24.4/lisp/org/ob-picolisp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob hides /usr/share/emacs/24.4/lisp/org/ob /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-shen hides /usr/share/emacs/24.4/lisp/org/ob-shen /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-gnuplot hides /usr/share/emacs/24.4/lisp/org/ob-gnuplot /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-html hides /usr/share/emacs/24.4/lisp/org/ox-html /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-dot hides /usr/share/emacs/24.4/lisp/org/ob-dot /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-clojure hides /usr/share/emacs/24.4/lisp/org/ob-clojure /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-pcomplete hides /usr/share/emacs/24.4/lisp/org/org-pcomplete /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-capture hides /usr/share/emacs/24.4/lisp/org/org-capture /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-colview hides /usr/share/emacs/24.4/lisp/org/org-colview /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-fortran hides /usr/share/emacs/24.4/lisp/org/ob-fortran /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-tangle hides /usr/share/emacs/24.4/lisp/org/ob-tangle /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-mouse hides /usr/share/emacs/24.4/lisp/org/org-mouse /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-datetree hides /usr/share/emacs/24.4/lisp/org/org-datetree /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-table hides /usr/share/emacs/24.4/lisp/org/org-table /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-asymptote hides /usr/share/emacs/24.4/lisp/org/ob-asymptote /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-lilypond hides /usr/share/emacs/24.4/lisp/org/ob-lilypond /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-org hides /usr/share/emacs/24.4/lisp/org/ob-org /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-man hides /usr/share/emacs/24.4/lisp/org/ox-man /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sh hides /usr/share/emacs/24.4/lisp/org/ob-sh /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-lisp hides /usr/share/emacs/24.4/lisp/org/ob-lisp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-compat hides /usr/share/emacs/24.4/lisp/org/org-compat /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-core hides /usr/share/emacs/24.4/lisp/org/ob-core /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-clock hides /usr/share/emacs/24.4/lisp/org/org-clock /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-plot hides /usr/share/emacs/24.4/lisp/org/org-plot /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ledger hides /usr/share/emacs/24.4/lisp/org/ob-ledger /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-css hides /usr/share/emacs/24.4/lisp/org/ob-css /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-archive hides /usr/share/emacs/24.4/lisp/org/org-archive /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ref hides /usr/share/emacs/24.4/lisp/org/ob-ref /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-irc hides /usr/share/emacs/24.4/lisp/org/org-irc /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-comint hides /usr/share/emacs/24.4/lisp/org/ob-comint /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-odt hides /usr/share/emacs/24.4/lisp/org/ox-odt /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-C hides /usr/share/emacs/24.4/lisp/org/ob-C /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-io hides /usr/share/emacs/24.4/lisp/org/ob-io /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-java hides /usr/share/emacs/24.4/lisp/org/ob-java /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-bbdb hides /usr/share/emacs/24.4/lisp/org/org-bbdb /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-indent hides /usr/share/emacs/24.4/lisp/org/org-indent /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-macro hides /usr/share/emacs/24.4/lisp/org/org-macro /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-protocol hides /usr/share/emacs/24.4/lisp/org/org-protocol /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-publish hides /usr/share/emacs/24.4/lisp/org/ox-publish /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-keys hides /usr/share/emacs/24.4/lisp/org/ob-keys /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-element hides /usr/share/emacs/24.4/lisp/org/org-element /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-inlinetask hides /usr/share/emacs/24.4/lisp/org/org-inlinetask /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-bibtex hides /usr/share/emacs/24.4/lisp/org/org-bibtex /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-haskell hides /usr/share/emacs/24.4/lisp/org/ob-haskell /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-faces hides /usr/share/emacs/24.4/lisp/org/org-faces /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-src hides /usr/share/emacs/24.4/lisp/org/org-src /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-gnus hides /usr/share/emacs/24.4/lisp/org/org-gnus /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sass hides /usr/share/emacs/24.4/lisp/org/ob-sass /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-timer hides /usr/share/emacs/24.4/lisp/org/org-timer /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-scheme hides /usr/share/emacs/24.4/lisp/org/ob-scheme /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ruby hides /usr/share/emacs/24.4/lisp/org/ob-ruby /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-ascii hides /usr/share/emacs/24.4/lisp/org/ox-ascii /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org hides /usr/share/emacs/24.4/lisp/org/org /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-footnote hides /usr/share/emacs/24.4/lisp/org/org-footnote /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-scala hides /usr/share/emacs/24.4/lisp/org/ob-scala /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-habit hides /usr/share/emacs/24.4/lisp/org/org-habit /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-rmail hides /usr/share/emacs/24.4/lisp/org/org-rmail /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-loaddefs hides /usr/share/emacs/24.4/lisp/org/org-loaddefs /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-macs hides /usr/share/emacs/24.4/lisp/org/org-macs /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox hides /usr/share/emacs/24.4/lisp/org/ox /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-R hides /usr/share/emacs/24.4/lisp/org/ob-R /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-maxima hides /usr/share/emacs/24.4/lisp/org/ob-maxima /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-icalendar hides /usr/share/emacs/24.4/lisp/org/ox-icalendar /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ditaa hides /usr/share/emacs/24.4/lisp/org/ob-ditaa /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-matlab hides /usr/share/emacs/24.4/lisp/org/ob-matlab /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-octave hides /usr/share/emacs/24.4/lisp/org/ob-octave /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-makefile hides /usr/share/emacs/24.4/lisp/org/ob-makefile /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-eshell hides /usr/share/emacs/24.4/lisp/org/org-eshell /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-info hides /usr/share/emacs/24.4/lisp/org/org-info /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-latex hides /usr/share/emacs/24.4/lisp/org/ob-latex /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-mhe hides /usr/share/emacs/24.4/lisp/org/org-mhe /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-version hides /usr/share/emacs/24.4/lisp/org/org-version /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.4/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.4/lisp/net/sasl-cram /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.4/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.4/lisp/net/sasl /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.4/lisp/net/sasl-digest /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.4/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.4/lisp/net/hmac-md5 Features: (shadow sort mail-extr misearch multi-isearch eieio-opt speedbar sb-image ezimage dframe ert ewoc debug tramp-cache recentf tree-widget imenu emacsbug sendmail saveplace midnight face-remap ws-butler winner sml-modeline savehist minibuf-eldef mb-depth ido-yes-or-no icomplete undo-tree diff pointback assoc hl-line anzu mule-util desktop frameset delsel auto-dim-other-buffers git-wip-mode vc vc-dispatcher ido-complete-space-or-hyphen ido-speed-hack ido-ubiquitous ido-completing-read+ tempbuf flymake parse-time gnutls network-stream starttls url-http tls url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap .loaddefs cus-edit cus-start cus-load wid-edit system-specific-settings smex pretty-symbols osx-pseudo-daemon occur-context-resize noflet cl-indent markdown-mode warnings magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-log magit-apply magit-wip magit-diff smerge-mode diff-mode magit-core magit-process magit-popup magit-mode magit-git crm magit-section magit-utils git-commit log-edit message rfc822 mml mml-sec mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor tramp-sh tramp tramp-compat auth-source password-cache tramp-loaddefs trampver server lexbind-mode highlight-defined header2 git-gutter-fringe fringe-helper git-gutter esup esup-child benchmark ido ess-toolbar ess-mouse mouseme thingatpt ess-menu ess-swv ess-noweb ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-r-completion ess-tracebug ess-roxy hideshow ess-help ess-developer eldoc ess-s-l ess-site ess ess-inf ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify help-mode el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload keydef cperl-mode cl-lib-highlight bs browse-url bar-cursor autopair paren auto-complete edmacro kmacro popup apache-mode adjust-parens use-package diminish bind-key compile image-file tabify vc-git org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs pallet advice finder-inf eieio byte-opt bytecomp byte-compile cconv eieio-core cl info easymenu cask cl-macs gv cask-bootstrap package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json lisp-mnt shut-up epl git commander f dash s ucs-normalize package epg-config cl-loaddefs cl-lib debian-el debian-el-loaddefs emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment 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 dbusbind gfilenotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 699053 98104) (symbols 48 51690 0) (miscs 40 1022 450) (strings 32 184282 12134) (string-bytes 1 4120459) (vectors 16 78537) (vector-slots 8 2155055 125451) (floats 8 334 652) (intervals 56 7498 244) (buffers 960 48) (heap 1024 61526 7139)) From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Oleh Krehel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Oct 2015 10:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Ryan C. Thompson" Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144429918332184 (code B ref 21644); Thu, 08 Oct 2015 10:14:01 +0000 Received: (at 21644) by debbugs.gnu.org; 8 Oct 2015 10:13:03 +0000 Received: from localhost ([127.0.0.1]:59780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zk8C6-0008N2-DC for submit@debbugs.gnu.org; Thu, 08 Oct 2015 06:13:03 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:37092) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zk8C3-0008Mc-Co for 21644@debbugs.gnu.org; Thu, 08 Oct 2015 06:13:00 -0400 Received: by wicfx3 with SMTP id fx3so17874317wic.0 for <21644@debbugs.gnu.org>; Thu, 08 Oct 2015 03:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=P3G24U6XeZkf39glGJCy0FmzH9BBSv1x8TIBx6nOZ9Q=; b=BX1SFqnassziCEZz/GViym9fY+IQDybNwI2CM9bD6555zjGOpomKFcaslAbnFT1IBb +p9IHgKMmOZ8GjxrJjnfewZNeHzBj2N6sUvGmBNM256YtHzfnUtiteM5RQ/fRH7hS8Ks 6UzG0hEI+aBGnC0AW+WfynIyyrXZS3bz7Ztv3WLrkQN/cSm1MlEGAA5s5NWv+jC3la2i baJO+6XHbeRO2ULjhcRPkfk0eSqfXB3r1oBjGzAFfoUpgJX5596OW0UZ89MdDiiDSEHI i3gkMS+azEBQAAwjnGJml0EwWgDTw4Rw0SKlIZns6NglEMdzRp+SKTggv0cz4U5Hx6mA 2spA== X-Received: by 10.194.134.197 with SMTP id pm5mr6825803wjb.118.1444299178581; Thu, 08 Oct 2015 03:12:58 -0700 (PDT) Received: from firefly (dyn069045.nbw.tue.nl. [131.155.69.45]) by smtp.gmail.com with ESMTPSA id cc8sm31748681wjc.46.2015.10.08.03.12.57 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 08 Oct 2015 03:12:57 -0700 (PDT) From: Oleh Krehel References: <5615A2EA.4@thompsonclan.org> Date: Thu, 08 Oct 2015 12:13:22 +0200 In-Reply-To: <5615A2EA.4@thompsonclan.org> (Ryan C. Thompson's message of "Wed, 7 Oct 2015 15:55:38 -0700") Message-ID: <87vbahmzwd.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain > Try typing "g" followed by RET for both of the above. In the first > case (collection is a list), it returns "green". In the second case > (collection is a function), it returns just "g". This is reproducible > in emacs -Q. I can reproduce this as well, although "TAB RET" works where "RET" doesn't. I attach a patch with a fix. If someone can check it I can push it. The patch doesn't solve all the intricacies of `completion-ignore-case' that were mentioned in that function's comments, just this specific use case. Oleh --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-minibuffer.el-completion-complete-and-exit-Fix-.patch >From 6eca5cbbe328bc035fff41d33b47f03ac5b6ca81 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Thu, 8 Oct 2015 12:05:20 +0200 Subject: [PATCH] lisp/minibuffer.el (completion--complete-and-exit): Fix (bug#21644) When `test-completion' returns a string and `completion-ignore-case' is nil, the result was not used at all and only the minibuffer text was returned. This change makes it use that returned string. --- lisp/minibuffer.el | 96 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 49 insertions(+), 47 deletions(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 2814d02..f684164 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -1342,56 +1342,58 @@ completion-complete-and-exit (_ nil))))) (defun completion--complete-and-exit (beg end - exit-function completion-function) + exit-function completion-function) "Exit from `require-match' minibuffer. COMPLETION-FUNCTION is called if the current buffer's content does not appear to be a match." - (cond - ;; Allow user to specify null string - ((= beg end) (funcall exit-function)) - ((test-completion (buffer-substring beg end) - minibuffer-completion-table - minibuffer-completion-predicate) - ;; FIXME: completion-ignore-case has various slightly - ;; incompatible meanings. E.g. it can reflect whether the user - ;; wants completion to pay attention to case, or whether the - ;; string will be used in a context where case is significant. - ;; E.g. usually try-completion should obey the first, whereas - ;; test-completion should obey the second. - (when completion-ignore-case - ;; Fixup case of the field, if necessary. - (let* ((string (buffer-substring beg end)) - (compl (try-completion - string - minibuffer-completion-table - minibuffer-completion-predicate))) - (when (and (stringp compl) (not (equal string compl)) - ;; If it weren't for this piece of paranoia, I'd replace - ;; the whole thing with a call to do-completion. - ;; This is important, e.g. when the current minibuffer's - ;; content is a directory which only contains a single - ;; file, so `try-completion' actually completes to - ;; that file. - (= (length string) (length compl))) - (completion--replace beg end compl)))) - (funcall exit-function)) - - ((memq minibuffer-completion-confirm '(confirm confirm-after-completion)) - ;; The user is permitted to exit with an input that's rejected - ;; by test-completion, after confirming her choice. - (if (or (eq last-command this-command) - ;; For `confirm-after-completion' we only ask for confirmation - ;; if trying to exit immediately after typing TAB (this - ;; catches most minibuffer typos). - (and (eq minibuffer-completion-confirm 'confirm-after-completion) - (not (memq last-command minibuffer-confirm-exit-commands)))) - (funcall exit-function) - (minibuffer-message "Confirm") - nil)) - - (t - ;; Call do-completion, but ignore errors. - (funcall completion-function)))) + (cond + ;; Allow user to specify null string + ((= beg end) (funcall exit-function)) + ((test-completion (buffer-substring beg end) + minibuffer-completion-table + minibuffer-completion-predicate) + (let* ((string (buffer-substring beg end)) + (compl (try-completion + string + minibuffer-completion-table + minibuffer-completion-predicate))) + (when (and (stringp compl) + (or (not completion-ignore-case) + ;; FIXME: completion-ignore-case has various slightly + ;; incompatible meanings. E.g. it can reflect whether the user + ;; wants completion to pay attention to case, or whether the + ;; string will be used in a context where case is significant. + ;; E.g. usually try-completion should obey the first, whereas + ;; test-completion should obey the second.d + + ;; Fixup case of the field, if necessary. + (and (not (equal string compl)) + ;; If it weren't for this piece of paranoia, I'd replace + ;; the whole thing with a call to do-completion. + ;; This is important, e.g. when the current minibuffer's + ;; content is a directory which only contains a single + ;; file, so `try-completion' actually completes to + ;; that file. + (= (length string) (length compl))))) + (completion--replace beg end compl))) + (funcall exit-function)) + + ((memq minibuffer-completion-confirm '(confirm confirm-after-completion)) + ;; The user is permitted to exit with an input that's rejected + ;; by test-completion, after confirming her choice. + (if (or (eq last-command this-command) + ;; For `confirm-after-completion' we only ask for confirmation + ;; if trying to exit immediately after typing TAB (this + ;; catches most minibuffer typos). + (and (eq minibuffer-completion-confirm 'confirm-after-completion) + (not (memq last-command minibuffer-confirm-exit-commands)))) + (funcall exit-function) + (minibuffer-message "Confirm") + nil)) + + (t + ;; Call do-completion, but ignore errors. + (funcall completion-function)))) (defun completion--try-word-completion (string table predicate point md) (let ((comp (completion-try-completion string table predicate point md))) -- 2.6.1 --=-=-=-- From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2015 01:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Oleh Krehel , "Ryan C. Thompson" Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144469940817174 (code B ref 21644); Tue, 13 Oct 2015 01:24:01 +0000 Received: (at 21644) by debbugs.gnu.org; 13 Oct 2015 01:23:28 +0000 Received: from localhost ([127.0.0.1]:37612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZloJM-0004Sv-8D for submit@debbugs.gnu.org; Mon, 12 Oct 2015 21:23:28 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:37891) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZloJJ-0004Sn-UP for 21644@debbugs.gnu.org; Mon, 12 Oct 2015 21:23:26 -0400 Received: by wieq12 with SMTP id q12so7921076wie.1 for <21644@debbugs.gnu.org>; Mon, 12 Oct 2015 18:23:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=LbwzHsZEE18fh438fkakKRuogZ2WazYnC+cixEKcT+I=; b=myAaclYs+Akd/++9elhp/YDLM7rr/TvZUTLCpWFApuoO5m2xlg0PO9v8HHckn5BSzD nm71Pb/ZolkrhQb96w3DPDO/RNZ4G2F7GhP4wNHc3lE/Vn8pYc81e9q1b7MaiZBRu350 HKmGbG4/GnRqoUxJilo6M86IHzXoOkf+dFLG0u5By4s3GweGnvHyz0RUc6hA8IcVXZ7U 6El8RrgO/hvhVNlBsUDIv4sece6gB90PZ3rX0WrNjrTWQl4uSNHDbDkv1YQz3+4Ia9KQ ujMwHWbmlMf9xDQC97fTREVdYfWxDX8GmfOEic3k5+cUvf95EElBHqt+WjuTLepZeDxv cC0Q== X-Received: by 10.180.186.98 with SMTP id fj2mr18610307wic.58.1444699405270; Mon, 12 Oct 2015 18:23:25 -0700 (PDT) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id hk5sm450212wjb.6.2015.10.12.18.23.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 18:23:24 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> From: Dmitry Gutov Message-ID: <561C5D0B.9070303@yandex.ru> Date: Tue, 13 Oct 2015 04:23:23 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 MIME-Version: 1.0 In-Reply-To: <87vbahmzwd.fsf@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/08/2015 01:13 PM, Oleh Krehel wrote: > I can reproduce this as well, although "TAB RET" works where "RET" > doesn't. I attach a patch with a fix. If someone can check it I can push > it. The patch doesn't solve all the intricacies of > `completion-ignore-case' that were mentioned in that function's > comments, just this specific use case. Is there really a bug here? The example code didn't handle `test-completion' (the case when ALL would be `lambda'). With this definition, the behavior is the same in either case: (defun collection-as-function (collection) "Return a function equivalent to COLLECTION. The returned function will work equivalently to COLLECTION when passed to `all-completions' and `try-completion'." (if (functionp collection) collection ;; Capture collection in a closure (lambda (string pred all) (funcall (cond ((eq all 't) #'all-completions) ((eq all 'lambda) #'test-completion) (t #'try-completion)) string collection pred)))) From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Ryan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2015 01:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144470036818858 (code B ref 21644); Tue, 13 Oct 2015 01:40:02 +0000 Received: (at 21644) by debbugs.gnu.org; 13 Oct 2015 01:39:28 +0000 Received: from localhost ([127.0.0.1]:37626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZloYp-0004u5-Ry for submit@debbugs.gnu.org; Mon, 12 Oct 2015 21:39:28 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:34274) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZloYn-0004tv-La for 21644@debbugs.gnu.org; Mon, 12 Oct 2015 21:39:26 -0400 Received: by padhy16 with SMTP id hy16so4199037pad.1 for <21644@debbugs.gnu.org>; Mon, 12 Oct 2015 18:39:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Q9viK6QFr7mDMT+qZHKY6yHzzSftwOWl/5QdGrA19Zc=; b=LtQiDldpzGam1GPRwoMeuJ4Az8Wj6rQpXHnQ4DyTmdMZnmR9hojxNp2+wbBFd6QRCc sAI7RVRw1IKBp6FAHpreUWJqqkNAZ1+O8pFO7G2yfEbPAQO95ZmLi0M1rBN67HHwSMl2 xi9JKrGEMkfB7t7KGWxecS31wpHv8SRuwPstG9wcWq+PVf38SWoisUXSGBRxiIPyy/13 OjBMrM+5U6UKQDQ39Rgco93CHySYSAX9Z9QFV71L+rs6XEkMsoJ+Xib6ed+NjTuNx0dU gadTTlZe7JouAJnwes07ixJMGfNt9JcdJLGppMy0ITXMBJUPTLVuuLIEMNL1q2eUcFar 1qhw== X-Gm-Message-State: ALoCoQnUkkXfb/1TZPaAiN3k3C2ieIEC1rZG7ALLcYvnD02LtU1A8WDIwtsM/ZhwpM+Vu3GJGng6 X-Received: by 10.67.3.167 with SMTP id bx7mr37812480pad.47.1444700364858; Mon, 12 Oct 2015 18:39:24 -0700 (PDT) Received: from [192.168.10.2] ([209.134.95.68]) by smtp.googlemail.com with ESMTPSA id fa14sm394021pac.8.2015.10.12.18.39.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Oct 2015 18:39:23 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> From: Ryan Message-ID: <561C5FB0.6030105@thompsonclan.org> Date: Mon, 12 Oct 2015 18:34:40 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561C5D0B.9070303@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/12/15 6:23 PM, Dmitry Gutov wrote: > On 10/08/2015 01:13 PM, Oleh Krehel wrote: > >> I can reproduce this as well, although "TAB RET" works where "RET" >> doesn't. I attach a patch with a fix. If someone can check it I can push >> it. The patch doesn't solve all the intricacies of >> `completion-ignore-case' that were mentioned in that function's >> comments, just this specific use case. > > Is there really a bug here? > > The example code didn't handle `test-completion' (the case when ALL > would be `lambda'). > > With this definition, the behavior is the same in either case: > > (defun collection-as-function (collection) > "Return a function equivalent to COLLECTION. > > The returned function will work equivalently to COLLECTION when > passed to `all-completions' and `try-completion'." > (if (functionp collection) > collection > ;; Capture collection in a closure > (lambda (string pred all) > (funcall > (cond > ((eq all 't) > #'all-completions) > ((eq all 'lambda) > #'test-completion) > (t > #'try-completion)) > string collection pred)))) > > I wasn't aware of `test-completion'. I was going based on the docstring for `completing-read', which only mentions `try-completion' and `all-completions'. Is there any other documentation I should have consulted? From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2015 02:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ryan , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144470326023341 (code B ref 21644); Tue, 13 Oct 2015 02:28:01 +0000 Received: (at 21644) by debbugs.gnu.org; 13 Oct 2015 02:27:40 +0000 Received: from localhost ([127.0.0.1]:37630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlpJU-00064P-Di for submit@debbugs.gnu.org; Mon, 12 Oct 2015 22:27:40 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:33793) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZlpJS-00064G-5W for 21644@debbugs.gnu.org; Mon, 12 Oct 2015 22:27:38 -0400 Received: by wicgb1 with SMTP id gb1so70548289wic.1 for <21644@debbugs.gnu.org>; Mon, 12 Oct 2015 19:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=gAKFP7fPyfKMz1tR+nuHHWJ05KVvpNKYriDMnYQKX1k=; b=uk14oRAgYzSJpZEI9xvhayHLbqvwy2OqrUpeT0X+xaXU0EMTCv0+9tbtw64socs/Nv wAe+9tG8PyAi4rFOuxruwTOIxgo6vKyFuxKuFqThV3f3Px8zgw+hYRK3mh86KPZx7QjH dSgoI7WGTvQO4JTR8rEcxaBJRdAdxV7EDAbh79wiFcC8zBUhP52Yf8iu6x89JHq8DRYW 2stjwSnku6d3aW116fsg4v2FklaGc7e7htI9APIwc4aIEcE91u7VuxdneWy1ATvbbm/r DTM26G39N1C0UJcSCZV04LdxoSsq70TsvqR7YL2nyhJWvWUfR+UdPnik/ep+EjrzyXm5 DN1w== X-Received: by 10.194.184.20 with SMTP id eq20mr33571703wjc.22.1444703257515; Mon, 12 Oct 2015 19:27:37 -0700 (PDT) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id uj4sm620347wjc.34.2015.10.12.19.27.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 19:27:36 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> From: Dmitry Gutov Message-ID: <561C6C12.20803@yandex.ru> Date: Tue, 13 Oct 2015 05:27:30 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 MIME-Version: 1.0 In-Reply-To: <561C5FB0.6030105@thompsonclan.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/13/2015 04:34 AM, Ryan wrote: > I wasn't aware of `test-completion'. I was going based on the docstring > for `completing-read', which only mentions `try-completion' and > `all-completions'. Maybe it should mention test-completion as well. completion-table-with-predicate does. > Is there any other documentation I should have > consulted? (info "(elisp) Programmed Completion") or (info "(elisp) Basic Completion"), probably. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: "Ryan C. Thompson" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2015 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144476281023210 (code B ref 21644); Tue, 13 Oct 2015 19:01:02 +0000 Received: (at 21644) by debbugs.gnu.org; 13 Oct 2015 19:00:10 +0000 Received: from localhost ([127.0.0.1]:39065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zm4nw-00062G-5z for submit@debbugs.gnu.org; Tue, 13 Oct 2015 15:00:09 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:34073) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zm4nr-00061o-KQ for 21644@debbugs.gnu.org; Tue, 13 Oct 2015 15:00:05 -0400 Received: by padhy16 with SMTP id hy16so29045996pad.1 for <21644@debbugs.gnu.org>; Tue, 13 Oct 2015 12:00:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=2chiY9v9NoLdQsCs4vT2XXisUspAYDDmc6R9MmlJULA=; b=mF/cfZ8QhKuAv4A1SNqbyJND/PD659A/YFUVoe5fTd/6PKzWehqO/OEd+9uTAyKtc2 EsRN8x3s0nnZsIUTsBaZ0dZ1TXTaO0YkDumo7lVhALzi0qO0ui5gv+lI8L3beI0peGft UWSyvoWt4ZbnX/VUVPJ3ifDjsp9MX4KCdrwhg8wXcCMem26z3jb0iMOmBnrLWvA+otzi uJTuFy2P5cTOk/VcWgYyjZggSDIgVH62H0zJO2oxpuhioiyUFZYIKPzLDrcTz2PqXhg1 9taEaLbk5x4KlanqX4z6kL/kEUL1xIWI9W759g/cdiJ2no2ghmqDIWu4mo5ab522cKXN mpXA== X-Gm-Message-State: ALoCoQmP9dD7pZOrnAg85fJy50rYGZ2YIyONou+8GKunqEESUk/k8RCkEvZCfNoMPPEbDZepCDw/ X-Received: by 10.66.189.232 with SMTP id gl8mr29531347pac.52.1444762802397; Tue, 13 Oct 2015 12:00:02 -0700 (PDT) Received: from [137.131.89.60] (salomon14.scripps.edu. [137.131.89.60]) by smtp.googlemail.com with ESMTPSA id ze3sm5285651pac.5.2015.10.13.12.00.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 12:00:01 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> From: "Ryan C. Thompson" Message-ID: <561D54AF.7090701@thompsonclan.org> Date: Tue, 13 Oct 2015 11:59:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561C6C12.20803@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/12/2015 07:27 PM, Dmitry Gutov wrote: > On 10/13/2015 04:34 AM, Ryan wrote: > >> I wasn't aware of `test-completion'. I was going based on the docstring >> for `completing-read', which only mentions `try-completion' and >> `all-completions'. > > Maybe it should mention test-completion as well. > completion-table-with-predicate does. > >> Is there any other documentation I should have >> consulted? > > (info "(elisp) Programmed Completion") or > (info "(elisp) Basic Completion"), probably. Maybe the `completing-read' docstring should link to these info nodes. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 05:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144488593912275 (code B ref 21644); Thu, 15 Oct 2015 05:13:01 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 05:12:19 +0000 Received: from localhost ([127.0.0.1]:51364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmapu-0003Bu-Ue for submit@debbugs.gnu.org; Thu, 15 Oct 2015 01:12:19 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:33568) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmaps-0003Bm-ML for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 01:12:17 -0400 Received: by wijp11 with SMTP id p11so11497344wij.0 for <21644@debbugs.gnu.org>; Wed, 14 Oct 2015 22:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=2dsGKi82Zg4jY2AQ3jYVMFXOCY4YKF+NvAI56p3G50I=; b=Z9EoaSdy91oEKeO9fVI5tOJPhKNx0O6x5s9QbvfPiDRFlmkb1r+40x8ohCY9bo4j6T oJ3XgqJm15JawGvzqROM9R/+rVM/aPJla871l+vb6SikCM1WWx2TNBjpoZ5g01V7rv5g qe5wyXuM8qD8eGWeTYKL1ZLuubd2kzli75lo/0BLWaBCB7VaI5caCSeE44tc3FRdj3cz vfdaAOLxUhd8bogxTL+q0SKWKXNggaI9uVxSXn/neSn0PaZEOUgFNaDgWEpUTkalsCtE IE+QYwpXS3zpw2gif+SjcdnM0HlPG3p3zCkHQhh+Fi8Ln+87XmoscnXw3aBPoL9oU/K7 ImBg== X-Received: by 10.194.11.71 with SMTP id o7mr8100159wjb.75.1444885936188; Wed, 14 Oct 2015 22:12:16 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id lf10sm14043120wjb.23.2015.10.14.22.12.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 22:12:14 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> From: Dmitry Gutov Message-ID: <561F35AD.8000803@yandex.ru> Date: Thu, 15 Oct 2015 08:12:13 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 MIME-Version: 1.0 In-Reply-To: <561D54AF.7090701@thompsonclan.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/13/2015 09:59 PM, Ryan C. Thompson wrote: >> (info "(elisp) Programmed Completion") or >> (info "(elisp) Basic Completion"), probably. > Maybe the `completing-read' docstring should link to these info nodes. This seems like it should suffice. Do you agree? diff --git a/src/minibuf.c b/src/minibuf.c index 4e5c17d..2cde8b0 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1595,7 +1595,7 @@ PROMPT is a string to prompt with; normally it ends in a colon and a space. COLLECTION can be a list of strings, an alist, an obarray or a hash table. COLLECTION can also be a function to do the completion itself. PREDICATE limits completion to a subset of COLLECTION. -See `try-completion' and `all-completions' for more details +See Info node `(elisp)Basic Completion' for more details on completion, COLLECTION, and PREDICATE. REQUIRE-MATCH can take the following values: From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Ryan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 05:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 21644@debbugs.gnu.org, Oleh Krehel Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144488628312932 (code B ref 21644); Thu, 15 Oct 2015 05:19:01 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 05:18:03 +0000 Received: from localhost ([127.0.0.1]:51374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmavS-0003MV-Pp for submit@debbugs.gnu.org; Thu, 15 Oct 2015 01:18:03 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:33442) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmavR-0003M5-1c for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 01:18:01 -0400 Received: by pabrc13 with SMTP id rc13so76075107pab.0 for <21644@debbugs.gnu.org>; Wed, 14 Oct 2015 22:18:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Z3zfloqXT1beDtPnssLg7tGlnoTDk0HlWJkj3INp214=; b=YdDeL5rHH66A9ZaSeducv/KCy9BoYojWIkKvqxst6ILLAUZmiZZR5jdraTCodnzBvC ND8VzZHkweNYKimR60dHoiSAp8ES3RCFo0fmZVu+7ZzgIKoUMiJjGd556vpO0eVq5BQk SrL5uT8BMkVCsKZpp+eUmQNrFK2y34hPJXSdscxRv8K24LW+Jttyw+otvzDpz/+OPDIK EopoO6entjNAL5wVZuM1mfkzfwtC5CPd8YQbgWJnuSV2TzW6fWN6F6o3XhmLZSHkLkMO eI8iB/CVi71NtZxUucmyFwIdPUKhfadO2kkrRH/BeKm274A4e+vF4lwOY9LgtV71vv6w oeBQ== X-Gm-Message-State: ALoCoQleOk33y71BO0d6oQ+Psw5ZgFlFml2XMqj0fluvdBQKm1CJy72o5UtqsUcgKDRxsfEz0yKa X-Received: by 10.67.15.100 with SMTP id fn4mr8206306pad.120.1444886280431; Wed, 14 Oct 2015 22:18:00 -0700 (PDT) Received: from [192.168.10.2] ([209.134.95.68]) by smtp.googlemail.com with ESMTPSA id an5sm430817pbd.45.2015.10.14.22.17.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Oct 2015 22:17:59 -0700 (PDT) From: Ryan References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> Message-ID: <561F3702.2080203@thompsonclan.org> Date: Wed, 14 Oct 2015 22:17:54 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561F35AD.8000803@yandex.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/14/15 10:12 PM, Dmitry Gutov wrote: > On 10/13/2015 09:59 PM, Ryan C. Thompson wrote: > >>> (info "(elisp) Programmed Completion") or >>> (info "(elisp) Basic Completion"), probably. >> Maybe the `completing-read' docstring should link to these info nodes. > > This seems like it should suffice. Do you agree? > > diff --git a/src/minibuf.c b/src/minibuf.c > index 4e5c17d..2cde8b0 100644 > --- a/src/minibuf.c > +++ b/src/minibuf.c > @@ -1595,7 +1595,7 @@ PROMPT is a string to prompt with; normally it > ends in a colon and a space. > COLLECTION can be a list of strings, an alist, an obarray or a hash > table. > COLLECTION can also be a function to do the completion itself. > PREDICATE limits completion to a subset of COLLECTION. > -See `try-completion' and `all-completions' for more details > +See Info node `(elisp)Basic Completion' for more details > on completion, COLLECTION, and PREDICATE. > > REQUIRE-MATCH can take the following values: > Yes, I think that should be fine. That would have certainly solved the problem in my case, since I would have known to implement the `test-completion' case. From unknown Fri Jun 20 07:21:35 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Ryan C. Thompson" Subject: bug#21644: closed (Re: bug#21644: 24.4; completing-read acts differently on functional collection) Message-ID: References: <561F6F77.4040100@yandex.ru> <5615A2EA.4@thompsonclan.org> X-Gnu-PR-Message: they-closed 21644 X-Gnu-PR-Package: emacs Reply-To: 21644@debbugs.gnu.org Date: Thu, 15 Oct 2015 09:19:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1444900743-2357-1" This is a multi-part message in MIME format... ------------=_1444900743-2357-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #21644: 24.4; completing-read acts differently on functional collection which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 21644@debbugs.gnu.org. --=20 21644: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D21644 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1444900743-2357-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 21644-done) by debbugs.gnu.org; 15 Oct 2015 09:18:53 +0000 Received: from localhost ([127.0.0.1]:51496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmegW-0000bh-Qa for submit@debbugs.gnu.org; Thu, 15 Oct 2015 05:18:52 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:37215) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmegU-0000bX-In for 21644-done@debbugs.gnu.org; Thu, 15 Oct 2015 05:18:50 -0400 Received: by wijq8 with SMTP id q8so119898803wij.0 for <21644-done@debbugs.gnu.org>; Thu, 15 Oct 2015 02:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=A4j+G8+mlfey68UASO0i2ZuGbnk1v4tC+YmrgLqcM0g=; b=RxBC/KXjggIG0Vvw+NlmsFftDfQAKqLFDexP7RGTOuCs1KYk1IYQeSxblkpVM3rpt0 mUbP4SrvOEjVrAhODQdDMStqcYu4rW90KwFl0d4K0PhyADBlP/7Min8UKBnJvoC0SEJe oAXNEdjpRuw7HzBGc/5o7q9Uika+/9IwmtF4d/EGVFCuDS15cH++IgyS5A1Ji38N8fcN +nY8vyGfNelVUmkxQPLxMbqu3RMIn3y2A8aif7g2C3slWjmV3s4isc+T74FHiAuBxLaH 2zXle1imxJVPa8Pz0hQU7WEBrQWKaLkR6Nf7w7IVQHnKnKwCE4xy/IHDKmPcZZYheCre ptXQ== X-Received: by 10.180.90.229 with SMTP id bz5mr34590410wib.46.1444900729927; Thu, 15 Oct 2015 02:18:49 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id hd1sm22796638wib.5.2015.10.15.02.18.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 02:18:48 -0700 (PDT) Subject: Re: bug#21644: 24.4; completing-read acts differently on functional collection To: Ryan References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561F3702.2080203@thompsonclan.org> From: Dmitry Gutov Message-ID: <561F6F77.4040100@yandex.ru> Date: Thu, 15 Oct 2015 12:18:47 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 MIME-Version: 1.0 In-Reply-To: <561F3702.2080203@thompsonclan.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 21644-done Cc: 21644-done@debbugs.gnu.org, Oleh Krehel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/15/2015 08:17 AM, Ryan wrote: > Yes, I think that should be fine. That would have certainly solved the > problem in my case, since I would have known to implement the > `test-completion' case. Good, installed. ------------=_1444900743-2357-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Oct 2015 22:56:08 +0000 Received: from localhost ([127.0.0.1]:59483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjxd0-00075l-BA for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:56:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40191) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjxcw-00075Z-5H for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:56:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zjxcs-0001V9-7w for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:56:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjxcs-0001V5-40 for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:55:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjxco-0004VM-GD for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 18:55:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zjxck-0001Tv-To for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 18:55:54 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:34784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjxck-0001Td-J2 for bug-gnu-emacs@gnu.org; Wed, 07 Oct 2015 18:55:50 -0400 Received: by padhy16 with SMTP id hy16so33935905pad.1 for ; Wed, 07 Oct 2015 15:55:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=R9s9S1sjgQMDXovXP9X4kr4CBHnZCrJg1C+QfCn4I3Q=; b=L/3VWs86z0AbZ30u1jLrUaPGvSY2yGvwaVT2A0GPBe4O4VKfl9io4KbfBEkSBVwKqQ Z2HWGgAeryXXh/kD3Rx9Gc9FAWMClR5HeBTDkzJfpewbr9Mas4BAFHDT7/wDX8TqYNBV b5BPOnVXxAKuQWqd+0Ipyui29CdfUd5HgQRjo/4yOLVUmKedai7F9bb7SqXn+TOl2zSi EYzgYgwgKJAnTbplI9iKZJZSHNVx60iMb0U2dyl6NqJ1qGfiGxI3VCiv8inC3dQPS2n2 Eq9uMZqsr6dpN+WaQwkGSL5c0Myx462hlsucERjOFXsUi1+haco+e98ESlM5JulSnY6T yNrw== X-Gm-Message-State: ALoCoQkp7ul8FuDfEzLY/s74aqdmonib6k4vAbwapfgITDX8YpbgYbe3VT74X261dBNX4JbU6wzb X-Received: by 10.66.228.97 with SMTP id sh1mr3894183pac.91.1444258544545; Wed, 07 Oct 2015 15:55:44 -0700 (PDT) Received: from [137.131.89.60] (salomon14.scripps.edu. [137.131.89.60]) by smtp.googlemail.com with ESMTPSA id rx10sm21500896pab.21.2015.10.07.15.55.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Oct 2015 15:55:43 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: 24.4; completing-read acts differently on functional collection From: "Ryan C. Thompson" Message-ID: <5615A2EA.4@thompsonclan.org> Date: Wed, 7 Oct 2015 15:55:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) I've discovered that completing-read works differently if COLLECTION is a function than if it is a list, even if the function represents exactly the same set of completions as the list. For example, we can define a function to convert any collection to an equivalent function using a closure: (setq lexical-binding t) (defun collection-as-function (collection) "Return a function equivalent to COLLECTION. The returned function will work equivalently to COLLECTION when passed to `all-completions' and `try-completion'." (if (functionp collection) collection ;; Capture collection in a closure (lambda (string pred all) (funcall (if all #'all-completions #'try-completion) string collection pred)))) collection-as-function (completing-read "Prompt: " '("blue" "yellow" "green") nil t) (completing-read "Prompt: " (collection-as-function '("blue" "yellow" "green")) nil t) Try typing "g" followed by RET for both of the above. In the first case (collection is a list), it returns "green". In the second case (collection is a function), it returns just "g". This is reproducible in emacs -Q. In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2015-03-21 on kissel, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Ubuntu 15.04 Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars --without-gconf --without-gsettings 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: recentf-mode: t ws-butler-global-mode: t ws-butler-mode: t winner-mode: t sml-modeline-mode: t savehist-mode: t minibuffer-electric-default-mode: t minibuffer-depth-indicate-mode: t ido-yes-or-no-mode: t icomplete-mode: t global-undo-tree-mode: t undo-tree-mode: t global-pointback-mode: t pointback-mode: t global-hl-line-mode: t global-anzu-mode: t anzu-mode: t desktop-save-mode: t delete-selection-mode: t auto-dim-other-buffers-mode: t git-wip-mode: t ido-complete-space-or-hyphen-mode: t pretty-symbols-mode: t diff-auto-refine-mode: t global-git-commit-mode: t lexbind-mode: t highlight-defined-mode: t global-git-gutter-mode: t git-gutter-mode: t ido-everywhere: t shell-dirtrack-mode: t eldoc-mode: t autopair-global-mode: t autopair-mode: t show-paren-mode: t global-auto-complete-mode: t auto-complete-mode: t adjust-parens-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-_ C-x C-e C-x C-e g g C-a C-M-S-f M-w C-e C-y C-e C-e C-j g M-x i d o - u b - m o C-_ C-j g C-_ C-a C-M-S-f M-w C-y C-j g C-e C-j g ( u n e l e s s SPC ( f u n c t i o n C-x C-s C-a M-w M-w C-a M-w C-a C-_ C-_ C-_ C-a M-w M-x r e p o r t M-x M-x r e p o r t - e m a c s c o m p l e t i n g - r e a d SPC a c t s SPC d i f f e r e n t l y SPC o n SPC f u n c t i o n a l SPC c o l l e c t i o n M-x r e p o r C-g C-g C-x k M-x r e p o r - v i a - m a i l Recent messages: Checking 261 files in /usr/share/emacs/24.4/lisp/gnus... Checking 57 files in /usr/share/emacs/24.4/lisp/eshell... Checking 70 files in /usr/share/emacs/24.4/lisp/erc... Checking 48 files in /usr/share/emacs/24.4/lisp/emulation... Checking 151 files in /usr/share/emacs/24.4/lisp/emacs-lisp... Checking 24 files in /usr/share/emacs/24.4/lisp/cedet... Checking 57 files in /usr/share/emacs/24.4/lisp/calendar... Checking 87 files in /usr/share/emacs/24.4/lisp/calc... Checking 95 files in /usr/share/emacs/24.4/lisp/obsolete... Checking for load-path shadows...done Quit [2 times] Load-path shadows: /home/ryan/.emacs.d/el-get/ido-completing-read+/ido-completing-read+ hides /home/ryan/.emacs.d/.cask/24.4.1/elpa/ido-completing-read+-20151005.2131/ido-completing-read+ /home/ryan/.emacs.d/el-get/tempbuf/tempbuf hides /home/ryan/.emacs.d/.cask/24.4.1/elpa/tempbuf-20111124.1307/tempbuf /home/ryan/.emacs.d/.cask/24.4.1/elpa/bar-cursor-1.1/bar-cursor hides /usr/share/emacs24/site-lisp/emacs-goodies-el/bar-cursor /home/ryan/.emacs.d/.cask/24.4.1/elpa/apache-mode-20140625.1556/apache-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/apache-mode /home/ryan/.emacs.d/.cask/24.4.1/elpa/markdown-mode-20150628.502/markdown-mode hides /usr/share/emacs24/site-lisp/emacs-goodies-el/markdown-mode /home/ryan/.emacs.d/.cask/24.4.1/elpa/keydef-20090428.1231/keydef hides /usr/share/emacs24/site-lisp/emacs-goodies-el/keydef /home/ryan/.emacs.d/.cask/24.4.1/elpa/diminish-20091203.1012/diminish hides /usr/share/emacs24/site-lisp/emacs-goodies-el/diminish /home/ryan/.emacs.d/.cask/24.4.1/elpa/debian-changelog-mode-1.96/debian-changelog-mode hides /usr/share/emacs24/site-lisp/dpkg-dev-el/debian-changelog-mode /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.4/lisp/md4 /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.4/lisp/hex-util /home/ryan/.emacs.d/el-get/ido-mode-el/ido hides /usr/share/emacs/24.4/lisp/ido /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.4/lisp/textmodes/ispell /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.4/lisp/textmodes/rst /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-ctags hides /usr/share/emacs/24.4/lisp/org/org-ctags /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-eval hides /usr/share/emacs/24.4/lisp/org/ob-eval /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-docview hides /usr/share/emacs/24.4/lisp/org/org-docview /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-awk hides /usr/share/emacs/24.4/lisp/org/ob-awk /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-screen hides /usr/share/emacs/24.4/lisp/org/ob-screen /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sql hides /usr/share/emacs/24.4/lisp/org/ob-sql /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-mscgen hides /usr/share/emacs/24.4/lisp/org/ob-mscgen /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-md hides /usr/share/emacs/24.4/lisp/org/ox-md /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-list hides /usr/share/emacs/24.4/lisp/org/org-list /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-perl hides /usr/share/emacs/24.4/lisp/org/ob-perl /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-attach hides /usr/share/emacs/24.4/lisp/org/org-attach /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-js hides /usr/share/emacs/24.4/lisp/org/ob-js /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-w3m hides /usr/share/emacs/24.4/lisp/org/org-w3m /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-org hides /usr/share/emacs/24.4/lisp/org/ox-org /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-texinfo hides /usr/share/emacs/24.4/lisp/org/ox-texinfo /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-id hides /usr/share/emacs/24.4/lisp/org/org-id /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ocaml hides /usr/share/emacs/24.4/lisp/org/ob-ocaml /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sqlite hides /usr/share/emacs/24.4/lisp/org/ob-sqlite /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-plantuml hides /usr/share/emacs/24.4/lisp/org/ob-plantuml /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-entities hides /usr/share/emacs/24.4/lisp/org/org-entities /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-agenda hides /usr/share/emacs/24.4/lisp/org/org-agenda /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-beamer hides /usr/share/emacs/24.4/lisp/org/ox-beamer /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-exp hides /usr/share/emacs/24.4/lisp/org/ob-exp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-install hides /usr/share/emacs/24.4/lisp/org/org-install /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-mobile hides /usr/share/emacs/24.4/lisp/org/org-mobile /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-emacs-lisp hides /usr/share/emacs/24.4/lisp/org/ob-emacs-lisp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-lob hides /usr/share/emacs/24.4/lisp/org/ob-lob /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-feed hides /usr/share/emacs/24.4/lisp/org/org-feed /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-python hides /usr/share/emacs/24.4/lisp/org/ob-python /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-latex hides /usr/share/emacs/24.4/lisp/org/ox-latex /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-crypt hides /usr/share/emacs/24.4/lisp/org/org-crypt /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-calc hides /usr/share/emacs/24.4/lisp/org/ob-calc /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-table hides /usr/share/emacs/24.4/lisp/org/ob-table /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-picolisp hides /usr/share/emacs/24.4/lisp/org/ob-picolisp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob hides /usr/share/emacs/24.4/lisp/org/ob /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-shen hides /usr/share/emacs/24.4/lisp/org/ob-shen /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-gnuplot hides /usr/share/emacs/24.4/lisp/org/ob-gnuplot /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-html hides /usr/share/emacs/24.4/lisp/org/ox-html /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-dot hides /usr/share/emacs/24.4/lisp/org/ob-dot /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-clojure hides /usr/share/emacs/24.4/lisp/org/ob-clojure /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-pcomplete hides /usr/share/emacs/24.4/lisp/org/org-pcomplete /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-capture hides /usr/share/emacs/24.4/lisp/org/org-capture /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-colview hides /usr/share/emacs/24.4/lisp/org/org-colview /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-fortran hides /usr/share/emacs/24.4/lisp/org/ob-fortran /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-tangle hides /usr/share/emacs/24.4/lisp/org/ob-tangle /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-mouse hides /usr/share/emacs/24.4/lisp/org/org-mouse /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-datetree hides /usr/share/emacs/24.4/lisp/org/org-datetree /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-table hides /usr/share/emacs/24.4/lisp/org/org-table /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-asymptote hides /usr/share/emacs/24.4/lisp/org/ob-asymptote /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-lilypond hides /usr/share/emacs/24.4/lisp/org/ob-lilypond /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-org hides /usr/share/emacs/24.4/lisp/org/ob-org /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-man hides /usr/share/emacs/24.4/lisp/org/ox-man /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sh hides /usr/share/emacs/24.4/lisp/org/ob-sh /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-lisp hides /usr/share/emacs/24.4/lisp/org/ob-lisp /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-compat hides /usr/share/emacs/24.4/lisp/org/org-compat /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-core hides /usr/share/emacs/24.4/lisp/org/ob-core /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-clock hides /usr/share/emacs/24.4/lisp/org/org-clock /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-plot hides /usr/share/emacs/24.4/lisp/org/org-plot /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ledger hides /usr/share/emacs/24.4/lisp/org/ob-ledger /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-css hides /usr/share/emacs/24.4/lisp/org/ob-css /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-archive hides /usr/share/emacs/24.4/lisp/org/org-archive /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ref hides /usr/share/emacs/24.4/lisp/org/ob-ref /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-irc hides /usr/share/emacs/24.4/lisp/org/org-irc /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-comint hides /usr/share/emacs/24.4/lisp/org/ob-comint /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-odt hides /usr/share/emacs/24.4/lisp/org/ox-odt /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-C hides /usr/share/emacs/24.4/lisp/org/ob-C /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-io hides /usr/share/emacs/24.4/lisp/org/ob-io /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-java hides /usr/share/emacs/24.4/lisp/org/ob-java /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-bbdb hides /usr/share/emacs/24.4/lisp/org/org-bbdb /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-indent hides /usr/share/emacs/24.4/lisp/org/org-indent /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-macro hides /usr/share/emacs/24.4/lisp/org/org-macro /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-protocol hides /usr/share/emacs/24.4/lisp/org/org-protocol /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-publish hides /usr/share/emacs/24.4/lisp/org/ox-publish /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-keys hides /usr/share/emacs/24.4/lisp/org/ob-keys /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-element hides /usr/share/emacs/24.4/lisp/org/org-element /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-inlinetask hides /usr/share/emacs/24.4/lisp/org/org-inlinetask /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-bibtex hides /usr/share/emacs/24.4/lisp/org/org-bibtex /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-haskell hides /usr/share/emacs/24.4/lisp/org/ob-haskell /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-faces hides /usr/share/emacs/24.4/lisp/org/org-faces /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-src hides /usr/share/emacs/24.4/lisp/org/org-src /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-gnus hides /usr/share/emacs/24.4/lisp/org/org-gnus /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-sass hides /usr/share/emacs/24.4/lisp/org/ob-sass /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-timer hides /usr/share/emacs/24.4/lisp/org/org-timer /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-scheme hides /usr/share/emacs/24.4/lisp/org/ob-scheme /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ruby hides /usr/share/emacs/24.4/lisp/org/ob-ruby /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-ascii hides /usr/share/emacs/24.4/lisp/org/ox-ascii /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org hides /usr/share/emacs/24.4/lisp/org/org /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-footnote hides /usr/share/emacs/24.4/lisp/org/org-footnote /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-scala hides /usr/share/emacs/24.4/lisp/org/ob-scala /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-habit hides /usr/share/emacs/24.4/lisp/org/org-habit /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-rmail hides /usr/share/emacs/24.4/lisp/org/org-rmail /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-loaddefs hides /usr/share/emacs/24.4/lisp/org/org-loaddefs /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-macs hides /usr/share/emacs/24.4/lisp/org/org-macs /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox hides /usr/share/emacs/24.4/lisp/org/ox /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-R hides /usr/share/emacs/24.4/lisp/org/ob-R /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-maxima hides /usr/share/emacs/24.4/lisp/org/ob-maxima /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ox-icalendar hides /usr/share/emacs/24.4/lisp/org/ox-icalendar /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-ditaa hides /usr/share/emacs/24.4/lisp/org/ob-ditaa /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-matlab hides /usr/share/emacs/24.4/lisp/org/ob-matlab /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-octave hides /usr/share/emacs/24.4/lisp/org/ob-octave /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-makefile hides /usr/share/emacs/24.4/lisp/org/ob-makefile /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-eshell hides /usr/share/emacs/24.4/lisp/org/org-eshell /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-info hides /usr/share/emacs/24.4/lisp/org/org-info /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/ob-latex hides /usr/share/emacs/24.4/lisp/org/ob-latex /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-mhe hides /usr/share/emacs/24.4/lisp/org/org-mhe /home/ryan/.emacs.d/.cask/24.4.1/elpa/org-plus-contrib-20150629/org-version hides /usr/share/emacs/24.4/lisp/org/org-version /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.4/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.4/lisp/net/sasl-cram /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.4/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.4/lisp/net/sasl /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.4/lisp/net/sasl-digest /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.4/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.4/lisp/net/hmac-md5 Features: (shadow sort mail-extr misearch multi-isearch eieio-opt speedbar sb-image ezimage dframe ert ewoc debug tramp-cache recentf tree-widget imenu emacsbug sendmail saveplace midnight face-remap ws-butler winner sml-modeline savehist minibuf-eldef mb-depth ido-yes-or-no icomplete undo-tree diff pointback assoc hl-line anzu mule-util desktop frameset delsel auto-dim-other-buffers git-wip-mode vc vc-dispatcher ido-complete-space-or-hyphen ido-speed-hack ido-ubiquitous ido-completing-read+ tempbuf flymake parse-time gnutls network-stream starttls url-http tls url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap .loaddefs cus-edit cus-start cus-load wid-edit system-specific-settings smex pretty-symbols osx-pseudo-daemon occur-context-resize noflet cl-indent markdown-mode warnings magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-log magit-apply magit-wip magit-diff smerge-mode diff-mode magit-core magit-process magit-popup magit-mode magit-git crm magit-section magit-utils git-commit log-edit message rfc822 mml mml-sec mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor tramp-sh tramp tramp-compat auth-source password-cache tramp-loaddefs trampver server lexbind-mode highlight-defined header2 git-gutter-fringe fringe-helper git-gutter esup esup-child benchmark ido ess-toolbar ess-mouse mouseme thingatpt ess-menu ess-swv ess-noweb ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-r-completion ess-tracebug ess-roxy hideshow ess-help ess-developer eldoc ess-s-l ess-site ess ess-inf ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat el-get el-get-autoloading el-get-list-packages el-get-dependencies el-get-build el-get-status pp el-get-methods el-get-fossil el-get-svn el-get-pacman el-get-github-zip el-get-github-tar el-get-http-zip el-get-http-tar el-get-hg el-get-go el-get-git-svn el-get-fink el-get-emacswiki el-get-http el-get-notify help-mode el-get-emacsmirror el-get-github el-get-git el-get-elpa el-get-darcs el-get-cvs el-get-bzr el-get-brew el-get-builtin el-get-apt-get el-get-recipes el-get-byte-compile el-get-custom el-get-core autoload keydef cperl-mode cl-lib-highlight bs browse-url bar-cursor autopair paren auto-complete edmacro kmacro popup apache-mode adjust-parens use-package diminish bind-key compile image-file tabify vc-git org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs pallet advice finder-inf eieio byte-opt bytecomp byte-compile cconv eieio-core cl info easymenu cask cl-macs gv cask-bootstrap package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr json lisp-mnt shut-up epl git commander f dash s ucs-normalize package epg-config cl-loaddefs cl-lib debian-el debian-el-loaddefs emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode dpkg-dev-el dpkg-dev-el-loaddefs time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment 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 dbusbind gfilenotify dynamic-setting font-render-setting x-toolkit x multi-tty emacs) Memory information: ((conses 16 699053 98104) (symbols 48 51690 0) (miscs 40 1022 450) (strings 32 184282 12134) (string-bytes 1 4120459) (vectors 16 78537) (vector-slots 8 2155055 125451) (floats 8 334 652) (intervals 56 7498 244) (buffers 960 48) (heap 1024 61526 7139)) ------------=_1444900743-2357-1-- From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 15:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov , "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.14449212766641 (code B ref 21644); Thu, 15 Oct 2015 15:02:02 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 15:01:16 +0000 Received: from localhost ([127.0.0.1]:52478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmk1r-0001j2-FG for submit@debbugs.gnu.org; Thu, 15 Oct 2015 11:01:16 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:38683) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmk1p-0001ir-4X for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 11:01:13 -0400 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t9FF1AxM000697 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Oct 2015 15:01:11 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t9FF19lj015157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 15 Oct 2015 15:01:09 GMT Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t9FF15ET027620; Thu, 15 Oct 2015 15:01:05 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 15 Oct 2015 08:01:03 -0700 (PDT) From: Drew Adams References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> In-Reply-To: <561F35AD.8000803@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > >> (info "(elisp) Programmed Completion") or > >> (info "(elisp) Basic Completion"), probably. > > Maybe the `completing-read' docstring should link to these info nodes. >=20 > This seems like it should suffice. Do you agree? > +See Info node `(elisp)Basic Completion' for more details > on completion, COLLECTION, and PREDICATE. Yes and no, IMO. `Basic Completion' certainly provides some information about "completion, COLLECTION, and PREDICATE." But for 3 other functions, not explicitly for `completing-read' - it is not even mentioned there. To understand COLLECTION for `completing-read', that node not the best place to go. As was suggested earlier (see above), node `Programmed Completion' is where we should send someone for information about a function-valued COLLECTION argument. It doesn't hurt to send them to both nodes or to only their parent, `Completion'. But it is not clear to me that someone trying to use `completing-read' with a function-valued COLLECTION will understand what is needed just from `Basic Completion'. Especially since the `completing-read' doc string mentions only `all-completions' and `try-completion', not `test-completion' (which is OK): Someone going to `Basic Completion' to find out more about parameter COLLECTION for `completing-read' is likely to miss the description of COLLECTION for `test-completion' or to think that it is not relevant. A priori, there is nothing that necessarily connects the COLLECTION parameter of `completing-read' with the COLLECTION parameters of those 3 more-basic functions, or even that connects those 3 COLLECTION parameters. That is, just giving them the same name is not sufficient to specify that they are the same. Just saying to go see `Basic Completion' for info about COLLECTION etc. _suggests_ that there is a connection, but, again, that doesn't mean that someone will see the relevance of `test-completion' here. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams , "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.14449226838660 (code B ref 21644); Thu, 15 Oct 2015 15:25:02 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 15:24:43 +0000 Received: from localhost ([127.0.0.1]:52496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmkOY-0002Fc-Me for submit@debbugs.gnu.org; Thu, 15 Oct 2015 11:24:42 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:35815) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmkOW-0002FT-Nj for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 11:24:41 -0400 Received: by lffy185 with SMTP id y185so32232856lff.2 for <21644@debbugs.gnu.org>; Thu, 15 Oct 2015 08:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=UjfjeFNIkpYoMqwAmqYgBYDsw+YSLJfXLgpqr6iwlts=; b=Ylb6MNQQfiKDyP18RSDXx2B8sUEHp18grTzU/ZlgWHErj/scM4DDoTWkJ6H31XHCCi D6TZhxOeKfivTLh65u1eWSqDpDKyEbugikV8MfROLD3ft9/OOzMs+6NJl4BdH0/Y2jLT Xv/1RJbMf3iTR01xK74CAkTNcVFEEfXmV6q8rbHRQ9ziGgjkOYw2VRw72zT8mPXbRRGR T808sItDZPfzIyN6B/EziQy3Ea3mV7FFjDGPF7QJGuaiznkMmyw9tQlkpXA8LEuXDoR5 SVyRWSPvqxSEPcGQNeWMYxLpdanSd7kAyXQjdIvc+YGagwoX0ZAqTvNRiJ1bVeDkqqUX 3IQA== X-Received: by 10.180.182.83 with SMTP id ec19mr35763055wic.35.1444922679591; Thu, 15 Oct 2015 08:24:39 -0700 (PDT) Received: from [10.9.0.103] ([78.140.128.228]) by smtp.googlemail.com with ESMTPSA id uj4sm17093037wjc.34.2015.10.15.08.24.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 08:24:38 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> From: Dmitry Gutov Message-ID: <561FC52F.1010606@yandex.ru> Date: Thu, 15 Oct 2015 18:24:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/15/2015 06:01 PM, Drew Adams wrote: > Yes and no, IMO. `Basic Completion' certainly provides > some information about "completion, COLLECTION, and > PREDICATE." But for 3 other functions, not explicitly > for `completing-read' - it is not even mentioned there. What's not mentioned? Basic Completion mentions the three key functions. > As was suggested earlier (see above), node `Programmed > Completion' is where we should send someone for information > about a function-valued COLLECTION argument. Basic Completion references Programmed Completion, twice. On the other hand, Programmed Completion assumes that the collection is a function from the outset. This is not necessarily true in completing-read. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 16:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov , "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144492766816072 (code B ref 21644); Thu, 15 Oct 2015 16:48:02 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 16:47:48 +0000 Received: from localhost ([127.0.0.1]:52550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmlgy-0004B9-1X for submit@debbugs.gnu.org; Thu, 15 Oct 2015 12:47:48 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:18256) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmlgv-0004B0-F9 for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 12:47:46 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t9FGlgAX023689 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Oct 2015 16:47:43 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t9FGlgcQ006510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 15 Oct 2015 16:47:42 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t9FGlgXG023515; Thu, 15 Oct 2015 16:47:42 GMT MIME-Version: 1.0 Message-ID: <4fe19dae-4269-401b-82bd-10f9d368a921@default> Date: Thu, 15 Oct 2015 09:47:41 -0700 (PDT) From: Drew Adams References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> In-Reply-To: <561FC52F.1010606@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > Yes and no, IMO. `Basic Completion' certainly provides > > some information about "completion, COLLECTION, and > > PREDICATE." But for 3 other functions, not explicitly > > for `completing-read' - it is not even mentioned there. >=20 > What's not mentioned? Basic Completion mentions the three key functions. Please reread what I wrote. I said that `completing-read' is not mentioned in node `Basic Completion'. And it is not. > > As was suggested earlier (see above), node `Programmed > > Completion' is where we should send someone for information > > about a function-valued COLLECTION argument. >=20 > Basic Completion references Programmed Completion, twice. So what? If the bug is that a user will not know the details for a function-valued COLLECTION argument to `completing-read' then the right place to send a reader for __that information__ is node `Programmed Completion'. That is specifically the purpose of that node. And that is the _only_ place that info is provided. > On the other hand, Programmed Completion assumes that the collection is > a function from the outset. This is not necessarily true in completing-re= ad. No one said that that is true. This bug is about that particular case. The point is that mention of a function-valued COLLECTION in the doc string should get readers to `Programmed Completion'. Read what I said. I did not say that we should send users to `P. C.' for general info about COLLECTION. I said: `Programmed Completion' is where we should send someone for information about a function-valued COLLECTION argument. ^^^^^^^^^^^^^^^ And I said, regarding general info about COLLECTION: It doesn't hurt to send them to both nodes or to only their parent, `Completion'. What is inadequate for the function-valued COLLECTION case, is to send readers __only__ to `Basic Completion'. Especially with no indication that they need to consult not only `all-completions' and `try-completion' there, but also `test-completion'. That's the missing info, if you send them only to `B. C.': no info that `test-completion' is relevant to the function-valued COLLECTION case for `completing-read'. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams , "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144492862017509 (code B ref 21644); Thu, 15 Oct 2015 17:04:01 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 17:03:40 +0000 Received: from localhost ([127.0.0.1]:52558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmlwJ-0004YJ-Jq for submit@debbugs.gnu.org; Thu, 15 Oct 2015 13:03:39 -0400 Received: from mail-lb0-f172.google.com ([209.85.217.172]:33015) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmlwG-0004Y7-Uk for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 13:03:37 -0400 Received: by lbbpp2 with SMTP id pp2so48088775lbb.0 for <21644@debbugs.gnu.org>; Thu, 15 Oct 2015 10:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=UXGQwYcZfSO6uWbOHqAh20+o3nr/ORwzLmJ5MTLSmQs=; b=zetgR7ebNMnKPx6F6UWYxlHqOlMTyDk64OpTR5SPIhV3fN5sfFLLO1RtCK/Xj7z2BF P6yvVIOIwcAbl3zgL2XuKGW0tlBokMcS5QYeTuQy4z5dTt91g7MlEGE6YrFpHdcDlY4G KsrSD2UnMXjnmPmpnv2Xw+pnf1Qaw/mwWYhtk23jml3vZuKFGsMuT4sSi4FwKSso++aO MXymIG1WS4oH24ZEub2puyH2wIKTlxgPVyMLJFmb5yyW6a5X8W64cmnsM5BE6Swfc/t7 80m6eWJ938L06rDf/3YsnDzvuTeQ69SQbPjNEUJNO8haxkylN2zmpJr37irHIZ6k5wcW Mckg== X-Received: by 10.194.6.66 with SMTP id y2mr12797635wjy.82.1444928616052; Thu, 15 Oct 2015 10:03:36 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id z4sm13051106wjz.29.2015.10.15.10.03.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 10:03:34 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> From: Dmitry Gutov Message-ID: <561FDC63.6010609@yandex.ru> Date: Thu, 15 Oct 2015 20:03:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 MIME-Version: 1.0 In-Reply-To: <4fe19dae-4269-401b-82bd-10f9d368a921@default> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/15/2015 07:47 PM, Drew Adams wrote: > Please reread what I wrote. I said that `completing-read' is > not mentioned in node `Basic Completion'. And it is not. I see, thanks. But if you want me to read your writings in whole, you should really try to write more concisely. >> Basic Completion references Programmed Completion, twice. > > So what? If if they want to find out about function-value COLLECTION, they'll go there. On the other hand, we say that the node in question has information about completion, collection and predicate. That includes the case when the collection is not a function. > If the bug is that a user will not know the details for a > function-valued COLLECTION argument to `completing-read' then the > right place to send a reader for __that information__ is node > `Programmed Completion'. _This_ bug was about that. That doesn't mean we should fix it by introducing another bug. > And I said, regarding general info about COLLECTION: > > It doesn't hurt to send them to both nodes or to only > their parent, `Completion'. I think that asking the user to read the whole Completion section is too much. Basic Completion already contains the necessary information, or links to it. If the user wants the overview, they can navigate to the parent node just as easily. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 20:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov , "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.14449409383546 (code B ref 21644); Thu, 15 Oct 2015 20:29:01 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 20:28:58 +0000 Received: from localhost ([127.0.0.1]:52680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmp8z-0000v8-T3 for submit@debbugs.gnu.org; Thu, 15 Oct 2015 16:28:58 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:45991) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zmp8x-0000ux-To for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 16:28:56 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t9FKSpp5019548 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 15 Oct 2015 20:28:52 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t9FKSpfO011094 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 15 Oct 2015 20:28:51 GMT Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t9FKSpY6009783; Thu, 15 Oct 2015 20:28:51 GMT MIME-Version: 1.0 Message-ID: <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> Date: Thu, 15 Oct 2015 13:28:50 -0700 (PDT) From: Drew Adams References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> In-Reply-To: <561FDC63.6010609@yandex.ru> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > If the bug is that a user will not know the details for a > > function-valued COLLECTION argument to `completing-read' then the > > right place to send a reader for __that information__ is node > > `Programmed Completion'. >=20 > _This_ bug was about that. That doesn't mean we should fix it by > introducing another bug. No one has said anything that would introduce another bug. It's about fixing this bug, by getting users to the information about function-valued COLLECTION. And that info is in node `Programmed Completion'. No one has said that users should not consult `Basic Completion' for info about `all-completions', `try-completion', and `test-completion'. > > And I said, regarding general info about COLLECTION: > > It doesn't hurt to send them to both nodes or to only > > their parent, `Completion'. >=20 > I think that asking the user to read the whole Completion section is too > much.=20 No one is asking users to read the whole `Completion' section. That is the section that covers all of the info about `completing-read', _if_ you insist on pointing to only one section. If you send them to only one section then a section that talks only about the low-level functions `*-completion[s]' is not the right destination. Again: "It doesn't hurt to send them to both nodes". > Basic Completion already contains the necessary information, No, it does not. It says *nothing* about `completing-read'. Doesn't even mention it. > or links to it. As does `Completion'. Really what should be done is to link from the `completing-read' doc string only to node `Minibuffer Completion', which is the node that documents `completing-read'. But that node should document COLLECTION (it does not), and that doc of COLLECTION should point to node `Programmed Completion' for details about function-valued COLLECTION. It is a bug (IMHO) that the node that documents `completing-read' does not specify parameter COLLECTION - which is arguably the *most important* parameter. Fix that bug and link to node `Minibuffer Completion' from the doc string, and you will have fixed this bug as well. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 21:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Drew Adams , "Ryan C. Thompson" , Oleh Krehel Cc: 21644@debbugs.gnu.org Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.14449432667025 (code B ref 21644); Thu, 15 Oct 2015 21:08:02 +0000 Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 21:07:46 +0000 Received: from localhost ([127.0.0.1]:52700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmpkX-0001pE-Iw for submit@debbugs.gnu.org; Thu, 15 Oct 2015 17:07:45 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:36252) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmpkU-0001p5-U5 for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 17:07:43 -0400 Received: by lfeh64 with SMTP id h64so46809756lfe.3 for <21644@debbugs.gnu.org>; Thu, 15 Oct 2015 14:07:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=SUV8YlCYyZuQguHYCKU9SGu/j6CfkntyG4758QWxSTY=; b=ajOSZokONOCTWkzrJwZil2+tIuBcvEAh5dHOL9IAoYuMH7s8fo8TWOfpdhqLN3AO8h D+aCd30y+JtArHd0w2FkmJbTXXZjsIDGlTnecY0dVJTvEHWY19l8sT+NR7RKj7h1h5bE q0E0/4dk4uCqshZKelEsFqNmiHp/gTD+GZgL0OP0Ks2JcbiihaGKM52KULUsNfCQKvKs C0y2YWjefSQflveUsRWPXrIgQpZdGK1mIoRAOG8AU0EvqMlSvXNUx48+VrunWJqmbHZn peuVXRTcXoZ42OvDEgWS2SmiEF7tGbzFqaCtyLT54QVlv1/ao2SNlpdaxe9G8JHNDQd2 e6+Q== X-Received: by 10.180.102.230 with SMTP id fr6mr804545wib.66.1444943262080; Thu, 15 Oct 2015 14:07:42 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id gt4sm578266wib.21.2015.10.15.14.07.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 14:07:41 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> From: Dmitry Gutov Message-ID: <5620159C.3060401@yandex.ru> Date: Fri, 16 Oct 2015 00:07:40 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/15/2015 11:28 PM, Drew Adams wrote: > No one has said anything that would introduce another bug. > It's about fixing this bug, by getting users to the information > about function-valued COLLECTION. And that info is in node > `Programmed Completion'. > > No one has said that users should not consult `Basic Completion' > for info about `all-completions', `try-completion', and > `test-completion'. The current sentence that refers to the Info node would become wrong. But I suppose an alternative wording might escape that problem. Patch welcome. > No one is asking users to read the whole `Completion' section. > That is the section that covers all of the info about > `completing-read', _if_ you insist on pointing to only one section. If you link to Completion as a whole, the user might not know better than to read it all. > Really what should be done is to link from the `completing-read' > doc string only to node `Minibuffer Completion', which is the > node that documents `completing-read'. I don't know about that: that page basically re-tells the docstring of completing-read. Sending to it from that docstring seems redundant. > It is a bug (IMHO) that the node that documents `completing-read' > does not specify parameter COLLECTION - which is arguably the > *most important* parameter. You're probably right. Please send a patch. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 21644@debbugs.gnu.org, rct@thompsonclan.org, drew.adams@oracle.com, ohwoeowho@gmail.com Reply-To: Eli Zaretskii Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144498870822893 (code B ref 21644); Fri, 16 Oct 2015 09:46:01 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 09:45:08 +0000 Received: from localhost ([127.0.0.1]:53115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1ZT-0005xA-AX for submit@debbugs.gnu.org; Fri, 16 Oct 2015 05:45:07 -0400 Received: from mtaout25.012.net.il ([80.179.55.181]:35365) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1ZQ-0005x0-8R for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 05:45:05 -0400 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NWB00F0044HH700@mtaout25.012.net.il> for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 12:42:37 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWB0051H4B1GI90@mtaout25.012.net.il>; Fri, 16 Oct 2015 12:42:37 +0300 (IDT) Date: Fri, 16 Oct 2015 12:45:04 +0300 From: Eli Zaretskii In-reply-to: <5620159C.3060401@yandex.ru> X-012-Sender: halo1@inter.net.il Message-id: <837fmn6tb3.fsf@gnu.org> References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Dmitry Gutov > Date: Fri, 16 Oct 2015 00:07:40 +0300 > Cc: 21644@debbugs.gnu.org > > On 10/15/2015 11:28 PM, Drew Adams wrote: > > > No one has said anything that would introduce another bug. > > It's about fixing this bug, by getting users to the information > > about function-valued COLLECTION. And that info is in node > > `Programmed Completion'. > > > > No one has said that users should not consult `Basic Completion' > > for info about `all-completions', `try-completion', and > > `test-completion'. > > The current sentence that refers to the Info node would become wrong. > But I suppose an alternative wording might escape that problem. > > Patch welcome. Done. > > Really what should be done is to link from the `completing-read' > > doc string only to node `Minibuffer Completion', which is the > > node that documents `completing-read'. > > I don't know about that: that page basically re-tells the docstring of > completing-read. Sending to it from that docstring seems redundant. I agree. > > It is a bug (IMHO) that the node that documents `completing-read' > > does not specify parameter COLLECTION - which is arguably the > > *most important* parameter. > > You're probably right. Please send a patch. Done. I also re-added the references to the completion functions into the doc string of completing-read (and added 2 more functions to that list). While referencing the manual is good, especially for complex topics, I feel that the absolute minimum of usage information, including the arguments with which callbacks can be called, should be available from the doc strings. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 09:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov Cc: 21644@debbugs.gnu.org, rct@thompsonclan.org, drew.adams@oracle.com, ohwoeowho@gmail.com Reply-To: Eli Zaretskii Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144498879023023 (code B ref 21644); Fri, 16 Oct 2015 09:47:02 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 09:46:30 +0000 Received: from localhost ([127.0.0.1]:53120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1ao-0005zG-7M for submit@debbugs.gnu.org; Fri, 16 Oct 2015 05:46:30 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:49269) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1al-0005z7-KK for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 05:46:28 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NWB002004FPPI00@a-mtaout22.012.net.il> for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 12:46:26 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWB0021E4HD65A0@a-mtaout22.012.net.il>; Fri, 16 Oct 2015 12:46:26 +0300 (IDT) Date: Fri, 16 Oct 2015 12:46:27 +0300 From: Eli Zaretskii In-reply-to: <5620159C.3060401@yandex.ru> X-012-Sender: halo1@inter.net.il Message-id: <8361276t8s.fsf@gnu.org> References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Btw, the completion--unquote argument to COMPLETION is not documented -- is that on purpose? From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 09:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21644@debbugs.gnu.org, rct@thompsonclan.org, Stefan Monnier , ohwoeowho@gmail.com Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144498926523689 (code B ref 21644); Fri, 16 Oct 2015 09:55:02 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 09:54:25 +0000 Received: from localhost ([127.0.0.1]:53126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1iT-0006A1-74 for submit@debbugs.gnu.org; Fri, 16 Oct 2015 05:54:25 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:33746) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1iS-00069t-73 for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 05:54:24 -0400 Received: by wijp11 with SMTP id p11so2328115wij.0 for <21644@debbugs.gnu.org>; Fri, 16 Oct 2015 02:54:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=OMdQiB7pb+lTgMZcaPsjoAj69pjtAVssyA8aZAsXGT8=; b=ZcbAiU/rY1nP8L234g6gyLfwcVaZmRv7tQgLQxFPZId0qf/d/agQGjhTnEo7WbApCN wwWB1wg3gH1VFbNYkPIuvuK8AfG1gf5Xw4a4eLCa5bruYu3vo29xWjFsDtHvgL7t/1id Z0bjLzG2Q/Xb5cso1841PXWoP8jD2pjxCgV7fSnBgpreeNrjvp14R1bYSaHRctl8Phvi fR3uFM8k5vDarDUViwirhOn/I7MzD8DaCGibBKBnBM74y41MYsBaOY/7agHMP5JYIRYa wiEuRf8jR+wFZSgfHE6W9Ef306eEWCyyRtP8WY5zLRv+HSQ1XMn7tB7tTcbcgQTUXt5Z UBPg== X-Received: by 10.180.77.106 with SMTP id r10mr3619450wiw.84.1444989263509; Fri, 16 Oct 2015 02:54:23 -0700 (PDT) Received: from [192.168.1.2] ([185.105.175.24]) by smtp.googlemail.com with ESMTPSA id z2sm2594361wij.1.2015.10.16.02.54.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Oct 2015 02:54:22 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> <8361276t8s.fsf@gnu.org> From: Dmitry Gutov Message-ID: <5620C94C.3060601@yandex.ru> Date: Fri, 16 Oct 2015 12:54:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <8361276t8s.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/16/2015 12:46 PM, Eli Zaretskii wrote: > Btw, the completion--unquote argument to COMPLETION is not documented > -- is that on purpose? Cc'ing Stefan. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 10:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 21644@debbugs.gnu.org, rct@thompsonclan.org, ohwoeowho@gmail.com Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144499104726336 (code B ref 21644); Fri, 16 Oct 2015 10:25:03 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 10:24:07 +0000 Received: from localhost ([127.0.0.1]:53143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn2BC-0006qi-UE for submit@debbugs.gnu.org; Fri, 16 Oct 2015 06:24:07 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:38813) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn2BB-0006qa-7j for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 06:24:05 -0400 Received: by wicll6 with SMTP id ll6so3611694wic.1 for <21644@debbugs.gnu.org>; Fri, 16 Oct 2015 03:24:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=LRyTKDN+JIG6WzvVmmstgp25lPGSZtSKmye5Gk6iNo4=; b=m24MyDB3SPf4T+frJUOReih67swrBGRE81ajft663QdY9CuV8c+9v+kMV/UQVBs+5m DKAfv7podgcJw0luSZS04YauS6N5zpttO0SYCnJdq+n9VZga3NapSEEErHk7CQt7inVx kbXd8sz3wQbWFwi/1Rab6tX8DKPo9jjtcFzDkM7BESDuv4P9QR/yz4DzH/0ofBdIaY2c nbgqEQKp4PNMCePDCI+svDRxVss2s2oH/Ng0jTnuqgwwlvQirCT0MKSAMScgv3FT2qkc BNEGzHEgdx1vY02hIgwyj5gGGU+OGR9Db0anN9Nt++rewtE4PoHMwR2DI/LCsCo/Y5qW wq6Q== X-Received: by 10.180.93.168 with SMTP id cv8mr3902328wib.54.1444991044698; Fri, 16 Oct 2015 03:24:04 -0700 (PDT) Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id jd7sm21698333wjb.19.2015.10.16.03.24.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Oct 2015 03:24:03 -0700 (PDT) References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> <837fmn6tb3.fsf@gnu.org> From: Dmitry Gutov Message-ID: <5620D041.8070007@yandex.ru> Date: Fri, 16 Oct 2015 13:24:01 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <837fmn6tb3.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 10/16/2015 12:45 PM, Eli Zaretskii wrote: > I also re-added the references to the completion functions into the > doc string of completing-read (and added 2 more functions to that > list). While referencing the manual is good, especially for complex > topics, I feel that the absolute minimum of usage information, > including the arguments with which callbacks can be called, should be > available from the doc strings. All right. That's a bit too verbose for my taste, but I'm not going to argue. From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ryan Cc: 21644@debbugs.gnu.org, Oleh Krehel , Dmitry Gutov Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144500115514652 (code B ref 21644); Fri, 16 Oct 2015 13:13:01 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 13:12:35 +0000 Received: from localhost ([127.0.0.1]:53223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn4oE-0003oG-Qu for submit@debbugs.gnu.org; Fri, 16 Oct 2015 09:12:35 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:22223) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn4oC-0003o7-KY for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 09:12:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ArEwA731xV/0qOCkxcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBBFYjEAs0EhQYDSSIP88jAQEBAQYBAQEBHos6hQUHhC0FnxeGaYsrghSBRSOEFCKCeAEBAQ X-IPAS-Result: A0ArEwA731xV/0qOCkxcgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBBFYjEAs0EhQYDSSIP88jAQEBAQYBAQEBHos6hQUHhC0FnxeGaYsrghSBRSOEFCKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="169763791" Received: from 76-10-142-74.dsl.teksavvy.com (HELO pastel.home) ([76.10.142.74]) by ironport2-out.teksavvy.com with ESMTP; 16 Oct 2015 09:12:33 -0400 Received: by pastel.home (Postfix, from userid 20848) id A3FB66285B; Fri, 16 Oct 2015 09:12:31 -0400 (EDT) From: Stefan Monnier Message-ID: References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> Date: Fri, 16 Oct 2015 09:12:31 -0400 In-Reply-To: <561C5FB0.6030105@thompsonclan.org> (Ryan's message of "Mon, 12 Oct 2015 18:34:40 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> (if (functionp collection) >> collection >> ;; Capture collection in a closure >> (lambda (string pred all) >> (funcall >> (cond >> ((eq all 't) >> #'all-completions) >> ((eq all 'lambda) >> #'test-completion) >> (t >> #'try-completion)) >> string collection pred)))) > I wasn't aware of `test-completion'. I was going based on the docstring for > `completing-read', which only mentions `try-completion' and > `all-completions'. Is there any other documentation I should have consulted? Don't write the code above. Use complete-with-action (or completion-table-dynamic if that fits your need) which should handle all the possible values of `all', including the new ones we'll introduce in Emacs-27. Stefan From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: ohwoeowho@gmail.com, 21644@debbugs.gnu.org, rct@thompsonclan.org, drew.adams@oracle.com, Dmitry Gutov Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144500116014670 (code B ref 21644); Fri, 16 Oct 2015 13:13:02 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 13:12:40 +0000 Received: from localhost ([127.0.0.1]:53226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn4oK-0003oY-5G for submit@debbugs.gnu.org; Fri, 16 Oct 2015 09:12:40 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:22223) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn4oG-0003o7-Qz for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 09:12:37 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CVDQA731xV/0qOCkxcgxCEAsEVh0sEAgKBPDoTAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBAQYBAQEBHos6hQUHhC0FnxeGaY0/gUUjhBQigngBAQE X-IPAS-Result: A0CVDQA731xV/0qOCkxcgxCEAsEVh0sEAgKBPDoTAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBAQYBAQEBHos6hQUHhC0FnxeGaY0/gUUjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="169763801" Received: from 76-10-142-74.dsl.teksavvy.com (HELO pastel.home) ([76.10.142.74]) by ironport2-out.teksavvy.com with ESMTP; 16 Oct 2015 09:12:37 -0400 Received: by pastel.home (Postfix, from userid 20848) id 5494D6285B; Fri, 16 Oct 2015 09:12:36 -0400 (EDT) From: Stefan Monnier Message-ID: References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> <8361276t8s.fsf@gnu.org> Date: Fri, 16 Oct 2015 09:12:36 -0400 In-Reply-To: <8361276t8s.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Oct 2015 12:46:27 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Btw, the completion--unquote argument to COMPLETION is not documented > -- is that on purpose? Yes. It's only used internally by completion-table-with-quoting. [ Admittedly, it's used in other places as well, but only after checking for the presence of the completion--unquote-requote property which is set by completion-table-with-quoting. ] Stefan From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 13:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: ohwoeowho@gmail.com, 21644@debbugs.gnu.org, rct@thompsonclan.org, drew.adams@oracle.com, dgutov@yandex.ru Reply-To: Eli Zaretskii Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144500307317354 (code B ref 21644); Fri, 16 Oct 2015 13:45:02 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 13:44:33 +0000 Received: from localhost ([127.0.0.1]:53232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn5JA-0004Vq-Q9 for submit@debbugs.gnu.org; Fri, 16 Oct 2015 09:44:33 -0400 Received: from mtaout28.012.net.il ([80.179.55.184]:46818) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn5J6-0004Vf-BX for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 09:44:29 -0400 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NWB00G00FBOWU00@mtaout28.012.net.il> for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 16:43:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWB005X3FGWSQ90@mtaout28.012.net.il>; Fri, 16 Oct 2015 16:43:45 +0300 (IDT) Date: Fri, 16 Oct 2015 16:44:29 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83oafz53nm.fsf@gnu.org> References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> <8361276t8s.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Stefan Monnier > Cc: Dmitry Gutov , 21644@debbugs.gnu.org, rct@thompsonclan.org, drew.adams@oracle.com, ohwoeowho@gmail.com > Date: Fri, 16 Oct 2015 09:12:36 -0400 > > > Btw, the completion--unquote argument to COMPLETION is not documented > > -- is that on purpose? > > Yes. It's only used internally by completion-table-with-quoting. So no user COLLECTION callback will ever be called with it? From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: ohwoeowho@gmail.com, 21644@debbugs.gnu.org, rct@thompsonclan.org, drew.adams@oracle.com, dgutov@yandex.ru Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144500420719202 (code B ref 21644); Fri, 16 Oct 2015 14:04:02 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 14:03:27 +0000 Received: from localhost ([127.0.0.1]:53512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn5bS-0004zd-Pl for submit@debbugs.gnu.org; Fri, 16 Oct 2015 10:03:27 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3987) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn5bP-0004zU-Ez for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 10:03:24 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CVDQA731xV/0qOCkxcgxCEAsEVh0sEAgKBPDoTAQEBAQEBAYEKQQWDXQEBAwFWIxALNBIUGA0kiDcIzyMBAQEBBgEBAQEeizqFBQeELQWfF4ZpjT+BRSOEFCKCeAEBAQ X-IPAS-Result: A0CVDQA731xV/0qOCkxcgxCEAsEVh0sEAgKBPDoTAQEBAQEBAYEKQQWDXQEBAwFWIxALNBIUGA0kiDcIzyMBAQEBBgEBAQEeizqFBQeELQWfF4ZpjT+BRSOEFCKCeAEBAQ X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="169769263" Received: from 76-10-142-74.dsl.teksavvy.com (HELO pastel.home) ([76.10.142.74]) by ironport2-out.teksavvy.com with ESMTP; 16 Oct 2015 10:03:23 -0400 Received: by pastel.home (Postfix, from userid 20848) id B771262875; Fri, 16 Oct 2015 10:03:21 -0400 (EDT) From: Stefan Monnier Message-ID: References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> <8361276t8s.fsf@gnu.org> <83oafz53nm.fsf@gnu.org> Date: Fri, 16 Oct 2015 10:03:21 -0400 In-Reply-To: <83oafz53nm.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Oct 2015 16:44:29 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) >> > Btw, the completion--unquote argument to COMPLETION is not documented >> > -- is that on purpose? >> Yes. It's only used internally by completion-table-with-quoting. > So no user COLLECTION callback will ever be called with it? That's the intention, yes, Stefan From unknown Fri Jun 20 07:21:35 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21644: 24.4; completing-read acts differently on functional collection Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii , Dmitry Gutov Cc: 21644@debbugs.gnu.org, rct@thompsonclan.org, ohwoeowho@gmail.com Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144501079728556 (code B ref 21644); Fri, 16 Oct 2015 15:54:01 +0000 Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 15:53:17 +0000 Received: from localhost ([127.0.0.1]:53548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn7Jl-0007QW-5m for submit@debbugs.gnu.org; Fri, 16 Oct 2015 11:53:17 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:27420) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn7Ji-0007QM-Hz for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 11:53:14 -0400 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t9GFrDfY009552 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Oct 2015 15:53:13 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t9GFrCbn004322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 16 Oct 2015 15:53:12 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t9GFrCXc031241; Fri, 16 Oct 2015 15:53:12 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 16 Oct 2015 08:53:10 -0700 (PDT) From: Drew Adams References: <<5615A2EA.4@thompsonclan.org>> <<87vbahmzwd.fsf@gmail.com>> <<561C5D0B.9070303@yandex.ru>> <<561C5FB0.6030105@thompsonclan.org>> <<561C6C12.20803@yandex.ru>> <<561D54AF.7090701@thompsonclan.org>> <<561F35AD.8000803@yandex.ru>> <> <<561FC52F.1010606@yandex.ru>> <<4fe19dae-4269-401b-82bd-10f9d368a921@default>> <<561FDC63.6010609@yandex.ru>> <<917e38a9-d74b-4e41-bc7b-90aeee69584c@default>> <<5620159C.3060401@yandex.ru>> <<837fmn6tb3.fsf@gnu.org>> In-Reply-To: <<837fmn6tb3.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > > > It is a bug (IMHO) that the node that documents `completing-read' > > > does not specify parameter COLLECTION - which is arguably the > > > *most important* parameter. >=20 > Done. > I also re-added the references to the completion functions into the > doc string of completing-read (and added 2 more functions to that > list). While referencing the manual is good, especially for complex > topics, I feel that the absolute minimum of usage information, > including the arguments with which callbacks can be called, should be > available from the doc strings. Great. Thx.