* org-export gets mozilla; C-c C-o gets firefox
@ 2007-03-14 22:54 Scott Otterson
2007-03-15 8:12 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Scott Otterson @ 2007-03-14 22:54 UTC (permalink / raw)
To: emacs-orgmode
When I visit an org mode http link with C-c C-o, emacs opens up firefox
and goes to that url. However, when I use:
org-export
b
the Mozilla web browser pops up instead. This is on a Linux machine,
org 4.68, and with the emacs variable browse-url-browser-function set to
browse-url-firefox. I tried switching this browse-url-default-browser
and got the same behavior and then both org-export and C-c C-o pop up
Mozilla, so it appears that org-mode is ignoring the
browse-url-browser-function variable.
Does anybody know how I can make org-mode always pop up Firefox?
Thanks,
Scott
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-export gets mozilla; C-c C-o gets firefox
2007-03-14 22:54 org-export gets mozilla; C-c C-o gets firefox Scott Otterson
@ 2007-03-15 8:12 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-03-15 8:12 UTC (permalink / raw)
To: Scott Otterson; +Cc: emacs-orgmode
On Mar 14, 2007, at 23:54, Scott Otterson wrote:
> When I visit an org mode http link with C-c C-o, emacs opens up firefox
> and goes to that url. However, when I use:
>
> org-export
> b
>
> the Mozilla web browser pops up instead. This is on a Linux machine,
> org 4.68, and with the emacs variable browse-url-browser-function set
> to
> browse-url-firefox. I tried switching this browse-url-default-browser
> and got the same behavior and then both org-export and C-c C-o pop up
> Mozilla, so it appears that org-mode is ignoring the
> browse-url-browser-function variable.
>
> Does anybody know how I can make org-mode always pop up Firefox?
C-c C-o on a http url uses browse-url
opening a local html file (C-c C-o on a file:... link, or org-export b)
uses system dependent settings. On a Linux system
it uses mailcap. I am not too familiar with the workings of this,
but basically it identifies a file as text/html and then looks for
viewers
in
- the file pointed to by the ENV variable MAILCAPS
- in other files like ~/.mailcap, /etc/mailcap, or /usr/etc/mailcap
I believe it basically uses the same settings that will open a .html
file
by clicking it in konqueror or whatever you use for looking at
your file system on the desktup.
Hope this helps.
- Carsten
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-15 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-14 22:54 org-export gets mozilla; C-c C-o gets firefox Scott Otterson
2007-03-15 8:12 ` Carsten Dominik
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.