From: Stephen Berman <stephen.berman@gmx.net>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 26258@debbugs.gnu.org
Subject: bug#26258: 26.0.50; recentf and tramp
Date: Sun, 26 Mar 2017 23:48:43 +0200 [thread overview]
Message-ID: <8737dzu2tg.fsf@rosalinde> (raw)
In-Reply-To: <874lygqc52.fsf@detlef> (Michael Albinus's message of "Sun, 26 Mar 2017 17:40:57 +0200")
On Sun, 26 Mar 2017 17:40:57 +0200 Michael Albinus <michael.albinus@gmx.de> wrote:
> Stephen Berman <stephen.berman@gmx.net> 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
next prev parent reply other threads:[~2017-03-26 21:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-25 22:13 bug#26258: 26.0.50; recentf and tramp Stephen Berman
2017-03-26 15:40 ` Michael Albinus
2017-03-26 21:48 ` Stephen Berman [this message]
2017-03-27 8:16 ` Michael Albinus
2017-03-27 8:32 ` Stephen Berman
2017-03-27 8:46 ` Michael Albinus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737dzu2tg.fsf@rosalinde \
--to=stephen.berman@gmx.net \
--cc=26258@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.