* no org-export-to-html-and-open since distribution switch
@ 2015-06-17 11:07 Sven Ehret
2015-06-18 15:42 ` Rasmus
0 siblings, 1 reply; 8+ messages in thread
From: Sven Ehret @ 2015-06-17 11:07 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]
Hi List,
since I have switched distributions from Mint to Arch, I have lost one
of my most-loved Org features: Export to HTML and open.
When I choose to export something, I type C-c C-e C-s h o as I usually
do. But now the HTML opens in my agenda buffer, and not in my browser
anymore.
When I right-click on http links in my org document, the browser
correctly opens them.
When I command M-x org-export-to-html-and-open, it says [No match].
The symptoms are very much like described in
http://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode
, but unfortunately there is no documented solution.
My org version reports as „Org-mode version 8.2.10
(8.2.10-41-g42228a-elpaplus @
/home/ehret/.emacs.d/elpa/org-plus-contrib-20150615/)“.
I tried moving the elpa installation out of the way and installing a
distribution package, aur/emacs-org-mode, but the result is the same.
Emacs will likely always feel alien to me, but my love to org mode is
bitter sweeeet.
Any help or hints are greatly appreciated!
Best, Sven.
--
Sven Ehret
I2P: das unsichtbare Internet. Erreicht mich mit via I2P-Bote als vDe1o-Y0SS6JYDLUInq1O~1ryC0~Gx48~px7bb5iVDgoC1PRJf8OKG3PVeYGRqilnKn8k14KYBzp4FZ3FVnLklZNsHI62N8ieeexgU~SwJZ1pl6sucy24X8uU39T0aWf7egwrwfyI34rXEb7uBhWlkKf
https://geti2p.net/de/ :: http://i2pbote.i2p.us/
[-- Attachment #2: Type: text/html, Size: 2174 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* no org-export-to-html-and-open since distribution switch
@ 2015-06-17 11:15 Sven Ehret
0 siblings, 0 replies; 8+ messages in thread
From: Sven Ehret @ 2015-06-17 11:15 UTC (permalink / raw)
To: emacs-orgmode
Hi List,
since I have switched distributions from Mint to Arch, I have lost one
of my most-loved Org features: Export to HTML and open.
When I choose to export something, I type C-c C-e C-s h o as I usually
do. But now the HTML opens in my agenda buffer, and not in my browser
anymore.
When I right-click on http links in my org document, the browser
correctly opens them.
When I command M-x org-export-to-html-and-open, it says [No match].
The symptoms are very much like described in
http://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode
, but unfortunately there is no documented solution.
My org version reports as „Org-mode version 8.2.10
(8.2.10-41-g42228a-elpaplus @
/home/ehret/.emacs.d/elpa/org-plus-contrib-20150615/)“.
I tried moving the elpa installation out of the way and installing a
distribution package, aur/emacs-org-mode, but the result is the same.
Emacs will likely always feel alien to me, but my love to org mode is
bitter sweeeet.
Any help or hints are greatly appreciated!
Best, Sven.
--
Sven Ehret
I2P: das unsichtbare Internet. Erreicht mich mit via I2P-Bote als vDe1o-Y0SS6JYDLUInq1O~1ryC0~Gx48~px7bb5iVDgoC1PRJf8OKG3PVeYGRqilnKn8k14KYBzp4FZ3FVnLklZNsHI62N8ieeexgU~SwJZ1pl6sucy24X8uU39T0aWf7egwrwfyI34rXEb7uBhWlkKf
https://geti2p.net/de/ :: http://i2pbote.i2p.us/
^ permalink raw reply [flat|nested] 8+ messages in thread
* no org-export-to-html-and-open since distribution switch
@ 2015-06-17 13:54 Sven Ehret
0 siblings, 0 replies; 8+ messages in thread
From: Sven Ehret @ 2015-06-17 13:54 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]
Hi List,
since I have switched distributions from Mint to Arch, I have lost one
of my most-loved Org features: Export to HTML and open.
When I choose to export something, I type C-c C-e C-s h o as I usually
do. But now the HTML opens in my agenda buffer, and not in my browser
anymore.
When I right-click on http links in my org document, the browser
correctly opens them.
When I command M-x org-export-to-html-and-open, it says [No match].
The symptoms are very much like described in
http://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode
, but unfortunately there is no documented solution.
My org version reports as „Org-mode version 8.2.10
(8.2.10-41-g42228a-elpaplus @
/home/ehret/.emacs.d/elpa/org-plus-contrib-20150615/)“.
I tried moving the elpa installation out of the way and installing a
distribution package, aur/emacs-org-mode, but the result is the same.
Emacs will likely always feel alien to me, but my love to org mode is
bitter sweeeet.
Any help or hints are greatly appreciated!
Best, Sven.
--
Sven Ehret
I2P: das unsichtbare Internet. Erreicht mich mit via I2P-Bote als vDe1o-Y0SS6JYDLUInq1O~1ryC0~Gx48~px7bb5iVDgoC1PRJf8OKG3PVeYGRqilnKn8k14KYBzp4FZ3FVnLklZNsHI62N8ieeexgU~SwJZ1pl6sucy24X8uU39T0aWf7egwrwfyI34rXEb7uBhWlkKf
https://geti2p.net/de/ :: http://i2pbote.i2p.us/
[-- Attachment #2: Type: text/html, Size: 1999 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* no org-export-to-html-and-open since distribution switch
@ 2015-06-17 19:08 Sven Ehret
2015-06-17 21:02 ` Nick Dokos
0 siblings, 1 reply; 8+ messages in thread
From: Sven Ehret @ 2015-06-17 19:08 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]
Hi List,
since I have switched distributions from Mint to Arch, I have lost one
of my most-loved Org features: Export to HTML and open.
When I choose to export something, I type C-c C-e C-s h o as I usually
do. But now the HTML opens in my agenda buffer, and not in my browser
anymore.
When I right-click on http links in my org document, the browser
correctly opens them.
When I command M-x org-export-to-html-and-open, it says [No match].
The symptoms are very much like described in
http://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode
, but unfortunately there is no documented solution.
My org version reports as „Org-mode version 8.2.10
(8.2.10-41-g42228a-elpaplus @
/home/ehret/.emacs.d/elpa/org-plus-contrib-20150615/)“.
I tried moving the elpa installation out of the way and installing a
distribution package, aur/emacs-org-mode, but the result is the same.
Emacs will likely always feel alien to me, but my love to org mode is
bitter sweeeet.
Any help or hints are greatly appreciated!
Best, Sven.
-- Sven Ehret I2P: das unsichtbare Internet. Erreicht mich mit via
I2P-Bote als
vDe1o-Y0SS6JYDLUInq1O~1ryC0~Gx48~px7bb5iVDgoC1PRJf8OKG3PVeYGRqilnKn8k14KYBzp4FZ3FVnLklZNsHI62N8ieeexgU~SwJZ1pl6sucy24X8uU39T0aWf7egwrwfyI34rXEb7uBhWlkKf
https://geti2p.net/de/ :: http://i2pbote.i2p.us/
[-- Attachment #2: Type: text/html, Size: 2146 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: no org-export-to-html-and-open since distribution switch
2015-06-17 19:08 no org-export-to-html-and-open since distribution switch Sven Ehret
@ 2015-06-17 21:02 ` Nick Dokos
0 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2015-06-17 21:02 UTC (permalink / raw)
To: emacs-orgmode
Sven Ehret <sven@ehlu.name> writes:
> Hi List,
>
> since I have switched distributions from Mint to Arch, I have lost one
> of my most-loved Org features: Export to HTML and open.
>
> ...
>
> When I command M-x org-export-to-html-and-open, it says [No match].
>
That function might have existed in org 7.9.x and earlier, but the exporter
underwent major restructuring in the org 8.0 release and a lot of things
were changed/renamed. The current version does this for C-c C-e h o:
(org-open-file (org-html-export-to-html <args>))
org-html-export-to-html writes an HTML file and org-open-file opens it.
See the doc string for the latter: C-h f org-open-file RET
You might have to customize org-file-apps to override the default for
the HTML file type (although see below first). For me, the default is
"mailcap" (determined through the system specific variable
org-file-apps-defaults-gnu - the default is the "t" entry), so it uses
the entry in ~/.mailcap or /etc/mailcap (if it exists). Mine says:
text/html; /usr/bin/google-chrome %s
so it opens it in chrome.
The problem here is that there are too many cooks in the kitchen. I
prefer to leave things at default as far as org is concerned and use
mailcap (which is used by other applications as well). Other people
prefer to hardwire things into org-file-apps which is fine for org but
of course it is not used by any other applications. Other people prefer
to route everything through their desktop environment's Open function
(e.g xdg-open for Gnome) which uses its own routing mechanism (generally
different from mailcap).
I suggest you pick *one* method and stick with it through thick and
thin: ignore everything else. Using more than one leads to madness.
The path of least resistance is probably customizing org-file-apps.
> The symptoms are very much like described in
> http://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode
> , but unfortunately there is no documented solution.
>
> My org version reports as „Org-mode version 8.2.10
> (8.2.10-41-g42228a-elpaplus @
> /home/ehret/.emacs.d/elpa/org-plus-contrib-20150615/)“.
>
> I tried moving the elpa installation out of the way and installing a
> distribution package, aur/emacs-org-mode, but the result is the same.
>
> Emacs will likely always feel alien to me, but my love to org mode is
> bitter sweeeet.
>
> Any help or hints are greatly appreciated!
>
> Best, Sven.
HTH,
Nick
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: no org-export-to-html-and-open since distribution switch
2015-06-17 11:07 Sven Ehret
@ 2015-06-18 15:42 ` Rasmus
2015-06-19 18:35 ` Sven Ehret
0 siblings, 1 reply; 8+ messages in thread
From: Rasmus @ 2015-06-18 15:42 UTC (permalink / raw)
To: emacs-orgmode; +Cc: sven
Hi,
What is your WM/DM? If it's Gnome that might be the reason. There's an
thread a couple of weeks back with a workaround for Gnome.
Rasmus
--
C is for Cookie
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: no org-export-to-html-and-open since distribution, switch
[not found] <mailman.72789.1434637432.903.emacs-orgmode@gnu.org>
@ 2015-06-19 9:26 ` Sven Ehret
0 siblings, 0 replies; 8+ messages in thread
From: Sven Ehret @ 2015-06-19 9:26 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 3110 bytes --]
Hi Nick, you deserve a medal. As I did experiment with xdg-open (never
needed to fiddle with that before), adding a line to my mailcap file
(also never was manually edited before. Perhaps once, for mc) and
restarting emacs made the browser open again. A thousand thanks to you,
not only for solving my immediate problem, but also for your concise
explanations. Cheers! Sven. Message: 11 Date: Wed, 17 Jun 2015 17:02:25
-0400 From: Nick Dokos <ndokos@gmail.com> To: emacs-orgmode@gnu.org
Subject: Re: [O] no org-export-to-html-and-open since distribution
switch Message-ID: <87lhficala.fsf@alphaville.usersys.redhat.com>
Content-Type: text/plain; charset=utf-8 Sven Ehret <sven@ehlu.name> writes:
> Hi List,
>
> since I have switched distributions from Mint to Arch, I have lost one
> of my most-loved Org features: Export to HTML and open.
>
> ...
>
> When I command M-x org-export-to-html-and-open, it says [No match].
>
That function might have existed in org 7.9.x and earlier, but the exporter
underwent major restructuring in the org 8.0 release and a lot of things
were changed/renamed. The current version does this for C-c C-e h o:
(org-open-file (org-html-export-to-html <args>))
org-html-export-to-html writes an HTML file and org-open-file opens it.
See the doc string for the latter: C-h f org-open-file RET
You might have to customize org-file-apps to override the default for
the HTML file type (although see below first). For me, the default is
"mailcap" (determined through the system specific variable
org-file-apps-defaults-gnu - the default is the "t" entry), so it uses
the entry in ~/.mailcap or /etc/mailcap (if it exists). Mine says:
text/html; /usr/bin/google-chrome %s
so it opens it in chrome.
The problem here is that there are too many cooks in the kitchen. I
prefer to leave things at default as far as org is concerned and use
mailcap (which is used by other applications as well). Other people
prefer to hardwire things into org-file-apps which is fine for org but
of course it is not used by any other applications. Other people prefer
to route everything through their desktop environment's Open function
(e.g xdg-open for Gnome) which uses its own routing mechanism (generally
different from mailcap).
I suggest you pick *one* method and stick with it through thick and
thin: ignore everything else. Using more than one leads to madness.
The path of least resistance is probably customizing org-file-apps.
> The symptoms are very much like described in
> http://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode
> , but unfortunately there is no documented solution.
>
> My org version reports as ?Org-mode version 8.2.10
> (8.2.10-41-g42228a-elpaplus @
> /home/ehret/.emacs.d/elpa/org-plus-contrib-20150615/)?.
>
> I tried moving the elpa installation out of the way and installing a
> distribution package, aur/emacs-org-mode, but the result is the same.
>
> Emacs will likely always feel alien to me, but my love to org mode is
> bitter sweeeet.
>
> Any help or hints are greatly appreciated!
>
> Best, Sven.
HTH,
Nick
[-- Attachment #2: Type: text/html, Size: 4205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: no org-export-to-html-and-open since distribution switch
2015-06-18 15:42 ` Rasmus
@ 2015-06-19 18:35 ` Sven Ehret
0 siblings, 0 replies; 8+ messages in thread
From: Sven Ehret @ 2015-06-19 18:35 UTC (permalink / raw)
To: Rasmus, emacs-orgmode
Hi!
The truth is, I not only switched from Mint to Arch, but also from
Cinnamon to i3. So right, this should be taken into account.
I have since been able to solve the problem by adding configuration to
~/.mailcap. Thanks!
Best, Sven.
Am 18.06.2015 um 17:42 schrieb Rasmus:
> Hi,
>
> What is your WM/DM? If it's Gnome that might be the reason. There's an
> thread a couple of weeks back with a workaround for Gnome.
>
> Rasmus
>
--
Sven Ehret
I2P: das unsichtbare Internet. Erreicht mich mit via I2P-Bote als vDe1o-Y0SS6JYDLUInq1O~1ryC0~Gx48~px7bb5iVDgoC1PRJf8OKG3PVeYGRqilnKn8k14KYBzp4FZ3FVnLklZNsHI62N8ieeexgU~SwJZ1pl6sucy24X8uU39T0aWf7egwrwfyI34rXEb7uBhWlkKf
https://geti2p.net/de/ :: https://hideme.today/dev/ :: http://i2pbote.i2p.us/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-06-19 18:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-17 11:15 no org-export-to-html-and-open since distribution switch Sven Ehret
[not found] <mailman.72789.1434637432.903.emacs-orgmode@gnu.org>
2015-06-19 9:26 ` no org-export-to-html-and-open since distribution, switch Sven Ehret
-- strict thread matches above, loose matches on Subject: below --
2015-06-17 19:08 no org-export-to-html-and-open since distribution switch Sven Ehret
2015-06-17 21:02 ` Nick Dokos
2015-06-17 13:54 Sven Ehret
2015-06-17 11:07 Sven Ehret
2015-06-18 15:42 ` Rasmus
2015-06-19 18:35 ` Sven Ehret
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).