From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: Adding path and file name into file links Date: Mon, 19 Nov 2007 07:47:22 +0000 Message-ID: <2c75873c0711182347n6b3f85afod65e4da0db6beac8@mail.gmail.com> References: <2c75873c0711180039y31135f57yc018c4bc6f122897@mail.gmail.com> <87hcjj7rzq.fsf@bzg.ath.cx> <2c75873c0711180321m74d8c599ic2b84c2b966c6b01@mail.gmail.com> <874pfjrl5j.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0692152999==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iu1Lq-0000qi-Re for emacs-orgmode@gnu.org; Mon, 19 Nov 2007 02:47:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iu1Lo-0000oz-2A for emacs-orgmode@gnu.org; Mon, 19 Nov 2007 02:47:26 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iu1Ln-0000oa-RI for emacs-orgmode@gnu.org; Mon, 19 Nov 2007 02:47:23 -0500 Received: from an-out-0708.google.com ([209.85.132.243]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iu1Ln-0004x3-Fn for emacs-orgmode@gnu.org; Mon, 19 Nov 2007 02:47:23 -0500 Received: by an-out-0708.google.com with SMTP id c25so367146ana for ; Sun, 18 Nov 2007 23:47:22 -0800 (PST) In-Reply-To: <874pfjrl5j.fsf@bzg.ath.cx> 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: emacs-orgmode@gnu.org --===============0692152999== Content-Type: multipart/alternative; boundary="----=_Part_21022_23423696.1195458442693" ------=_Part_21022_23423696.1195458442693 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien Ah OK, so I wasn't missing anything, you can't actually search for a file using C-u C-c C-l. As files I want to link can be several layers deep in a directory structure and have names I can't remember, and as a said, the dired approach works fine. Thanks again. Graham On 19/11/2007, Bastien wrote: > > "Graham Smith" writes: > > > However, I cant get C-u C-c C-l to work. > > > > I still seem to need to type in the file path and file name, rather > > than have the ability to search for a file. > > I you want to *search* for a file in dired then copy this file into the > Emacs kill-ring, then you can use the function I wrote. > > I you know where is the file and want to link to it, then C-u C-c C-l > should be enough. You will still have to do type something but it's not > a lot of work, especially because TAB will suggest possible completion. > > > Presumably I am missing the obvious. > > Just remember Org is an Emacs mode, not a W32 feature :) > > -- > Bastien > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ------=_Part_21022_23423696.1195458442693 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Bastien

Ah OK, so I wasn't missing anything, you can't actually search for a file using C-u C-c C-l.

As files I want to link can be several layers deep in a directory structure and have names I can't remember, and as a said, the dired approach works fine.

Thanks again.

Graham

On 19/11/2007, Bastien <bzg@altern.org> wrote:
"Graham Smith" <myotisone@gmail.com> writes:

> However, I cant get C-u C-c C-l to work.
>
> I still seem to need to type in the file path and file name, rather
> than have the ability to search for a file.

I you want to *search* for a file in dired then copy this file into the
Emacs kill-ring, then you can use the function I wrote.

I you know where is the file and want to link to it, then C-u C-c C-l
should be enough.  You will still have to do type something but it's not
a lot of work, especially because TAB will suggest possible completion.

> Presumably I am missing the obvious.

Just remember Org is an Emacs mode, not a W32 feature :)

--
Bastien


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

------=_Part_21022_23423696.1195458442693-- --===============0692152999== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0692152999==--