From: Markus Heller <hellerm2@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs 22.3 ignores setq default-directory
Date: Tue, 30 Jun 2009 14:15:11 -0700 (PDT) [thread overview]
Message-ID: <5464986a-5175-4f11-a1d6-c0f639478864@37g2000yqp.googlegroups.com> (raw)
In-Reply-To: 75461b56-989f-4544-93c9-b8f3952ec0ae@b9g2000yqm.googlegroups.com
On Jun 30, 12:18 am, TomSW <tom.weissm...@gmail.com> wrote:
> On Jun 29, 11:54 pm, Markus Heller <helle...@gmail.com> wrote:
>
> > I've just reduced my _emacs to only one line:
>
> > (setq default-directory "h:/")
>
> > so including the slash at the end. I guess I do not set/read CDPATH,
> > and yet C-x C-f doesn;t bring me to h:/.
>
> Sorry Markus, I missed the obvious: the documentation of default-
> directory states " Automatically becomes buffer-local when set in any
> fashion." - so setting it with setq is not what you want - use (cd
> "h:/") instead. I tested (cd "c:") and (cd "c:/") but just the setq
> version.
>
> > I'm puzzled.
>
> Me too: default-directory is defined as buffer-local in the C source
> code and there's no sign of it having changed between versions.
> Perhaps the windows shortcut you used for the older version set the
> working directory to h:/ ?
No, it doesn't. Here are the properties of the shortcut used for
emacs-22.1:
Target type: Application
Target location: bin
Target: "C:\Program Files\emacs-22.1\bin\runemacs.exe"
Start in: "C:\Program Files\emacs-22.1\bin"
Shortcut key: None
Run: Normal window
Comment: <empty>
Btw, I get the same behavior if I double-click on runemacs.exe:
In 22.1, C-x C-f takes me to h:/, in 22.3, C-x C-f takes me to C:
\Program Files\emacs-22.3\bin/
Remember, this is after double-clicking runemacs.exe, so no shortcuts
involved.
Cheers
Markus
next prev parent reply other threads:[~2009-06-30 21:15 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-25 18:47 Emacs 22.3 ignores setq default-directory Markus Heller
2009-06-25 21:03 ` TomSW
2009-06-25 21:39 ` Markus Heller
2009-07-15 12:08 ` David Combs
2009-06-26 6:57 ` Eli Zaretskii
[not found] ` <mailman.1289.1245999446.2239.help-gnu-emacs@gnu.org>
2009-06-26 16:42 ` Markus Heller
2009-06-27 9:27 ` Eli Zaretskii
[not found] ` <mailman.1382.1246104268.2239.help-gnu-emacs@gnu.org>
2009-06-29 21:15 ` Markus Heller
2009-06-26 22:04 ` Edward O'Connor
2009-06-26 22:21 ` Markus Heller
[not found] ` <3b31caf90906261524k3f66ced1sa805bdd09195808@mail.gmail.com>
[not found] ` <27c152c00906261527v3e7a0df5xef09f36a0b1a8d6b@mail.gmail.com>
[not found] ` <3b31caf90906261531q5c804bb1o6bf336cce4c324b6@mail.gmail.com>
2009-06-26 22:38 ` Markus Heller
2009-06-27 8:23 ` Peter Dyballa
2009-06-29 21:19 ` Markus Heller
2009-06-29 21:43 ` Peter Dyballa
2009-06-29 21:54 ` Markus Heller
2009-06-29 22:48 ` Peter Dyballa
2009-06-29 23:00 ` Markus Heller
[not found] ` <mailman.1545.1246338014.2239.help-gnu-emacs@gnu.org>
2009-06-30 7:18 ` TomSW
2009-06-30 21:15 ` Markus Heller [this message]
[not found] ` <mailman.1367.1246077509.2239.help-gnu-emacs@gnu.org>
2009-06-27 8:18 ` TomSW
2009-06-29 21:22 ` Markus Heller
2009-06-30 8:36 ` Peter Dyballa
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=5464986a-5175-4f11-a1d6-c0f639478864@37g2000yqp.googlegroups.com \
--to=hellerm2@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.