I did state my problem wrong. The error is if I tab before the menu appears.

I did some digging around..
Turns out a weird string gets passed to slime-simple-completions via
ac-prefix.
Suppose it's a bug in auto-complete-mode.

#("mapcat" 0 6 (selection-face ac-slime-selection-face popup-face
ac-slime-menu-face document ac-slime-documentation symbol "l")))

My first thought was to do a stringp check in
ac-source-slime-simple-candidates.
But apparently that is a string, I would have guessed set...

Any proficient elispers out there?


2011/6/9 Andreas Liljeqvist <bon...@gmail.com>

> This is great stuff for sure!
>
> I have a problem though:
> If I press 'tab' before the doc strings show up I get a
> Nullpointerexception.
> Any ideas?
>
> 2010/8/14 Steve Purcell <st...@sanityinc.com>
>
>> Hi all,
>>
>> A while ago I hooked Slime's completion and documentation features into
>> the popular Emacs auto-completion framework "auto-complete" (
>> http://www.emacswiki.org/emacs/AutoComplete).
>>
>> Since it may be of interest to others, I've released the completion plugin
>> on github: http://github.com/purcell/ac-slime
>>
>> Here's a screenshot of the plugin in action in a clojure-mode buffer,
>> showing the (very handy) pop-up documentation:
>>
>>
>>
>>
>>
>>
>> -Steve
>> --
>>
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to