emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: visiting "~/Application Data" gets "~" instead


From: monnier
Subject: Re: visiting "~/Application Data" gets "~" instead
Date: Fri, 11 Aug 2006 10:12:38 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> (let ((home (find-file-noselect "~/"))
>>       (ad (find-file-noselect "~/Application Data/")))
>>   (when (eq home ad)
>>     (error "Aha.  We found the bug."))
[...]
> setenv only changes the environment passed to child processes that
> Emacs runs, but does not change Emacs's own environment.  So this
> behavior is quite intentional.

This doesn't explain why (find-file-noselect "~/") and
(find-file-noselect "~/Application Data/") return the same buffer.
Shouldn't they be differnet no matter what ~ expands to?


        Stefan




reply via email to

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