emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112148: Added eshell-tramp modul


From: Aidan Gauland
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112148: Added eshell-tramp module
Date: Fri, 29 Mar 2013 13:09:28 +1300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> Oh, no, that won't be a problem, because eshell-tramp-initialize has to
>> be called (for each buffer) to register the functions.
>
>> em-tramp.el line 51:
>
>>   (make-local-variable 'eshell-complex-commands)
>>   (setq eshell-complex-commands
>>         (append '("su" "sudo")
>>                          eshell-complex-commands))
>
>> So if the module is enabled (and loaded, of course), and you disable it
>> and then create a new eshell buffer, running the commands su and sudo
>> will invoke the external commands, not the internal eshell/su and
>> eshell/sudo.
>
> That's not my experience.
> After
>    M-: (defun eshell/cat (&rest args) (debug)) RET
> doing "cat ~/.cvsrc" does not show me ~/.cvsrc but jumps into the
> debugger, even though I have not touched eshell-complex-commands.

That would be because eshell/cat is already registered by em-unix

--Aidan



reply via email to

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