From: Rainer M Krug <Rainer@krugs.de>
To: emacs-orgmode@gnu.org
Subject: #+INCLUDE: without file extension
Date: Fri, 12 Dec 2014 09:47:09 +0100 [thread overview]
Message-ID: <m2siglb6gi.fsf@krugs.de> (raw)
[-- 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 --]
reply other threads:[~2014-12-12 8:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2siglb6gi.fsf@krugs.de \
--to=rainer@krugs.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).