-
Notifications
You must be signed in to change notification settings - Fork 29
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
Compatibility with auto-complete #21
Comments
Thanks for the report. I'll look into a fix, but it will take me some time to read through the auto-complete sources and understand the nature of the incompatibility (the main routine of auto-complete looks to be fairly intricate). |
I've observed this too, and it's the only reason I'm not using -Steve |
I just wanted to note, particularly for the benefit of @alpaker, that you can work around this problem by temporarily suspending (defvar sanityinc/fci-mode-suppressed nil)
(defadvice popup-create (before suppress-fci-mode activate)
"Suspend fci-mode while popups are visible"
(set (make-local-variable 'sanityinc/fci-mode-suppressed) fci-mode)
(when fci-mode
(turn-off-fci-mode)))
(defadvice popup-delete (after restore-fci-mode activate)
"Restore fci-mode when all popups have closed"
(when (and (not popup-instances) sanityinc/fci-mode-suppressed)
(setq sanityinc/fci-mode-suppressed nil)
(turn-on-fci-mode))) |
Thanks. I haven't had a chance to get to this bug yet, but I'm hoping On Fri, Jul 13, 2012 at 6:38 AM, Steve Purcell
|
I'd love to investigate it myself, but I'm a bit flat out right now. Thanks for your work on |
I'm having trouble reproducing this. I can see a couple of transient irregularities when using fci-mode together with auto-complete, but nothing as drastic as the above. When either of you has a chance, could you supply a recipe starting from |
I see the behaviour in both the latest Emacs from the emacs-24 branch and HEAD (but I'm building from a git mirror, so no emacs-bzr-version here...). And that's with auto-complete and popup from git too (or Melpa packages, which are basically the same thing: http://melpa.milkbox.net). -Steve |
Thanks, but I should have been more clear on one point: I was hoping to get a test file or code snippet that triggers behavior like that in the screenshots the OP provided, as I haven't been able to reproduce anything that looks like that. (I can produce some transient cursor movement problems and the like, but not anything like the corruption of the popup completion menu shown in the screenshots.) |
I just tested ac + fci-mode on my home-Mac, running Emacs 24, and I don't get that problem either. Using Emacs 23 at work, I have the problem as shown in the screenshot. So I guess this is a problem with the older Emacs. |
D'oh, I didn't try it with v23. I'll look into that. |
I'm facing a similar issue on Emacs 24.1.1 with the latest versions of auto-complete and fci-mode. I've submitted an issue in auto-complete's issue tracker: https://github.com/m2ym/auto-complete/issues/135 Here is how it looks:
It happens not only in python-mode, here is an example in emacs-lisp-mode:
My configuration for auto-complete (as seen on the screenshots) is simple: (require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/modes/auto-complete/dict")
(ac-config-default)
(setq ac-delay 0)
(setq ac-quick-help-delay 0)
(setq ac-use-fuzzy t) Please let me know if you need more information. Thanks, |
Thanks. Unfortunately, I'm 99% sure at this point that this is due to a I am working on it, but gradually. On Wed, Aug 22, 2012 at 9:08 PM, Anton Beloglazov
|
Thanks for looking into this, Alp! |
Hi Alp, FYI, I've just found that this patch https://github.com/m2ym/popup-el/pull/8 partially solves the problem. Here is how it looks with the patch applied: http://i.imgbox.com/acz85JgX.jpg I've posted about it in the following issue: https://github.com/m2ym/auto-complete/issues/135 Thanks, |
Hi Anton. Thanks for pointing that out. I'll take a look at what's going On Mon, Aug 27, 2012 at 3:23 AM, Anton Beloglazov
|
@mbrgm See my workaround above. |
@purcell I tried it, but it does not turn on fci-mode again when the popup is gone. |
I honestly haven't been working much on this (I've had very little time for On Tue, Dec 30, 2014 at 7:57 AM, Steve Purcell notifications@github.com
|
Just FYI, I'm abandoning this package and welcoming requests to be take over as maintainer. |
The functionality provided by this package has now been implemented natively in Emacs as |
When using auto-complete, the code hints of auto-complete become garbled, like shown in the screenshot below:
When disabling fci-mod, the bug disappears:
The text was updated successfully, but these errors were encountered: