From: Matt Price <moptop99@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: use of 'system in ox-odt.el
Date: Thu, 21 May 2015 11:21:38 -0400 [thread overview]
Message-ID: <CAN_Dec--EeL0yJNJ7C1yakFOKbSWm1-LCwubMv3OWwTL_R7fNA@mail.gmail.com> (raw)
In-Reply-To: <87d21u1gzi.fsf@pank.eu>
[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]
On May 21, 2015 04:32, "Rasmus" <rasmus@gmx.us> wrote:
>
> Matt Price <moptop99@gmail.com> 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
>
>
[-- Attachment #2: Type: text/html, Size: 2065 bytes --]
next prev parent reply other threads:[~2015-05-21 15:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 14:45 use of 'system in ox-odt.el Matt Price
2015-05-19 14:57 ` Rasmus
[not found] ` <CAN_Dec_p7ZsHFKHpS7ha62Rq0apawmqXBj5Jho1ceZ1d05SLKw@mail.gmail.com>
2015-05-19 18:19 ` Matt Price
2015-05-19 20:38 ` Suvayu Ali
2015-05-20 9:50 ` Rasmus
2015-05-20 11:03 ` Suvayu Ali
2015-05-20 11:21 ` Rasmus
2015-05-20 17:42 ` Suvayu Ali
2015-05-21 0:29 ` Matt Price
2015-05-21 8:18 ` Rasmus
2015-05-21 15:21 ` Matt Price [this message]
2015-05-21 17:30 ` Rasmus
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=CAN_Dec--EeL0yJNJ7C1yakFOKbSWm1-LCwubMv3OWwTL_R7fNA@mail.gmail.com \
--to=moptop99@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).