[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] use of 'system in ox-odt.el
From: |
Suvayu Ali |
Subject: |
Re: [O] use of 'system in ox-odt.el |
Date: |
Wed, 20 May 2015 19:42:53 +0200 |
User-agent: |
Mutt/1.5.23.1-rc1 (2014-03-12) |
On Wed, May 20, 2015 at 01:21:34PM +0200, Rasmus wrote:
> Suvayu Ali <address@hidden> writes:
>
> > On Wed, May 20, 2015 at 11:50:03AM +0200, Rasmus wrote:
> >> Suvayu Ali <address@hidden> 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/pdf; evince %s;
> >> application/vnd.lotus-organizer; emacsclient -ca '' %s;
> >> application/zip file-roller %s;
> >>
> >> Org does not open my html and odt files. It does open pdf files. This is
> >> using emacs -q. I use Gnome 3.16 and xdg-open works as expected from the
> >> terminal.
> >
> > There should also be a system-wide setting in /etc/mailcap. On my
> > Fedora machine, the system-wide settings all look like this:
> >
> > text/html; /usr/bin/xdg-open %s ; copiousoutput
> >
> > If yours doesn't, you could override it in ~/.mailcap. If that doesn't
> > fix things, I'm out of ideas :-|.
>
> Now it get the message
>
> Running /usr/bin/xdg-open /tmp/test.html ...done
>
> But it doesn't actually open the file... The same happens when I mark the
> file in dired and says & xdg-open. From the terminal it works fine.
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 across this a long time ago trying to investigate why xdg-open
didn't work when running asynchronously like your example.
http://thread.gmane.org/gmane.emacs.help/93430
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
- [O] use of 'system in ox-odt.el, Matt Price, 2015/05/19
- Re: [O] use of 'system in ox-odt.el, Rasmus, 2015/05/19
- Message not available
- Re: [O] use of 'system in ox-odt.el, Matt Price, 2015/05/19
- Re: [O] use of 'system in ox-odt.el, Suvayu Ali, 2015/05/19
- Re: [O] use of 'system in ox-odt.el, Rasmus, 2015/05/20
- Re: [O] use of 'system in ox-odt.el, Suvayu Ali, 2015/05/20
- Re: [O] use of 'system in ox-odt.el, Rasmus, 2015/05/20
- Re: [O] use of 'system in ox-odt.el,
Suvayu Ali <=
- Re: [O] use of 'system in ox-odt.el, Matt Price, 2015/05/20
- Re: [O] use of 'system in ox-odt.el, Rasmus, 2015/05/21
- Re: [O] use of 'system in ox-odt.el, Matt Price, 2015/05/21
- Re: [O] use of 'system in ox-odt.el, Rasmus, 2015/05/21