[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: |
Chris McMahan |
Subject: |
Re: build a macro that opens a directory and prompts for file name |
Date: |
Fri, 23 Jan 2009 10:27:30 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) |
Norm <NormanBauer@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_initiallastname@one.dot.net
=================================================
- 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 <=
- Re: 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, 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