From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Emacs completion on file:xyz links? Date: Fri, 26 Apr 2013 10:52:46 +0200 Message-ID: <20130426085246.GE2769@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVeOi-0003a2-7g for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 04:52:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVeOh-00025G-5R for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 04:52:52 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:39064) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVeOg-00024x-Vy for emacs-orgmode@gnu.org; Fri, 26 Apr 2013 04:52:51 -0400 Received: by mail-wi0-f175.google.com with SMTP id h11so332070wiv.8 for ; Fri, 26 Apr 2013 01:52:49 -0700 (PDT) Received: from kuru.dyndns-at-home.com (ip82-139-118-35.lijbrandt.net. [82.139.118.35]) by mx.google.com with ESMTPSA id g4sm2256392wib.11.2013.04.26.01.52.48 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 26 Apr 2013 01:52:48 -0700 (PDT) Content-Disposition: inline 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 On Fri, Apr 26, 2013 at 10:15:42AM +0300, Dov Grobgeld wrote: > I often find reference files in org-files and then do the following > sequence: > > * Press Ctrl-x Ctrl-f > * Navigate to the requested file by the emacs and completion > * Press Ctrl-a Ctrl-k to copy > * Press Ctrl-g to get out of file-open > * Paste with ctrl-y > > I was wondering if anyone has written code so that pressing [TAB] within a > file:/ link would do emacs completion in place? It does that already. Use C-c C-l to insert a link, when prompted for the type, say file: RET. Then you can use the usual emacs completeion interface to get filename completeion. What is missing though is completion when editing an existing link. IMO, that would be a worthy feature request. Cheers, -- Suvayu Open source is the future. It sets us free.