emacs-devel
[Top][All Lists]
Advanced

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

Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh)


From: Michael Albinus
Subject: Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh)
Date: Fri, 07 May 2021 19:39:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jason Kim <jason.w.kim@icloud.com> writes:

Hi Jason,

>> michael.albinus@gmx.de writes
>>- Several different shells could be used in an Emacs session, depending
>>  where you run the shell, locally or on a remote host. So it might be
>>  problematic to have just one fixed global value.
>
> I'm confused...?
> Would making the variable buffer-local in a user's .emacs address this?

No. I'm rather thinking about connection-local values.

> dir tracking (for things like auto completion) never worked for me if
> I ssh into a different host from emacs-shell.
> (maybe because pattern globbing rules are more complex (optionally) in zsh?)
> What am I missing here?

I'm speaking about Tramp. That is, if your current buffer has a remote
default-directory, and you start "M-x shell".

> Can we skip this issue for now? (or does making the var buffer-local
> get around it?)

Sure.

> Thank!!!
> -jason

Best regards, Michael.



reply via email to

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