emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] #+INCLUDE: without file extension


From: Rainer M Krug
Subject: [O] #+INCLUDE: without file extension
Date: Fri, 12 Dec 2014 09:47:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin)

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

[Prev in Thread] Current Thread [Next in Thread]