-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
counsel-ag error message #1287
Comments
This is a bug with your config, seems you added |
Yes. When icomplete-mode is disabled, the error message disappears. But there is no completion when I run commands like discribe-function. |
Put simply, Emacs can use only one global mode for completion: you have to choose between If you want to keep (defun ivy-icomplete (f &rest r)
(icomplete-mode -1)
(unwind-protect
(apply f r)
(icomplete-mode 1)))
(advice-add 'ivy-read :around #'ivy-icomplete) |
But I'm using ido commands with no error messages while the icomplete-mode is on. Does ido internally run like in your code snippet? |
Ido and icomplete are in the same code base (core Emacs). Likely, the compatibility issues were taken care of. |
Then what about helm-mode? I'm also using helm commands(helm-buffers-list, helm-imenu ...) together with ido and icomplete. |
Perhaps helm isn't affected by |
The |
Everytime I run the command counsel-ag, emacs reports the following error message:
Error in post-command-hook (icomplete-post-command-hook): (wrong-number-of-arguments (((ag-prompt) (extra-ag-args) (initial-directory) (initial-input) smex-ido-cache info-lookup-mode t) (string) (counsel-ag-function string counsel-ag-base-command extra-ag-args)) 3)
The text was updated successfully, but these errors were encountered: