Re: [O] org-export-as-html-and-open problem

2013-02-06 Thread Bastien
Hi Zhenjiang, zhenjiang xu writes: > Sorry I forgot to mention that I don't have mailcap files in my > Archlinux. Then you'll need to configure `org-file-apps' to suit your needs. Best, -- Bastien

Re: [O] org-export-as-html-and-open problem

2013-02-06 Thread zhenjiang xu
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 wrote: > zhenjiang xu wrote: > > > It's odd. The value of org-file-apps-defaults-gnu is: > > > > ((remote . emacs) (system . mailcap) (t . mailcap)) > > > > And I checked my lo

Re: [O] org-export-as-html-and-open problem

2013-02-06 Thread Nick Dokos
zhenjiang xu 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  > [

Re: [O] org-export-as-html-and-open problem

2013-02-05 Thread zhenjiang xu
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=F

Re: [O] org-export-as-html-and-open problem

2013-02-04 Thread Bastien
zhenjiang xu 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 va

Re: [O] org-export-as-html-and-open problem

2013-02-04 Thread zhenjiang xu
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)) On Mon, Feb 4, 2013 at 4:20 PM, Bastien wrote: > Hi Zhenjiang, > > zh

Re: [O] org-export-as-html-and-open problem

2013-02-04 Thread Bastien
Hi Zhenjiang, zhenjiang xu writes: > when I type the keys `C-c C-e b', the html is generated but it is > opened in emacs instead of an internet browser. Does anyone know > why? Check the value of `org-file-apps'. C-h v org-file-apps RET Hope this helps, -- Bastien

[O] org-export-as-html-and-open problem

2013-02-01 Thread zhenjiang xu
when I type the keys `C-c C-e b', the html is generated but it is opened in emacs instead of an internet browser. Does anyone know why? I am using builtin org-mode in Emacs 24.2 (7.8.11) and set google-chrome as default browser. Thanks, Zhenjiang