ac-cider icon indicating copy to clipboard operation
ac-cider copied to clipboard

There has been some blank lines

Open cranehuang opened this issue 9 years ago • 7 comments

Sometimes,some blank lines appear after the code completed.as you can see in the following picture: 2015-03-19 08 56 29

cranehuang avatar Mar 19 '15 01:03 cranehuang

Does it happen only when you complete from REPL, or in Clojure buffers too?

Is it consistent for specific completions you make, or seems random?

alexander-yakushev avatar Mar 19 '15 07:03 alexander-yakushev

Both in REPL and Clojure buffers.And it seems random.

cranehuang avatar Mar 19 '15 07:03 cranehuang

I suspect it might be a bug in popul.el, because ac-cider doesn't interact with the buffer directly anywhere. But if you happen to spot some pattern when it happens, I will investigate.

alexander-yakushev avatar Mar 19 '15 07:03 alexander-yakushev

Ok,if I find some thing related , I'll tell you here.

cranehuang avatar Mar 19 '15 07:03 cranehuang

This happened to me all the time (to repro, you had to be editing the last few lines of a Clojure buffer, and then either ESC or wait a while before accepting the auto-complete option). However this looks to now be fixed in ac-cider-20151012.308.

asadeghi avatar Nov 19 '15 05:11 asadeghi

Yes, I've been aware of that for some time. Unfortunately it is a bug in auto-complete itself - this happens to me on ac-slime for common lisp as well.

You might try to submit a report to AC repo and see if anyone reacts.

On Thu, Nov 19, 2015, 07:21 Armin Sadeghi [email protected] wrote:

This happens to me all the time. To repro reliably:

  1. Turn on "whitespace-mode" so you can see the extra blank lines.
  2. Edit something with auto-complete in a Clojure buffer that is towards the end of the file, i.e. the last few lines. As the auto complete kicks in you can see the extra lines being added (which is expected).
  3. When the auto-complete window is showing you options, wait 3-5 seconds, then press enter or type something new. This will cause the issue in question. Alternatively - with the AC window showing, press ESC.

— Reply to this email directly or view it on GitHub https://github.com/clojure-emacs/ac-cider/issues/28#issuecomment-157954412 .

alexander-yakushev avatar Nov 19 '15 09:11 alexander-yakushev

autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it

MalloZup avatar Aug 05 '19 21:08 MalloZup