Jean Louis writes:
> * Dr. Arne Babenhauserheide [2022-10-27 14:23]:
>>
>> Jean Louis writes:
>>
>> > * Jean Louis [2022-10-25 15:14]:
>> >>
>> >> This wish request is related to Emacs EWW and Org mode.
>> >>
>> >> Please make EWW recognize Org file when served by WWW server. Currently
* Dr. Arne Babenhauserheide [2022-10-27 14:23]:
>
> Jean Louis writes:
>
> > * Jean Louis [2022-10-25 15:14]:
> >>
> >> This wish request is related to Emacs EWW and Org mode.
> >>
> >> Please make EWW recognize Org file when served by WWW server. Currently
> >> it does not recognize the
Jean Louis writes:
> * Jean Louis [2022-10-25 15:14]:
>>
>> This wish request is related to Emacs EWW and Org mode.
>>
>> Please make EWW recognize Org file when served by WWW server. Currently
>> it does not recognize the MIME type text/x-org and opens the file as
>> text, it does not
* Jean Louis [2022-10-25 15:14]:
>
> This wish request is related to Emacs EWW and Org mode.
>
> Please make EWW recognize Org file when served by WWW server. Currently
> it does not recognize the MIME type text/x-org and opens the file as
> text, it does not invoke the org mode. In my opinion,
Jean Louis writes:
>> This should be trivial to do, I think.
+1 and I say: consider contributing to EWW!
I noticed that the EWW manual says
PDFs are viewed inline, by default, with doc-view-mode, but this can
be customized by using the mailcap (see mailcap in Emacs MIME Manual)
On Okt 26 2022, Jean Louis wrote:
> If there is way to extend EWW and Emacs in such way that I can tell
> EWW what to do on certain content type, just as I do with other
> browsers, that would solve the problem.
This is what browse-url-handlers is for.
--
Andreas Schwab, SUSE Labs,
* Dr. Arne Babenhauserheide [2022-10-26 14:58]:
> I may have misunderstood what you want.
>
> Do you want eww to open text/x-org files in org-mode by default, or do
> you search for a way how you can modify your local eww to open
> text/x-org files with org-mode?
>
> My worries apply to the
Jean Louis writes:
>> If you ask me whether I can make this work safely: This would first
>> require the introduction of a safe-org-mode which strictly disables all
>> features that can execute remote code or disguise unsafe operations as
>> safe ones. If a user then decides to explicitly call
* Ag Ibragimov [2022-10-26 01:13]:
> Can't you just use one of hooks (e.g., eww-after-render-hook) where you
> inspect the URL and if it's .org, just change the mode?
>
> This should be trivial to do, I think.
I need to inspect content type. Not extension.
My WWW file may be of HTML content
Forgot this attached file, so you can see how easy it is to customize
Iceweasel to open Org files, it works well.
Org files are native to Emacs, I wish to open Org files by using EWW.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of
* Dr. Arne Babenhauserheide [2022-10-26 01:02]:
> All of the Emacs packages have some amount of implicit trust.
Users are unaware what package may do, and packages are everywhere on
Internet. That is not a problem that I wish to solve.
> If you ask me whether I can make this work safely: This
Can't you just use one of hooks (e.g., eww-after-render-hook) where you
inspect the URL and if it's .org, just change the mode?
This should be trivial to do, I think.
Jean Louis writes:
> This wish request is related to Emacs EWW and Org mode.
>
> Please make EWW recognize Org file when served
"Dr. Arne Babenhauserheide" writes:
> This sounds dangerous. Org mode can execute untrusted code, so this
> could trick people into running untrusted code with the permissions of
> their Emacs.
>
> Links in org-mode can run shell scripts. Yes, they usually ask, but this
> may be changed it a
Jean Louis writes:
> * Dr. Arne Babenhauserheide [2022-10-25 18:06]:
>> > This wish request is related to Emacs EWW and Org mode.
>> >
>> > Please make EWW recognize Org file when served by WWW server. Currently
>> > it does not recognize the MIME type text/x-org and opens the file as
>> >
* Dr. Arne Babenhauserheide [2022-10-25 18:06]:
> > This wish request is related to Emacs EWW and Org mode.
> >
> > Please make EWW recognize Org file when served by WWW server. Currently
> > it does not recognize the MIME type text/x-org and opens the file as
> > text, it does not invoke the org
Jean Louis writes:
> This wish request is related to Emacs EWW and Org mode.
>
> Please make EWW recognize Org file when served by WWW server. Currently
> it does not recognize the MIME type text/x-org and opens the file as
> text, it does not invoke the org mode. In my opinion, it should.
16 matches
Mail list logo