From unknown Mon Aug 18 00:05:57 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#18733 <18733@debbugs.gnu.org> To: bug#18733 <18733@debbugs.gnu.org> Subject: Status: 24.3.94; completion default with icomplete-show-matches-on-no-input t Reply-To: bug#18733 <18733@debbugs.gnu.org> Date: Mon, 18 Aug 2025 07:05:57 +0000 retitle 18733 24.3.94; completion default with icomplete-show-matches-on-no= -input t reassign 18733 emacs submitter 18733 stephen_leake@stephe-leake.org severity 18733 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 15 10:24:25 2014 Received: (at submit) by debbugs.gnu.org; 15 Oct 2014 14:24:25 +0000 Received: from localhost ([127.0.0.1]:44560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XePV2-0004uB-ID for submit@debbugs.gnu.org; Wed, 15 Oct 2014 10:24:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54838) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XePUz-0004tz-03 for submit@debbugs.gnu.org; Wed, 15 Oct 2014 10:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XePUo-0002tH-Ua for submit@debbugs.gnu.org; Wed, 15 Oct 2014 10:24:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.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]:54997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XePUo-0002tC-RG for submit@debbugs.gnu.org; Wed, 15 Oct 2014 10:24:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XePUh-0002oC-35 for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 10:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XePUZ-0002q4-IH for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 10:24:03 -0400 Received: from dnvrco-outbound-snat.email.rr.com ([107.14.73.231]:11814 helo=dnvrco-oedge-vip.email.rr.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XePUZ-0002pI-AN for bug-gnu-emacs@gnu.org; Wed, 15 Oct 2014 10:23:55 -0400 Received: from [70.94.38.149] ([70.94.38.149:49525] helo=TAKVER) by dnvrco-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 2E/D7-23176-7738E345; Wed, 15 Oct 2014 14:23:52 +0000 Date: Wed, 15 Oct 2014 09:23:50 -0500 Message-Id: <85bnpdwgw9.fsf@stephe-leake.org> From: stephen_leake@stephe-leake.org To: bug-gnu-emacs@gnu.org Subject: 24.3.94; completion default with icomplete-show-matches-on-no-input t X-RR-Connecting-IP: 107.14.64.118:25 X-Authority-Analysis: v=2.1 cv=d8V7yHTE c=1 sm=1 tr=0 a=AppmJ/7ZOOFWL/q6u6u93g==:117 a=AppmJ/7ZOOFWL/q6u6u93g==:17 a=ayC55rCoAAAA:8 a=o_R75loqY_IA:10 a=9i_RQKNPAAAA:8 a=Lmiug2be3AkY_flLQzkA:9 X-Cloudmark-Score: 0 X-detected-operating-system: by eggs.gnu.org: BaiduSpider 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.3 (---) 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.3 (---) This bug is related to 17545. With `icomplete-mode' active, and `icomplete-show-matches-on-no-input' set to `t', invoking `switch-to-buffer' and then `minibuffer-force-complete-and-exit' gives confusing results; the buffer selected is the default specified by `read-buffer-to-switch', which is often _not_ the first completion displayed, which is what the user expects. In particular, if `icomplete-forward-completions' is invoked, the first displayed completion will not match the default. Suggested solutions: In the case of `switch-to-buffer', the default chosen by icomplete is usually better than that chosen by `read-buffer-to-switch', so a good solution would be to change `read-buffer-to-switch' to specify a nil default, at least when some completion mode other than the default is active. Alternately, icomplete could set `minibuffer-default' to the first displayed completion, or to nil; don't set `minibuffer-default' until a completion is displayed. In other cases, such as `kill-buffer', there is an obvious default (the current buffer); then icomplete should force the first completion to be the specified default. However if the user invokes `icomplete-forward-completions', the defaults will differ, so icomplete should set `minibuffer-default'. In GNU Emacs 24.3.94.8 (x86_64-pc-mingw32) of 2014-10-08 on TAKVER Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=/mingw32' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t allout-mode: t diff-auto-refine-mode: t icomplete-mode: t display-time-mode: t delete-selection-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: l t c h a n g e SPC C-SPC SPC t SPC o SPC s p e c i f i y SPC n o SPC d e f a u l t M-` g l o C-SPC C-SPC e m p t y SPC s t r i n g SPC b u t SPC o n l y SPC i f SPC s o m e SPC c o m p l e t i o n SPC m o d e SPC i s SPC e n a b l e d ? t h e r e SPC i s SPC a SPC d f a u l e f a u l t SPC c o m p l e t i o n SPC m o d e SPC a c t i v e l e a f v e SPC d e f a u l t SPC t o SPC c o m p l e t i o n SPC i c o m C-r k e y m a p M-x M-w r e p o r t Recent messages: Auto-saving...done Mark set [3 times] M-` is undefined Auto-saving... Mark set [2 times] Auto-saving...done Auto-saving...done Mark saved where search started Saving file c:/home/stephe/projects.text... Wrote c:/home/stephe/projects.text Load-path shadows: /Projects/org.emacs.ada-mode.stephe-1/ada-mode hides c:/Projects/emacs/emacs-24.3.94/lisp/progmodes/ada-mode Features: (shadow sort mail-extr emacsbug sendmail dvc-persistence dvc-config dvc-propagate dvc-state cus-theme eieio-custom wid-browse tree-widget cus-edit shell pcomplete grep pp allout mm-archive 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 mailcap url-handlers finder-inf copyright two-column iso-transl mule-util xmtn-dvc dvc-status dvc-diff edebug dvc-fileinfo diff-mode xmtn-conflicts derived pcase xmtn-ids xmtn-match xmtn-automate xmtn-compat parse-time xmtn-run xmtn-basic-io xmtn-base eieio-opt speedbar sb-image ezimage dframe find-func icomplete help-mode misearch multi-isearch xgit-core bzr-core xmtn-minimal dvc-log log-edit message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util vc vc-dispatcher ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff dvc-unified dvc-tips ffap thingatpt url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util help-fns mail-prsvr password-cache url-vars add-log dvc-autoloads dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site time delsel cus-start cus-load color-theme cl-macs edmacro kmacro wid-edit cl gv cl-loaddefs cl-lib noutline outline easy-mmode iswitchb whitespace dired-x dired-aux dired compile comint ansi-color ring info easymenu bbdb-autoloads package epg-config time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars 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 w32notify w32 multi-tty emacs) Memory information: ((conses 8 422845 79236) (symbols 32 33596 0) (miscs 32 991 997) (strings 16 64869 6636) (string-bytes 1 1631552) (vectors 8 30336) (vector-slots 4 1341024 41994) (floats 8 219 418) (intervals 28 6473 2326) (buffers 512 45)) From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 06:00:44 2020 Received: (at 18733) by debbugs.gnu.org; 4 Dec 2020 11:00:44 +0000 Received: from localhost ([127.0.0.1]:42975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8pP-0004ar-Nu for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:00:43 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8pN-0004SW-80 for 18733@debbugs.gnu.org; Fri, 04 Dec 2020 06:00:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OMIBxOSoPvc5njdqg7rJPOpdUnsscHRU0J9GcRb46Bo=; b=XOEiVS+drWPSGekDUpiOwSkPvA 2qnmBv/+jzO7ipVw3NMVebIGD60LqmUTa0gsgkbpoqzOy9IudOF6/I14ZyiWSsfCbVB91j4PRZ+N2 /VKsRmoyzEMduk0KiB89wgBStLe01tqtbgtsElkiThQD/dPqrkCcc9d1cG+HesD95PmI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl8pD-0007fo-Bq; Fri, 04 Dec 2020 12:00:34 +0100 From: Lars Ingebrigtsen To: stephen_leake@stephe-leake.org Subject: Re: bug#18733: 24.3.94; completion default with icomplete-show-matches-on-no-input t References: <85bnpdwgw9.fsf@stephe-leake.org> X-Now-Playing: The Matthew Herbert Big Band's _The State Between Us (1)_: "You're Welcome Here" Date: Fri, 04 Dec 2020 12:00:27 +0100 In-Reply-To: <85bnpdwgw9.fsf@stephe-leake.org> (stephen leake's message of "Wed, 15 Oct 2014 09:23:50 -0500") Message-ID: <87a6utlttg.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: stephen_leake@stephe-leake.org writes: > With `icomplete-mode' active, and `icomplete-show-matches-on-no-input' > set to `t', invoking `switch-to-buffer' and then > `minibuffer-force-complete-and-exit' gives confusing results; the buffer > [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18733 Cc: 18733@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.0 (-) stephen_leake@stephe-leake.org writes: > With `icomplete-mode' active, and `icomplete-show-matches-on-no-input' > set to `t', invoking `switch-to-buffer' and then > `minibuffer-force-complete-and-exit' gives confusing results; the buffer > selected is the default specified by `read-buffer-to-switch', which is > often _not_ the first completion displayed, which is what the user > expects. (This bug report unfortunately got no response at the time.) I'm unable to reproduce this in Emacs 28 -- I think this was changed sometime earlier this year, so I'm closing this bug report. If this is still an issue, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 06:00:51 2020 Received: (at control) by debbugs.gnu.org; 4 Dec 2020 11:00:51 +0000 Received: from localhost ([127.0.0.1]:42978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8pX-0004iD-1J for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:00:51 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8pU-0004an-Sl for control@debbugs.gnu.org; Fri, 04 Dec 2020 06:00:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fd/q97A0qtW1HYpcpTZf8UHxo39qs8yRRHeUjHia5s0=; b=JzeIs9SCXiyGb/eGrqzCo5gBgb Ox6PBwvexVVtpwqjuyHv0Nu6KcOE2UEPiK7gZi186s9KiVL1r7YTAy1/Z4KrRnsZ26OGm3Znqd1ac KtHiunQ+lwqclVQpDGpf9jvQrj3x63FpLQcrdh0xMyi/td+J/UF20DXeIlYQfr1ZALQo=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl8pN-0007fx-2N for control@debbugs.gnu.org; Fri, 04 Dec 2020 12:00:43 +0100 Date: Fri, 04 Dec 2020 12:00:39 +0100 Message-Id: <878sadltt4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18733 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18733 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) close 18733 28.1 quit From unknown Mon Aug 18 00:05:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 01 Jan 2021 12:24:08 +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