[slime-devel] Re: How to correct auto completion error of filenames

Helmut Eller heller at common-lisp.net
Thu Mar 27 12:29:45 UTC 2008


* Tsunhin John Wong [2008-03-26 02:01+0100] writes:

> Hello SLIME users,
>
> I am using SLIME CVS version 2007-09-27 in the package "Ready Lisp"
> that contain Aquamacs for OSX
>
> The auto completion of this SLIME always add one more SPACE in front
> of the ending double quote, as shown below
>
> (load "/Users/Myname/Documents/Lisp/Mylispfile.lisp ")
>
> Where should I look up in the SLIME files to correct this problem? (to
> remove the extra space)
>
> Please point me to the file and functions
> Thanks a lot!

The function is probably slime-maybe-complete-as-filename in slime.el.

In general you can find the source file for a command with C-h k <key>
or C-h f <function>. This displays the documentation and a clickable
link to the source file (at least in Emacs, not sure about Aquamacs).
In the case above you could have used C-h k TAB which would probably
bring up slime-indent-and-complete-symbol and reading a bit its source
you would probably use C-h f slime-complete-symbol and after some
iterations you would be at slime-maybe-complete-as-filename.

Helmut.




More information about the slime-devel mailing list