From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#64401: 28.1; Desktop restoration Date: Sun, 02 Jul 2023 12:36:36 +0200 Message-ID: <87h6qm38i3.fsf@gmx.de> References: <83lefzpj56.fsf@gnu.org> <83ilb3pimj.fsf@gnu.org> <87pm5au366.fsf@gmx.de> <83sfa6ogig.fsf@gnu.org> <87fs66u0ox.fsf@gmx.de> <83pm5aoclr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35437"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: tom@tomhunt.email, 64401@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 02 12:37:15 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 1qFuSB-00091H-NA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Jul 2023 12:37:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFuRz-0006oC-Ke; Sun, 02 Jul 2023 06:37:03 -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 1qFuRy-0006nj-6M for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 06:37: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 1qFuRx-00013b-UW for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 06:37:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFuRx-0004l4-Qf for bug-gnu-emacs@gnu.org; Sun, 02 Jul 2023 06:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Jul 2023 10:37: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.168829420718268 (code B ref 64401); Sun, 02 Jul 2023 10:37:01 +0000 Original-Received: (at 64401) by debbugs.gnu.org; 2 Jul 2023 10:36:47 +0000 Original-Received: from localhost ([127.0.0.1]:59380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFuRi-0004ka-UU for submit@debbugs.gnu.org; Sun, 02 Jul 2023 06:36:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:34885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFuRh-0004kL-1T for 64401@debbugs.gnu.org; Sun, 02 Jul 2023 06:36:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1688294198; x=1688898998; i=michael.albinus@gmx.de; bh=2q5oGYmyfqdHLZMXLo9+DaezyMwN2CuShTSChQpJrwQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=J3fs8vTE4tNgqPd3zDCqCeIqHheJtwfa8D+pu4yfQHPXkrwZvMY5/Xyx30ZJAeeyXwgGJlB enPmtrFnNusEh08A5su+PvrtfQyfU8y+MOMiKN8GTxFCRPbbP8q9BhbiSljr14xE6hPPmjxkk 2yvHtmvuS68P2k+mFDM8rYdG+a8fqdnOELRTPgzcearUM05H3EJ4k2WNgrbMAG2RvTqq+zChb gatEFklu+Do4buUsJjXN4c1UlWhGopi5Qd+ATV69zN0NpxTfoQ8vksjW01T3PQRXqo4jRyoQs X8xAf/niyhxN0IQOe5BD331hJp2GgY54NFl0NIfvQXGIWcYKHbPA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MK3Rm-1qbIgF3QOk-00LUSB; Sun, 02 Jul 2023 12:36:37 +0200 In-Reply-To: <83pm5aoclr.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 02 Jul 2023 13:02:24 +0300") X-Provags-ID: V03:K1:qldlQuGVcuQFrR5ocSNI73c4rpDluDI0wj05H+xnG8HgIuU69if cLQCbcmWAiapr+tm36BpkZn6qf4v29zxVhFcPJksV63dl9Y4o6vmdHMpFeVc9cd2z8SncrE qFWdL2Np3/y8Acv1ZYZ12TyutHxbyDbiuP3aaRcihGE3Y+X/PgdK+nTjUvsDoaz8D2b7gdp rbZHzU2fnYCFVPqmdhOnw== UI-OutboundReport: notjunk:1;M01:P0:YZXNFyR94kc=;SyKIWHjErohgJ/iNkf9LmCPvUyJ EaSEA0RXCpZC/FQspY+fCtJ0qCjFpT9KfnLa8Knf4hYiyTIiwTpyS+K0ydsCRWDNqOCSQ7zq/ dL1hMRUTGBDc9aho9ifzL+unM4nzzO7kry+gRVWn5cXWO7jFM3+FEItSq0q47zumSbhOVo7L2 SENtgsqS1+vw03nwVvvPgITbYoHP/tVK/31fmVyf68/UsaDQ5HSoByH+3aY7KFvJAana0/7S/ kt8YqH68x16nkkptIBX3FHo2GbmPWfK/a0mGEZVU18nJx8iEZGroLv/EELAk8qJcf1hmn6JHP F5+4kxxdEzh/vS4ObMDY1muGvYmfOE7EmIfE85+y4o6IlKr7XNTIAfIDilPQjy4dwRhYIEDx9 TipjV3EFlijMZOwXE1/UKnjUaSTFYmniptAZti2kh1VW6+oosxLDXng9CNoUcrh4ukJrAhCKg 01yWvSAfn2TTogr95zUodQWCeZO+S9cWBEBsMwmymK7aho+uW5MEwSrZtFxI9QFccrRfYIvDU 2KXOyGxDLgGBEMjMQToifdjbEJge/bXeGQC8gEPjPk5WItwYlfatdYA8aJvAhKZcOpFp1S64z kGcbHLX7AED4DDt1aCAksLLeEimpRXGOdSkmvcIXIEiCLOJNLIDKtPPHByvlXNYLXCssvGobu gs/iAgZf/aNuOjRNqZs985vCqaVMZK1Nj1lB5ux32dHTCm2HbSIXwUNhcalPub1wZw2SI/eov yBsd2c79gXckEWfpKWK8KkPG1xS+Iopga86dw5iRzWBqgVMvIQjDhwOSwbGadgOTuZxwdV4a 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:264470 Archived-At: Eli Zaretskii writes: Hi Eli, > Sounds good. Regarding the default value: how long does it take for > access-file to do its job with "normal" connections? Maybe 30 is too > long, and something like 10 will be better? OK, let's start with this. > Also, the implementation should probably "remember" the result and > apply it to all the other files on the same volume? Hmm, this will be harder. `access-file' could fail for different reasons. And Tramp does not know whether two remote files belong to the same volume. Well, there is `file-attribute-device-number', but this is not trustworthy for all different kind of remote file systems. I'll see whether I can implement a cache for different volumes on remote hosts where it makes sense. >> Implementation note: This would be the timeout if the connection is >> already established. If there is no connection yet, Tramp would add that >> initialization time. Establishing a new connection is always limited by >> a reasonable timeout. > > You mean, we already have a timeout for new connections? If so, why > didn't the OP see its effect? Don't know, I would need the traces. Tom, could you please start "emacs --eval '(setq tramp-verbose 10)'" and reproduce the problem? There will be a Tramp debug buffer, which you could show us. > Thanks. Best regards, Michael.