From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64401: 28.1; Desktop restoration Date: Sat, 01 Jul 2023 21:54:44 +0300 Message-ID: <83ilb3pimj.fsf@gnu.org> References: <83lefzpj56.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33942"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64401@debbugs.gnu.org To: Tom Hunt , Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 20:55:19 2023 Return-path: Envelope-to: geb-bug-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 1qFfkc-0008af-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 20:55:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFfkN-0006f1-Tp; Sat, 01 Jul 2023 14:55:04 -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 1qFfkM-0006eo-5c for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 14:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFfkL-0006RY-P3 for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 14:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFfkL-0002Sv-JN for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 14:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 18:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64401 X-GNU-PR-Package: emacs Original-Received: via spool by 64401-submit@debbugs.gnu.org id=B64401.16882376619424 (code B ref 64401); Sat, 01 Jul 2023 18:55:01 +0000 Original-Received: (at 64401) by debbugs.gnu.org; 1 Jul 2023 18:54:21 +0000 Original-Received: from localhost ([127.0.0.1]:58702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFfjh-0002Rw-Hj for submit@debbugs.gnu.org; Sat, 01 Jul 2023 14:54:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFfjf-0002Rh-C2 for 64401@debbugs.gnu.org; Sat, 01 Jul 2023 14:54:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFfjY-0006LK-NH; Sat, 01 Jul 2023 14:54:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EOvzMCM7K8Ks4bQFgMY5d9FLglumrOeGXxv49/ZdXEs=; b=QVHnJCHCO5+Y XBRhf2eXHsRunYKViIM+PApCbF65yU7HNG7FD3hzqLBhFs9v6cj7Cb4YMQ/t9CYZAppqhnOffVAwz +IUvSdKU08YThO4UEik9pDhwUdgaiBJ5gxc73w6DwQ9bNNAj9JBd7xhWE+bOWvdVFT9OSmNIrXhY5 zeejyvBBHpuC6BbOBxhJh9EotMiXsOZzFiHIUOLuSjJkKqIT9iBW+2a9meINbYd50Ikyw1HZcc+Hz 2geccMeixOnrBEbFR82zfs/M4qNTfwYN26Kz6ZZVXrhuz71nEptqZR+qvJUltAkmoUdDCpzOLc6AS c9JPq/FXPYo9+FNLHrmoUw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFfjY-0005JS-6f; Sat, 01 Jul 2023 14:54:12 -0400 In-Reply-To: (message from Tom Hunt on Sat, 01 Jul 2023 18:46:54 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264421 Archived-At: > Date: Sat, 01 Jul 2023 18:46:54 +0000 > From: Tom Hunt > Cc: 64401@debbugs.gnu.org > > > desktop.el already tries to do that, see desktop-files-not-to-save. > > Any idea why it doesn't work in your case? > > I've set desktop-files-not-to-save to nil. This is because I explicitly want remote files saved, most of the time. (Much of my emacs workflow involves remote files; if they aren't saved then desktop saving is substantially less useful.) > > The problem isn't at save time, it's at restore time. The issue is that, if a saved remote file isn't reachable, it hangs the whole restore. Ideally, an unreachable saved file would just be skipped over (at restore time) and the rest of the session restored. I don't understand how this could be done, given that discovery of inaccessible files is done by trying to access them. If you can think about design of this, maybe we could implement such a feature. Michael, does Tramp have optional behavior which would abandon attempt to visit a file if it takes more than some predefined time?