[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.
- Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/05
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Michael Albinus, 2021/05/06
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Eli Zaretskii, 2021/05/06
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/07
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/07
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Eli Zaretskii, 2021/05/15
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/24
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/24
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Michael Albinus, 2021/05/25
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/27
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh),
Michael Albinus <=
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Eli Zaretskii, 2021/05/08
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/08
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Eli Zaretskii, 2021/05/08
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/08
- Re: Small shell-mode patch to handle auto-cd (e.g. shells like zsh), Jason Kim, 2021/05/08