* EWW via TRAMP no working
@ 2020-04-04 6:00 H. Dieter Wilhelm
2020-04-04 8:33 ` Michael Albinus
0 siblings, 1 reply; 7+ messages in thread
From: H. Dieter Wilhelm @ 2020-04-04 6:00 UTC (permalink / raw)
To: help-gnu-emacs
Hello GNU-Emacs-26.3
We, me and another colleague of mine, are trying to read HTML
documentation with eww-open-file-via TRAMP located on a remote server.
We are able to open the files with TRAMP, for example:
/ssh:wawa:/tmp/Hlp_C_FINISH.html
is working, but we are getting the following error message with EWW:
url-file: File does not exist:
file:///ssh:wawa:/tmp/Hlp_C_FINISH.html
Is there a workaround to make EWW run with remote files?
--
Thank you
Dieter
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: EWW via TRAMP no working
2020-04-04 6:00 EWW via TRAMP no working H. Dieter Wilhelm
@ 2020-04-04 8:33 ` Michael Albinus
2020-04-04 8:59 ` H. Dieter Wilhelm
0 siblings, 1 reply; 7+ messages in thread
From: Michael Albinus @ 2020-04-04 8:33 UTC (permalink / raw)
To: H. Dieter Wilhelm; +Cc: help-gnu-emacs
dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
> Hello GNU-Emacs-26.3
Hi Dieter,
> We, me and another colleague of mine, are trying to read HTML
> documentation with eww-open-file-via TRAMP located on a remote server.
>
> We are able to open the files with TRAMP, for example:
>
> /ssh:wawa:/tmp/Hlp_C_FINISH.html
>
> is working, but we are getting the following error message with EWW:
>
> url-file: File does not exist:
> file:///ssh:wawa:/tmp/Hlp_C_FINISH.html
This cannot work, because eww doesn't know such a local file
"/ssh:wawa:/tmp/Hlp_C_FINISH.html".
> Is there a workaround to make EWW run with remote files?
There is url-handler-mode, but I doubt that eww cooperates with
it. Something like
(eww-open-file (file-local-copy "/ssh:wawa:/tmp/Hlp_C_FINISH.html"))
seems to work. Maybe you could compose an interactive command around
this snippet.
> Thank you
>
> Dieter
Best regards, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: EWW via TRAMP no working
2020-04-04 8:33 ` Michael Albinus
@ 2020-04-04 8:59 ` H. Dieter Wilhelm
2020-04-04 9:18 ` Michael Albinus
0 siblings, 1 reply; 7+ messages in thread
From: H. Dieter Wilhelm @ 2020-04-04 8:59 UTC (permalink / raw)
To: Michael Albinus; +Cc: help-gnu-emacs
Michael Albinus <michael.albinus@gmx.de> writes:
> dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
>
>> We, me and another colleague of mine, are trying to read HTML
>> documentation with eww-open-file-via TRAMP located on a remote server.
>>
>> We are able to open the files with TRAMP, for example:
>>
>> /ssh:wawa:/tmp/Hlp_C_FINISH.html
>>
>> is working, but we are getting the following error message with EWW:
>>
>> url-file: File does not exist:
>> file:///ssh:wawa:/tmp/Hlp_C_FINISH.html
>
> This cannot work, because eww doesn't know such a local file
> "/ssh:wawa:/tmp/Hlp_C_FINISH.html".
>
>> Is there a workaround to make EWW run with remote files?
>
> There is url-handler-mode, but I doubt that eww cooperates with
> it.
I see, still looks promising. Maybe an EWW luminary will give futher
comments on it before I have time to test it. Or if it necessary to
write a bug-report and asking for an EWW enhancement or so..
> Something like
> (eww-open-file (file-local-copy "/ssh:wawa:/tmp/Hlp_C_FINISH.html"))
Love it, thank you very much for this helpful workaround Michael!
--
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: EWW via TRAMP no working
2020-04-04 8:59 ` H. Dieter Wilhelm
@ 2020-04-04 9:18 ` Michael Albinus
2020-04-04 9:29 ` H. Dieter Wilhelm
[not found] ` <mailman.115.1585991909.2644.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 7+ messages in thread
From: Michael Albinus @ 2020-04-04 9:18 UTC (permalink / raw)
To: H. Dieter Wilhelm; +Cc: help-gnu-emacs
dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
Hi Dieter,
>>> Is there a workaround to make EWW run with remote files?
>>
>> There is url-handler-mode, but I doubt that eww cooperates with
>> it.
>
> I see, still looks promising. Maybe an EWW luminary will give futher
> comments on it before I have time to test it. Or if it necessary to
> write a bug-report and asking for an EWW enhancement or so..
It won't hurt to write such a feature request (aka bug report). No idea,
whether somebody will handle it.
>> Something like
>> (eww-open-file (file-local-copy "/ssh:wawa:/tmp/Hlp_C_FINISH.html"))
>
> Love it, thank you very much for this helpful workaround Michael!
It's still a workaround. References to relative files won't work, I fear.
Best regards, Michael.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: EWW via TRAMP no working
2020-04-04 9:18 ` Michael Albinus
@ 2020-04-04 9:29 ` H. Dieter Wilhelm
[not found] ` <mailman.115.1585991909.2644.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 7+ messages in thread
From: H. Dieter Wilhelm @ 2020-04-04 9:29 UTC (permalink / raw)
To: Michael Albinus; +Cc: help-gnu-emacs
Michael Albinus <michael.albinus@gmx.de> writes:
> dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes:
>
> Hi Dieter,
>
>>>> Is there a workaround to make EWW run with remote files?
>>>
>>> There is url-handler-mode, but I doubt that eww cooperates with
>>> it.
>>
>> I see, still looks promising. Maybe an EWW luminary will give futher
>> comments on it before I have time to test it. Or if it necessary to
>> write a bug-report and asking for an EWW enhancement or so..
>
> It won't hurt to write such a feature request (aka bug report). No idea,
> whether somebody will handle it.
I think I'll do that in a week or so, if url-handler is not working for
our use case.
>>> Something like
>>> (eww-open-file (file-local-copy "/ssh:wawa:/tmp/Hlp_C_FINISH.html"))
>>
>> Love it, thank you very much for this helpful workaround Michael!
>
> It's still a workaround. References to relative files won't work, I fear.
Damn it! I forgot that, you are right, this is really ugly.
--
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: EWW via TRAMP no working
[not found] ` <mailman.115.1585991909.2644.help-gnu-emacs@gnu.org>
@ 2020-04-04 10:08 ` Lars Magne Ingebrigtsen
2020-04-04 13:33 ` H. Dieter Wilhelm
0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2020-04-04 10:08 UTC (permalink / raw)
To: Michael Albinus; +Cc: H. Dieter Wilhelm, help-gnu-emacs
Michael Albinus <michael.albinus@gmx.de> writes:
>> I see, still looks promising. Maybe an EWW luminary will give futher
>> comments on it before I have time to test it. Or if it necessary to
>> write a bug-report and asking for an EWW enhancement or so..
>
> It won't hurt to write such a feature request (aka bug report). No idea,
> whether somebody will handle it.
`M-x eww-open-file' with a Tramp file name should work, and it doesn't.
It bugs out with a most odd error:
Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
url-file-asynch-callback(nil nil nil "/:/ssh:stories:/home/larsi/.emacs.d/bookiez.data" #<buffer *url-file*-73983> eww-render (nil "file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d..." nil #<buffer *eww*>))
url-file(#s(url :type "file" :user nil :password nil :host "" :portspec nil :filename "/ssh:stories:/home/larsi/.emacs.d/bookiez.data" :target nil :attributes nil :fullness t :silent nil :use-cookies t :asynchronous t) eww-render (nil "file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d..." nil #<buffer *eww*>))
url-retrieve-internal("file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d..." eww-render (nil "file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d..." nil #<buffer *eww*>) nil nil)
url-retrieve("file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d..." eww-render ("file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d..." nil #<buffer *eww*>))
eww("file:///ssh:stories:/home/larsi/.emacs.d/bookiez.d...")
eww-open-file("/ssh:stories:.emacs.d/bookiez.data")
funcall-interactively(eww-open-file "/ssh:stories:.emacs.d/bookiez.data")
So please go ahead and file a bug report on this.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: EWW via TRAMP no working
2020-04-04 10:08 ` Lars Magne Ingebrigtsen
@ 2020-04-04 13:33 ` H. Dieter Wilhelm
0 siblings, 0 replies; 7+ messages in thread
From: H. Dieter Wilhelm @ 2020-04-04 13:33 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: help-gnu-emacs, Michael Albinus
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> So please go ahead and file a bug report on this.
(debbugs-gnu-bugs 40425)
--
Thank you
Dieter
Best wishes
H. Dieter Wilhelm
Zwingenberg, Germany
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-04-04 13:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-04 6:00 EWW via TRAMP no working H. Dieter Wilhelm
2020-04-04 8:33 ` Michael Albinus
2020-04-04 8:59 ` H. Dieter Wilhelm
2020-04-04 9:18 ` Michael Albinus
2020-04-04 9:29 ` H. Dieter Wilhelm
[not found] ` <mailman.115.1585991909.2644.help-gnu-emacs@gnu.org>
2020-04-04 10:08 ` Lars Magne Ingebrigtsen
2020-04-04 13:33 ` H. Dieter Wilhelm
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.