help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: ispell/hunspell/Windows: a fully-worked example


From: Eli Zaretskii
Subject: Re: ispell/hunspell/Windows: a fully-worked example
Date: Sat, 05 Apr 2014 09:49:17 +0300

> From: Robert Thorpe <rt@robertthorpeconsulting.com>
> Date: Fri, 04 Apr 2014 22:56:37 +0100
> Cc: help-gnu-emacs@gnu.org
> 
> Let's say you install a new version of Emacs.  Instead of installing
> the new menus and links with "addpm.exe" you just change the
> executable path in the icon link file on your desktop.  In that case
> the new version of Emacs is starting in the current directory of the
> old version.  That can make Emacs confused if it searches for things
> in the current directory.

Emacs never searches for things "in the current directory", it always
fully resolves file names relative to the current buffer's value of
default-directory, before passing them to system-call APIs.  The
"Start in" directory set by the desktop shortcut only affects the
*scratch* buffer; every other buffer will have some other directory as
its default one.  E.g., buffers that visit files have that file's
directory as their default-directory.

So I wonder whether you could show a real-life case where this problem
is indeed at work.  I think such cases don't really exist, except when
you evaluate expressions in *scratch*.



reply via email to

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