From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Bug: Setting system command org-file-apps does not allow other settings to refer to it [8.2.5h (release_8.2.5h-620-g7fd183 @ /home/rrt/.emacs.d/el-get/package/elpa/org-20140210/)] Date: Mon, 21 Apr 2014 21:00:48 +0200 Message-ID: <87zjjeo6cf.fsf@bzg.ath.cx> References: <87d2hos6xc.fsf@sc3d.org> <87mwgpk214.fsf@bzg.ath.cx> <87mwgpgfvu.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcJSd-0002zo-4X for emacs-orgmode@gnu.org; Mon, 21 Apr 2014 15:01:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcJSW-0006a7-KE for emacs-orgmode@gnu.org; Mon, 21 Apr 2014 15:00:59 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:40579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcJSW-0006Zt-Cf for emacs-orgmode@gnu.org; Mon, 21 Apr 2014 15:00:52 -0400 Received: by mail-wi0-f170.google.com with SMTP id bs8so2102556wib.1 for ; Mon, 21 Apr 2014 12:00:51 -0700 (PDT) In-Reply-To: (Reuben Thomas's message of "Mon, 17 Mar 2014 13:17:16 +0000") 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: Reuben Thomas Cc: emacs-orgmode@gnu.org Hi Reuben, Reuben Thomas writes: > 1. I customize org-file-apps's system command to be "xdg-open %s", > then customize the default command to be the system command. Please share the value of `org-file-apps' (C-h v org-file-apps RET). What I've found is that, since .pdf documents can be opened in Emacs and since org-file-apps contains (auto-mode . emacs) as its first element, then changing the system's value to xdg-open after that will fail because (auto-mode . emacs) is applied first. Sure, the docstring needs a bit of simplification, thought. -- Bastien