From unknown Wed Jun 18 00:24:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#69189 <69189@debbugs.gnu.org> To: bug#69189 <69189@debbugs.gnu.org> Subject: Status: 30.0.50; minibuffer-visible-completions doesn't work in completing-read-multiple Reply-To: bug#69189 <69189@debbugs.gnu.org> Date: Wed, 18 Jun 2025 07:24:49 +0000 retitle 69189 30.0.50; minibuffer-visible-completions doesn't work in compl= eting-read-multiple reassign 69189 emacs submitter 69189 Spencer Baugh severity 69189 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 18 13:21:17 2024 Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:21:18 +0000 Received: from localhost ([127.0.0.1]:36920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblmv-0002f2-3v for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:21:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:48948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblU9-0001wK-CL for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:01:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rajy9-0004UA-Hs for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 17:12:37 -0500 Received: from mxout5.mail.janestreet.com ([64.215.233.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rajy7-0001oB-ON for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 17:12:37 -0500 From: Spencer Baugh To: bug-gnu-emacs@gnu.org Subject: 30.0.50; minibuffer-visible-completions doesn't work in completing-read-multiple X-Debbugs-Cc: Date: Thu, 15 Feb 2024 17:12:33 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1708035154; bh=eeyFtxVYlvsOhxcfRpuqm8372tT0An9T8pFBv8txYIo=; h=From:To:Cc:Subject:Date; b=d6s0thRK7SnZO21ORiAjgYovCmYoOr5XYIKdWjVjJE1jS2bQrZ2b8UWiH+DOnb6/8 9k6utCZzhPx/68TAEhZV9sKzpp504pBdDMw9LrwcpWaSXD4yMbZb5FmFGSlF5oxJ0g yafErH55Nn7A6EXC7xk3exyjKzB6BLCEWF0cewCo0ZZY5vpXNW3qdPrDTOTmAoaNdc eZ6WThG+sgXo2JGR0mxd7ht/VhR3NmWruttVtxCChDrECirpfSJTjgil4u9xqEpy6V 97OxW0BKEwsR6xWeNpMx/cGwWIsLouTI8lp/s1KCUufNTPYFkE0k3qfK72ccBSSF85 FNB6ZrKtMsZew== Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@janestreet.com; helo=mxout5.mail.janestreet.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit Cc: Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -5.2 (-----) 1. emacs -Q 2. M-: (completing-read-multiple ":" '("foo" "bar")) 3. M-? 4. 5. Note that completions are not selected In GNU Emacs 30.0.50 (build 37, x86_64-pc-linux-gnu, X toolkit, cairo version 1.15.12, Xaw scroll bars) of 2024-02-13 built on igm-qws-u22796a Repository revision: a24a2b1ceb12f11c9d345190fbf554f27c4ec186 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Rocky Linux 8.9 (Green Obsidian) Configured using: 'configure -C --with-x-toolkit=lucid 'CFLAGS=-O0 -g3' --without-native-compilation --without-gif' Configured features: CAIRO DBUS FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr cl-print byte-opt gv bytecomp byte-compile help-fns radix-tree help-mode dabbrev emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 74902 13022) (symbols 48 10446 0) (strings 32 25646 1603) (string-bytes 1 764028) (vectors 16 11210) (vector-slots 8 127427 8311) (floats 8 45 14) (intervals 56 285 0) (buffers 976 12)) From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 11:20:13 2024 Received: (at 69189) by debbugs.gnu.org; 7 Aug 2024 15:20:13 +0000 Received: from localhost ([127.0.0.1]:34920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbiST-0001pn-6u for submit@debbugs.gnu.org; Wed, 07 Aug 2024 11:20:13 -0400 Received: from mxout6.mail.janestreet.com ([64.215.233.21]:52941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbiSR-0001pV-4M for 69189@debbugs.gnu.org; Wed, 07 Aug 2024 11:20:11 -0400 From: Spencer Baugh To: 69189@debbugs.gnu.org Subject: Re: bug#69189: 30.0.50; minibuffer-visible-completions doesn't work in completing-read-multiple In-Reply-To: (Spencer Baugh's message of "Thu, 15 Feb 2024 17:12:33 -0500") References: Date: Wed, 07 Aug 2024 11:19:40 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1723043980; bh=1RCq19aw2IwCcNe2aP6OMJ1frok0DgNNMRl5y/4mWJw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=09UoKLyyIhZbhwUxQPzfHLr948jwJzJMR6dnPxmCR2lydwZBgsgYklvykVP159WP/ b7aIxvM2JY0JoxMzmTwxGUYpLVCP7pmuEeZ6j3ZAwruxSJLvEB3qVO+rMCFavvTG/d EGHmXirnrhRmOCsuhBpVl62T1B9buxY0E5Ta8NX3l7uE4/BGmoina3j1HRhX1FrXVG JV+Z6t8mXxjKTbLFWmL1JiZTAtvAQ3KMFJI4fqHZ7cE5Ebg0FnEWfRKbv41QwgJaWS ylC3q1Wqjp1698Ms6RfI5ZXsMYtP9Njku0v4n9MQpd/Siz7/NajfqQ7z5TVHv2R5tc ZRfUgMwRoM8Cg== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69189 Cc: Eli Zaretskii , Juri Linkov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (-) --=-=-= Content-Type: text/plain Here's a patch to fix this. Eli, is this OK for emacs-30? Since this is fixing a bug in a customization which is new in Emacs 30. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Support-minibuffer-visible-completions-in-completing.patch >From 6688344ce5ffb0738751d83a4a8acc4068b453e5 Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Wed, 7 Aug 2024 11:18:02 -0400 Subject: [PATCH] Support minibuffer-visible-completions in completing-read-multiple All that's required is to add minibuffer-visible-completions-map on top of the completing-read-multiple map; this is the same thing that minibuffer-visible-completions does in completing-read-default. * lisp/emacs-lisp/crm.el (completing-read-multiple): Add minibuffer-visible-completions-map (bug#69189) --- lisp/emacs-lisp/crm.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lisp/emacs-lisp/crm.el b/lisp/emacs-lisp/crm.el index 253dfc6237a..422a8d52dcf 100644 --- a/lisp/emacs-lisp/crm.el +++ b/lisp/emacs-lisp/crm.el @@ -238,6 +238,11 @@ completing-read-multiple (let* ((map (if require-match crm-local-must-match-map crm-local-completion-map)) + (map (if minibuffer-visible-completions + (make-composed-keymap + (list minibuffer-visible-completions-map + map)) + map)) input) (minibuffer-with-setup-hook (lambda () -- 2.39.3 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 11:31:47 2024 Received: (at 69189) by debbugs.gnu.org; 7 Aug 2024 15:31:47 +0000 Received: from localhost ([127.0.0.1]:34931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbide-0002FB-PS for submit@debbugs.gnu.org; Wed, 07 Aug 2024 11:31:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbidd-0002Ew-K2 for 69189@debbugs.gnu.org; Wed, 07 Aug 2024 11:31:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sbib3-0004J9-7n; Wed, 07 Aug 2024 11:29:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=OTULu68WJ/I+e7MMYozLNPJF6wX8OQxDJD4gtiidS24=; b=p24OLTTr2ptb xnqjk1uNRng1+p/HZdaU22Psr70DBGRw6YqtGOYTBnCDJ+QpAwh5k3YlhOjV8eonGZE0ipwra1f6k 8dxbO4BrEum3NZdduXmbX+ntnkWnfSy0dYHG3ylpkzLdbcbfAW84CtbaIYfWu+OR/JnPdfbRkvjpT D0di9CAPNDgKocT79qaPC2mXENrQzcMdb7HSZb+3BkRphgTlbp7vfwY+rkfBCESwwChMR/stlCu4s zThMk1VNEk04wX//uF064qgF6GnF3lYaNC2OQrRZ7oQSErlNhdqtQdqSduEB4G34AodU1fEvCiIUj Ku8lFqEq64UaQv8wfsRsPA==; Date: Wed, 07 Aug 2024 18:29:02 +0300 Message-Id: <86wmksmjwh.fsf@gnu.org> From: Eli Zaretskii To: Spencer Baugh In-Reply-To: (message from Spencer Baugh on Wed, 07 Aug 2024 11:19:40 -0400) Subject: Re: bug#69189: 30.0.50; minibuffer-visible-completions doesn't work in completing-read-multiple References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69189 Cc: 69189@debbugs.gnu.org, juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.3 (---) > From: Spencer Baugh > Cc: Juri Linkov , Eli Zaretskii > Date: Wed, 07 Aug 2024 11:19:40 -0400 > > Here's a patch to fix this. > > Eli, is this OK for emacs-30? Since this is fixing a bug in a > customization which is new in Emacs 30. OK, provided that Juri agrees with the fix. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 07 12:54:46 2024 Received: (at 69189) by debbugs.gnu.org; 7 Aug 2024 16:54:46 +0000 Received: from localhost ([127.0.0.1]:35039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbjvy-0004db-IG for submit@debbugs.gnu.org; Wed, 07 Aug 2024 12:54:46 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:37777) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sbjvw-0004dC-S0; Wed, 07 Aug 2024 12:54:45 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id A8F38C0002; Wed, 7 Aug 2024 16:54:11 +0000 (UTC) From: Juri Linkov To: Eli Zaretskii Subject: Re: bug#69189: 30.0.50; minibuffer-visible-completions doesn't work in completing-read-multiple In-Reply-To: <86wmksmjwh.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 07 Aug 2024 18:29:02 +0300") Organization: LINKOV.NET References: <86wmksmjwh.fsf@gnu.org> Date: Wed, 07 Aug 2024 19:53:20 +0300 Message-ID: <86mslogtq7.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69189 Cc: Spencer Baugh , 69189@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) close 69189 30.0.60 thanks >> Here's a patch to fix this. >> >> Eli, is this OK for emacs-30? Since this is fixing a bug in a >> customization which is new in Emacs 30. > > OK, provided that Juri agrees with the fix. I confirm this is the right fix since the same is used in completing-read-default and completion-in-region-mode, so now pushed to emacs-30. Thanks Spencer for the patch. From unknown Wed Jun 18 00:24:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Sep 2024 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator