|
From: | Matt Price |
Subject: | Re: [O] use of 'system in ox-odt.el |
Date: | Thu, 21 May 2015 11:21:38 -0400 |
On May 21, 2015 04:32, "Rasmus" <address@hidden> wrote:
>
> Matt Price <address@hidden> 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 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
>
> > I think those bug reports describe the problem precisely. I am also on
> > gnome and have much the same problem.
>
> 2 minutes research suggest that I cannot tell xdg-open to use another
> backend other than through environment variables, viz. BROWSER, DE,
> DESKTOP_SESSION. Unfortunately, I was not able to make this work by just
> setting the DESKTOP_SESSION in either the shell starting Emacs or via
> setenv.
>
> So I guess on could use an xdg-open alternative or hardcode programs in
> mailcap...
Did you try this:
(setcdr (assq 'system org-file-apps-defaults-gnu ) '(call-process "xdg-open" nil 0 nil file))
That works for me.
>
> Rasmus
>
> --
> A page of history is worth a volume of logic
>
>
[Prev in Thread] | Current Thread | [Next in Thread] |