From: Michael Albinus <michael.albinus@gmx.de>
To: Juri Linkov <juri@jurta.org>
Cc: Stefan Monnier <monnier@IRO.UMontreal.CA>, emacs-devel@gnu.org
Subject: Re: Quotes in Dired listing switches
Date: Tue, 29 Dec 2009 22:04:58 +0100 [thread overview]
Message-ID: <87fx6t8pad.fsf@gmx.de> (raw)
In-Reply-To: <87my11jyx1.fsf@mail.jurta.org> (Juri Linkov's message of "Tue, 29 Dec 2009 22:35:36 +0200")
Juri Linkov <juri@jurta.org> writes:
>> There is an idea to introduce server-local environment variables. Then
>> you could keep different settings for `dired-actual-switches', depending
>> on the host Tramp is accessing.
>
> It seems there are already some server-local variables in
> ~/.emacs.d/tramp. At least, I see two relevant variables:
> "ls" that has the value "/bin/ls" and "ls-dired" with the
> value `t'. Maybe a new variable would help to keep settings
> for `dired-actual-switches'.
Yes, but this are Tramp specific server local variables. The idea is to
behave like buffer-local or frame-local variables do, i.e. introduce a
mechanism to declare an existing global variable as "server local".
> BTW, there is one problem with ~/.emacs.d/tramp.
> After upgrading the kernel, Tramp fails with the message
>
> Tramp: Connection reset, because remote host changed from
> `Linux 2.6.24-23-generic' to `Linux 2.6.24-24-generic'.
>
> because ~/.emacs.d/tramp has the old value of "uname".
That's intended. Tramp expects that all cached values are invalid once
the operating system has changed. Just connect, again; Tramp has flushed
its cache. (There is the request that Tramp reconnects automatically,
but this is not easy to implement. See the todo ...)
Best regars, Michael.
next prev parent reply other threads:[~2009-12-29 21:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-23 9:07 Quotes in Dired listing switches Juri Linkov
2009-12-24 3:18 ` Stefan Monnier
2009-12-26 20:21 ` Michael Albinus
2009-12-28 10:29 ` Juri Linkov
2009-12-28 11:14 ` Michael Albinus
2009-12-28 21:08 ` Juri Linkov
2009-12-29 9:10 ` Michael Albinus
2009-12-29 20:35 ` Juri Linkov
2009-12-29 21:04 ` Michael Albinus [this message]
2009-12-29 17:10 ` Stefan Monnier
2009-12-30 19:46 ` Michael Albinus
2010-01-11 0:43 ` Juri Linkov
2010-01-25 9:29 ` Juri Linkov
2010-01-25 10:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fx6t8pad.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=juri@jurta.org \
--cc=monnier@IRO.UMontreal.CA \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.