unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: fangc@hotmail.com (F. Chen)
Subject: Re: How to set alias to drectory in .emacs?
Date: 16 Oct 2003 01:52:39 -0700	[thread overview]
Message-ID: <d8a0dc86.0310160052.1b70b1b1@posting.google.com> (raw)
In-Reply-To: 87n0c2rtvw.fsf@tiger.rapttech.com.au

Tim X <timx@spamto.devnul.com> wrote in message news:<87n0c2rtvw.fsf@tiger.rapttech.com.au>...
> >>>>> "F" == F Chen <fangc@hotmail.com> writes:
> 
>  F> Hello there: This probably is a very FAQ, but I am having trouble
>  F> finding a solution, hence here to ask again.
> 
>  F> I'd like to know how to set an alias for a direcory in emacs, e.g.
>  F> alias wd = "/Home/self/private/Work/Papers/InProgress/", so
>  F> everytime I want to open a file in that directory but from a
>  F> different location, I can do something along the line of C-x C-f
>  F> type wd, then file name.
> 
>  F> Any help will be greatly appreciated.
> 
>  F> fc
> 
> Though not exactly what you want, I think the ffap pakage has the
> facility to set a default search path. With this, if you try to open a
> file which doesn't exist in the current directory, it will search for
> the file in a list of directories you specify. You could make that
> list the home or default place to look.
> 
> If thats not sufficient for what you want, the package may give you
> some clues on how you could put together your own lisp code to do it.
> 
> Tim

Thanks Tim, this seems to be a useful package to use, that would save
a bit typing if I can search files this way.

fc

      reply	other threads:[~2003-10-16  8:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 15:57 How to set alias to drectory in .emacs? F. Chen
2003-10-15 18:17 ` Kevin Rodgers
2003-10-16  8:50   ` F. Chen
2003-10-15 22:57 ` Tim X
2003-10-16  8:52   ` F. Chen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8a0dc86.0310160052.1b70b1b1@posting.google.com \
    --to=fangc@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).