From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: Non file buffers and default-directory Date: Wed, 19 Apr 2023 14:32:53 +0200 Message-ID: <87cz40dpca.fsf@ledu-giraud.fr> References: <87edohf3ip.fsf@ledu-giraud.fr> <87zg745p85.fsf@gmx.de> <87y1moe1aa.fsf@ledu-giraud.fr> <87v8hs6tbs.fsf@dataswamp.org> Reply-To: Manuel Giraud Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10052"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 19 14:33:36 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pp70C-0002RC-9M for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Apr 2023 14:33:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pp6zc-0007bM-BV; Wed, 19 Apr 2023 08:33:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp6za-0007ZN-1h for help-gnu-emacs@gnu.org; Wed, 19 Apr 2023 08:32:58 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pp6zY-00014q-5f for help-gnu-emacs@gnu.org; Wed, 19 Apr 2023 08:32:57 -0400 DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=t18229TB rgdywk8W/WF5UEOsH2AuXo1biQB5xSKvwBE=; h=date:references:in-reply-to: subject:to:from; d=ledu-giraud.fr; b=T4Cea4o+H0GdqQa6qlu/j8/HQwUeEq59B lNjBuVBWRMWIv+1bIVcPkI7lBwa1Wgy75PP7b1yskjRBpDVVMMaBQ== DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=t18229TBrgdywk8W /WF5UEOsH2AuXo1biQB5xSKvwBE=; h=date:references:in-reply-to:subject: to:from; d=ledu-giraud.fr; b=xONQlcsLKPzppFubpkpLWjh378a6JT7/ZSt5/tELi JtNbAeSIpGxLnGDuBxMkb/apuZkG0j8JAcPjK7oB2AuCzAdVH2JF+wCmeXlHdomLwU6bmk UthZuRkTnzAP8B1iycFWoDN/KTZpiXx5L3eJv6f4NT/2fBv2185pEjJ3QzWR1Szw84lykG rBiB9yHfXBUefXboEo2hE9wrg3y4q3y9I27txzwhEyC1ESwJnS4Tz0bPXbS7q0lXh9aQHF lhmmJGK1YcOeoxPTJJQd3EInX8eC8x4gqj8jLw2/ZoFUXwz2oPwHOy/QVt8YvGoSudnEZG 8KWc3MQiGXrpdJFDKnNcA== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 4951f754 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Wed, 19 Apr 2023 14:32:54 +0200 (CEST) In-Reply-To: <87v8hs6tbs.fsf@dataswamp.org> (Emanuel Berg's message of "Wed, 19 Apr 2023 12:48:39 +0200") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143308 Archived-At: Emanuel Berg writes: [...] > 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. I did the same test and you're right `tramp-cleanup-all-connections' does nothing to the buffers but `tramp-cleanup-all-buffers' kill the remote dired (expected) *and* the man buffer. So it does not work the same as you: I'm going to try with emacs -Q. As for why I'm using `tramp-cleanup-all-buffers': when I'm on another network I know I cannot contact some host, TRAMP will sometimes hang Emacs trying to connect anyway. -- Manuel Giraud