unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* space, M-x
@ 2008-11-09 18:49 Gilaras Drakeson
  2008-11-10  1:39 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Gilaras Drakeson @ 2008-11-09 18:49 UTC (permalink / raw)
  To: emacs-devel

Hi,

[Since it is hard to know whether a feature has already been implemented
in Emacs, I post this suggestion at the risk of being redundant.]

I am a proponent of tab-completion and history, whenever the user enters
a non-trivial command.  In order to improve the `M-x' behaviour, Emacs
can use whitespace as delimeter. For example:

 M-x set-fill-column M-space 80 RET

should translate to (set-fill-column 80).  Since this is a command, not
merely a function, we can also use the arguments to `interactive' as a
way to do completion for the arguments of the command. For example:

 M-x make-directory M-space ~/<TAB>

could complete directory or file names in a pop-up window.

Obviously there are implementation issues. For instance how to handle
`forms' as argument to `interactive', as that is much harder than
handling something like (interactive "f"). But I think this worth
trying. What do you think?

Gilaras





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-11-15 19:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-09 18:49 space, M-x Gilaras Drakeson
2008-11-10  1:39 ` Stefan Monnier
2008-11-10 17:07   ` Gilaras Drakeson
2008-11-10 17:47     ` Jim Blandy
2008-11-14  3:19       ` Stephen J. Turnbull
2008-11-14 18:58         ` Jim Blandy
2008-11-15  8:39           ` Stephen J. Turnbull
2008-11-15 19:30             ` Stefan Monnier
2008-11-10 21:43     ` Stefan Monnier

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).