From: zhenjiang xu <zhenjiang.xu@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-export-as-html-and-open problem
Date: Tue, 5 Feb 2013 23:35:10 -0700 [thread overview]
Message-ID: <CAAp=d8o9EbH2k6S5=g5jpWX1s+OPF_9XYUWwYd3=Qkj7Ju4Ujg@mail.gmail.com> (raw)
In-Reply-To: <87wqun1wvy.fsf@bzg.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]
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?
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
>
[-- Attachment #2: Type: text/html, Size: 2951 bytes --]
next prev parent reply other threads:[~2013-02-06 7:01 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 [this message]
2013-02-06 15:32 ` Nick Dokos
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='CAAp=d8o9EbH2k6S5=g5jpWX1s+OPF_9XYUWwYd3=Qkj7Ju4Ujg@mail.gmail.com' \
--to=zhenjiang.xu@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/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).