From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#57336: 29.0.50; Tramp and recentf yet again Date: Mon, 22 Aug 2022 10:59:44 +0200 Message-ID: <87edx8hcvz.fsf@rub.de> 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="33981"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: 57336@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 22 11:00:21 2022 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 1oQ3ID-0008c9-G2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 11:00:21 +0200 Original-Received: from localhost ([::1]:41460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQ3IC-0001aV-BS for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Aug 2022 05:00:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ3Hw-0001ZL-MH for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 05:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQ3Hu-0005pu-F2 for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 05:00:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQ3Hu-0004WB-Ae for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 05:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2022 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57336 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.166115879417324 (code B ref -1); Mon, 22 Aug 2022 09:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Aug 2022 08:59:54 +0000 Original-Received: from localhost ([127.0.0.1]:37778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3Hm-0004VL-51 for submit@debbugs.gnu.org; Mon, 22 Aug 2022 04:59:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQ3Hk-0004VD-8x for submit@debbugs.gnu.org; Mon, 22 Aug 2022 04:59:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ3Hk-0001Mf-3p for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 04:59:52 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:35645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQ3Hi-0005lG-4o for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2022 04:59:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1661158785; bh=rfnd3nayDsd47U4GxGtnlOiqq1Uoh0qxzEZUIPRjHzk=; h=X-UI-Sender-Class:From:To:Subject:Date; b=CiUsV3mfP36wWgGffS9D/HCVjoUFiNhID/hJQoZDzHMwvAI+qR4JbvcjouJkm77cY x4G5zyPigDNbfbI9K95PrEZuTmivYJAUag10zqchmvVI0GqVtTM/Cr3SX2uUmdThFn 8U6oQg017xRebmbOsa7+6K820mQaQ82ZCCnwfwRY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs2 ([89.246.36.224]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N95e9-1pURKJ3f9z-0169F7 for ; Mon, 22 Aug 2022 10:59:44 +0200 X-Provags-ID: V03:K1:mn6SfzViXCsLegVXzJQ9Ju06Mm+NoeJZ3VLxYoMGyIxZJiJHXyZ UEsdOcuVo8jVetDN+VxQ/xbaNU82vYOGDSyNBRwtLiXCCD/ZoSbuIxZFr2mPn4vTPjzomp5 qzJFO3ZVBIIyYjsB9RnKkPL+Bt/SJawpTYOjVneNbkthmk1QTuMex+/wIgk182DCVnK6ag/ Qe9meogdrwixbaGW4SISw== X-UI-Out-Filterresults: notjunk:1;V03:K0:zHjnUBBqd6s=:WVbNBxQo45RnMlZHtXbFWl aLiuqqB5WxdkTXBKxKht27oV0JfPFlFQ7YPvHMajKLa9Iym83esgdmYw3KxNZfO02zoamJYMY XIV7/8LnhTR3QwP46QIMxcj1D9sf1VkJGYmVUjnDxySIGntJRO823IAiGgphSRR+emhJOA44G x+YqhUQfsKxigd5UwPz4owNQiGADu6PgsbJGKGFBALGttBFOeDpFbekNBQ1Dl2CMcbIj8ocoF jaIaE9eXfs3ULpr1uk9DASw0yhUxglR+e3tyKExMP3Fy+dvhNfF190m51Ppp+FIKh45qRZ5pK E3SgqBhIVs0A2coVHbIHUrtZq6W6CRonDvbairGW7ONH919cuMu1j6xYrurca/C4+gEpStyDz feIG81nt02f2tabILc+415z6b14luEmo8Z6XI2EXY93AaOLfW80zbYbZIeSsdSLB7T9PGGZUN yAbqdbCRn/S9kX5bTf00eq2HTdP+W056l982pOUWcodBSpB446IYpduvPDkmTqzMxr1e68W0U gURze6gl2FeSFPxW1jmrLA1wb2cE72fwRzcKu1B20oocr+0iAASUdTVnF5EifKNSI0IdW/m5C 1K6V3Iy3vhRNbpantPJYAW1w5jTp3hlsC6YHv1pJs7XGYr4tEc/E7rU1Oq2jotwqHa3arrcP7 qr8YA0s78J+qZC+ICmLI9boBdU0dKkWzeI29KnFWuGZXHifQAj9vaG7TmJwh0lIXLhH8ZDVIV WSzpRIX3OVTlaebQqSuxtFETKIJch6hto+ozRRzgrPRwNwWKaVDIlHS+B3hQxnUMoHaT73NY Received-SPF: pass client-ip=212.227.15.18; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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: 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" Xref: news.gmane.io gmane.emacs.bugs:240387 Archived-At: With my current build from master, when my ~/emacs.d/recentf file contains an entry that uses ssh to connect to another machine and this machine is offline when I start Emacs, then Tramp repeatedly tries to connect to that machine. To reproduce: 0. Let ~/emacs.d/recentf consist of the following (the entry in recentf-list refers to a machine that is currently offline): ;;; Automatically generated by =E2=80=98recentf=E2=80=99 on Mon Aug 22 09:= 50:45 2022. (setq recentf-list '( "/ssh:steve@hpaul:~/" )) (setq recentf-filter-changer-current 'nil) =0C ;; Local Variables: ;; coding: utf-8-emacs ;; End: 1. Let ~/.emacs consist of the following: (recentf-mode 1) 2. emacs 3. The echo area displays "Opening connection nil for steve@hpaul using ssh..." 4. After a little while "failed" gets appended to the message, and then the echo area displays "Timeout reached, see buffer =E2=80=98*tramp/ssh steve@hpaul*=E2=80=99 for details" 5. Tramp tries again, repeating the message in step 3, then times out again, repeating the message in step, and so on indefinitely. I can break this cycle only by typing C-g and holding down the keys (just repeatedly typing C-g doesn't work). When Tramp no longer tries to connect, *Messages* displays this: Tramp: Opening connection nil for steve@hpaul using ssh...failed Cleaning up the recentf list... error: "Lisp nesting exceeds =E2=80=98max-lisp-eval-depth=E2=80=99" Quit [7 times] Invoking tramp-cleanup-this-connection or tramp-cleanup-all-connections does not prevent the attempts to connect on restarting Emacs, only deleting the entries from recentf-list works. I frequently use Tramp to ssh to other machines, so I assume my recentf file normally contains such entries as above. Or perhaps I have always killed all buffers displaying files on such machines before shutting down Emacs, and then the entries are removed from the recentf file, and this time I had not killed those buffers? I don't know, but it seems unlikely. Anyway, Tramp has not attempted to connect to these machines on starting Emacs until my current build (I have had issues with Tramp and recentf in the past, see bug#26258 and bug#27108, but these were fixed). I don't remember exactly when my most recent previous build was, but I think it was within the last 1-3 weeks at most. In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, = cairo version 1.17.6) of 2022-08-19 built on strobelfs2 Repository revision: dd97bff219dd3039c576710850e04fa4fa32f004 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Linux From Scratch r11.0-165 Configured using: 'configure --with-xinput2 --with-xwidgets 'CFLAGS=3D-Og -g3' PKG_CONFIG_PATH=3D/opt/qt5/lib/pkgconfig' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBSYSTEMD LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix