From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: open file link in dired? Date: Wed, 10 Dec 2014 08:48:37 +0100 Message-ID: References: <87vcbdlz75.fsf@bzg.ath.cx> <87ehi0lxfy.fsf@bzg.ath.cx> <87a92w8as9.fsf@stevenarntson.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyc0w-0001mK-Cb for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 02:48:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xyc0p-0007Bc-FH for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 02:48:50 -0500 Received: from mx1.polytechnique.org ([129.104.30.34]:48558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyc0p-0007BB-9E for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 02:48:43 -0500 In-Reply-To: <87a92w8as9.fsf@stevenarntson.com> (Steven Arntson's message of "Tue, 09 Dec 2014 19:05:10 -0800") 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: Steven Arntson Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable (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. =2D open a directory in dired mode =2D put the cursor on the file you want to link to =2D 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 =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUh/rZAAoJEAQNCjtO0uXHOwoIAMFHLa4RpybYWJGzHofZB3lw OA2mpAG/Ce9z9UBxcCy5aHoFIDWW+Y35R5N3sh3Q6RSzE5xga067L4PKARVa2iqd thtTKxyK7lhzEclzZVbJcUsd7milZitZsE9ErFuubX3VxZM97Y8opOsJUwt6V7Gy qVIiRRvBzqYLV/fTNZMdMUvtSKp9ZeRz/DyBVC/dNht4vIFFZ5OUtsnbTIiMErml lDSrqPqJ3fQ7j4mTSnjW1JCDxKpSLCkkr5wW+HF29Yyq1mBb16KIuhtXwrSl7XbY qjjcCL1uWBP3AsAGcClmTAd0HVqnppSnVB8G/agyKUdXMqfIND/xQ492E+KOC4U= =jSQ4 -----END PGP SIGNATURE----- --=-=-=--