[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 22.3 ignores setq default-directory
From: |
Markus Heller |
Subject: |
Re: Emacs 22.3 ignores setq default-directory |
Date: |
Mon, 29 Jun 2009 16:00:45 -0700 |
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
>
>
- Re: Emacs 22.3 ignores setq default-directory, (continued)
Re: Emacs 22.3 ignores setq default-directory, Edward O'Connor, 2009/06/27
Re: Emacs 22.3 ignores setq default-directory, Peter Dyballa, 2009/06/27
Re: Emacs 22.3 ignores setq default-directory, Markus Heller, 2009/06/30
Re: Emacs 22.3 ignores setq default-directory, Peter Dyballa, 2009/06/30
Re: Emacs 22.3 ignores setq default-directory, Markus Heller, 2009/06/30
Re: Emacs 22.3 ignores setq default-directory, Peter Dyballa, 2009/06/30
Re: Emacs 22.3 ignores setq default-directory,
Markus Heller <=
Message not availableRe: Emacs 22.3 ignores setq default-directory, TomSW, 2009/06/30
Re: Emacs 22.3 ignores setq default-directory, Markus Heller, 2009/06/30
Message not available