Bernt Hansen <[EMAIL PROTECTED]> 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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode