From: Bastien <bzg@altern.org>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Wish list: Storing links and enabling MIME actions on files
Date: Thu, 27 Sep 2007 21:39:22 +0200 [thread overview]
Message-ID: <87wsubx5hx.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87ps04vsd7.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Thu, 27 Sep 2007 15:08:20 -0400")
Bernt Hansen <bernt@alumni.uwaterloo.ca> writes:
> Creating the link like this works great. For some reason the previous
> links I created has ::blah after them - I opened the file with C-x C-f
> filename.pdf and then did used org-store-link - which created a link
> with a search expresssion in it - and that's why it didn't open with the
> PDF viewer by default.
This behavior is driven by `org-context-in-file-links':
,----[ C-h v org-context-in-file-links ]
| Non-nil means, file links from `org-store-link' contain context. A
| search string will be added to the file name with :: as separator and
| used to find the context when the link is activated by the command
| `org-open-at-point'. Using a prefix arg to the command C-c l
| (`org-store-link') negates this setting for the duration of the command.
`----
(setq org-context-in-file-links nil)
won't try to add context to the file link. But linking the file from
dired-mode won't add contextual search string neither.
HTH,
--
Bastien
prev parent reply other threads:[~2007-09-27 19:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-27 16:43 Wish list: Storing links and enabling MIME actions on files Bernt Hansen
2007-09-27 17:24 ` Bastien
2007-09-27 17:51 ` William Henney
2007-09-27 18:02 ` Bastien
2007-09-27 18:15 ` William Henney
2007-09-27 19:35 ` Bastien
2007-09-27 18:44 ` Bernt Hansen
2007-09-27 22:50 ` Bastien
2007-09-27 23:08 ` Bernt Hansen
2007-09-27 18:01 ` Carsten Dominik
2007-09-27 18:38 ` Bernt Hansen
2007-09-27 19:08 ` Bernt Hansen
2007-09-27 19:39 ` Bastien [this message]
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=87wsubx5hx.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--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).