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#355: M-x should prompt with function under cursor as default Date: Fri, 06 Jun 2008 14:18:33 -0400 Message-ID: References: <87wsl2pigm.fsf@jidanni.org> Reply-To: Stefan Monnier , 355@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212776962 5073 80.91.229.12 (6 Jun 2008 18:29:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 18:29:22 +0000 (UTC) Cc: 355@emacsbugs.donarmstrong.com, emacs-devel@gnu.org, jpw@pobox.com To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 06 20:30:03 2008 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 1K4ghM-0001DM-Hl for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 20:30:00 +0200 Original-Received: from localhost ([127.0.0.1]:60293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4ggZ-0001RO-M6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jun 2008 14:29:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4geb-0008TY-NY for bug-gnu-emacs@gnu.org; Fri, 06 Jun 2008 14:27:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4gea-0008Sn-5F for bug-gnu-emacs@gnu.org; Fri, 06 Jun 2008 14:27:09 -0400 Original-Received: from [199.232.76.173] (port=39054 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4geZ-0008Sh-Ri for bug-gnu-emacs@gnu.org; Fri, 06 Jun 2008 14:27:07 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40276) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K4geZ-00038Y-HI for bug-gnu-emacs@gnu.org; Fri, 06 Jun 2008 14:27:07 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m56IR5Ex023730; Fri, 6 Jun 2008 11:27:05 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m56IP43C022691; Fri, 6 Jun 2008 11:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 06 Jun 2008 18:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 355 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 355-submit@emacsbugs.donarmstrong.com id=B355.121277632921384 (code B ref 355); Fri, 06 Jun 2008 18:25:04 +0000 Original-Received: (at 355) by emacsbugs.donarmstrong.com; 6 Jun 2008 18:18:49 +0000 Original-Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m56IIjrt021378 for <355@emacsbugs.donarmstrong.com>; Fri, 6 Jun 2008 11:18:46 -0700 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 6AC4A2CF787; Fri, 6 Jun 2008 14:18:44 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id AD7493FE0; Fri, 6 Jun 2008 14:18:33 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 978FC41BEC; Fri, 6 Jun 2008 14:18:33 -0400 (EDT) In-Reply-To: <87wsl2pigm.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sat, 07 Jun 2008 01:43:37 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.71, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_REPONSE 0.11) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 06 Jun 2008 14:27:09 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:18283 Archived-At: JPW> Do the Emacs developers think that this feature is worth adding ? JPW> Ooops, I missed Stef's reply to the BTS saying no. Fair enough :) SM> In any case, I don't think the functionality you're asking makes much SM> sense: it is rather rare to do a M-x where the command you want to run SM> happens to be under point. > Just as often as C-h f and C-h v for me at least. And how often is that? For me, C-h f on the function at point is the most common use of C-h f (I'm looking at a piece of Elisp code and want to know what the function does). I have a hard time believe that you often do M-x where is the function at point. Please give me scenarios, Stefan