From: Nick Dokos <nicholas.dokos@hp.com>
To: zhenjiang xu <zhenjiang.xu@gmail.com>
Cc: Bastien <bzg@altern.org>, emacs-orgmode@gnu.org
Subject: Re: org-export-as-html-and-open problem
Date: Wed, 06 Feb 2013 10:32:28 -0500 [thread overview]
Message-ID: <13914.1360164748@alphaville> (raw)
In-Reply-To: Message from zhenjiang xu <zhenjiang.xu@gmail.com> of "Tue\, 05 Feb 2013 23\:35\:10 MST." <CAAp=d8o9EbH2k6S5=g5jpWX1s+OPF_9XYUWwYd3=Qkj7Ju4Ujg@mail.gmail.com>
zhenjiang xu <zhenjiang.xu@gmail.com> wrote:
> It's odd. The value of org-file-apps-defaults-gnu is:
>
> ((remote . emacs) (system . mailcap) (t . mailcap))
>
> And I checked my local mime file, which shows google-chrome is the default app to open html files:
>
> $ cat ~/.local/share/applications/mimeapps.list
> [Added Associations]
> application/epub+zip=FBReader.desktop;
> application/pdf=pdf.desktop;
> application/vnd.rn-realmedia=smplayer.desktop;
> application/x-matroska=smplayer.desktop;
> application/x-mimearchive=firefox.desktop;
> application/x-ole-storage=libreoffice-impress.desktop;
> audio/mpeg=audacious.desktop;
> text/html=google-chrome.desktop;
> video/mpeg=gnome-mplayer.desktop;
> x-scheme-handler/mailto=google-chrome.desktop;KMail2.desktop;
>
> [Default Applications]
> text/html=google-chrome.desktop
> x-scheme-handler/mailto=google-chrome.desktop
>
> Any idea?
Bastien pointed you to the mailcap files. The mailcap man page says
$HOME/.mailcap:/etc/mailcap:/usr/share/etc/mailcap:/usr/local/etc/mailcap -- default path
for mailcap files.
so those are the files to check.
Nick
>
> On Mon, Feb 4, 2013 at 4:29 PM, Bastien <bzg@altern.org> wrote:
>
> zhenjiang xu <zhenjiang.xu@gmail.com> writes:
>
> > Thanks, Bastien. It's the default value - I've not changed it:
> >
> > org-file-apps is a variable defined in `org.el'.
> > Its value is ((auto-mode . emacs)
> > ("\\.mm\\'" . default)
> > ("\\.x?html?\\'" . default)
> > ("\\.pdf\\'" . default))
>
> So you need to check the relevant variable:
>
> org-file-apps-defaults-gnu
> org-file-apps-defaults-macosx
> org-file-apps-defaults-windowsnt
>
> If the relevant variable uses the defaults (as I guess),
> you need to configure the mailcap file for your system
>
> See http://en.wikipedia.org/wiki/Mailcap
>
> HTH,
>
> --
> Bastien
>
>
> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------
next prev parent reply other threads:[~2013-02-06 15:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 7:38 org-export-as-html-and-open problem zhenjiang xu
2013-02-04 23:20 ` Bastien
2013-02-04 23:24 ` zhenjiang xu
2013-02-04 23:29 ` Bastien
2013-02-06 6:35 ` zhenjiang xu
2013-02-06 15:32 ` Nick Dokos [this message]
2013-02-06 17:51 ` zhenjiang xu
2013-02-06 18:05 ` Bastien
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=13914.1360164748@alphaville \
--to=nicholas.dokos@hp.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
--cc=zhenjiang.xu@gmail.com \
/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).