From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 24 03:15:24 2022 Received: (at submit) by debbugs.gnu.org; 24 Mar 2022 07:15:24 +0000 Received: from localhost ([127.0.0.1]:46684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXHgq-0004DE-IS for submit@debbugs.gnu.org; Thu, 24 Mar 2022 03:15:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:59374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXHgo-0004D3-F2 for submit@debbugs.gnu.org; Thu, 24 Mar 2022 03:15:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXHgn-0003Uu-5h for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 03:15:21 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXHgl-0004Fm-1g for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 03:15:20 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A97F23200953 for ; Thu, 24 Mar 2022 03:15:15 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 24 Mar 2022 03:15:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm3; bh=J kuG5qnN3SJ0MlnYjYapEoAeIU/A6xkTY9CLT0bJAiE=; b=Ve6j6Sj3kdLoial/8 kziNIgUapUbGMds42DrfGRnZW1sY/FPLEfdLJa9wl7nZwU3TuRTx1+CrEPFHsEg0 cDfLHF/q41RnD2q7K06chm25xaJ8khbi1cKZBUc6PwvmkMxoC4wO4iCrqGf+Goff Y510CbeL2eunOyPDwpeNyJIRuuvMR4TFiHKZ1TqWCnAa8FgAJUo34uPKaSpc6zNV BUSbyS4lpwJRIxm27sLqbup68beDBIbtOjfV4h5kL9BK9EOSkVwj9A5/b5yVmv+d FTvWyM97UbpcV1yTRXyMde7kNjrsY5zFJtfixUmUrkqO+NB0TH24e1ZugYexDCv2 djCVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=JkuG5qnN3SJ0MlnYjYapEoAeIU/A6xkTY9CLT0bJA iE=; b=Pu+Kpjnmps9d56yrLrPbAefe1gUXUZmE+TLCbmP/UxBBnVw+RV5hTP4sL nrl7a1WL33Ktwjv6UgpBZBdXxxVjo5cSHIOLa+Y4dYlfjsNzXjOuiRZAOqASxwr/ PHUguZGtEDDi+GBh9ypIDc8AQnFZB+mOkNAUxI7uS2PXV6ccpWr0NhvatMuWn0Ve x1YYxkrwDCyHseiXuY/N9DteIMnF07/ZgPNhjH0VX3JFZ7oyiLxEKpXZ2EW9PvKX +KenNfnFKQMPCrvKLa9iR6kl0v+sw2Tq4GQBZWt75UAm7t5Y2TvSJt/1MiZbzInD m0lNGnlNOVGLABuxzIOH4ULSTi5cg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudegkedguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhepffhimhgrucfmohhgrghnuceoughimhgrsehsvggtrhgvthhsrghu tggvrdhnvghtqeenucggtffrrghtthgvrhhnpeffvdffudfhkeffhfeifefhffdvtdfgfe ejveeuvdefudejjeduveeftdeggeeuvdenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpeguihhmrgesshgvtghrvghtshgruhgtvgdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 24 Mar 2022 03:15:14 -0400 (EDT) From: Dima Kogan To: bug-gnu-emacs@gnu.org Subject: 29.0.50; dired can't visit a local directory if another buffer visits an unreachable remote (TRAMP) directory Date: Thu, 24 Mar 2022 00:15:10 -0700 Message-ID: <87r16rstxd.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.19; envelope-from=dima@secretsauce.net; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) Hi. This sounds convoluted, but it's a real-life bug I hit repeatedly. Recipe: 1. emacs -Q 2. C-x C-f /ssh:host:directory Visit some remote directory via TRAMP. This opens a dired buffer 3. Unplug the network cable. Or walk away from wifi. Or turn off the remote host. Optionally, do other stuff with emacs. The bug is hit if the buffer in step 2 is open somewhere; doesn't have to be visible 4. C-x C-f /some/local/directory One would expect step 4 to work just fine because it's a local directory, so no TRAMP business should affect it, but it does. Step 4 will try to connect to the host in step 2. But that host is gone, so it'll fail, and step 4 will fail too. The problem is here: (defun dired-find-buffer-nocreate (dirname &optional mode) .... (let (found (blist dired-buffers)) ... (while blist ... (with-current-buffer (cdr (car blist)) .... (expand-file-name (if (consp dired-directory) (car dired-directory) dired-directory)))) Here dired is trying to figure out if we're already visiting the requested directory. In doing so, it loops through all extant dired buffers, and runs (expand-file-name) on each one. Running (expand-file-name) on a remote directory will try to contact the host. I'm not attaching a patch because I'm not 100% sure what's appropriate. I guess we want to replace (expand-file-name dired-directory) with something like this pseudo-code (concat (tramp-host dired-directory) (expand-file-name (tramp-filename dired-directory))) Except, thinking about edge cases: making sure this works with/without TRAMP, making sure relative directories work right, etc, etc. Do we already have a function that does this? Thanks! From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 12:23:58 2022 Received: (at 54542) by debbugs.gnu.org; 25 Mar 2022 16:23:58 +0000 Received: from localhost ([127.0.0.1]:52286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXmjF-0006m8-NK for submit@debbugs.gnu.org; Fri, 25 Mar 2022 12:23:58 -0400 Received: from mout.gmx.net ([212.227.17.20]:33515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXmjD-0006lu-Iy for 54542@debbugs.gnu.org; Fri, 25 Mar 2022 12:23:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648225427; bh=Ci7YHCFfQuAgIUSuLXxLDU+L/g9HIk8Q6Xt5ygARVa4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=aHKMp/lJOwLH5AVj60GJx3RHUWmNWsnbqfGdeqAU2fcEhLFsA9c0B842qsOeXeJOI C+q4f0cwBNz7ii/8aIelyn8M/HSiX1O/pxZmteC8zJphCwDLs1TKo0Eh5NqALUOwhP ruRKZToLDxIy4bYqdxMZuxF0nIyIQHjX4fq+fedA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([79.140.118.40]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MSKy8-1neH063R4S-00SbHk; Fri, 25 Mar 2022 17:23:46 +0100 From: Michael Albinus To: Dima Kogan Subject: Re: bug#54542: 29.0.50; dired can't visit a local directory if another buffer visits an unreachable remote (TRAMP) directory References: <87r16rstxd.fsf@secretsauce.net> Date: Fri, 25 Mar 2022 17:23:45 +0100 In-Reply-To: <87r16rstxd.fsf@secretsauce.net> (Dima Kogan's message of "Thu, 24 Mar 2022 00:15:10 -0700") Message-ID: <875yo2huge.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: V03:K1:T95BYNo3XRa8SVYbkcrb8j7BDvw/MyDTCr4Jl7Vfi6jjh3ZjllL 5Z6DNCPGPYNFqDQflgIk2IPIp8qyq2zFFiUrm4YR7GFPqXRRaVMVomxqMebCl2erBsrrVs1 ikSSyUdmfL6Z5YQBvRnnYH9LZLdcZotV9dpiIJ+Lp4IOZaYsKnWh43D+9Vriv1oXPRa2Y/G JYArbnejvTd1YJhfypv5Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:VeJweMqPEBw=:7VjFVbMYUp3bb20efS1I02 GnuDF4ht5CJrJiarDPXc6Fyx4DQr+deEQK77VmFNBq2pK+jEv1sKeZvs97dS4iHMYi2jIKpIZ k6t70ZNKfzY8OWE38bb7k7J+4px+5FfpodqMYJ8qUcFqwRD6l293/x6iRYdEJajMJ23g3rM9f lYzduTLX6KI876wK2a51PpMhpJRXpYW/ftRFweH2WvoDHCTUqjb1yr19YYgg6iPM6WzXD5pT3 6WuF/bdWFapuvGCMQZjPQMfJHrgjsvi5gHm+vtGbJKmVY+f6fWZP+B5ODfeSoOEssvMkRm+AH 5+vzkcHKVrpmM6PGueUnOm9hRcKlmaryJ4hK9Bp4Boad9kqfh6qZCpME9unGMmtSv0bdHNhLv 4rwu3KB7H2BLd2PdOMeAO7u7NsPrVJ4ZTd2Y1WHmad6KuO+0g2HU1+FwiBv+P5MobHEfhTord 4ZJilaX76XrPFZf5oQUaDLtO27l+qM6h6kQu92h4xiEiiFwI2nXXJ7FUu10rVUQ3QKeJcxZ+m SgLtcpDfx8ckSjvFFumZcynM1Se52INlJNMZFXVVzyYuDSRcFLYMJZkCfYodfUsqRp4dMbk6k JowPkihYpcTOireK4o8WEzWWYRE4Qv/PmuucZdL95Hfh0LWXnrE9wV32uF/rIrTwD1WBX5KEZ QN8udooVNcQibXhmmyoQ5tfee0uLbY3YwTKpeCKyKdMURw2fUqVjE4UXJdGogcF9EeE9vzW9q B+S/JKvGD9IeKZDkiIgpa0qkCoEqqivv0Yl9y0dJKTaeYqlU0R84HvRB0X2ADBznbiY+/Zkad tlq9h8p6TPtPlQOljsxDs+Rgq8VSQM6oc6yRc8PgSMOAAv0c07XRhgfgRrdAdEa7LBzA5Uei1 91fKK2DBvTIQAQ0c3Gmz92pz8A+Omh20Nt2Wrp8au2dVGqAgKGNyNZ6BCfoWPcdnsGxlsyzPU 7YUXjkFsnS/D8VcxX3WcK8p5VUU2P3If+cHAsRVj2oj3L/2nHWWmia0SlyZcENvsad9chCHWh asm1gOZPDApFjKUGrrOF51BG1RTCRrvlQSsy9DR+kxytRkCYnjTmVtokjtEWwov4lSsy2CHo0 yReAGDpzA4B+sI= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54542 Cc: 54542@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Dima Kogan writes: Hi Dima, > 1. emacs -Q > > 2. C-x C-f /ssh:host:directory > > Visit some remote directory via TRAMP. This opens a dired buffer > > 3. Unplug the network cable. Or walk away from wifi. Or turn off the > remote host. Optionally, do other stuff with emacs. The bug is hit if > the buffer in step 2 is open somewhere; doesn't have to be visible > > 4. C-x C-f /some/local/directory > > One would expect step 4 to work just fine because it's a local > directory, so no TRAMP business should affect it, but it does. Step 4 > will try to connect to the host in step 2. But that host is gone, so > it'll fail, and step 4 will fail too. > > The problem is here: > > (defun dired-find-buffer-nocreate (dirname &optional mode) > .... > (let (found (blist dired-buffers)) > ... > (while blist > ... > (with-current-buffer (cdr (car blist)) > .... > (expand-file-name > (if (consp dired-directory) > (car dired-directory) > dired-directory)))) > > Here dired is trying to figure out if we're already visiting the > requested directory. In doing so, it loops through all extant dired > buffers, and runs (expand-file-name) on each one. Running > (expand-file-name) on a remote directory will try to contact the host. > > I'm not attaching a patch because I'm not 100% sure what's appropriate. > I guess we want to replace > > (expand-file-name dired-directory) > > with something like this pseudo-code > > (concat (tramp-host dired-directory) > (expand-file-name (tramp-filename dired-directory))) > > Except, thinking about edge cases: making sure this works with/without > TRAMP, making sure relative directories work right, etc, etc. > > Do we already have a function that does this? We have already variable non-essential, which shall help for non-existing / broken connections. While I could reproduce your initial recipe locally, the attached patch cures it for me. Could you, please, test? > Thanks! Best regards, Michael. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable diff --git a/lisp/dired.el b/lisp/dired.el index 3790197f66..a97604c4a0 100644 =2D-- a/lisp/dired.el +++ b/lisp/dired.el @@ -1272,6 +1272,7 @@ dired-find-buffer-nocreate ;; This differs from dired-buffers-for-dir in that it does not consider ;; subdirs of default-directory and searches for the first match only. ;; Also, the major mode must be MODE. + (let ((non-essential t)) (if (and (featurep 'dired-x) dired-find-subdir ;; Don't try to find a wildcard as a subdirectory. @@ -1304,7 +1305,7 @@ dired-find-buffer-nocreate (setq found (cdr (car blist)) blist nil) (setq blist (cdr blist)))))) - found))) + found)))) =0C ;;; Read in a new dired buffer diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index fd18b3f05c..805be8270a 100644 =2D-- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -4957,6 +4957,7 @@ tramp-maybe-open-connection ;; If Tramp opens the same connection within a short time frame, ;; there is a problem. We shall signal this. (unless (or (process-live-p p) + (and (processp p) (not non-essential)) (not (tramp-file-name-equal-p vec (car tramp-current-connection))) (time-less-p --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 19:16:34 2022 Received: (at 54542) by debbugs.gnu.org; 25 Mar 2022 23:16:34 +0000 Received: from localhost ([127.0.0.1]:52745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXtAY-0006gt-13 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 19:16:34 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:40355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXtAW-0006gd-17 for 54542@debbugs.gnu.org; Fri, 25 Mar 2022 19:16:32 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DE57232007F9; Fri, 25 Mar 2022 19:16:25 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 25 Mar 2022 19:16:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secretsauce.net; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; bh=BxT4YjbxlByhmY1FFFfbqzyu3FMqin ucvVQ656k6VwQ=; b=P/5x2ZSiIUG9eJi3lMXHBIZMuYLXUKKm76zihJn251Ymkh 1K0wLcP9mWDr2kZgVVq4jEUUAHRZ/mHN2jCl2LHvpYCek51J91oaEqFxyH/RrsIB cn86PlkpDKveZ6utu2299zSw8D1On5bkpdlAf+r+TRK5touxfQgn+cSQVPtJ1nTE b85vliAdG5uoGIQzsPlITy6pxgIuO9Uw0MqckZXMoi4OjvA5wdIo6V341UqUUaxI v1GR5P//OozisTdmlwOavwTPHeYX8DCf+GpcvyYGaUR+fA1yU9Ikw+3mRPTySuNz 7arJa/KMYPpKjvHzDckvcbYAXfPxfiUwOFbK4vKQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BxT4YjbxlByhmY1FF Ffbqzyu3FMqinucvVQ656k6VwQ=; b=l+Tx29lNFg3WERj7cImqL+XCnjMWXJcUM 2SACshIm56m1NOl4223cxpM34Wdj6PVc9YUUDztwVJO06i4TaCm6Cz608VKhbuIB tN7VjatdYD95SKSKqs/V3KJnXioDqeYko5fGEcOKhPttDp6DR+jTyJfixaW+s5w9 gzD+t2HgYHZ6nGiCO++k2ihD0pOZSJaoejzncSOn1vfIxxSzPeae9olMsuLvQXzl XzKNmPmhplxjjYHh/Ixan534301jCC8ubAs/flkXApmACZaiLbNlIJOXyGJR35RT fEavsVcX6dIQSrJJv5iw/O2agB7DsiDhXD32D+nk0ZcqSa2qhCbUQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehvddgtdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpeffihhmrgcu mfhoghgrnhcuoeguihhmrgesshgvtghrvghtshgruhgtvgdrnhgvtheqnecuggftrfgrth htvghrnhepvefgueeuueeuvedvgfeftefggedvveevkeffveevteelgedugfeggeekjeeu jeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug himhgrsehsvggtrhgvthhsrghutggvrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 25 Mar 2022 19:16:24 -0400 (EDT) References: <87r16rstxd.fsf@secretsauce.net> <875yo2huge.fsf@gmx.de> User-agent: mu4e 1.6.10; emacs 29.0.50 From: Dima Kogan To: Michael Albinus Subject: Re: bug#54542: 29.0.50; dired can't visit a local directory if another buffer visits an unreachable remote (TRAMP) directory Date: Fri, 25 Mar 2022 16:15:34 -0700 In-reply-to: <875yo2huge.fsf@gmx.de> Message-ID: <87lewxr5bu.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54542 Cc: 54542@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Michael Albinus writes: > We have already variable non-essential, which shall help for > non-existing / broken connections. While I could reproduce your > initial recipe locally, the attached patch cures it for me. Could you, > please, test? Hi Michael. Your patch fixes the issue. Thanks for looking into this! From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 26 06:58:12 2022 Received: (at 54542-done) by debbugs.gnu.org; 26 Mar 2022 10:58:12 +0000 Received: from localhost ([127.0.0.1]:53125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY47Y-0007v4-MR for submit@debbugs.gnu.org; Sat, 26 Mar 2022 06:58:12 -0400 Received: from mout.gmx.net ([212.227.15.18]:47177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY47V-0007uk-Qm for 54542-done@debbugs.gnu.org; Sat, 26 Mar 2022 06:58:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648292281; bh=3M55+DZlyqrQtLp/sHEZDuSI0LMXI0/kIC+4mAwehQo=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=ICkL0POhLlPz16PlSShTNmDkztmm84fr1BtLQ/JmWLd50m+MoM3rAFSUyzv9zhKZy zH35RmLGPD9yDHY90kb+pa/D8OLeX0f5ITNMwRRxqH0cqkM67DAUZEymWs+HH09UIB gGfIkWbIov6Rd1g8BBZNA3rA+dW16pDZ1LNLwhik= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([213.220.151.166]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MEFzr-1nOPT33stJ-00AC0s; Sat, 26 Mar 2022 11:58:01 +0100 From: Michael Albinus To: Dima Kogan Subject: Re: bug#54542: 29.0.50; dired can't visit a local directory if another buffer visits an unreachable remote (TRAMP) directory References: <87r16rstxd.fsf@secretsauce.net> <875yo2huge.fsf@gmx.de> <87lewxr5bu.fsf@secretsauce.net> Date: Sat, 26 Mar 2022 11:57:59 +0100 In-Reply-To: <87lewxr5bu.fsf@secretsauce.net> (Dima Kogan's message of "Fri, 25 Mar 2022 16:15:34 -0700") Message-ID: <87sfr5gevc.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:8DcBsGbysv4PmjHpdrEPI7rKGau2H76LNliDoT495ZyIZFhTs9N CYz9fXxxPazcL6Y0tSzeHXLc1jyyRNjKTJ7V6VcYRIzIk84vEQRr0BSlALqFsgM8rIHd79+ q+CNlaZ+Rghj9wM9Zkjds2ZGU3b/CDphSsW7mozfpoy7kp7MNuqPjfqHVkwGV/49Klhv0RZ QnOYcyZdcSqonINVv5pXg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nXAaUTUwcck=:Ih+l6zrDy/zZMvnVqeGBkA jknjhAuzdMiNDCqqThbdx24LidoTKsgavx6KrfW6t03ainFxVh452oUrMPmdpMfSZtsruURpr X3DM5evtbb5x9swHPbwR93TENBjQ8bGElsiT57J3WkygeOt+fsTevzFoxXwFe2bMx2KeWCbEk YAIgS2TI5GKO0UQdo2PE1thtgfU+sYy+zFHCq4r+ufYmDZqrcbRVAOA2713xzsSZrO5gXYhq/ KLAY5t7RGZj/zwtTVXhr55J36hGRDMLnGfg4ckpYvY+KEirNp47jl3omKwBd/7a+YsolRtSN9 J4DxrpheflcaFKgHirABgvfWynIVojr0jlkDby7b40NotKHNaoZAIsEqCdNTGhvLiXcghU3t/ YcFTse5PlrDjIvtnMMPn0x8ju7TFyHmuHItlgy56Yc4uCJfLYgVDj0QhKweBRDTrDAYdxHzEa iT+slLpa/oNbMh/iZbZ7+c/bMWUVsnWRB1E5GINY3mdASDp1dcZKvTsBUZQq02Lv6vf2swlzr Cu3FqWVKa9BWpWQvaPtI8f+j9gaQgAUy5dUoeA1n3nKM6N8u24uTeNnzqYRE60j/rYSL/nbXW 8OBMxHw2NftusFC7Yr5mZ1g4V/E/uXAmF0ND7cezsr10pXu6b3I8TCue2WKtxrlctZc4g7CDu aXYSJwvaWBLlabAJ7zaZyRAvYSCwx3IH0snVlGdOIYNd9YjvTSzZ61nLVdybK3ms6kukFBdKm PX5jU2T9v+YWRHymN+siRm1KHL4QNMYCWK6SBMMnlMjGkb0IPQXjOrNfEbkJb7fT83g8AIFcL y591+RPdQyZAgElhlJ+6wuVJDcRBT9CwhLzxndzvV+rKaEN0k9iNDC//R1ip712VPzXagwR11 +bZx+k9kHT3BMNiXVnpYPrfszqpC2LozMLJxWlMORqn73GBvBQkh9qVy2ochGdwDZCG+BO7lz MaevJg6zIkl1CofGDUOcUgfdmgxdET7ZaZrHDPDKHS/i/b3lEIjank2UlgcLRRgbCh0Z7BIzk 7ryqL18FgaImAY7t0b7gModzIzDVP3pMpB2NjDqAo4lloD6+ZeCZD1HYTl5xnEgWdBIglOdLT rAInwmPaFkAA6g= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 54542-done Cc: 54542-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Version: 29.1 Dima Kogan writes: Hi Dima, >> We have already variable non-essential, which shall help for >> non-existing / broken connections. While I could reproduce your >> initial recipe locally, the attached patch cures it for me. Could you, >> please, test? > > Hi Michael. Your patch fixes the issue. Thanks for looking into this! Thanks for the feedback. I've committed this to Emacs master, closing the bug. Best regards, Michael. From unknown Thu Jun 19 16:24:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Apr 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator