From: Markus Heller <hellerm2@gmail.com>
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs 22.3 ignores setq default-directory
Date: Mon, 29 Jun 2009 16:00:45 -0700 [thread overview]
Message-ID: <27c152c00906291600q48134d0dpbb296721adbae1de@mail.gmail.com> (raw)
In-Reply-To: <B12C3D6B-86C6-4A9E-83EB-E7CA969F663F@web.de>
On Mon, Jun 29, 2009 at 3:48 PM, Peter Dyballa<Peter_Dyballa@web.de> wrote:
>
> Am 29.06.2009 um 23:54 schrieb Markus Heller:
>
>> 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:/.
>
>
> OK, what's left, is that this variable is buffer-local. There exists a
> global value (you've set it), and any buffer you create after your init file
> has been read can have a default-directory value derived from HOME or the
> working directory from which GNU Emacs launched. And this local value
> overrides the global one (therefore it's possible that in Bavaria you find
> so many folks that can't speak German, only Bavarian).
Being from Munich, this is an excellent explanation :)
This must be a difference between 22.1 and 22.3 then ...
> My recommendation: create a batch file which first changes working directory
> to H:\ and then launch the real GNU Emacs executable from within this batch
> file and working directory! Then it's very likely that the buffers with have
> set H:\ as default-directory.
Done, and works.
Thanks for your help!
Cheers
Markus
> --
> Greetings
>
> Pete
>
> When in doubt, use brute force.
> – Ken Thompson
>
>
next prev parent reply other threads:[~2009-06-29 23:00 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 [this message]
[not found] ` <mailman.1545.1246338014.2239.help-gnu-emacs@gnu.org>
2009-06-30 7:18 ` TomSW
2009-06-30 21:15 ` Markus Heller
[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=27c152c00906291600q48134d0dpbb296721adbae1de@mail.gmail.com \
--to=hellerm2@gmail.com \
--cc=Peter_Dyballa@web.de \
--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.