all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: find-file, default path
Date: Tue, 19 Jul 2005 10:40:07 -0600	[thread overview]
Message-ID: <dbjada$669$1@sea.gmane.org> (raw)
In-Reply-To: <ufyubezy6.fsf@guido-donath.de>

Jan Guido Donath wrote:
 > is it possible to pass find-file a default path?
 > i do have all my files in a certain directory, but find-file aka C-x C-f
 > always starts where the emacs bins are located.

No, find-file always prompts with the current directory.  When you have
visited one of the files in your certain directory, it will prompt with
that directory.

If typing that directory name even once is too much, try setting an
environment variable to it so you can reference it: C-x C-f $CERTAIN_DIR 
<tab>

Or try putting this in your ~/.emacs file: (cd 
"/path/to/a/certain/directory")

-- 
Kevin Rodgers

  parent reply	other threads:[~2005-07-19 16:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-19 12:35 find-file, default path Jan Guido Donath
2005-07-19 15:46 ` Joe Corneli
2005-07-19 16:05 ` Alex Schroeder
2005-07-19 16:23   ` Lennart Borgman
2005-07-19 16:40 ` Kevin Rodgers [this message]
     [not found] ` <mailman.1014.1121792292.20277.help-gnu-emacs@gnu.org>
2005-07-20  6:58   ` find-file + bookmarks = true? (was: find-file, default path) Mathias Dahl
2005-07-20 10:54     ` Emilio Lopes
     [not found] ` <mailman.1008.1121788609.20277.help-gnu-emacs@gnu.org>
2005-07-20  9:08   ` find-file, default path Jan Guido Donath

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

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

  git send-email \
    --in-reply-to='dbjada$669$1@sea.gmane.org' \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.