[slime-devel] Error using ,cd (~ not expanded)

Stefan Kamphausen skampi at gmx.net
Thu Mar 16 09:47:58 UTC 2006


Hi,

since a few days I have this problem:

* Open XEmacs
* Start SLIME (M-x slime)
* Wait for CMUCL to come up
* Type ,cd [RET]
* Select a directory, say ~/src/lisp/my-current-project [RET]
* Get an error:

File-error in function LISP::%SET-DEFAULT-DIRECTORY:
   "~/src/lisp/my-current-project" doesn't exist.
   [Condition of type KERNEL:SIMPLE-FILE-ERROR]

Restarts:
  0: [ABORT-REQUEST] Abort handling SLIME request.
  1: [ABORT] Return to Top-Level.

Backtrace:
  0: (LISP::%SET-DEFAULT-DIRECTORY "~/src/lisp/my-current-project")
  1: ((METHOD SWANK-BACKEND:SET-DEFAULT-DIRECTORY NIL (T)) #<#1=unused-arg>
#<#1#> "~/src/lisp/my-current-project")
  2: ("DEFUN EVAL-FOR-EMACS")
  3: ((METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK NIL (T T))
#<#1=unused-arg> #<#1#> #<Function SWANK:SWANK-DEBUGGER-HOOK {5879B171}>
#<Closure Over Function "DEFUN EVAL-FOR-EMACS" {58B14A91}>)
  4: ("DEFUN HANDLE-REQUEST")


I think it boils down to the ~ not being expanded.

When I...

* ... first use M-x cd to change to the dir and then accept the default in
,cd it works.
* ... give the full path like /home/user/src/lisp/my-current-project it
works.

I can try to track this down if you give me any pointers what to look for,
but maybe someone here more familiar with the code just sees the solution
immediately?

My System:

* SLIME CVS HEAD
* XEmacs 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid
* CMUCL CMU Common Lisp CVS 19c 19c-release + minimal debian patches (19C)
* Gentoo Linux

Regards,
Stefan

-- 
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net



More information about the slime-devel mailing list