emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: zhenjiang xu <zhenjiang.xu@gmail.com>
To: nicholas.dokos@hp.com
Cc: Bastien <bzg@altern.org>, emacs-orgmode@gnu.org
Subject: Re: org-export-as-html-and-open problem
Date: Wed, 6 Feb 2013 10:51:15 -0700	[thread overview]
Message-ID: <CAAp=d8r34mrbNSaDCmxx8U==OUi_9cx2ceo_6uRmV7Z3Y0YUDw@mail.gmail.com> (raw)
In-Reply-To: <13914.1360164748@alphaville>

[-- Attachment #1: Type: text/plain, Size: 2330 bytes --]

Sorry I forgot to mention that I don't have mailcap files in my Archlinux.


On Wed, Feb 6, 2013 at 8:32 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:

> 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:
> >
> > ----------------------------------------------------
>

[-- Attachment #2: Type: text/html, Size: 3358 bytes --]

  reply	other threads:[~2013-02-06 17:52 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
2013-02-06 17:51           ` zhenjiang xu [this message]
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=d8r34mrbNSaDCmxx8U==OUi_9cx2ceo_6uRmV7Z3Y0YUDw@mail.gmail.com' \
    --to=zhenjiang.xu@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.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).