From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 11:39:44 2020 Received: (at submit) by debbugs.gnu.org; 5 Sep 2020 15:39:44 +0000 Received: from localhost ([127.0.0.1]:43912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEaI4-0004qH-5Y for submit@debbugs.gnu.org; Sat, 05 Sep 2020 11:39:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:44520) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEaI2-0004q9-UC for submit@debbugs.gnu.org; Sat, 05 Sep 2020 11:39:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEaI2-00017G-6w for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 11:39:42 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEaI0-0005cG-Ch for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 11:39:41 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 529DB5C010D for ; Sat, 5 Sep 2020 11:39:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 05 Sep 2020 11:39:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=QSL+sXhe0SzQ1mK/TD2IX3lLmGoRxuuQ9tjyCr0vGJU=; b=dX/eNGsa pWz30dLJ/h6aL0kw2xLJ2z7pDxBLGQtJnwbk/huFIptnKE2G0ZTSVmFsBFszn+ak My7OiGW3tRC9a86L0gcyjKEN9RlfaUzsvsRq8L2ArXONtLS/glh5yUzVxDopb3xf vd71OTgE30CrayT5EyYUFaNxK/mzWM47//wgpQhL+hHEM3x2A6GfzDU8d+apLfLx 5hLJh5E+ePfa2EqLCIxKJ9dJZvmx6aLt8sE5mpwWlfznO8Xe+ZVqHl/ajd9uYEhP 30l092O58fR45WcRqmpMx0e7bZHe9ew2p8x0YPmZzlHFPyDrEbOmuN4LPzLyG00q 58pq6xGECj2HmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=QSL+sXhe0SzQ1mK/TD2IX3lLmGoRx uuQ9tjyCr0vGJU=; b=pTEjwd4TCcIAqB1gWsLtQTuOPcwqZYIg43K72X3PuSRhr pbm0nd6sWQFhTHcxNX2URNUyCNOBc0YGcnRA9BqUbhpoYw78434RtOYJ7n4qt+oU 1VsIyzrw+xmUjzHW+KghU/eG4ufYB5u2Dg/tU306WD2Usl6ViJj+Qv+MT5ku7dGg HDWzMeqlRuALjpGYI1UZmL1ZqwSVpX4d+SUw+k9DZ933SB4Kj3LaaADkj1QTJjRu TucV09JaiHRpwjaYS/5WsLmwkQHdASBMjK12aBe9CnKfmbGPAS2vi9Eo5E9LtJAX VoZoO/2YgWa5LOsiIZJuh2Q1Z++q50p0TNFTUWpnQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeghedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpefuvggrnhcuhghhihhtthhonhcuoehsphifhhhithhtohhnsehsphif hhhithhtohhnrdhnrghmvgeqnecuggftrfgrthhtvghrnhepleelgeejhedvheeghefgfe egvdfhvdefffefheejtdegfeehffeitdefteejueehnecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomhepshhpfihhihhtthhonhesshhpfihhihhtth honhdrnhgrmhgv X-ME-Proxy: From: Sean Whitton To: bug-gnu-emacs@gnu.org Subject: 28.0.50; fido-mode selects wrong buffer to kill when no input X-debbugs-cc: larsi@gnus.org, joaotavora@gmail.com Date: Sat, 05 Sep 2020 08:39:36 -0700 Message-ID: <87ft7wtepz.fsf@iris.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.28; envelope-from=spwhitton@spwhitton.name; helo=out4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 11:39:38 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -2.6 (--) This is orthogonal to #43120 so far as I can tell. 1. emacs -q 2. M-x fido-mode RET 3. C-x C-f ~/src/emacs/lisp/icomplete.el RET 4. M-: (find-file (locate-library "icomplete.el.gz")) RET 5. C-x b icomplete.el RET 6. C-x k [wait for completions] RET|M-j This should kill the buffer visiting icomplete.el (right?) but in fact it kills the buffer visiting icomplete.el.gz. The first completion offered by fido-mode is different from the default value shown in the minibuffer prompt. -- Sean Whitton From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 18:48:12 2020 Received: (at 43222) by debbugs.gnu.org; 5 Sep 2020 22:48:12 +0000 Received: from localhost ([127.0.0.1]:44321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEgyi-0000J8-KS for submit@debbugs.gnu.org; Sat, 05 Sep 2020 18:48:12 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEgyg-0000Iq-Lr for 43222@debbugs.gnu.org; Sat, 05 Sep 2020 18:48:11 -0400 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=lpZ9cEiNp6dcdpk9fDWKE23NqL2+oogjS9W791EjyUs=; b=KzZpA9hVVsCkogAXLowufkNNyn FbguUeqzclpMs2uHpukmUVUl4nYQkoJzBeWbBxrJEq4EdD/3nmSig1NcvTigOXgSHDazXW/JF6win A4FRP4/0vtliipjpTva+s1+VATi9HypXt+0u1gB8QvAf0aKpwtlCLoROB1Zvj7uHNBHA=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEgyT-0004um-8l; Sun, 06 Sep 2020 00:48:03 +0200 From: Lars Ingebrigtsen To: Sean Whitton Subject: Re: bug#43222: 28.0.50; fido-mode selects wrong buffer to kill when no input References: <87ft7wtepz.fsf@iris.silentflame.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEVcWFaCfnwgHRrR z8z////dYdg1AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+QJBRYvH/xwiy0AAAGaSURBVDjLrZTblesw CEUBNwBWAxJpwET99zYHJCd3ZiV/V0mWLW1e4hEiVjYlMnyI8dVeu/wxNmRikqBbAn4DpjdQYgEQ Ju3CvEwtDQjNL+t/gfYNxGcQX0BEu9onYO0LiMM+g6mX8meALP0GFl62hjz+aAhO6jHaG4S1UO24 9Hz6ODZouVdxd04Z55FAyaaQmeLcR4o4PRKEOJmj8hBHxdtU1+UDJhjQO94vd2x1RSXktUbZz7XD ffYFeno+822n5FrnQjIy1lKllzYUSEfMjO0oENuDo72asjrxqvmt4FQe1B+7Gc7bdQKXXlEnkAy8 yNSQThlTgWufI5aLIqUY3QBgt/Oe5UEm0fp1D76dD+1sBoGohgulFzhHpXj5QPff4MIQnOt+FdU5 tg/LwagUAgRlwvcN8963xqrbBlYRjrk0+n3eMX2+fU9CwVvIzgnLG1AzswUwm/VcEzVe13Cif8FW 9xOWNmhbozsiHs+/oHNkIx1XWkoJjmXqbCgzOxoCGoL/j7bH+UIrs44ZHaD/mvPgdh4JZN15rR/K 65q2i01TnwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wOS0wNVQyMjo0NzozMSswMDowMFNJM3MA AAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDktMDVUMjI6NDc6MzErMDA6MDAiFIvPAAAAAElFTkSu QmCC X-Now-Playing: Chandra's _Transportation EPs_: =?utf-8?Q?=22They=E2=80=99r?= =?utf-8?Q?e?= All Alike" Date: Sun, 06 Sep 2020 00:47:55 +0200 In-Reply-To: <87ft7wtepz.fsf@iris.silentflame.com> (Sean Whitton's message of "Sat, 05 Sep 2020 08:39:36 -0700") Message-ID: <87h7sb263o.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: Sean Whitton writes: > This is orthogonal to #43120 so far as I can tell. > > 1. emacs -q > 2. M-x fido-mode RET > 3. C-x C-f ~/src/emacs/lisp/icomplete.el RET > 4. M-: (find-file (locate-library "icomplete.el.gz")) RET > [...] 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: 43222 Cc: 43222@debbugs.gnu.org, joaotavora@gmail.com 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 (-) Sean Whitton writes: > This is orthogonal to #43120 so far as I can tell. > > 1. emacs -q > 2. M-x fido-mode RET > 3. C-x C-f ~/src/emacs/lisp/icomplete.el RET > 4. M-: (find-file (locate-library "icomplete.el.gz")) RET > 5. C-x b icomplete.el RET > 6. C-x k [wait for completions] RET|M-j > > This should kill the buffer visiting icomplete.el (right?) but in fact > it kills the buffer visiting icomplete.el.gz. The first completion > offered by fido-mode is different from the default value shown in the > minibuffer prompt. Yup. This bug is present in Emacs 27, too... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 05 18:48:24 2020 Received: (at control) by debbugs.gnu.org; 5 Sep 2020 22:48:24 +0000 Received: from localhost ([127.0.0.1]:44324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEgyt-0000JW-Rr for submit@debbugs.gnu.org; Sat, 05 Sep 2020 18:48:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEgyr-0000JI-68 for control@debbugs.gnu.org; Sat, 05 Sep 2020 18:48:21 -0400 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=P9kdhyyj9qdbMimCBAajoBON8GFqme6lashRjtFstOs=; b=d40eq4ru4b1iI+eq/QL4tUXhpA VJGHpopqIptvvxoOqNelIm501ovvlRylxQL8D0b3CtgwmhsvHPZJWHonYw53kUN208swGIsIwNrE7 9thFM4Oa7HzAWDk137lp4NxLWp2SD0eH7ssfHxq7vyXGSLGMuiVB/QnApbNXAHHados4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEgyj-0004v9-Bl for control@debbugs.gnu.org; Sun, 06 Sep 2020 00:48:15 +0200 Date: Sun, 06 Sep 2020 00:48:12 +0200 Message-Id: <87d02z2637.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #43222 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: tags 43222 + confirmed 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 (-) tags 43222 + confirmed quit From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 03:04:13 2020 Received: (at 43222) by debbugs.gnu.org; 6 Sep 2020 07:04:13 +0000 Received: from localhost ([127.0.0.1]:44654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEoii-0006e4-QJ for submit@debbugs.gnu.org; Sun, 06 Sep 2020 03:04:13 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:38846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEoif-0006dp-8C for 43222@debbugs.gnu.org; Sun, 06 Sep 2020 03:04:11 -0400 Received: by mail-wm1-f53.google.com with SMTP id l9so10288267wme.3 for <43222@debbugs.gnu.org>; Sun, 06 Sep 2020 00:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ch8aPf2rywZ4LpMChpJRHD/Op8UPcP0n82Ww1LEYS0o=; b=XR7ujWZWRJvs+94Hzu7VGsY18wDYeX0F7IK1+BHXevetXIVszWI1/XNUuJtVDYW4tB ZBpP5e3VTJxVw+f3ktXMixkGneMd7ZKoQj7wQ0jKs4S/yq2etSFYgwaJXKHNjOjOdyIN jAjuNdFWSkiszOsX8YoyIoRrNPcoKW6W+cjpsuyOmvvfYbCCAfX8Ut8ZJS/6WhE3Q0Cf 0RWaIHMPCaZuDtPxSJA2wQgMYLYjGZ1bTgi18Azax3bTsgx1cTMRTkECtZvC5rcGDG1d cBA1NofpU9FirnX9avgvBZkOeafh4nwgOT7wPfnzvppc+ogho0WTaP6gTifd3ZMsK0h8 iTzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ch8aPf2rywZ4LpMChpJRHD/Op8UPcP0n82Ww1LEYS0o=; b=GOwlw63FAgiaUaPGYfLxs+wYrBYm+cvKgy7y9YqEAlIKWbJVyHNRT7wkW6kpe/sEjf LvNE9tlW4jC3bXR1h1dEct9E5ZKdk+K9GtbLZLtqE9SdrNNBs47T6DUFw7zLYS2hES8N 3TkA48LyKtq/DncqDt79kE5+LbRwrHP3FM7LeNh28/UWwxa9+ZMkinxXdyQcUHQSs3JX RsoNzUYPdZV0Y7Kp/6gGKoXvFSAaadYWxfBTigq9o21eN0ByBpvw6LyLKc+O3HxGwi0t vUlAgz4sHGX+zcEMPhoch1AJiBEGjN9DGHvyZNZ5gqOprhgrSxfi3FH63yHadJHrmQql TGyQ== X-Gm-Message-State: AOAM5314QGypXD0+Rw4SSfmqxkB+T2aqU2xmWkrOx904Tt+MYu/61J3G od4plj8Ye5o2/xty7aPQ68k= X-Google-Smtp-Source: ABdhPJxJl0y2Mp5q87vjGCJ+heuNwmfxX+3iZLxoMW7KkjbUkM9EVwyCvaKQpmMck7rJQuyFb3dGMw== X-Received: by 2002:a1c:19c2:: with SMTP id 185mr14993266wmz.8.1599375843260; Sun, 06 Sep 2020 00:04:03 -0700 (PDT) Received: from krug (93.194.137.78.rev.vodafone.pt. [78.137.194.93]) by smtp.gmail.com with ESMTPSA id p3sm1287849wmm.40.2020.09.06.00.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 00:04:02 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Sean Whitton Subject: Re: bug#43222: 28.0.50; fido-mode selects wrong buffer to kill when no input References: <87ft7wtepz.fsf@iris.silentflame.com> Date: Sun, 06 Sep 2020 08:03:59 +0100 In-Reply-To: <87ft7wtepz.fsf@iris.silentflame.com> (Sean Whitton's message of "Sat, 05 Sep 2020 08:39:36 -0700") Message-ID: <874kobpesg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43222 Cc: 43222@debbugs.gnu.org, larsi@gnus.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 (-) Sean Whitton writes: > This is orthogonal to #43120 so far as I can tell. > > 1. emacs -q > 2. M-x fido-mode RET > 3. C-x C-f ~/src/emacs/lisp/icomplete.el RET > 4. M-: (find-file (locate-library "icomplete.el.gz")) RET > 5. C-x b icomplete.el RET > 6. C-x k [wait for completions] RET|M-j Followed your report and confirmed it. Notice that the problem only happens because the file names share a common prefix: "icomplete.el" Maybe the title (and the severity) of this bug should be changed to reflect that. Do you know how to do that, Lars? > The first completion offered by fido-mode is different from the > default value shown in the minibuffer prompt. This sentence indeed describes it. There code is fido-mode to "bubble" up the default to the first result, but it isn't working for some reason. I'd say the problem lies somewhere in icomplete--sorted-completions. Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 03:39:31 2020 Received: (at 43222-done) by debbugs.gnu.org; 6 Sep 2020 07:39:31 +0000 Received: from localhost ([127.0.0.1]:44680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEpGt-0001D8-BF for submit@debbugs.gnu.org; Sun, 06 Sep 2020 03:39:31 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:50921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEpGr-0001Cv-TM for 43222-done@debbugs.gnu.org; Sun, 06 Sep 2020 03:39:30 -0400 Received: by mail-wm1-f42.google.com with SMTP id e17so10314494wme.0 for <43222-done@debbugs.gnu.org>; Sun, 06 Sep 2020 00:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=cs66CAgSogcVkLLna8ab11g/eIvs+BkV7dGPo6kQBcg=; b=t9Db6BtJhHWnx5R78dJaMCTOJ9uUPUBJIJGkvrKdwzb0uh4ybPNQ3mfj6c8Ssi51Ag Z081zIDuVvaSgmBaSBelfr2sB7AKjRRa5cHcIgMHG+fyA6xAQxcquG8NU9k4inTRanpj wlwWIuobDCvPyXjl4KLI2vLAtawe8na1+ERypJfY2oh9wFo5IiYtYz3xu0V4PDpQ3+Ne nAi/UUWeEdUgFfj2UFXu1GgqPGSA2dL0SVIhYJKBkp0pOM6wFTpK5Q6wO2Yj/qn23cST Nv8emMG3/1gdMrn290JmznRMVbExTpqvJ23lxwJ+Tizym0LY0mT2jF44f6m/nToFS0gw rpAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=cs66CAgSogcVkLLna8ab11g/eIvs+BkV7dGPo6kQBcg=; b=WgMzqHMoJkmFswH16zSO2yZczreJXDTH6ucVRE01TsmZ4gfvA9IZ+JV0zi4HuqjHmk qC8EeL+6zQzSaex29ZTqc+fEh/Y1jLn6XylsUyzqaZ+/yy3w0SChz/HhAo4rwsTSgt+X QTztc25GZRdeUrOaNE2Ntp5k0/RpxsMubPOUQ/YKRgNlkQHq6jhRYGXMiXp8kXl8VRKR OVvbLm4wVFYc9bfTqa/V8KfZgR7qeqlnexRQOvskg8cbl1gWhieDTqUMsTJtDiBLzNTA bCQZV8Xkiw9nPSa6Vq7s9Q7B1tCzc3PcEIdOHFbN/zHvED+FlFb/CLskmaeIzLPDFQUQ xJIQ== X-Gm-Message-State: AOAM530R5oMh+X1aa7rg2NhCXpQ360pIiYDTSSiq5w0vW0TVMeNfmt67 5Mn2sHvC2PTlQS49Hvo2QA0= X-Google-Smtp-Source: ABdhPJwuy1ijTHXIJfiFA+1/Cysf3d3NeSwfgWiXWNlg9CDUfi5fK4HFBf2C/l7+T8ONaPnrenT51g== X-Received: by 2002:a1c:f70a:: with SMTP id v10mr15203019wmh.39.1599377963912; Sun, 06 Sep 2020 00:39:23 -0700 (PDT) Received: from krug (93.194.137.78.rev.vodafone.pt. [78.137.194.93]) by smtp.gmail.com with ESMTPSA id o6sm20327584wrm.76.2020.09.06.00.39.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Sep 2020 00:39:22 -0700 (PDT) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= To: Sean Whitton Subject: Re: bug#43222: 28.0.50; fido-mode selects wrong buffer to kill when no input References: <87ft7wtepz.fsf@iris.silentflame.com> <874kobpesg.fsf@gmail.com> Date: Sun, 06 Sep 2020 08:39:20 +0100 In-Reply-To: <874kobpesg.fsf@gmail.com> (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vor?= =?utf-8?Q?a=22's?= message of "Sun, 06 Sep 2020 08:03:59 +0100") Message-ID: <87zh63nyl3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 43222-done Cc: 43222-done@debbugs.gnu.org, larsi@gnus.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 (-) Jo=C3=A3o T=C3=A1vora writes: > Sean Whitton writes: > >> This is orthogonal to #43120 so far as I can tell. >> >> 1. emacs -q >> 2. M-x fido-mode RET >> 3. C-x C-f ~/src/emacs/lisp/icomplete.el RET >> 4. M-: (find-file (locate-library "icomplete.el.gz")) RET >> 5. C-x b icomplete.el RET >> 6. C-x k [wait for completions] RET|M-j > > Followed your report and confirmed it. Notice that the problem only > happens because the file names share a common prefix: "icomplete.el" > > Maybe the title (and the severity) of this bug should be changed to > reflect that. Do you know how to do that, Lars? > >> The first completion offered by fido-mode is different from the >> default value shown in the minibuffer prompt. > > This sentence indeed describes it. There code is fido-mode to "bubble" > up the default to the first result, but it isn't working for some > reason. I'd say the problem lies somewhere in > icomplete--sorted-completions. I've fixed this in 6fc502c1ef327ab357c971b9bffbbd7cb6a436f1. Author: Jo=C3=A3o T=C3=A1vora Date: Sun Sep 6 08:35:53 2020 +0100 Don't resort Icomplete candidates when default already on top =20=20 Fixes: bug#43222 =20=20 Icomplete mode re-sorts candidates, bubbling the default to top if it's found somewhere down the list. This is done according to two criteria: exact match and prefix match. Before this fix, it didn't take into account the possibility that the exact match for the default would already be on top, and would incorrectly bubble a prefixing completion down the list to the top. This commit fixes that. =20=20 * lisp/icomplete.el (icomplete--sorted-completions): Rework. Recomment. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 06 14:27:12 2020 Received: (at 43222) by debbugs.gnu.org; 6 Sep 2020 18:27:12 +0000 Received: from localhost ([127.0.0.1]:47151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEzNg-0005Dk-2D for submit@debbugs.gnu.org; Sun, 06 Sep 2020 14:27:12 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:44015) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEzNd-0005DV-S1 for 43222@debbugs.gnu.org; Sun, 06 Sep 2020 14:27:10 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 296A8D51; Sun, 6 Sep 2020 14:27:03 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 06 Sep 2020 14:27:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm1; bh= JuizKC/BVpilQYtQu4Ko9Waq2OT56Pvng37dBLOe0TA=; b=GiQw5F9ora7lmM96 KVwxCtkchOIE0xh1o9Q7PClZXtGGsgPyR5h1LctHvYHoQh92+y4V+/c67HJAjxpn Khu0RNZIM1Bsu4UYlZfWU1b1JWG4ZXwEz8/mrxry13O9ADsK2EbwPD8Heo1xPRQr vYNohN5nFQk4srjmrukpfSqUusVVFmYPEsuAaZRIDIQGCOEfBZC7QnwAobsLyKYQ +hFQ41tu2riLUs6X2SzDRSG6lMqaKvZxrA+Vtm+u6mmXoTKgeikH7UbOPA1+nKbV BQ/WASXBN9dHF2b76MabsuoOG//hqkv2xXC1WewuEal9x5Q79coZPmbsa7sFjoE/ dU64OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=JuizKC/BVpilQYtQu4Ko9Waq2OT56Pvng37dBLOe0 TA=; b=pBWdp/ZQ3a/QhT7fFUQ3BorKzoIZejG52RofQRx2Bxj/YjCDkl+FOOjIe 8UyMTspTbXJ5H3aXtl1wvPAZ6JXD1Sr8MP6Y2+qmUnztbg6dvmINfFCneaRLHN34 2BP0K0O6qbPKOEX+cPJFEuqFjvNB1jcRCukQ0AkhzKt8Bw+Eg/wt1/mUGz9ikG6r cSl1unKnmGKHbYeNe1tn+QF1OLbWg72HC/ZJdv7ioZe/FJ27Ke2EYkcvZ1XGh52I sPAtstMfDp2e/Ikxp5fF2zJNfeVOiaTmW+xW3O1dBwqV5h5t98moO2n5EOxqdH/q HH2yVUb9sagxUUZwbHicRY9+NhjNA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudegjedguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffffkgggtgfesthhqredttddtjeenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpedvgfekvedtteevvdfhhfegveelleefkeevueevheffuddv ieduhfegleevgffhheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: From: Sean Whitton To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Subject: Re: bug#43222: 28.0.50; fido-mode selects wrong buffer to kill when no input In-Reply-To: <87zh63nyl3.fsf@gmail.com> References: <87ft7wtepz.fsf@iris.silentflame.com> <874kobpesg.fsf@gmail.com> <87zh63nyl3.fsf@gmail.com> Date: Sun, 06 Sep 2020 11:27:01 -0700 Message-ID: <87sgbuyd56.fsf@iris.silentflame.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 43222 Cc: 43222@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 (-) Hello, On Sun 06 Sep 2020 at 08:39AM +01, Jo=C3=A3o T=C3=A1vora wrote: > I've fixed this in 6fc502c1ef327ab357c971b9bffbbd7cb6a436f1. Thank you for this fix! --=20 Sean Whitton From unknown Sun Aug 17 04:18:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 05 Oct 2020 11:24:04 +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