Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*1 not getting bound #200

Closed
deg opened this issue Dec 26, 2012 · 11 comments
Closed

*1 not getting bound #200

deg opened this issue Dec 26, 2012 · 11 comments

Comments

@deg
Copy link

deg commented Dec 26, 2012

In my nrepl buffer, *1 is not getting bound to the results of the last expression evaluated. Instead, it is always ().

Is this a known issue? Or, am i somehow misconfigured?

@kingtim
Copy link
Member

kingtim commented Dec 26, 2012

Which version of nrepl.el are you using?

@deg
Copy link
Author

deg commented Dec 26, 2012

nrepl.el "0.1.6-preview"
and, on the clojure side, nrepl "0.2.0-RC1"

@bbatsov
Copy link
Member

bbatsov commented Jan 1, 2013

Seems to be working fine to me. What's your Emacs version @deg?

@deg
Copy link
Author

deg commented Jan 1, 2013

24.2.1

From: Bozhidar Batsov [mailto:notifications@github.com]
Sent: Tuesday, January 01, 2013 7:03 PM
To: kingtim/nrepl.el
Cc: David Goldfarb
Subject: Re: [nrepl.el] *1 not getting bound (#200)

Seems to be working fine to me. What's your Emacs version @deghttps://github.com/deg?


Reply to this email directly or view it on GitHubhttps://github.com//issues/200#issuecomment-11790827.

@kingtim
Copy link
Member

kingtim commented Jan 1, 2013

Are you using ac-nrepl or any other add-ons to nrepl.el?

This was fixed a while back in nrepl.el (see #105). I am wondering if some other function is not using the special session that is maintained for tooling related stuff, and is causing the problem.

@deg
Copy link
Author

deg commented Jan 1, 2013

I am using ac-nrepl.
Full disclosure: I'm new to nrepl and copied someone else's public configuration, which included ac-nrepl. I'm not exactly sure what ac-nrepl gives me, nor if I need it. Is it problematic?

@bbatsov
Copy link
Member

bbatsov commented Jan 1, 2013

ac-nrepl replaces the standard Emacs completion mechanism with the popup-menus of auto-complete-mode (as found in most IDEs). If you don't care about those you can remove it from your config.

@deg
Copy link
Author

deg commented Jan 1, 2013

I've just removed ac-nrepl, and it looks like that fixes the problem. Thanks!

I definitely need ac style completion less than I need *1, etc., so I'll leave ac-nrepl off for now.

Guess I should report this bug to the ac-nrepl folks. What info can I tell them, beyond "*1 doesn't work"? Or, are you already in touch with them?

@bbatsov
Copy link
Member

bbatsov commented Jan 1, 2013

Submit an issue to ac-nrepl's issue tracker https://github.com/purcell/ac-nrepl with a reference to the issue here. It's maintainer keeps a pretty close eye on all his projects so I guess you'll get a response from him very soon.

@kingtim
Copy link
Member

kingtim commented Jan 1, 2013

Please let me know the issue number once you have posted it in ac-nrepl. I can prepare a pull request to resolve the issue there.

@deg
Copy link
Author

deg commented Jan 1, 2013

Done, thanks. clojure-emacs/ac-nrepl#21

@kingtim kingtim closed this as completed Jan 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants