[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: partial-completion-mode and M-TAB
From: |
David Hansen |
Subject: |
Re: partial-completion-mode and M-TAB |
Date: |
Wed, 07 Mar 2007 03:10:47 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
On Tue, 06 Mar 2007 17:36:42 -0500 Richard Stallman wrote:
> M-x partial-completion-mode
>
> open some c file:
>
> M-TAB runs the command PC-lisp-complete-symbol
>
> The problem is the fact that partial-completion-mode rebinds this
> command. The clean way to do it would be by setting hooks. However,
> I guess there is no suitable hook in lisp-complete-symbol that can
> call a different general completion mechanism.
>
> As a stopgap, partial-completion-mode could rebind the command
> lisp-complete-symbol to PC-lisp-complete-symbol.
Should it touch the M-TAB binding then at all? The only case where
it makes sense is emacs-lisp-mode and there it's not working.
Maybe it's sufficient to just add a note to the docstring how you
can rebind M-TAB yourself in emacs-lisp-mode-hook.
David