From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: fangc@hotmail.com (F. Chen) Newsgroups: gmane.emacs.help Subject: How to set alias to drectory in .emacs? Date: 15 Oct 2003 08:57:56 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1066233810 28200 80.91.224.253 (15 Oct 2003 16:03:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2003 16:03:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 18:03:28 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9o7U-00025J-00 for ; Wed, 15 Oct 2003 18:03:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A9o6h-0003Jj-2R for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2003 12:02:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 128.2.61.28 Original-X-Trace: posting.google.com 1066233476 16192 127.0.0.1 (15 Oct 2003 15:57:56 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 15 Oct 2003 15:57:56 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:117273 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13202 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13202 Hello there: This probably is a very FAQ, but I am having trouble finding a solution, hence here to ask again. 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. Any help will be greatly appreciated. fc