[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default-directory in windows

From: Lennart Borgman (gmail)
Subject: Re: default-directory in windows
Date: Fri, 30 May 2008 23:35:13 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

rahed wrote:

in emacs 22.1 I had (setq default-directory "D:\/my/default/dir/") in my

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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]