From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Wish list: Storing links and enabling MIME actions on files Date: Thu, 27 Sep 2007 21:39:22 +0200 Message-ID: <87wsubx5hx.fsf@bzg.ath.cx> References: <87k5qcxdml.fsf@gollum.intra.norang.ca> <271583338c2b3481ef076799aea32e8d@science.uva.nl> <878x6sx8c1.fsf@gollum.intra.norang.ca> <87ps04vsd7.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IazCr-0008V0-Cf for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 15:39:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IazCq-0008Uf-5F for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 15:39:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IazCp-0008Ua-VU for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 15:39:27 -0400 Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IazCp-0002ZY-If for emacs-orgmode@gnu.org; Thu, 27 Sep 2007 15:39:27 -0400 Received: by ug-out-1314.google.com with SMTP id m4so1604132uge for ; Thu, 27 Sep 2007 12:39:27 -0700 (PDT) In-Reply-To: <87ps04vsd7.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Thu, 27 Sep 2007 15:08:20 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bernt Hansen 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