[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
From: |
Michael Albinus |
Subject: |
bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure |
Date: |
Wed, 20 Apr 2022 13:56:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
"T. C. Quinn" via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
Hi,
> When I use Emacs to open any file that's in my zfs snapshots directory
> (<dataset>/.zfs/snapshot) folder, it does not open the file and prints
> out the following error:
>
> File mode specification error: (error ‘tramp-file-name-structure’
> didn’t match!)
> Recursive load: "/usr/share/emacs/26.3/lisp/net/tramp.elc",
> "/usr/share/emacs/26.3/lisp/net/tramp.elc",
> "/usr/share/emacs/26.3/lisp/net/tramp.elc",
> "/usr/share/emacs/26.3/lisp/net/tramp.elc",
> "/usr/share/emacs/26.3/lisp/net/tramp.elc"
>
> This happens in all modes: batch, GUI and console (-nw) modes.
>
> Although the .zfs/snapshot directory is read only, I have a valid a
> usecase to leverage emacs excellent language support in batch mode for
> a tool I'm writing.
>
> Environment:
> OS: Ubuntu 20.04.4 LTS
> Emacs: 26.3
> ~/.emacs.el: (none)
> ~/.emacs.d: (none)
>
> WIP: https://github.com/JavaScriptDude/EmacsComStrip
Could you please provide a minimal recipe for reproduction? Starting
with "emacs -Q".
Furthermore, the error message
--8<---------------cut here---------------start------------->8---
File mode specification error: (error ‘tramp-file-name-structure’ didn’t match!)
--8<---------------cut here---------------end--------------->8---
looks like a (data) version mismatch. Does it help to remove "~/.emacs.d/tramp"?
Best regards, Michael.