Hi,
I'm a co-developer of xtla.
I'd like to know more about your post.
> Hi,
>
> The following code does not do what you want if SLIME (a lisp
> interaction mode) is loaded before
> xtla:
>
> (unless (functionp 'read-directory-name)
> (defalias 'read-directory-name 'read-file-name))
>
>
> The problem is that SLIME defines read-directory-name to something
> that is different than you want (it checks for the existence of the
> directory and barfs if it is not there).
>
> Cheers,
> Chris
As far as the definition of `read-directory-name' in GNU Emacs in the CVS
repository,
the existence checking should be controlled by arguments:
M-x describe-function read-directory-name
read-directory-name is a compiled Lisp function in `files'.
(read-directory-name prompt &optional dir default-dirname mustmatch initial)
...
Fourth arg mustmatch non-nil means require existing directory's name.
How do the SLIME's developers think about this?
Masatake YAMATO