From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: #+INCLUDE: without file extension Date: Fri, 12 Dec 2014 09:47:09 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzLst-0002mc-22 for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 03:47:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzLsl-0008Op-Ia for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 03:47:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:47440) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzLsl-0008Ol-BI for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 03:47:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XzLsj-00066B-OW for emacs-orgmode@gnu.org; Fri, 12 Dec 2014 09:47:25 +0100 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 09:47:25 +0100 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Dec 2014 09:47:25 +0100 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi In the following example (assuming the three text files exist): =2D-8<---------------cut here---------------start------------->8--- * example for include When doing C-' on these INCLUDEs, the file opens, but not as expected: #+INCLUDE: ./testfile.txt Opens in emacs (expected). #+INCLUDE: ./testfile.xyz Tries to open externally but does not work as no viewer is available for .xyz files (kind of expected) #+INCLUDE: ./testfile Opens externally (not expected) =2D-8<---------------cut here---------------end--------------->8--- I assume this is caused by my ~/mailcap file ,---- | application/pdf; open %s | application/*; open %s `---- Which I have for gnus. Is there a way to specify the viewer / editor when using C-' on an INCLUDEd file? As they are all test files, I would like to open all of the INCLUDEd files in emacs. I am on a Mac, Yosemite, with: ,---- | GNU Emacs 24.4.1 (x86_64-apple-darwin14.0.0, Carbon Version 157 AppKit | 1343.16) of 2014-11-24 on Rainers-MacBook-Pro-4.local |=20 | Org-mode version 8.3beta (release_8.3beta-603-g9aa58f @ | /Users/rainerkrug/.emacs.d/org-mode/lisp/) `---- Any suggestion? Thanks, Rainer =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJUiquSAAoJENvXNx4PUvmCT10H/3hCpwMHvIspotX+jXO6L5Vh hAiEYRm/1FSGj6wxAS8pqecYy1xcaPFvWhHBwSnLDK7aio8Avaaos7nqSFM2NKlm a6tSk0Z2Wv6ARaYmBtydnQonpk8eHdVTh6KjyANEa2TZRZgUipcH3I8HSeeaNm+w 9NoERW8hP1qc62IMNpn6EKTwIMb6ghsn6VbSGXn3bBeg6DwQv+w38GJO6WkQkQ05 3eujGD2wUjU0ZMhOQxojXNJus1XlobnAuHWowjZ5pzaHfaG6bMvkJ2jmJzu4+jwY JM9GpsVWUAzf8aYsLNOkkqn+V3E/HgHJuPMhjYOTtiGznfHVMMjrYrE9hmJkHnI= =jFoE -----END PGP SIGNATURE----- --=-=-=--