unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* minibuffer completion for 'C-M :'
@ 2007-04-29  5:43 Sebastian P. Luque
  2007-04-29  5:55 ` David Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian P. Luque @ 2007-04-29  5:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I frequently find myself doing 'C-M :' for some quick elisp calls, and
find it tedious to type expressions.  Is there some way to allow
completion when writing a sexp in the minibuffer?  I'd like this to work
similar to the way 'M-x' helps you complete some command.  Thanks.


Cheers,

-- 
Seb

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

* Re: minibuffer completion for 'C-M :'
  2007-04-29  5:43 minibuffer completion for 'C-M :' Sebastian P. Luque
@ 2007-04-29  5:55 ` David Hansen
  2007-04-29 14:28   ` Sebastian P. Luque
  0 siblings, 1 reply; 3+ messages in thread
From: David Hansen @ 2007-04-29  5:55 UTC (permalink / raw)
  To: help-gnu-emacs

On Sun, 29 Apr 2007 00:43:55 -0500 Sebastian P. Luque wrote:

> I frequently find myself doing 'C-M :' for some quick elisp calls, and
> find it tedious to type expressions.  Is there some way to allow
> completion when writing a sexp in the minibuffer?  I'd like this to work
> similar to the way 'M-x' helps you complete some command.  Thanks.

M-TAB or

(define-key read-expression-map (kbd "TAB") #'lisp-complete-symbol)

David

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

* Re: minibuffer completion for 'C-M :'
  2007-04-29  5:55 ` David Hansen
@ 2007-04-29 14:28   ` Sebastian P. Luque
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian P. Luque @ 2007-04-29 14:28 UTC (permalink / raw)
  To: help-gnu-emacs

On Sun, 29 Apr 2007 07:55:01 +0200,
David Hansen <david.hansen@gmx.net> wrote:

[...]

> M-TAB or

> (define-key read-expression-map (kbd "TAB") #'lisp-complete-symbol)

Thank you David, this works great.


-- 
Seb

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

end of thread, other threads:[~2007-04-29 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-29  5:43 minibuffer completion for 'C-M :' Sebastian P. Luque
2007-04-29  5:55 ` David Hansen
2007-04-29 14:28   ` Sebastian P. Luque

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