[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112148: Added eshell-tramp modul
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112148: Added eshell-tramp module
Fri, 29 Mar 2013 13:09:28 +1300
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")
>> 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
> That's not my experience.
> 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
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r112148: Added eshell-tramp module, Stefan Monnier, 2013/03/28
- Re: /srv/bzr/emacs/trunk r112148: Added eshell-tramp module, (continued)