From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#26258: 26.0.50; recentf and tramp Date: Sun, 26 Mar 2017 23:48:43 +0200 Message-ID: <8737dzu2tg.fsf@rosalinde> References: <87efxlc8ej.fsf@rosalinde> <874lygqc52.fsf@detlef> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1490564955 12907 195.159.176.226 (26 Mar 2017 21:49:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Mar 2017 21:49:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 26258@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 26 23:49:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csG2A-0002pD-TT for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Mar 2017 23:49:11 +0200 Original-Received: from localhost ([::1]:43017 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csG2G-0007rs-VS for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Mar 2017 17:49:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csG26-0007qZ-Qm for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 17:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csG21-00077K-W8 for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 17:49:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48175) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csG21-000776-T5 for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 17:49:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1csG21-000106-Ke for bug-gnu-emacs@gnu.org; Sun, 26 Mar 2017 17:49:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Mar 2017 21:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26258 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26258-submit@debbugs.gnu.org id=B26258.14905649333832 (code B ref 26258); Sun, 26 Mar 2017 21:49:01 +0000 Original-Received: (at 26258) by debbugs.gnu.org; 26 Mar 2017 21:48:53 +0000 Original-Received: from localhost ([127.0.0.1]:46374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csG1t-0000zk-9o for submit@debbugs.gnu.org; Sun, 26 Mar 2017 17:48:53 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:63431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1csG1r-0000zW-IJ for 26258@debbugs.gnu.org; Sun, 26 Mar 2017 17:48:52 -0400 Original-Received: from rosalinde ([62.214.225.110]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LaFmY-1cRPmc2wBi-00m0Vc; Sun, 26 Mar 2017 23:48:44 +0200 In-Reply-To: <874lygqc52.fsf@detlef> (Michael Albinus's message of "Sun, 26 Mar 2017 17:40:57 +0200") X-Provags-ID: V03:K0:nDuGW9QrWp1CMogPgnttrWrI4QeCWx19oqqA4yxKji3hFoGegsn P2qWDp2AXq7YDT8T8VPrxjrPkpPMtucVVL11gOq6yHeiSWzZ+V8sxXzJWSvwsRcMtvZnW7Z /9iKPbDoc++oxpG4zZXVw5x0b4ydGlPzVXC3ui3U67uzbkjyCxO8JXone2g/ZHsiZy7L1gj R+hNdQ0QS8EnJeZvhtAcg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZEl7SdZHkcA=:L24b3ggBCPq3scibAX9s8G zvzx7LmLB6FADMm243lACNgNxoW58b3WVDDS2QATA4zHsEj3riO5lwzIQ8c7Ciy79Qj0nQz12 X1gJA2ElkPXN0tgmL47/QMg7rFuNIINssjXug6rzAYYwmlax8Cp2ocCeuEcmSMvSZsRO1iaKr cy1B3t60bb7WTc7d6koH4AVTdGvEdhqPiOuCBsjaNoDw0JdiNqPQI8iH+TPbwxdI+j0WGdcu3 SlRcSRCftCtxAQ3Mz0SVvqZlCNAXyErjndE2GC5MSxYUMVqoNukAZZVaJ9QrSGypMz3lHBFvv J4OCSjA9Q8/8wx3c0WfOcMF9QP8lonelRlR/FL9dxM8dBX23aQay9mzIocgziEO4H/DzEhOVc hd0Lb6OocxY3rijiwIvz6PbhPn3RvK13+eeSZWBdQ8qRdI3tZnMrIH4w+/gvPMnxydVNYtV7l kFD6WvoY3AkxgWPOX9nC3Xwo7oI4BRsmmMBCvg6jd+Ngsd79WflOXoOBYJxTTKM6olj0X0VO9 GIDoFEPwDa8jvf2k7yalLZ8CGHyUi1Jzqja8AT6/n86/ZdpDnJ/x7ArEHnkWL4zTHf4p8A9PP +ZphjVamZa1E9U4WikwPYLh2TLLx8YjgKS/I9IcZtBH1MKYAAD0jIvVKoI8c7XIm7aD+CEtra bLVXIQuB6aCNm1ee73HZyaqZ6j/tyjhGIJ4raRrsmifCvbPILokkehOZYs/c3FbcJYEQ5C5T2 aEdwq9ieckGKnpsFXaOJyGsjxnKbWZIQWFjMoagG2Q0ibM2DJh/oj4hIiB6iweR6VfMImWOg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:130994 Archived-At: On Sun, 26 Mar 2017 17:40:57 +0200 Michael Albinus wrote: > Stephen Berman writes: > > Hi Stephen, > >> Now starting emacs raises the error "Variable binding depth exceeds >> max-specpdl-size" and recentf-mode is not enabled. Starting emacs with >> --debug-init produces the attached backtrace. > > I've pushed a fix to master which shall fix the recursive load for > Tramp, could you pls check? Thanks, I rebuilt Emacs with your fix and confirm there's now no error and recentf-mode does get enabled; but... > I'm not a recentf user, so I don't know whether it behaves correctly in > your scenario, loading remote recentf files. ... now the remote file "/su:root@rosalinde:/etc/" is removed from recentf-save-file on enabling recentf-mode. This does not happen in Emacs 25.2. The difference appears to be due to what happens when file-remote-p is called (from recentf-keep-default-predicate): in 25.2 (file-remote-p "/su:root@rosalinde:/etc/") returns "/su:root@rosalinde:" but in master with your fix, it raises a void-function error: Debugger entered--Lisp error: (void-function tramp-file-name-handler) tramp-file-name-handler(file-remote-p "/su:root@rosalinde:/etc/" nil nil) file-remote-p("/su:root@rosalinde:/etc/") eval((file-remote-p "/su:root@rosalinde:/etc/") nil) elisp--eval-last-sexp(t) eval-last-sexp(t) eval-print-last-sexp(nil) funcall-interactively(eval-print-last-sexp nil) call-interactively(eval-print-last-sexp nil nil) command-execute(eval-print-last-sexp) > Best regards, Michael. Steve Berman