all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
@ 2022-04-20  4:10 T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-20 10:56 ` Lars Ingebrigtsen
  2022-04-20 11:56 ` Michael Albinus
  0 siblings, 2 replies; 6+ messages in thread
From: T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-20  4:10 UTC (permalink / raw)
  To: 55031

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1779 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
  2022-04-20  4:10 bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-04-20 10:56 ` Lars Ingebrigtsen
  2022-04-20 11:56 ` Michael Albinus
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-20 10:56 UTC (permalink / raw)
  To: T. C. Quinn; +Cc: 55031

"T. C. Quinn" <javascriptdude@protonmail.com> writes:

> 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 26.3 is quite old -- the current release is Emacs 28.1.  Do you
see this problem in more recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
  2022-04-20  4:10 bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-20 10:56 ` Lars Ingebrigtsen
@ 2022-04-20 11:56 ` Michael Albinus
  2022-04-20 14:13   ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 6+ messages in thread
From: Michael Albinus @ 2022-04-20 11:56 UTC (permalink / raw)
  To: 55031; +Cc: javascriptdude

"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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
  2022-04-20 11:56 ` Michael Albinus
@ 2022-04-20 14:13   ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-20 15:10     ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 6+ messages in thread
From: T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-20 14:13 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 55031



I removed ~/.emacs.d and ran with `emacs -Q <path>` and go the same error.

Regarding version, 26.3 is the current Ubuntu release for apt. I'll see how to get the latest stable installed to test.

Note: The .zfs/snapshot folder does have some odd properties; The file properties show the original permissions including write bit, however the file system iteself is read only.


> On Wednesday, April 20th, 2022 at 7:56 AM, Michael Albinus <michael.albinus@gmx.de> wrote:
>
> > 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",
>
> Could you please provide a minimal recipe for reproduction? Starting
> with "emacs -Q".
> ...
> Does it help to remove "~/.emacs.d/tramp"?






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
  2022-04-20 14:13   ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-04-20 15:10     ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-04-20 15:41       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-04-20 15:10 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 55031

I was able to build Emacs 28.1 and this cleared up the issue. Confirmed it worked in batch, GUI an CLI modes.

Thanks all!


>
> I removed ~/.emacs.d and ran with `emacs -Q <path>` and go the same error.
>
>
> Regarding version, 26.3 is the current Ubuntu release for apt. I'll see how to get the latest stable installed to test.
>
> Note: The .zfs/snapshot folder does have some odd properties; The file properties show the original permissions including write bit, however the file system iteself is read only.
>
> > On Wednesday, April 20th, 2022 at 7:56 AM, Michael Albinus michael.albinus@gmx.de wrote:
> >
> > > 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",
> >
> > Could you please provide a minimal recipe for reproduction? Starting
> > with "emacs -Q".
> > ...
> > Does it help to remove "~/.emacs.d/tramp"?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure
  2022-04-20 15:10     ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-04-20 15:41       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-20 15:41 UTC (permalink / raw)
  To: 55031; +Cc: michael.albinus, javascriptdude

"T. C. Quinn" via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

> I was able to build Emacs 28.1 and this cleared up the
> issue. Confirmed it worked in batch, GUI an CLI modes.

Thanks for checking; I'm closing this bug report, then.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-04-20 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20  4:10 bug#55031: Recursive Load - tramp.elc - tramp-file-name-structure T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-20 10:56 ` Lars Ingebrigtsen
2022-04-20 11:56 ` Michael Albinus
2022-04-20 14:13   ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-20 15:10     ` T. C. Quinn via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-04-20 15:41       ` Lars Ingebrigtsen

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.