Re: [O] use of 'system in ox-odt.el

2015-05-21 Thread Rasmus
Matt Price writes: > Did you try this: > > (setcdr (assq 'system org-file-apps-defaults-gnu ) '(call-process > "xdg-open" nil 0 nil file)) > > That works for me. It works for odt, but not html. -- Slowly unravels in a ball of yarn and the devil collects it

Re: [O] use of 'system in ox-odt.el

2015-05-21 Thread Matt Price
On May 21, 2015 04:32, "Rasmus" wrote: > > Matt Price writes: > > >> You are on Gnome, rt? I think there is a long standing "bug" in > >> gvfs-open (which is called by xdg-open). > >> > >> See the following: > >> http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html > >> https://bu

Re: [O] use of 'system in ox-odt.el

2015-05-21 Thread Rasmus
Matt Price writes: >> You are on Gnome, rt? I think there is a long standing "bug" in >> gvfs-open (which is called by xdg-open). >> >> See the following: >> http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html >> https://bugzilla.gnome.org/show_bug.cgi?id=652262 >> >> I came acro

Re: [O] use of 'system in ox-odt.el

2015-05-20 Thread Matt Price
On May 20, 2015 1:43 PM, "Suvayu Ali" wrote: > > On Wed, May 20, 2015 at 01:21:34PM +0200, Rasmus wrote: > > Suvayu Ali writes: > > > > > On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote: > > >> Suvayu Ali writes: > > >> > > > > > >> > Do you have a mailcap which says otherwise? That's wh

Re: [O] use of 'system in ox-odt.el

2015-05-20 Thread Suvayu Ali
On Wed, May 20, 2015 at 01:21:34PM +0200, Rasmus wrote: > Suvayu Ali writes: > > > On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote: > >> Suvayu Ali writes: > >> > > > >> > Do you have a mailcap which says otherwise? That's what I would suspect > >> > given the doc string for org-file-ap

Re: [O] use of 'system in ox-odt.el

2015-05-20 Thread Rasmus
Suvayu Ali writes: > On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote: >> Suvayu Ali writes: >> > >> > Do you have a mailcap which says otherwise? That's what I would suspect >> > given the doc string for org-file-apps and the default value of >> > org-file-apps-defaults-gnu on my system

Re: [O] use of 'system in ox-odt.el

2015-05-20 Thread Suvayu Ali
On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote: > Suvayu Ali writes: > > > Do you have a mailcap which says otherwise? That's what I would suspect > > given the doc string for org-file-apps and the default value of > > org-file-apps-defaults-gnu on my system. > > I have this in my mailc

Re: [O] use of 'system in ox-odt.el

2015-05-20 Thread Rasmus
Suvayu Ali writes: > Do you have a mailcap which says otherwise? That's what I would suspect > given the doc string for org-file-apps and the default value of > org-file-apps-defaults-gnu on my system. I have this in my mailcap application/msword; antiword %s; application/

Re: [O] use of 'system in ox-odt.el

2015-05-19 Thread Suvayu Ali
On Tue, May 19, 2015 at 02:19:10PM -0400, Matt Price wrote: > On Tue, May 19, 2015 at 10:57 AM, Rasmus wrote: > > > Matt Price writes: > > > > > When I export-and-open to odt, org doesn't open the resultant odt, even > > > though I get a message: > > > > > > Running xdg-open /home/matt/RLG231/RL

Re: [O] use of 'system in ox-odt.el

2015-05-19 Thread Matt Price
Resenting to list (sorry rasmus) -- Forwarded message -- From: "Matt Price" Date: May 19, 2015 11:04 Subject: Re: [O] use of 'system in ox-odt.el To: "Rasmus" Cc: On Tue, May 19, 2015 at 10:57 AM, Rasmus wrote: > Matt Price writes: > > &g

Re: [O] use of 'system in ox-odt.el

2015-05-19 Thread Rasmus
Matt Price writes: > When I export-and-open to odt, org doesn't open the resultant odt, even > though I get a message: > > Running xdg-open /home/matt/RLG231/RLG231Syllabus.odt...done > > org-open-file works fine on links in an org buffer, and an anser on the > following stackoverflow page sugges

[O] use of 'system in ox-odt.el

2015-05-19 Thread Matt Price
Hi, When I export-and-open to odt, org doesn't open the resultant odt, even though I get a message: Running xdg-open /home/matt/RLG231/RLG231Syllabus.odt...done org-open-file works fine on links in an org buffer, and an anser on the following stackoverflow page suggests the issue is in ox-odt.el