GNU bug report logs -
#34529
C-x b became unusable (ido, recentf, tramp)
Previous Next
Full log
Message #11 received at 34529 <at> debbugs.gnu.org (full text, mbox):
Hi Michael,
>> However, that doesn't explain how that entry ended up in my
>> recentf-save-file. I'm guessing I opened many tramp files in a
>> virtual machine, and after I had halted the virtual machine,
>> emacs wanted to convert the file names to absolute paths.
>
> Do you use ad-hoc multi-hop file names?
With this virtual machine, definitely not. However, the problem occurred
in a long lasting emacs session and I do remember trying to ssh|su
into a remote system. It wasn't successful because (I think) tramp
failed to find the password prompt because of an unfortunate locale
setting.
However, I found a probable cause of evenets that inserts a wrong entry
into recentf-list:
bug.el:
(require 'recentf)
(setq recentf-save-file "/tmp/bug2-recentf")
(setq ido-use-virtual-buffers t)
(setq ido-save-directory-list-file "/tmp/bug-ido.last")
(ido-mode t)
(ffap-bindings)
0. emacs -Q -l bug.el
1. Open a relative file in a VM (/ssh:localhost#2222:~/a.txt)
2. Close the file, halt the VM.
3. (Accidentally) open the same file from the file-name-history.
(C-x C-f M-p)
4. Close emacs.
=> /tmp/bug2-recentf has the relative path.
Thanks again,
Felicián
This bug report was last modified 6 years and 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.