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: Sun, 23 Apr 2023 16:33:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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

>>> Recipe:
>>>         - C-x d /-:remotehost:
>>>         - M-x man man
>>>         - M-x tramp-cleanup-all-buffers
>>>
>>> Is the *Man man* buffer closed?
>>
>> Aha, `dired'! \o/
>>
>> That's it then, I did `find-file' with tramp.
>>
>> No, you are right, if you do it with dired it happens as
>> you say and the reason is (again as you say) the
>> `default-directory' inheritance.
>
> Strange. I tried with find-file on a remote file and the
> *Man man* is closed too. I think there is
> `default-directory' inheritance here also.

Yes, maybe I switched buffer in the excitement ...

So the man page browser gets the affected directory, but still
shows man pages from the local system. So either it should
show man pages from the remote system or it should reset its
`default-directory' when fetching a local?

I still think using `tramp-cleanup-all-buffers' manually all
the time indicates some other problem ...

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




reply via email to

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