[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build a macro that opens a directory and prompts for file name
From: |
Norm |
Subject: |
Re: build a macro that opens a directory and prompts for file name |
Date: |
Fri, 23 Jan 2009 07:38:34 -0800 (PST) |
User-agent: |
G2/1.0 |
On Jan 23, 10:27 am, Chris McMahan <cmcma...@one.net> wrote:
> Norm <NormanBa...@gmail.com> writes:
> > Hello all,
>
> > I have been googleing and reading the docs trying to figure out a
> > solution to this. I spend the majority of my time working in a single
> > directory on a CIFS server and I am always doing a C-x C-f \\server\dir
> > \long_sub_dir\subdir\filename
>
> > In the spirit of emacs I'd like to automate it so that when I do C-co
> > it knows the directory and simply prompts me for the file to be opened
> > or if I leave it blank and press RET it lists the directory.
>
> > Any suggestions on how to accomplish this.
>
> > Many thanks,
>
> > Norm
>
> I use bookmarks to take me to the directories themselves.
>
> - Go to the directory that contains the file you want
> - Press C-x r m to memorize that location, and give it a name you can
> remember
>
> to navigate to that directory, just press C-x r b. You'll be prompted
> for the bookmark name, and it will open that directory.
>
> See the help for the function 'command bookmark-set' for details
>
> - Chris
>
> --
> (. .)
> =ooO=(_)=Ooo=====================================
> Chris McMahan | first_initiallastn...@one.dot.net
> =================================================
Thanks Chris. That is exactly what I need. Wonderful.
- build a macro that opens a directory and prompts for file name, Norm, 2009/01/24
- Re: build a macro that opens a directory and prompts for file name, Chris McMahan, 2009/01/23
- Re: build a macro that opens a directory and prompts for file name,
Norm <=
- RE: build a macro that opens a directory and prompts for file name, Drew Adams, 2009/01/24
- Message not available
- Re: build a macro that opens a directory and prompts for file name, Pascal J. Bourguignon, 2009/01/26
- RE: build a macro that opens a directory and prompts for file name, Drew Adams, 2009/01/26
- Message not available
- Re: build a macro that opens a directory and prompts for file name, Stefan Kamphausen, 2009/01/27
- Re: build a macro that opens a directory and prompts for file name, roodwriter, 2009/01/27
- Re: build a macro that opens a directory and prompts for file name, Kevin Rodgers, 2009/01/28
Re: build a macro that opens a directory and prompts for file name, Sebastian Tennant, 2009/01/29