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 16:16:23 +0200 Message-ID: <87jzvf92yw.fsf@gmail.com> References: <168847723857.12043.8020935461264507935@vcs2.savannah.gnu.org> <20230704132719.3251EC11DCA@vcs2.savannah.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="35999"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Albinus To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 04 16:17:19 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 1qGgqF-0009Ak-5v for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Jul 2023 16:17:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qGgpY-00077b-U8; Tue, 04 Jul 2023 10:16:36 -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 1qGgpR-00076x-FM for emacs-devel@gnu.org; Tue, 04 Jul 2023 10:16:30 -0400 Original-Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qGgpP-0003sZ-Cw for emacs-devel@gnu.org; Tue, 04 Jul 2023 10:16:29 -0400 Original-Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-3142860734aso3080791f8f.1 for ; Tue, 04 Jul 2023 07:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688480185; x=1691072185; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ahWZ65Xp4+3u1jlORNoAowEw28V76FDXfLhM/BjfGIE=; b=bf8P5NF7VyGEZxLfoYePOC8f45eZC9fGLuB9Dvms2mry+M3ugc/EYcH/5Uhl3dDRyx XzLcC7EjgdDySKTKGDhIOrUQcaecpLv1to6pNtVv239NbqP/cUa6QyTW1KjC5JHVe0QH CWNzgHDfSAwMGKxep50IiOS9Lm/R5MDIm6ZH6RFr9TrqCtyQaKIA1gFyBpLgZObOB73K KAalJ0zHWx0dwYg2EO+5mC76h+KMnvqt5vVzcIxW5L96cZDpqUvEWTybTKTjRxpwZnvm jRTW5+fmw6FKb+leEfchh6APzgbHnARm97hQNlcw7+7fzyxHfYXKqaAzQK+SIjfVuz6Q 8c0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688480185; x=1691072185; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ahWZ65Xp4+3u1jlORNoAowEw28V76FDXfLhM/BjfGIE=; b=ah5vqe9YiN/17YFZfQBqN6ZIXsjua+kQ02TrPTNlLcYL/FMQdpaHd7pHC7KC6HRcFj gj2giqg1/pdM72oOJ4pT5+oIKwx1LtBYLfMRrHPk4g1PxIGQ6q3NNGDspQv3Abjzv1s+ HjeGix28nZPMm/R/VKyDaIJ6TlCQHmzq/ZTcY/yP+er2OuAp5LbdJUZXH6sAGeU6qmwZ zEWnW0v+IERlpvP65hrEAM3RAQzQjczMpyMswlcf1GxhlnICLtSpMhRrAUe0TDagn+wi BF9DhyLlHPxXSymMw3eV9U+lT7H95SI5IwpvMm17SunmfNnPFC2c0Qyk/FbXrAj1J3qV qW+g== X-Gm-Message-State: ABy/qLZT/MXjdzKy5xfUYevj01zsg4YGpBprLyCKlQ4Mf/yXURnRUeOl tm6C8qPTACB0eqhwrUr2BcHdguFW0FE= X-Google-Smtp-Source: APBJJlFaTPbasGYEz9NyoK2Jh5qKUEvzWUeiO/B628AlFV05C6pwoZZmpgbTLUe3BCXT0rDwo/tyUg== X-Received: by 2002:adf:ea4f:0:b0:314:2c9:64c with SMTP id j15-20020adfea4f000000b0031402c9064cmr12430334wrn.6.1688480184472; Tue, 04 Jul 2023 07:16:24 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb50:b9a3:c52:1db9:50d6]) by smtp.gmail.com with ESMTPSA id j4-20020adfea44000000b0030fa3567541sm28615850wrn.48.2023.07.04.07.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jul 2023 07:16:23 -0700 (PDT) In-Reply-To: <20230704132719.3251EC11DCA@vcs2.savannah.gnu.org> (Michael Albinus's message of "Tue, 4 Jul 2023 09:27:18 -0400 (EDT)") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=rpluim@gmail.com; helo=mail-wr1-x430.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:307420 Archived-At: >>>>> On Tue, 4 Jul 2023 09:27:18 -0400 (EDT), Michael Albinus said: Michael> branch: master Michael> commit b34f9a44393a331c866268d93b16ad69567a3cd4 Michael> Author: Michael Albinus Michael> Commit: Michael Albinus Michael> Apply remote-file-name-access-timeout in desktop.el and recentf.el Michael> * doc/emacs/files.texi (File Conveniences): Michael> * doc/emacs/misc.texi (Saving Emacs Sessions): Michael> Mention remote-file-name-access-timeout. Michael> * doc/misc/tramp.texi (Frequently Asked Questions): Add note. Michael> * etc/NEWS: Explain use of 'remote-file-name-access-timeout' in Michael> desktop.el and recentf.el. Michael> * lisp/desktop.el (desktop-access-file): New defun. Michael> (desktop-restore-file-buffer): Use it. Michael> * lisp/recentf.el (recentf-access-file): New defun. Michael> (recentf-keep-default-predicate): Use it. This is a good change, although I wonder if we should set `remote-file-name-access-timeout' non-nil by default, maybe something relatively conservative like 60 seconds? (I also see you use `natnump' for `remote-file-name-access-timeout'. Is 0 a sane value to allow, I think it would cause immediate timeout?) Robert --