From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jan_B=F6cker?= Subject: Re: Make file:... directory links open dired by default Date: Wed, 02 Feb 2011 16:35:31 +0100 Message-ID: <4D4979C3.2060908@jboecker.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=49128 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pkek9-0000b5-Sg for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 10:35:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pkek8-000496-Lr for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 10:35:41 -0500 Received: from smtp01.worldserver.net ([217.13.200.37]:39048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pkek8-00048X-Gf for emacs-orgmode@gnu.org; Wed, 02 Feb 2011 10:35:40 -0500 In-Reply-To: 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: Leo Alekseyev Cc: emacs-orgmode@gnu.org On 01/24/2011 05:38 AM, Leo Alekseyev wrote: > I am working under Windows, and by default links like file:~/path... > open in Explorer. I can manually change the link to > file+emacs:~/path... and then it opens in dired -- but is there a way > to change the default behavior so that when I press C-c C-l to store > the directory links as file+emacs to begin with?.. Alternatively, is > there a way to make file: links behave like file+emacs? (I'm not sure > if this is a good idea since it might impact things other than > directories). > --Leo > Hi Leo, take a look at the variable org-file-apps: M-x customize-variable RET org-file-apps RET Try adding an entry like this: [INS] [DEL] Cons-cell: Choice: [Value Menu] Links to a directory Choice: [Value Menu] Visit with Emacs I have not tested this (since I am not using Org on Windows), but it looks to me like it should work. Regards, Jan