From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#25644: 26.0.50; Problematic transient map in minibuffer-force-complete Date: Tue, 07 Feb 2017 17:41:35 +0100 Message-ID: <874m06ar7k.fsf@drachen> References: <87lgti80cs.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1486485765 12625 195.159.176.226 (7 Feb 2017 16:42:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 7 Feb 2017 16:42:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25644@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 07 17:42:40 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb8qJ-0002D7-9u for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 17:42:11 +0100 Original-Received: from localhost ([::1]:55292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb8qN-0000y3-By for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Feb 2017 11:42:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb8qG-0000xn-2c for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:42:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb8qA-0005VH-FD for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:42:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60996) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cb8qA-0005V8-Az for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cb8qA-0003ht-4W for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2017 16:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148648571814238 (code B ref -1); Tue, 07 Feb 2017 16:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Feb 2017 16:41:58 +0000 Original-Received: from localhost ([127.0.0.1]:59195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb8q5-0003ha-RZ for submit@debbugs.gnu.org; Tue, 07 Feb 2017 11:41:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cb8q4-0003hL-52 for submit@debbugs.gnu.org; Tue, 07 Feb 2017 11:41:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb8px-0005MO-R7 for submit@debbugs.gnu.org; Tue, 07 Feb 2017 11:41:50 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33782) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cb8px-0005MI-OF for submit@debbugs.gnu.org; Tue, 07 Feb 2017 11:41:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60373) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cb8pw-0000vG-CM for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:41:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cb8pr-0005Hb-Bo for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:41:48 -0500 Original-Received: from mout.web.de ([212.227.17.11]:63728) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cb8pr-0005Fr-0I for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2017 11:41:43 -0500 Original-Received: from drachen.dragon ([88.67.111.141]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MThAi-1d1R7x1T84-00QQCh; Tue, 07 Feb 2017 17:41:37 +0100 In-Reply-To: (Stefan Monnier's message of "Tue, 07 Feb 2017 11:23:43 -0500") X-Provags-ID: V03:K0:PEp8qHdNa4hkZxNK/MEhz13Fc21/NDkvfM0zgUJl/vgSDjAyFfj 71u2tr3JHl0bGl/Aud/zIv9pHskVuPNEXhCV5owKmHoUh+dq+mpxMtltMqjPSjr99K5cdrx fChw5o+a9pLMl9rLYgqzJD3JAj/OTjRLgHYXRv+gFL6fDQB8BsrpfpyTwdU9s/hswAXbs8r y98jenpHSRlCgjR1XB/Tg== X-UI-Out-Filterresults: notjunk:1;V01:K0:MfxxthZDxLU=:awMFfKMUTOvhGFa/+YT3CS j4jjA6vEEhRjNGjk9tRPWo70PSv8ydHphTBYESRbTjRLjv7DwcoQwBwS2oxr+e8fpxdq07DDz yusWOpmlAIYPtStcFSNMlryhoAO4e/yz3/+uDLH2L8GiPqf3SG1BkJ07F3XjgUA9NzCuJ4qPd UTKcXs4cL0Wf0K0YVshQLNpIWgKlE6AJsULoyoGItQThHRrdY0C1fKOIkSxSFDnIYAlXA/nPr bDly4Bw9iW6nMpKd5Wc+vbAdMNFkrwn018eL54wkzJOEPSrgNVlEPYFuY9G0WO1aVqgRsQtyt QcewioapKwL95KjQt+c5q8frZHMj2n5Thf19By2bTkHYic+HnHbkOnIBu7DfHMZMU2xK2GQTE tzDWjnI7djsOqHN52NVs6+AQhLvVnBJET/GqUgE6FnRLYKrfgx8lxKNvNiMB6f0Bs3YlOMrMv h2fAKkCaHR38EMOgXaW7fVeJBJgkBJKz2M7cTIUDZCsAfLUT7wAFlVGcJWNMCEVnl+hFFnG4n 68sMZ9EuRGnzCBMnv3GMZcvvVswoJDxkOQ4RsXtVtpOX8dIa4ThnuOCEMpqK3NQKQULSkLSJn pfYftS4M6NMb1Lk+SLPWZ26X4M0+ZNtkEgI3NQ7wu0oHSEU7j1vDm4MKYq4USiqcY8cqnLahY HYEoLTMeRNhKaetKEOnAAKbvuZjNMlxFOUEJ2qAtCoP8hWA4Xb/YLs3BYSUnifEV166bRrvw7 xXUc9aDGhx1+l7xngpTLMJJ/keEhT9YKahrDRiJjNrxR5HtTwPqBXCMbj5/joCja+8HtzBQS 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: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129081 Archived-At: Stefan Monnier writes: > > (define-key icomplete-minibuffer-map [return] > > #'icomplete-force-complete-and-exit) > > FWIW, I think this should be > > (define-key icomplete-minibuffer-map [?\r] > #'icomplete-force-complete-and-exit) > aka > (define-key icomplete-minibuffer-map (kbd "RET") > #'icomplete-force-complete-and-exit) Why? > BTW, if you do > > M-x epatch > - Answer y to the question whether the patch is in a buffer > - C-h k RET > > what does it say? It says | runs the command icomplete-force-complete-and-exit, which is | an interactive compiled Lisp function in `icomplete.el'. but I know that this is wrong (it doesn't consider the transient map). This is one reason why I needed more than one hour before I found out what's going on. FWIW `interaction-log' says that the command run has been | #[0 \303.\305\300`\301\302$)\207 [# #[771 \211\301>\203.