[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: default-directory in minibuffer on MS Windows
From: |
Drew Adams |
Subject: |
RE: default-directory in minibuffer on MS Windows |
Date: |
Sun, 1 Jan 2006 12:05:45 -0800 |
> have `default-directory' always use slashes, not backslashes
Can you specify more rigorously when does `default-directory' use
backslashes for you? I only see it in *scratch*; everywhere else I
tried `default-directory' has forward slashes.
It's hard to try to find the reason(s) for this without knowing where
to look.
1. emacs -q
2. Do this or similar:
(setq pop-up-frames t)
(defvar my-minibuffer-frame-alist
(append '((minibuffer . only)) minibuffer-frame-alist))
(defvar my-minibuffer-frame (make-frame my-minibuffer-frame-alist))
3. In the standalone minibuffer frame, do `C-x 4 f'.
Actually, I suspect that the problem might occur not only in a standalone
minibuffer and *scratch*, but also in any buffer that is not associated with
a file or that otherwise doesn't know a good directory to use. I'm not sure
of that, but it seems to be true - *Messages*, for instance.
In any case, I can systematically reproduce it with the instructions above,
or by just emacs -q, going to the *scratch* buffer, and doing `C-x 4 f' (as
you mentioned).
Thanks,
Drew