From unknown Mon Jun 23 05:59:25 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#20953 <20953@debbugs.gnu.org> To: bug#20953 <20953@debbugs.gnu.org> Subject: Status: 25.0.50; with icomplete, completion says "Matched" and then returns something else. Reply-To: bug#20953 <20953@debbugs.gnu.org> Date: Mon, 23 Jun 2025 12:59:25 +0000 retitle 20953 25.0.50; with icomplete, completion says "Matched" and then r= eturns something else. reassign 20953 emacs submitter 20953 Nicolas Richard severity 20953 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 01 17:46:29 2015 Received: (at submit) by debbugs.gnu.org; 1 Jul 2015 21:46:29 +0000 Received: from localhost ([127.0.0.1]:36504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAPps-0001Lc-UX for submit@debbugs.gnu.org; Wed, 01 Jul 2015 17:46:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39357) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZAPpq-0001LN-Eb for submit@debbugs.gnu.org; Wed, 01 Jul 2015 17:46:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAPpk-00023n-3q for submit@debbugs.gnu.org; Wed, 01 Jul 2015 17:46:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAPpk-00023c-1X for submit@debbugs.gnu.org; Wed, 01 Jul 2015 17:46:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAPpi-0007Hi-VG for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 17:46:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAPpc-00021P-SZ for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 17:46:18 -0400 Received: from mailrelay117.isp.belgacom.be ([195.238.20.144]:21947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAPpc-00021C-M4 for bug-gnu-emacs@gnu.org; Wed, 01 Jul 2015 17:46:12 -0400 X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=i+EX5EtM4g4P/CrLY+sx2nOWHsqv9AlVwqc0uudqMuE= c=1 sm=2 a=QCT-KXIL8PvRfCBbLBoA:9 a=MINDWI6K-vYA:10 a=vKurYwmuIckA:10 a=j3C3k39RrBUowzmGZ_kA:9 a=aEYgY0sQy6sA:10 a=-Yebtj9pFusA:10 a=aR16PxjQAAAA:8 a=lvrcGqW01JDWFX6nJt8A:9 a=CiSHi91Bn78A:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AbCgC2XpRV/4YDyFBbgxEfNV+rAAsFAYEEkxGHVzwRAQEBAQEBAYEKhH87JDQBBCWIagGmM6cUhhyKUYQVAQSTXDSCJ6F+JoI9gT88MYJIAQEB Received: from 134.3-200-80.adsl-dyn.isp.belgacom.be (HELO Aurora) ([80.200.3.134]) by relay.skynet.be with ESMTP; 01 Jul 2015 23:46:11 +0200 From: Nicolas Richard To: bug-gnu-emacs@gnu.org Subject: 25.0.50; with icomplete, completion says "Matched" and then returns something else. Date: Wed, 01 Jul 2015 23:46:11 +0200 Message-ID: <86h9pn1rh8.fsf@members.fsf.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: -5.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: -5.0 (-----) --=-=-= Content-Type: text/plain Given the following file --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=testcompletion.el Content-Transfer-Encoding: quoted-printable (require 'icomplete) (setq completion-cycle-threshold t) (define-key icomplete-minibuffer-map (kbd "RET") #'minibuffer-force-complet= e-and-exit) (icomplete-mode 1) --=-=-= Content-Type: text/plain I run emacs -Q -l ~/tmp/testcompletion.el then hit the following keys: C-h f m i n i b u f TAB RET After "TAB" I get : minibufferp [Matched] in the minibuffer. After "RET" I get a description of `minibuffer-depth' which is totally unexpected to me. I expected a description of the function `minibufferp'. In GNU Emacs 25.0.50.2 (i686-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2015-06-11 on Aurora Windowing system distributor `The X.Org Foundation', version 11.0.11501000 System Description: Ubuntu 14.04.2 LTS Configured using: `configure --with-x-toolkit=lucid --enable-checkings 'CFLAGS= -O0 -g3'' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID Important settings: value of $LANG: fr_BE.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 01 21:40:56 2015 Received: (at 20953) by debbugs.gnu.org; 2 Jul 2015 01:40:56 +0000 Received: from localhost ([127.0.0.1]:36587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZATUl-0000PZ-Er for submit@debbugs.gnu.org; Wed, 01 Jul 2015 21:40:55 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:36136) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZATUh-0000PH-R3 for 20953@debbugs.gnu.org; Wed, 01 Jul 2015 21:40:52 -0400 Received: by wguu7 with SMTP id u7so50505838wgu.3 for <20953@debbugs.gnu.org>; Wed, 01 Jul 2015 18:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=yP2Fzlob9ITzir75meLdhz673dZIXuuc3VniX32P9X0=; b=pw85CxwlcmxOulkHInDURDsM3w228s0b1Zg5O6U2KpI6QDd05COnNpqRsCipKGlmse xrFECIPZfLi9GiHO4hmduPerhVHbkCCLZNXL+sOYrq0HtMt2LGpsH4DOFJg/Z3mYgteR 7/c+ZLEGg+4avJY4pCw6JSFXnWcGYKfQJ46GqsqJdgm2trp7mv9DppOrRYThhNO2KrSq EpP7vOkG6KxUu8uojx8njmvk7onlMFKFzhKnchETzinjmhLmMDmNdFIP5geTU/3ND6AK 3ODFgmbnWo6VURTBex6+J0qKKqIunBWn+HI/FzP/DYogyaRDxNNto86uj5G93d3Crf4i TxfQ== X-Received: by 10.180.198.52 with SMTP id iz20mr21292373wic.77.1435801245945; Wed, 01 Jul 2015 18:40:45 -0700 (PDT) Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id i6sm5409483wjf.29.2015.07.01.18.40.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Jul 2015 18:40:44 -0700 (PDT) Subject: Re: bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else. To: Nicolas Richard , 20953@debbugs.gnu.org References: <86h9pn1rh8.fsf@members.fsf.org> From: Dmitry Gutov Message-ID: <5594969A.5050200@yandex.ru> Date: Thu, 2 Jul 2015 04:40:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 MIME-Version: 1.0 In-Reply-To: <86h9pn1rh8.fsf@members.fsf.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20953 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 07/02/2015 12:46 AM, Nicolas Richard wrote: > I run > emacs -Q -l ~/tmp/testcompletion.el > > then hit the following keys: C-h f m i n i b u f TAB RET > > After "TAB" I get : > minibufferp [Matched] > in the minibuffer. I'm assuming that's because of (setq completion-cycle-threshold t). > After "RET" I get a description of `minibuffer-depth' which is totally > unexpected to me. I expected a description of the function `minibufferp'. Apparently, that's because minibuffer-force-complete, called from minibuffer-force-complete-and-exit, somehow interprets it as a repeated invocation. Maybe it should examine last-command and do something with it, instead of performing the completion-in-region voodoo it's doing now. Or minibuffer-force-complete-and-exit should call a non-cycling version. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 06:03:24 2020 Received: (at 20953) by debbugs.gnu.org; 4 Dec 2020 11:03:24 +0000 Received: from localhost ([127.0.0.1]:42985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8s0-00066t-C2 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:03:24 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8rx-00066Z-Sb for 20953@debbugs.gnu.org; Fri, 04 Dec 2020 06:03:22 -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=a1pnqMfP66xluxD8gAB5SV7h2Wpu3B4UmLuf0IcRwPw=; b=RDSomm4/fShHrWcv/nv4GW8Do4 twWlLG6z2Ye95WUaXns/CCuRTXV8WUNhx70evGyVxfnFdByVFbTwgAHJiiYQ3PQjcRvBe3p/WdrWr KaLUwfUALra+OIJRvbm+s3ifwmCR2CcZf3tgRi2Q9X8y8jYczXjM85yAx/xdDOKE2Ooc=; 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 1kl8ro-0007hJ-Qk; Fri, 04 Dec 2020 12:03:15 +0100 From: Lars Ingebrigtsen To: Nicolas Richard Subject: Re: bug#20953: 25.0.50; with icomplete, completion says "Matched" and then returns something else. References: <86h9pn1rh8.fsf@members.fsf.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:03:11 +0100 In-Reply-To: <86h9pn1rh8.fsf@members.fsf.org> (Nicolas Richard's message of "Wed, 01 Jul 2015 23:46:11 +0200") Message-ID: <874kl1ltow.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: Nicolas Richard writes: > I run > emacs -Q -l ~/tmp/testcompletion.el > > then hit the following keys: C-h f m i n i b u f TAB RET > > After "TAB" I get : > minibufferp [Matched] > in the minibuffer. > > After "RET" I get a [...] 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: 20953 Cc: 20953@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 (-) Nicolas Richard writes: > I run > emacs -Q -l ~/tmp/testcompletion.el > > then hit the following keys: C-h f m i n i b u f TAB RET > > After "TAB" I get : > minibufferp [Matched] > in the minibuffer. > > After "RET" I get a description of `minibuffer-depth' which is totally > unexpected to me. I expected a description of the function `minibufferp'. I tried reproducing this in Emacs 28, and with this test case, Emacs now selects `minibufferp', so I think this was fixed earlier this year, and I'm closing this bug report. If this is still and 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:03:29 2020 Received: (at control) by debbugs.gnu.org; 4 Dec 2020 11:03:29 +0000 Received: from localhost ([127.0.0.1]:42988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8s5-00067C-KH for submit@debbugs.gnu.org; Fri, 04 Dec 2020 06:03:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]:57652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl8s4-00066q-8n for control@debbugs.gnu.org; Fri, 04 Dec 2020 06:03:28 -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=1ygSCocVkziDoqWijiH07CkXjlE0cJTqXYI4JTT1Txg=; b=LC3qdQXPqrp+xBv05m6d1fLHGW qwRjOebEkJE0bTL027uzmmO+7rEjTgm4U68TE+mAXHaA+5rDU+qfGAYmLz5M1Zloa3tuk0ZfGl6tt aifPTWkszihbOtI+dbmqFCszX5G3e3nkODygfP+YirzT5du/1pRhloClRGwDJUEaV9CA=; 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 1kl8rw-0007hS-GN for control@debbugs.gnu.org; Fri, 04 Dec 2020 12:03:22 +0100 Date: Fri, 04 Dec 2020 12:03:19 +0100 Message-Id: <87360lltoo.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #20953 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 20953 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 20953 28.1 quit From unknown Mon Jun 23 05:59:25 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: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