[Top][All Lists]

[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 <address@hidden> wrote:
> Norm <address@hidden> 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 | address@hidden
>   =================================================

Thanks Chris. That is exactly what I need. Wonderful.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]