* #+INCLUDE: without file extension
@ 2014-12-12 8:47 Rainer M Krug
0 siblings, 0 replies; only message in thread
From: Rainer M Krug @ 2014-12-12 8:47 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1268 bytes --]
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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 494 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-12 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-12 8:47 #+INCLUDE: without file extension Rainer M Krug
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).