unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: jidanni@jidanni.org
Cc: 355@emacsbugs.donarmstrong.com, emacs-devel@gnu.org, jpw@pobox.com
Subject: bug#355: M-x should prompt with function under cursor as default
Date: Fri, 06 Jun 2008 14:18:33 -0400	[thread overview]
Message-ID: <jwvbq2eton6.fsf-monnier+emacsbugreports__38385.4614956819$1212777010$gmane$org@gnu.org> (raw)
In-Reply-To: <87wsl2pigm.fsf@jidanni.org> (jidanni@jidanni.org's message of "Sat, 07 Jun 2008 01:43:37 +0800")

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 <FUN> where <FUN> is
the function at point.  Please give me scenarios,


        Stefan






  parent reply	other threads:[~2008-06-06 18:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12758.1212763022.18990.bug-gnu-emacs@gnu.org>
2008-06-06 17:43 ` bug#355: M-x should prompt with function under cursor as default jidanni
     [not found] ` <87wsl2pigm.fsf@jidanni.org>
2008-06-06 18:18   ` Stefan Monnier [this message]
     [not found] <jwvbq2eton6.fsf-monnier+emacsbugreports@gnu.org>
2008-06-06 18:37 ` jidanni
     [not found] <mailman.12639.1212534433.18990.bug-gnu-emacs@gnu.org>
2008-06-05  1:18 ` John Paul Wallington
2008-06-05 17:58   ` jidanni
2008-06-05 18:55     ` Stefan Monnier
2008-06-05 19:11   ` John Paul Wallington
2008-06-05 21:15     ` John Paul Wallington
2008-06-03 22:53 jidanni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jwvbq2eton6.fsf-monnier+emacsbugreports__38385.4614956819$1212777010$gmane$org@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=355@emacsbugs.donarmstrong.com \
    --cc=emacs-devel@gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=jpw@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).