Subject: bug#5364: 23.1.91; execute-extended-command should do like FFAP

From: Juri Linkov <[email-masked]>
Date: Wed, 13 Jan 2010 02:32:16 +0200

> Put the cursor on emacs-version and hit C-h v. One sees:
> Describe variable (default emacs-version):
> Now put the cursor upon (list-load-path-shadows) and hit C-h f. One sees:
> Describe function (default list-load-path-shadows):
> Now put the cursor upon (list-load-path-shadows) and hit M-x. One sees just:
> M-x
>
> One should see
> Execute function (default list-load-path-shadows):
>
> Currently one can hit TAB to get all the completions, so why not prompt
> with the most likely?

I think we should close bug#5364 (bug#355) and bug#5214 with one change:

1. Remove a long list of default values from `M-x M-n M-n'.

2. Provide only one default value for M-x when a string under point
is a command name.

-- 
Juri Linkov
http://www.jurta.org/emacs/