help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Non file buffers and default-directory


From: Emanuel Berg
Subject: Re: Non file buffers and default-directory
Date: Wed, 19 Apr 2023 12:48:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Manuel Giraud via Users list for the GNU Emacs text editor wrote:

>> Perhaps tramp-cleanup-all-connections should close only
>> buffers which have a remote process or a remote
>> buffer-file-name? Since I don't know of unexpected side
>> effects, this behavior could be controlled by
>> a user option?
>
> Yes but then won't TRAMP keep trying to connect to the
> remote server or ask for a password for those buffers that
> don't have a remote process or file? If so, maybe a better
> approach is that those kind of buffers should get
> a "special" default-directory at startup... but there might
> be cases where it is a bad idea. I don't know. That's why
> I asked this question: I find it annoying but people might
> have ways to avoid it.

I just tried to use tramp, in that buffer, which shows a file
on a another, and different system, and then did

  M-x man RET man RET

and the local manpage came up, I then did
`tramp-cleanup-all-connections' and
`tramp-cleanup-all-buffers' and this does not affect the local
man page being displayed.

And why would it ... ha. I don't understand what you guys are
talking about ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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