GNU bug report logs -
#31068
27.0.50; Renaming archives fails due to tramp-archive
Previous Next
Reported by: Allen Li <darkfeline <at> felesatra.moe>
Date: Thu, 5 Apr 2018 07:33:01 UTC
Severity: normal
Found in version 27.0.50
Fixed in version 27.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 31068 <at> debbugs.gnu.org (full text, mbox):
On Mon, May 14, 2018 at 4:57 AM Michael Albinus <michael.albinus <at> gmx.de>
wrote:
> Allen Li <darkfeline <at> felesatra.moe> writes:
> Hi Allen,
> > 1. touch /tmp/foo.7z
> > 2. emacs -Q
> > 3. C-x C-f /tmp RET
> > 4. Use R to rename foo.7z to bar.7z
> >
> > An error is signaled. The debug output:
> I've followed exactly the recipe, the error didn't happen. Could you pls
> recheck with this recipe?
With master as I am writing this, I can reproduce with this recipe,
although the symptom has changed slightly.
An error no longer escapes to the command loop. A message is printed:
tramp-error: Package `tramp-archive' not supported
The file foo.7z disappears from the Dired buffer. Refreshing the buffer
(g) shows that the file has been renamed to bar.7z
Afterward in the same session, the bug no longer occurs.
> And could you pls show the value of `file-name-handler-alist' after step
> 2 and after step 4?
Before
(("\\`\\(.+\\.\\(?:7z\\|CAB\\|LZH\\|MSU\\|ZIP\\|a\\(?:pk\\|r\\)\\|
c\\(?:ab\\|pio\\)\\|de\\(?:b\\|pot\\)\\|exe\\|iso\\|jar\\|lzh\\|m\\(?:su\\|
tree\\)\\|od[bfgpst]\\|pax\\|r\\(?:ar\\|pm\\)\\|shar\\|t\\(?:ar\\|
[bglx]z\\)\\|warc\\|x\\(?:ar\\|p[is]\\)\\|zip\\)\\(?:\\.\\(?:Z\\|bz2\\|gz\\|
l\\(?:rz\\|z\\(?:ma\\|[4o]\\)?\\)\\|uu\\|xz\\)\\)*\\)\\(/.*\\)\\'"
. tramp-autoload-file-name-handler)
("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler)
("\\(?:\\.tzst\\|\\.zst\\|\\.dz\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|
\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|
\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)?\\'"
. jka-compr-handler)
("\\`/[^/|:]+:" . tramp-autoload-file-name-handler)
("\\`/:" . file-name-non-special))
After
(("\\(?:\\.tzst\\|\\.zst\\|\\.dz\\|\\.txz\\|\\.xz\\|\\.lzma\\|\\.lz\\|
\\.g?z\\|\\.\\(?:tgz\\|svgz\\|sifz\\)\\|\\.tbz2?\\|\\.bz2\\|\\.Z\\)\\(?:~\\|
\\.~[-[:alnum:]:#@^._]+\\(?:~[[:digit:]]+\\)?~\\)?\\'"
. jka-compr-handler)
("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" . epa-file-handler)
("\\`\\(.+\\.\\(?:7z\\|CAB\\|LZH\\|MSU\\|ZIP\\|a\\(?:pk\\|r\\)\\|c\\(?:ab\\|
pio\\)\\|de\\(?:b\\|pot\\)\\|exe\\|iso\\|jar\\|lzh\\|m\\(?:su\\|tree\\)\\|
od[bfgpst]\\|pax\\|r\\(?:ar\\|pm\\)\\|shar\\|t\\(?:ar\\|[bglx]z\\)\\|warc\\|
x\\(?:ar\\|p[is]\\)\\|zip\\)\\(?:\\.\\(?:Z\\|bz2\\|gz\\|l\\(?:rz\\|
z\\(?:ma\\|[4o]\\)?\\)\\|uu\\|xz\\)\\)*\\)\\(/.*\\)\\'"
. tramp-archive-file-name-handler)
("\\`/\\(\\([^/|:]+:[^/|:]*|\\)*[^/|:]+\\(:[^/|:]*\\)?\\)?\\'" .
tramp-completion-file-name-handler)
("^/\\(\\(?:\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|:
]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|
\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?|
\\)+\\)?\\([a-zA-Z0-9-]+\\):\\(?:\\([^/|:
]+\\)@\\)?\\(\\(?:[a-zA-Z0-9_.%-]+\\|
\\[\\(?:\\(?:\\(?:[a-zA-Z0-9]+\\)?:\\)+[a-zA-Z0-9.]+\\)?]\\)\\(?:#[0-9]+\\)?\\)?:\\([^\n\r]*\\'\\)"
. tramp-file-name-handler)
("\\`/:" . file-name-non-special))
> Thanks, and best regards, Michael.
This bug report was last modified 7 years and 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.