From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master b34f9a44393: Apply remote-file-name-access-timeout in desktop.el and recentf.el Date: Tue, 04 Jul 2023 19:28:07 +0200 Message-ID: <87bkgr8u3c.fsf@gmail.com> References: <168847723857.12043.8020935461264507935@vcs2.savannah.gnu.org> <20230704132719.3251EC11DCA@vcs2.savannah.gnu.org> <87jzvf92yw.fsf@gmail.com> <87sfa3n3fg.fsf@gmx.de> <87fs638z0v.fsf@gmail.com> <834jmjljws.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20430"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael.albinus@gmx.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 04 19:29:02 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qGjpl-00059B-56 for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jul 2023 19:29:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGjp1-00038S-Sg; Tue, 04 Jul 2023 13:28:15 -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 1qGjp0-00037n-5O for emacs-devel@gnu.org; Tue, 04 Jul 2023 13:28:14 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGjoy-00056f-Ie; Tue, 04 Jul 2023 13:28:13 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-3fbd33a57dcso38992085e9.0; Tue, 04 Jul 2023 10:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688491689; x=1691083689; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=RxBZ/2V1YK58ONQ2XSGapG9zFJSJYsvhLyGijjyGdjg=; b=mJIe3xWbu344S80bwnkjNRUxkE7mHH+eXrP8m2j2wTVv9OII7sKusX8+IZ7WH8807s gOZiy9iz57Zc2szZEd7WjFksK6Kg0Hwbh7sMjKjv06fxHiWomgQwB68T+/RLmbBYGuoR qKIgkTQ9BGKGnQ/FYZ/dikWZYe/zaHaVckV1x2RmXU4EEC+qXGSxmhSRFiLIaC6p1xRj 3BQkvshQbCBf8k1QLEZHu5sS8S7vFOEgk+9yMNHunoPtT/eBtZGqsIJKKTNm2Ko+Cbji QVcO0kcP97RLgpsF4YXLSugg9vHjcf9Us9HXr0kXD3T04khA6UvXv9+haXVqyoNa/bHS ANvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688491689; x=1691083689; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RxBZ/2V1YK58ONQ2XSGapG9zFJSJYsvhLyGijjyGdjg=; b=Z7YoaSvZPHgo1w7qSAq70zzj9VK5/rWVb6juGSR2ntGtUxZIOPdOlHMNsHNyix0Npa vAgtOOr7VPmAdFBn1zBF4XAgq+hKZXoQyrLGVge3qJCKcw3KHWqkir966edoh6ls+VH7 h5jAptLZa/kuI8upzjdo+LTUkatVXnq8c370wNJeXdPNZjq9znFETozbvSsJKVNs2vdI bgZiPW0d7gQmRD4re4VDbp7jPjHZdqGcaidaXWBtOVt1COpddNRe9JsX8RvyEHX9hOxM BO+/Y/4b2I3nZwWpQPy6nohaoeptGs4dyL1CtfIBE1p/LtpKc/R9vF3CtDsD0yKdOVpx Ofvw== X-Gm-Message-State: ABy/qLYtAcMZdvp+RfSMwukk4bHdN3iRCs5w+4ORZWBchAQlOMBQD4SP m1w+ON9CpP5hW/jX5ImrN5qVZgFzN+k= X-Google-Smtp-Source: APBJJlFWDoeOWPcv+q0kLGW1SeLYl0n3RgniscEWCfmXYj3o++69uP/WRL44GYLssQdITcSwUBCTrA== X-Received: by 2002:a5d:4f11:0:b0:313:df08:7b7e with SMTP id c17-20020a5d4f11000000b00313df087b7emr12359081wru.14.1688491689081; Tue, 04 Jul 2023 10:28:09 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:b9a3:c52:1db9:50d6]) by smtp.gmail.com with ESMTPSA id m3-20020adff383000000b0031417b0d338sm14454172wro.87.2023.07.04.10.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 10:28:08 -0700 (PDT) In-Reply-To: <834jmjljws.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Jul 2023 19:29:39 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32c.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:307435 Archived-At: >>>>> On Tue, 04 Jul 2023 19:29:39 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: emacs-devel@gnu.org >> Date: Tue, 04 Jul 2023 17:41:36 +0200 >>=20 >> >>>>> On Tue, 04 Jul 2023 16:42:43 +0200, Michael Albinus said: >>=20 >>=20 Michael> But this is theory. If a connection is already established, a = small Michael> value of even 1 second would suffice. OTOH, if you need the in= itial Michael> connection phase (f.e. during Emacs startup), with a slow conn= ection to Michael> the remote host, 60 seconds might be too short. And think about Michael> multi-hops, where the initial connection phase could last long= er. >>=20 Michael> That's why I've decided for the nil value, which is also the e= quivalent Michael> to the current behavior - no timeout. But this is not set in s= tone, if Michael> people believe another value is godd, then let's try it. >>=20 >> I=CA=BCm all for retaining backwards compatibility, but when the beh= aviour >> we=CA=BCre retaining is 'hang forever', I think we should consider p= utting >> in a default timeout. Eli> But the behavior we retain isn't hanging: by default desktop.el Eli> doesn't save and doesn't restore buffers that visit remote files, = so Eli> users will not see any effect of this timeout, unless they enable Eli> restoration of such buffers. OK, that=CA=BCs less severe. Eli> It might be a good idea to mention this new option in the doc stri= ng Eli> of desktop-files-not-to-save. Here, done. I=CA=BCve been inspired to reword some documentation as well :-) Robert --=20