From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#13687: /srv/bzr/emacs/trunk r111878: * lisp/replace.el(read-regexp): Let-bind `default' to the first Date: Sat, 9 Mar 2013 09:55:56 -0800 Message-ID: <948A77F2F1984276A32EC2A5608272BE@us.oracle.com> References: <877glsyecw.fsf@gmail.com> <87621cfhff.fsf@mail.jurta.org><87zjykygjk.fsf@mail.jurta.org> <87vc92gi37.fsf@gmail.com><1751CEB23B214A3AADCCFD9F007425DE@us.oracle.com><87li9xer9u.fsf@mail.jurta.org><8738w5n3rg.fsf@gmail.com> <87d2v9rmcl.fsf@gmail.com><87sj44o87c.fsf@gmail.com><365EC1D3D8334B83827CDD1691FDEBC7@us.oracle.com><87vc90se5a.fsf@gmail.com><778E2A4E7CBA425C994F7678C2E690CE@us.oracle.com> <87fw04scxt.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1362851853 32036 80.91.229.3 (9 Mar 2013 17:57:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Mar 2013 17:57:33 +0000 (UTC) Cc: 13687@debbugs.gnu.org To: "'Jambunathan K'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 09 18:57:53 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UEO1p-00020y-Im for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Mar 2013 18:57:53 +0100 Original-Received: from localhost ([::1]:43012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEO1T-0006eg-Gu for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Mar 2013 12:57:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEO1L-0006eQ-P1 for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 12:57:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEO1H-0005Ux-0y for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 12:57:23 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEO1G-0005Ut-Tv for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 12:57:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UEO1y-0000sa-6i for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2013 12:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2013 17:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13687-submit@debbugs.gnu.org id=B13687.13628518233307 (code B ref 13687); Sat, 09 Mar 2013 17:58:02 +0000 Original-Received: (at 13687) by debbugs.gnu.org; 9 Mar 2013 17:57:03 +0000 Original-Received: from localhost ([127.0.0.1]:42119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEO10-0000r7-2j for submit@debbugs.gnu.org; Sat, 09 Mar 2013 12:57:02 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:17010) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEO0x-0000qn-7F for 13687@debbugs.gnu.org; Sat, 09 Mar 2013 12:57:00 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r29Hu8A9007682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 9 Mar 2013 17:56:09 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r29Hu7wT004432 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Mar 2013 17:56:08 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r29Hu7e6027803; Sat, 9 Mar 2013 11:56:07 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 09 Mar 2013 09:56:07 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87fw04scxt.fsf@gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac4c6xN6MymC8KnvRbqcWTCiF43eoQAApg1w X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72286 Archived-At: > The question is why is this-command `exit-minibuffer' when it should > have been `multi-occur-in-matching-buffers'. Where does > `exit-minibuffer' come from. > > I am not concerned about the defaults, I am concerned about > how the cmd. Do you have an explanation. There should be an > explanation... and the closest I have come to is to map RET to > `exit-minibuffer'. That IS the explanation, which you mentioned earlier as well. `read-regexp' calls `read-from-minibuffer'. When you hit `RET' during that read, `exit-minibuffer' is the value of `this-command'. You did not provide your recipe of testing interactions. But if you enter something in the minibuffer using `RET', then that explains why the current command when `read-regexp-default's is eval'd is `exit-minibuffer'.