bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5375: 23.1.91; eshell eshell-cmpl-load-hook bug


From: Leo
Subject: bug#5375: 23.1.91; eshell eshell-cmpl-load-hook bug
Date: Fri, 15 Jan 2010 20:12:30 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2010-01-15 16:42 +0000, Chong Yidong wrote:
>> The definition of eshell-cmpl-load-hook includes eshell-cmpl-initialize,
>> which is ignored if user has something like:
>>
>
>>   (add-hook 'eshell-cmpl-load-hook ...) in their .emacs.
>>
>> And without eshell-cmpl-initialize, TAB in eshell inserts the TAB char
>> instead of completing commands, rendering the shell broken.
>>
>> I think this is a bug. If eshell-cmpl-initialize must be called, please
>> move it to the right place. It seems to me it is unsafe putting it in
>> eshell-cmpl-load-hook.
>
> Hmm, I'm afraid I don't know what you're talking about.  Could you try
> to explain the problem more precisely, e.g. with a test case?

1. Emacs -q
2. Eval:
   (add-hook 'eshell-cmpl-load-hook
          (lambda ()
              (add-to-list 'eshell-command-completions-alist ("LaTeX" . 
"\\.TeX\\'"))))
3. M-x eshell
4. Type TAB to see what it does.

Leo






reply via email to

[Prev in Thread] Current Thread [Next in Thread]