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-s
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
> Hi all,
>
> A while ago I hooked Slime's completion and documentation features into the
> popular Emacs auto-completion frame
Excellent, I still wonder why hook doesn't work but your solution work
perfectly here, thanks.
On Oct 21, 8:55 am, Paul Mooser wrote:
> I was having this problem, and what solved it for me was to customize
> the ac-modes variable (using M-x customize-variable RET ac-modes RET)
> and adding slime
This is awesome! Thank you. After installing auto-complete and
following the instructions on your github page, works like a charm.
Brilliant work.
Regards,
Raju
On Oct 16, 12:27 am, Jarl Haggerty wrote:
> Should autocomplete work in the swank repl? It works perfectly in a
> clj buffer but not
I was having this problem, and what solved it for me was to customize
the ac-modes variable (using M-x customize-variable RET ac-modes RET)
and adding slime-repl-mode to the list. Once I added this, auto-
complete gets automatically enabled on my repl buffers as well. Give
it a try!
On Oct 17, 10:
Same here. It seems like auto-complete-mode doesn't fire up
correctly. I tried to hook it using (add-hook 'slime-repl-mode-hook
(lambda () (auto-complete-mode t) but it doesn't seems to do anything.
I have to open the mode manually.
On Oct 16, 11:27 am, Jarl Haggerty wrote:
> Should autocomplete
Works for me in repl. I have too much slime/clojure customization code, not
really sure what does what :)
Maybe this:
(defun slime-clojure-repl-setup ()
(when (string-equal "clojure" (slime-connection-name))
(message "Setting up repl for clojure")
(when (slime-inferior-process)
(s
Should autocomplete work in the swank repl? It works perfectly in a
clj buffer but nothing happens in the repl.
On Aug 19, 7:46 am, Phil Hagelberg wrote:
> On Thu, Aug 19, 2010 at 6:21 AM, Steve Purcell wrote:
> > I guess Phil's very busy, but if he can apply this patch, then the regular
> > s
On Thu, Aug 19, 2010 at 6:21 AM, Steve Purcell wrote:
> I guess Phil's very busy, but if he can apply this patch, then the regular
> swank-clojure 1.3.0-SNAPSHOT on clojars should end up containing the fix.
Just applied this patch and pushed to github and clojars. Thanks!
-Phil
--
You receive
Odd. My patch works for me, and MHOOO's code simply applies a very similar
patch at runtime, so I'd guess that your swank code is getting loaded from a
location other than the one you patched.
I guess Phil's very busy, but if he can apply this patch, then the regular
swank-clojure 1.3.0-SNAPSHO
Great plugin- thanks steve
i applied your patch but still throws on clojure.main and on some
(import '(java.util.concurrent
MHOOO's code above seems to resolve my errors.
thanks -doug
On Aug 18, 1:44 pm, MHOOO wrote:
> I can get rid of those errors by evaling this in the repl. Does this
>
I can get rid of those errors by evaling this in the repl. Does this
work for you as well?:
(do
(require 'clojure.contrib.with-ns)
(clojure.contrib.with-ns/with-ns
'swank.commands.basic
(defn- describe-to-string [var]
{:pre [(var? var)]}
(with-out-str
(print-doc var)
On 18 Aug 2010, at 13:51, MHOOO wrote:
> I'm experiencing the exact same problem. Haven't found a way to fix
> this yet.
I've fixed the problem in my fork of swank-clojure and requested that Phil pull
the commit into the master repo:
http://github.com/purcell/swank-clojure/commit/7172c275f
I'm experiencing the exact same problem. Haven't found a way to fix
this yet.
On 17 Aug., 04:38, Stefan Kamphausen wrote:
> Hi,
>
> just yesterday I took a first look at auto-complete together with your
> slime auto completion sources.
>
> I'm encountering some Exceptions, though,
>
> If I'm in a
On 17 Aug 2010, at 21:21, Steve Molitor wrote:
> Sorry my message got truncated. Let's try again:
>
> Fuzzy completion (ac-source-slime-fuzzy) isn't working for me. It complains
> that the function slime-fuzzy-completions is not defined. I'm using slime.el
> version 2010404, which does not d
Sorry my message got truncated. Let's try again:
Fuzzy completion (ac-source-slime-fuzzy) isn't working for me. It complains
that the function slime-fuzzy-completions is not defined. I'm using
slime.el version 2010404, which does not define that function, although it
does define slime-simple-co
This is great, thanks!
Fuzzy completion (ac-source-slime-fuzzy) isn't working for me. It complains
that slime-fuzzy-comp
On Sat, Aug 14, 2010 at 5:19 AM, Steve Purcell wrote:
> Hi all,
>
> A while ago I hooked Slime's completion and documentation features into the
> popular Emacs auto-completi
On 17 Aug 2010, at 13:00, Steve Purcell wrote:
> That seems to be a slime/swank problem, related to accessing the
> documentation for a symbol corresponding to a namespace. In a clojure-mode
> buffer, use M-: to execute the following expression:
>
> (slime-eval '(swank:documentation-symbol "cl
On 17 Aug 2010, at 09:38, Stefan Kamphausen wrote:
> Hi,
>
> just yesterday I took a first look at auto-complete together with your
> slime auto completion sources.
>
> I'm encountering some Exceptions, though,
>
> If I'm in a .clj-buffer and start typing
>
> (clojure.
>
> and then wait for
Hi,
just yesterday I took a first look at auto-complete together with your
slime auto completion sources.
I'm encountering some Exceptions, though,
If I'm in a .clj-buffer and start typing
(clojure.
and then wait for the auto completion to popup I see a list of
possible completions like, e.g
On 15 авг, 23:18, Steve Purcell wrote:
> > Could you share your nice color theme, please?
>
> Sure:
>
> http://github.com/purcell/emacs.d/blob/master/site-lisp/color-theme-s...
>
> There are light and dark versions, and I switch between them with "M-x light"
> and "M-x dark" depending on how my
On 15 Aug 2010, at 10:13, Michał Marczyk wrote:
> On the other hand, I'm having mixed luck with fuzzy completion...
> slime-fuzzy-complete-symbol offers 'with-bindings and 'with-bindings*
> as completions for 'wi-bi, but so far I haven't been able to provoke
> ac + ac-slime to do the same (with (l
On 15 Aug 2010, at 10:43, sponge bob wrote:
>
> On 14 авг, 14:19, Steve Purcell wrote:
>>
>> 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
On 14 авг, 14:19, Steve Purcell wrote:
>
> 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 completi
Really usefull, nice work! And a perfect time to finally update my old
auto-complete installation to version 1.3.
On Aug 14, 12:19 pm, Steve Purcell wrote:
> Hi all,
>
> A while ago I hooked Slime's completion and documentation features into the
> popular Emacs auto-completion framework "auto-co
Great work, thank you for sharing.
- Patrik
On Aug 14, 12:19 pm, Steve Purcell wrote:
> 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 i
On 15 August 2010 09:57, Steve Purcell wrote:
> Excellent - so if there are any quirks with this plugin, at least there'll be
> a couple more users to help fix it up now!
Definitely. :-)
> (For instance, it doesn't work perfectly if you type "some-namespace/" and
> then try to start completion
Steve,
this is awesome!
Regards,
Heinz
--
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 unsubscr
On 15 Aug 2010, at 08:45, Michał Marczyk wrote:
> This is absolutely awesome! I notice it also works perfectly with
> Common Lisp... I'm in a state of blissful exaltation. :-)
Excellent - so if there are any quirks with this plugin, at least there'll be a
couple more users to help fix it up now
This is absolutely awesome! I notice it also works perfectly with
Common Lisp... I'm in a state of blissful exaltation. :-)
Sincerely,
Michał
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.co
Excellent. Seems to work quite well.
On Sat, Aug 14, 2010 at 6:19 AM, Steve Purcell wrote:
> 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).
>
> Sin
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/pur
32 matches
Mail list logo