From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#14605: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Mon, 02 Sep 2013 14:04:14 +0530 Message-ID: <8738pnlj09.fsf@gmail.com> References: <51B9C912.4050100@redhat.com> <51C979DF.9080106@redhat.com> <520A312B.5080003@redhat.com> <6CD2860F-6518-4BC6-B431-507BB088B588@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378110809 9594 80.91.229.3 (2 Sep 2013 08:33:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2013 08:33:29 +0000 (UTC) Cc: 14605@debbugs.gnu.org To: Carsten Dominik Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 02 10:33:31 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VGPZj-0001nY-NA for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Sep 2013 10:33:31 +0200 Original-Received: from localhost ([::1]:37919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGPZj-0000w6-AX for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Sep 2013 04:33:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGPZa-0000o8-8s for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2013 04:33:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VGPZU-0007zY-E6 for bug-gnu-emacs@gnu.org; Mon, 02 Sep 2013 04:33:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VGPZH-0007wP-5q; Mon, 02 Sep 2013 04:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VGPZG-0007Ah-Ib; Mon, 02 Sep 2013 04:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Mon, 02 Sep 2013 08:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14605 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 14605-submit@debbugs.gnu.org id=B14605.137811073827508 (code B ref 14605); Mon, 02 Sep 2013 08:33:02 +0000 Original-Received: (at 14605) by debbugs.gnu.org; 2 Sep 2013 08:32:18 +0000 Original-Received: from localhost ([127.0.0.1]:36578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGPYW-00079a-3W for submit@debbugs.gnu.org; Mon, 02 Sep 2013 04:32:17 -0400 Original-Received: from mail-pd0-f170.google.com ([209.85.192.170]:64813) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VGPYR-00079L-VS for 14605@debbugs.gnu.org; Mon, 02 Sep 2013 04:32:12 -0400 Original-Received: by mail-pd0-f170.google.com with SMTP id x10so4499730pdj.29 for <14605@debbugs.gnu.org>; Mon, 02 Sep 2013 01:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=n5NX6ps4RxmAUbQ1ZjKdLavorD7bKaQS/WGtfbDmgCg=; b=v3BiJoBvjiMXwJPkC6ZR+FyoIYxzc4WauvSY/i+xZrCjTUPciELaJ670/AvH6JVN5M 1hefGdi6VEsbPDiCMyapNHVkCLYjWARgz+BcaVk+HrUhsbPbZrWCQ4yECdp3qPBHj4sZ cslIMD4x9nBedh207YG5YSUg0IdJSacxnO2TR/+I3EWFwyUK7vlqbnp5yHADjuLClFcv XtcTPzPzBcUIwvYVrI8lrMzHIgZ8zwhtsD6L1NEbx2HhZ6FC5Lr+7vqRzISf5EMxw+2d iDDRL/VDTY6M55w+u+107t1rCZJga5T9Ph1mqxIaV/TAXi/wPg8BQTlv3CF/vk3xvUEb uN7w== X-Received: by 10.66.150.41 with SMTP id uf9mr25083381pab.108.1378110725884; Mon, 02 Sep 2013 01:32:05 -0700 (PDT) Original-Received: from porunai ([115.244.232.196]) by mx.google.com with ESMTPSA id bb1sm14415648pbc.10.1969.12.31.16.00.00 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 02 Sep 2013 01:32:05 -0700 (PDT) In-Reply-To: <6CD2860F-6518-4BC6-B431-507BB088B588@gmail.com> (Carsten Dominik's message of "Mon, 2 Sep 2013 07:35:40 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77885 Archived-At: Carsten Dominik writes: > They are basically the "open" commands for MacOS X and Windows, and > mailcap for Unix/Linux. The suggestion below is met with some approval in the Orgmode mailist earlier. http://lists.gnu.org/archive/html/emacs-orgmode/2013-07/msg00407.html Here I go. ---------------------------------------------------------------- Turn `org-file-apps-defaults-gnu' (which is now a defconst) in to defcustom and make xdg-open the default (or make a drop down list with gnome-open, kde-open for people who don't have xdg-utils insalled) . (defconst org-file-apps-defaults-gnu '((remote . emacs) (system . mailcap) (t . mailcap)) "Default file applications on a UNIX or GNU/Linux system. See `org-file-apps'.") (custom-set-variables '(org-file-apps (quote ((auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)))) '(org-file-apps-defaults-gnu (quote ((remote . emacs) (system . "xdg-open %s") (t . mailcap))) t)) ---------------------------------------------------------------- Anyways, opening a file outside of Emacs is not specific to Org. Other applications can open facility, if available right within Emacs core. For some discussion surrounging - `open-file' - see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14110