From: Carsten Dominik <dominik@science.uva.nl>
To: Scott Otterson <scotto@u.washington.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-export gets mozilla; C-c C-o gets firefox
Date: Thu, 15 Mar 2007 09:12:38 +0100 [thread overview]
Message-ID: <4afda56788840b749f4d6447495c4495@science.uva.nl> (raw)
In-Reply-To: <45F87D21.4000409@u.washington.edu>
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
prev parent reply other threads:[~2007-03-15 8:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 22:54 org-export gets mozilla; C-c C-o gets firefox Scott Otterson
2007-03-15 8:12 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4afda56788840b749f4d6447495c4495@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=scotto@u.washington.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).