From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Richard Subject: Re: org-open-file with xdg-open not working? Date: Tue, 22 Apr 2014 15:28:20 +0200 Message-ID: <878uqx4hor.fsf@geodiff-mac3.ulb.ac.be> References: <87fvl5ww1p.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcajk-00047h-Ie for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 09:27:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wcaje-00030N-Dq for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 09:27:48 -0400 Received: from mxin.ulb.ac.be ([164.15.128.112]:62245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wcaje-00030A-7w for emacs-orgmode@gnu.org; Tue, 22 Apr 2014 09:27:42 -0400 In-Reply-To: <87fvl5ww1p.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 22 Apr 2014 17:30:42 +0800") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org 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 ? -- Nico.