* my org-mode mysteriously uses opera as default browser...
@ 2009-11-24 21:38 LanX
2009-11-24 21:58 ` LanX
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: LanX @ 2009-11-24 21:38 UTC (permalink / raw)
To: help-gnu-emacs
Hi
M-x browse-url works as supposed and opens urls in Firefox. But since
I installed opera on my ubuntu-system org-mode insists to use opera
instead of FF...
I already checked "customize-group org-mode" and grepped thru all
my .el for "opera".
And FF is still the default of gnome.
Any suggestion what I can do?
Cheers
Rolf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: my org-mode mysteriously uses opera as default browser...
2009-11-24 21:38 my org-mode mysteriously uses opera as default browser LanX
@ 2009-11-24 21:58 ` LanX
2009-11-24 23:00 ` Dmitry Dzhus
2009-11-24 22:52 ` Andreas Politz
2009-11-24 22:52 ` Sven Bretfeld
2 siblings, 1 reply; 5+ messages in thread
From: LanX @ 2009-11-24 21:58 UTC (permalink / raw)
To: help-gnu-emacs
Hi
Ok just noticed this problem only occurs with my emacs 22. And sorry
it's not an org-mode issue, browse-url always uses opera... (?)
But emacs 23 works as expected!
(seem like installing Opera somehow changed the defaults, and emacs 23
knows how to handle this)
Since I'm anyway switching to 23, please don't mind! 8)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: my org-mode mysteriously uses opera as default browser...
2009-11-24 21:38 my org-mode mysteriously uses opera as default browser LanX
2009-11-24 21:58 ` LanX
@ 2009-11-24 22:52 ` Andreas Politz
2009-11-24 22:52 ` Sven Bretfeld
2 siblings, 0 replies; 5+ messages in thread
From: Andreas Politz @ 2009-11-24 22:52 UTC (permalink / raw)
To: help-gnu-emacs
LanX <lanx.perl@googlemail.com> writes:
> Hi
>
> M-x browse-url works as supposed and opens urls in Firefox. But since
> I installed opera on my ubuntu-system org-mode insists to use opera
> instead of FF...
If not otherwise configured, org uses mailcap to choose the appropriate
application for a file. It looks like this installation made opera your
default app for HTML-files, from mailcaps pow.
>
> I already checked "customize-group org-mode" and grepped thru all
> my .el for "opera".
> And FF is still the default of gnome.
>
> Any suggestion what I can do?
>
> Cheers
> Rolf
If you don't want to fiddle with mailcap, you can
(add-to-list 'org-file-apps '("\\.x?html?\\'" browse-url file))
and org uses Emacs default-browser.
-ap
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: my org-mode mysteriously uses opera as default browser...
2009-11-24 21:38 my org-mode mysteriously uses opera as default browser LanX
2009-11-24 21:58 ` LanX
2009-11-24 22:52 ` Andreas Politz
@ 2009-11-24 22:52 ` Sven Bretfeld
2 siblings, 0 replies; 5+ messages in thread
From: Sven Bretfeld @ 2009-11-24 22:52 UTC (permalink / raw)
To: help-gnu-emacs
Hello
LanX <lanx.perl@googlemail.com> writes:
> I already checked "customize-group org-mode" and grepped thru all my
> .el for "opera". And FF is still the default of gnome.
> Any suggestion what I can do?
Maybe this code helps:
(setq
browse-url-browser-function 'browse-url-generic
browse-url-generic-program "firefox")
I don't know if there is a special variable for org-mode.
Greetings,
Sven
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-11-24 23:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 21:38 my org-mode mysteriously uses opera as default browser LanX
2009-11-24 21:58 ` LanX
2009-11-24 23:00 ` Dmitry Dzhus
2009-11-24 22:52 ` Andreas Politz
2009-11-24 22:52 ` Sven Bretfeld
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.