From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5364: 23.1.91; execute-extended-command should do like FFAP Date: Thu, 14 Jan 2010 17:40:42 -0500 Message-ID: References: <87my0hgy29.fsf@jidanni.org> <87ska8jszf.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263509377 20931 80.91.229.12 (14 Jan 2010 22:49:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2010 22:49:37 +0000 (UTC) Cc: 5364@debbugs.gnu.org, jidanni@jidanni.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 14 23:49:30 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVYVN-000834-Bq for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jan 2010 23:49:29 +0100 Original-Received: from localhost ([127.0.0.1]:43377 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVYVO-0006Sw-Je for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jan 2010 17:49:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVYVJ-0006SS-D8 for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 17:49:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVYVF-0006Rn-CG for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 17:49:25 -0500 Original-Received: from [199.232.76.173] (port=42571 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVYVF-0006Rk-9J for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 17:49:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49267) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NVYVE-0001YR-Mi for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 17:49:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NVYO9-000839-Uv; Thu, 14 Jan 2010 17:42:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jan 2010 22:42:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5364 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5364-submit@debbugs.gnu.org id=B5364.126350891430933 (code B ref 5364); Thu, 14 Jan 2010 22:42:01 +0000 Original-Received: (at 5364) by debbugs.gnu.org; 14 Jan 2010 22:41:54 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVYO1-00082s-Lg for submit@debbugs.gnu.org; Thu, 14 Jan 2010 17:41:53 -0500 Original-Received: from tomts40.bellnexxia.net ([209.226.175.97] helo=tomts40-srv.bellnexxia.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVYNz-00082n-UB for 5364@debbugs.gnu.org; Thu, 14 Jan 2010 17:41:52 -0500 Original-Received: from toip5.srvr.bell.ca ([209.226.175.88]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20100114224147.ISEK16859.tomts40-srv.bellnexxia.net@toip5.srvr.bell.ca> for <5364@debbugs.gnu.org>; Thu, 14 Jan 2010 17:41:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAB4rT0tGN4+P/2dsb2JhbACBRNdVhDAE Original-Received: from bas1-montreal42-1178046351.dsl.bell.ca (HELO ceviche.home) ([70.55.143.143]) by toip5.srvr.bell.ca with ESMTP; 14 Jan 2010 17:41:41 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 894957001E; Thu, 14 Jan 2010 17:40:42 -0500 (EST) In-Reply-To: <87ska8jszf.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 14 Jan 2010 23:07:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -1.6 (-) Resent-Date: Thu, 14 Jan 2010 17:42:01 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34336 Archived-At: >> It's bad to have a default in the prompt which is almost always not the >> one you want. People will soon send bug reports about "M-x chooses dumb >> defaults". > I agree that a default should not be in the prompt of M-x. I could live with that. > I know that relying on the `minibuffer-history-variable' being equal > to `extended-command-history' is not a clean solution, but it works, > and currently I see no other way to achieve the same result. The behavior is OK, but the implementation sucks too much. I think we can do better via minibuffer-with-setup-hook. That might require to turn M-x's interactive spec into Elisp (moving the whole of M-x to Elisp would be good as well, but it's a much bigger effort). Stefan