From: Gilaras Drakeson <gilaras@gmail.com>
To: emacs-devel@gnu.org
Subject: space, M-x
Date: Sun, 09 Nov 2008 13:49:36 -0500 [thread overview]
Message-ID: <86ljvs91kv.fsf@comm.utoronto.ca> (raw)
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
next reply other threads:[~2008-11-09 18:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-09 18:49 Gilaras Drakeson [this message]
2008-11-10 1:39 ` space, M-x 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
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=86ljvs91kv.fsf@comm.utoronto.ca \
--to=gilaras@gmail.com \
--cc=emacs-devel@gnu.org \
/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).