[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31068: 27.0.50; Renaming archives fails due to tramp-archive
From: |
Allen Li |
Subject: |
bug#31068: 27.0.50; Renaming archives fails due to tramp-archive |
Date: |
Mon, 14 May 2018 23:55:43 -0700 |
On Mon, May 14, 2018 at 4:57 AM Michael Albinus <michael.albinus@gmx.de>
wrote:
> Allen Li <darkfeline@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.