emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Wish list: Storing links and enabling MIME actions on


From: Bastien
Subject: Re: [Orgmode] Re: Wish list: Storing links and enabling MIME actions on files
Date: Thu, 27 Sep 2007 21:39:22 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Bernt Hansen <address@hidden> 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




reply via email to

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