Lennart Borgman <address@hidden> writes:
Since Emacs could be started in many different ways I would rather
suggest that Emacs by default set the default directory to %HOME% (or
the corresponding) on different platforms.
That would be undesirable. When starting Emacs from the command-line,
the current directory should always stay the same as the parent shell.
I don't think there is a reliable way to find out how Emacs was
started, so we have to leave it up to the parent shell to set the
current directory for us. Unfortunately Windows Explorer sets it to
the directory in which the .exe is located by default. I think X has a
more useful default of $HOME.