[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Usability suggestion : completion for M-:
From: |
Juri Linkov |
Subject: |
Re: Usability suggestion : completion for M-: |
Date: |
Sun, 23 Mar 2008 04:30:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
>> I think the only problem preventing this change is one completion message
>> that overwrites the minibuffer when TAB doesn't find a completion.
>> I propose the patch below similar to the patch I proposed for the
>> shell command minibuffer completion.
>>
>> When this is fixed, it makes sense to allow TAB to complete a lisp
>> symbol part of the eval-expression minibuffer in the same way as TAB
>> will allow completion of command name and file name parts of the
>> shell-command minibuffer.
>
> The discussion seems to have been badly sidetracked.
>
> The patch looks good. Please install it.
The first part of the patch is installed now. But I still see
no unanimous consensus on what command to bind to TAB in
read-expression-map. Currently it inserts just a tab character,
and this is useless in the minibuffer.
I think we could add a new command `lisp-indent-or-complete'
that will complete a Lisp symbol if the character preceding point
is symbol-constituent, or indent line or region otherwise.
And bind TAB in read-expression-map to this command.
Note that I don't propose to bind TAB in emacs-lisp-mode to this
command by default. So no changes in emacs-lisp-mode (though it will
be available to easily rebind TAB in .emacs to everyone who likes this
behavior).
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Usability suggestion : completion for M-:, (continued)
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/18
- Re: Usability suggestion : completion for M-:, Richard Stallman, 2008/03/18
- Re: Usability suggestion : completion for M-:, Stefan Monnier, 2008/03/19
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/19
- Re: Usability suggestion : completion for M-:, Andreas Schwab, 2008/03/19
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/16
- Re: Usability suggestion : completion for M-:, Lennart Borgman (gmail), 2008/03/16
- RE: Usability suggestion : completion for M-:, Drew Adams, 2008/03/16
- Re: Usability suggestion : completion for M-:, Bastien Guerry, 2008/03/16
- Re: Usability suggestion : completion for M-:, Chong Yidong, 2008/03/22
- Re: Usability suggestion : completion for M-:,
Juri Linkov <=
- RE: Usability suggestion : completion for M-:, Drew Adams, 2008/03/23