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-describe-face errors when point is on a face #703

Wilfred opened this Issue Oct 8, 2016 · 1 comment


None yet
2 participants

Wilfred commented Oct 8, 2016

If point is on a defface form, then counsel-describe-face errors with:

Debugger entered--Lisp error: (wrong-type-argument stringp hexl-ascii-region)
  (let ((re (regexp-quote preselect))) (cl-find-if (function (lambda (x) (string-match re x))) coll))
  (or (and require-match (not (eq collection (quote internal-complete-buffer)))) dynamic-collection (let ((re (regexp-quote preselect))) (cl-find-if (function (lambda (x) (string-match re x))) coll)))

The error seems to be this call to regexp-quote in ivy--reset-state:

      (when preselect
        (unless (or (and require-match
                         (not (eq collection 'internal-complete-buffer)))
                    (let ((re (regexp-quote preselect)))
                      (cl-find-if (lambda (x) (string-match re x))
          (setq coll (cons preselect coll))))

I'm not sure how a symbol ended up in the ivy state struct in the first place. I think the code is expecting strings.

I'm on Emacs 25.1.

@abo-abo abo-abo closed this in 955585e Oct 9, 2016


This comment has been minimized.


abo-abo commented Oct 9, 2016


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment