From: Tim X <timx@spamto.devnul.com>
Subject: Re: How to set alias to drectory in .emacs?
Date: 16 Oct 2003 08:57:55 +1000 [thread overview]
Message-ID: <87n0c2rtvw.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: d8a0dc86.0310150757.39bc03a0@posting.google.com
>>>>> "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
--
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you
really need to send mail, you should be able to work it out!
next prev parent reply other threads:[~2003-10-15 22:57 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 [this message]
2003-10-16 8:52 ` F. Chen
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=87n0c2rtvw.fsf@tiger.rapttech.com.au \
--to=timx@spamto.devnul.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).