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

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

"Stefan Kamphausen" <skampi@gmx.net> writes:
Hi,
since a few days I have this problem:
since marco broke slime-set-default-directory you mean :) fixed in cvs. -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen

Hi Marco, just saw that you commited a fix for the ,cd problem I mentioned this morning. It works. Thanks :-) Stefan -- "Feel free" mit GMX FreeMail! Monat f�r Monat 10 FreeSMS inklusive! http://www.gmx.net
participants (2)
-
Marco Baringer
-
Stefan Kamphausen