Hi

In the following example (assuming the three text files exist):

--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)
--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
| 
| Org-mode version 8.3beta (release_8.3beta-603-g9aa58f @
| /Users/rainerkrug/.emacs.d/org-mode/lisp/)
`----

Any suggestion?

Thanks,

Rainer

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

Attachment: signature.asc
Description: PGP signature

Reply via email to