unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: How to set alias to drectory in .emacs?
Date: Wed, 15 Oct 2003 12:17:27 -0600	[thread overview]
Message-ID: <3F8D8F37.10503@yahoo.com> (raw)
In-Reply-To: d8a0dc86.0310150757.39bc03a0@posting.google.com

F. Chen wrote:

> I'd like to know how to set an alias for a direcory in emacs, e.g.
> alias wd = "/Home/self/private/Work/Papers/InProgress/", so everytime
> I want to open a file in that directory but from a different location,
> I can do something along the line of C-x C-f type wd, then file name.

M-: (setenv "wd" "/Home/self/private/Work/Papers/InProgress")
C-x C-f $wd TAB

-- 
Kevin Rodgers

  reply	other threads:[~2003-10-15 18:17 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 [this message]
2003-10-16  8:50   ` F. Chen
2003-10-15 22:57 ` Tim X
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=3F8D8F37.10503@yahoo.com \
    --to=ihs_4664@yahoo.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).