From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam Subject: Re: Directory Links (and a bug?) Date: Wed, 8 Sep 2010 03:48:29 +0530 Message-ID: References: <87lj7dxs7k.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=45428 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot6VB-0007CK-83 for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:18:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ot6Uo-0002lT-F2 for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:18:34 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:37080) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot6Uo-0002lO-BR for emacs-orgmode@gnu.org; Tue, 07 Sep 2010 18:18:30 -0400 Received: by gxk9 with SMTP id 9so2888119gxk.0 for ; Tue, 07 Sep 2010 15:18:29 -0700 (PDT) In-Reply-To: <87lj7dxs7k.fsf@Rainer.invalid> 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: Achim Gratz Cc: emacs-orgmode@gnu.org On Wed, Sep 8, 2010 at 1:05 AM, Achim Gratz wrote: > Making a directory link like this: [[file://bla/fasel/]] will open that > folder in explorer on Windows at work, which is nice since I can just > keep a bunch of those in my notes.org file and fire them up whenever I > need to (the history in Explorer is never that helpful). =A0I have since > learned that there's a special form to make that link open in EMACS > [[file+emacs://bla/fasel/]] and that fires up dired. =A0Or, if I had set > up org-mode so that file:-links would open inside EMACS, I could use > [[file+sys://bla/fasel/]] to force the link to open in an external > application. =A0So far so good... what I'd want in addition is to have th= e > link open in dired with wildcard patterns (giving a file name that > doesn't exist or looks like a directory gets me into dired, but doesn't > give it the "file" part as a wildcard argument) or alternatively > directly into vc-dir like [[file+dired://bla/fasel/*.org]] and Wildcards on links looks strange. > [[file+vc-dir://bla/fasel/]]. =A0Whatever the part after the "+", the > links should be exported like normal file: links. > > The link abbrevs don't really work for this as they are supposed to > return a string and not go off into another buffer (it does sort-of > work, but I suspect it breaks exporting etc.). =A0An elisp link works, bu= t > gets me a Yes/no question and shows up verbatim in export, not as link. > The +sys/+emacs links (and some abbrevs) export as file:-links with the > complete link-syntax appended as anchor (like > file:///bla/fasel/#file+emacs://bla/fasel/ - this works, but that looks > like a bug to me or an accidental feature at least). > For me all these three gets exported as file:///tmp Another link [[file+sys:///tmp][another link]] Another link [[file+emacs:///tmp][another link]] Another link [[file+emacs://tmp][another link]] Thanks and Regards Noorul