From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: org-open-file with xdg-open not working? Date: Tue, 22 Apr 2014 22:40:14 +0800 Message-ID: <87tx9lsa0h.fsf@ericabrahamsen.net> References: <87fvl5ww1p.fsf@ericabrahamsen.net> <878uqx4hor.fsf@geodiff-mac3.ulb.ac.be> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44970) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcbp9-0000o1-19 for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 10:37:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wcbp2-0003xf-FJ for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 10:37:26 -0400 Received: from plane.gmane.org ([80.91.229.3]:38188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcbp2-0003wG-9h for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 10:37:20 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wcbp0-000628-Ig for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 16:37:18 +0200 Received: from 221.218.162.46 ([221.218.162.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Apr 2014 16:37:18 +0200 Received: from eric by 221.218.162.46 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Apr 2014 16:37:18 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Richard writes: > Eric Abrahamsen writes: >> Presumably that's because the gnus version (eventually >> `mm-display-external') calls xdg-open with `call-process' and org does >> it with `start-process-shell-command'. The first is synchronous, the >> second asynchronous, and I do remember seeing something on one of these >> lists about difficulties with xdg-open because the process returns >> before the file actually opens, or *doesn't* return, or some similar >> thing the details of which I'm forgetting. >> >> Have other people run into this difficulty? How are you solving it? > > I remember having problems which I was able to solve by changing the > value of process-connection-type to nil. Does that work for you ? Brilliant, that did it! Very glad there was a semi-simple solution. Thanks, Eric