all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: rahed <raherh@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: default-directory in windows
Date: Fri, 30 May 2008 23:35:13 +0200	[thread overview]
Message-ID: <48407311.1060805@gmail.com> (raw)
In-Reply-To: <ud4n33783.fsf@gmail.com>

rahed wrote:
> Hi,
> 
> in emacs 22.1 I had (setq default-directory "D:\/my/default/dir/") in my
> .emacs.
> 
> This no longer works with my 22.2 - it's ignored when I run the emacs. I
> had to set the running directory within my windows link to runemacs.exe.
> 
> Now when I want to open a file with C-x C-f there's a correct default
> path in a minibuffer but with backslashes as directory separators. And
> that annoyes me.

I just filed a bug report on the backslashes.

> Though consequently tab completion switches the slashes
> to forward ones.
> 
> Does default-directory work with 22.2?

Yes, but default-directory is buffer local. I just noticed that with CVS 
Emacs 23 I get the default-directory you expect in *Scratch* buffer, but 
not in the "welcome buffer". It is unclear to me why the 
default-directory is different in the "welcome buffer".

I am not sure if this is the behaviour in Emacs 22. Could you please check?




  parent reply	other threads:[~2008-05-30 21:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 19:46 default-directory in windows rahed
2008-05-30 21:26 ` Eli Zaretskii
2008-05-31  9:57   ` rahed
2008-05-30 21:35 ` Lennart Borgman (gmail) [this message]
2008-05-31  9:55   ` rahed
2008-05-31 10:01     ` Lennart Borgman (gmail)

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=48407311.1060805@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=raherh@gmail.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.