From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: open file link in dired? Date: Wed, 10 Dec 2014 10:51:23 +0100 Message-ID: <87bnnb97fa.fsf@wmi.amu.edu.pl> References: <87vcbdlz75.fsf@bzg.ath.cx> <87ehi0lxfy.fsf@bzg.ath.cx> <87a92w8as9.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xydvm-0004V1-V5 for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 04:51:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xydvi-0007Ha-Gp for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 04:51:38 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:40958) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xydvi-0007H5-93 for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 04:51:34 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 6C3B7575E4 for ; Wed, 10 Dec 2014 10:51:32 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kjeSB8wrnBUC for ; Wed, 10 Dec 2014 10:51:32 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 20C1B571F8 for ; Wed, 10 Dec 2014 10:51:32 +0100 (CET) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, please note that I did not read the original message, but does this help? http://mbork.pl/2013-10-06_Links_to_directories_in_Org-mode_files Best, mb On 2014-12-10, at 08:48, Alan Schmitt wrote: > (I replied to Steve directly but forgot to copy the list. Here it is.) > > On 2014-12-09 19:05, Steven Arntson writes: > >> I've been searching many moons for this exact functionality! I'm very >> glad to run across this, but as a fairly new emacser, I'm not sure what >> to do with this code. I copied it into my init.el, marked it and ran >> 'eval-region', but what do I call to use the functions? If I can get this >> working, I will be using it every day. > > - open a directory in dired mode > - put the cursor on the file you want to link to > - call `org-store-link' (which may be bound to `C-c l') > > The link is now stored. You can insert in an org file it with > `org-insert-link' (often bound to `C-c C-l'). > > Alternatively, you can use an org-capture template that captures a link > to the current context, and use it in dired mode. > > Best, > > Alan -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University