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

Does not work in text mode #2

Open
valrus opened this issue Nov 21, 2014 · 2 comments
Open

Does not work in text mode #2

valrus opened this issue Nov 21, 2014 · 2 comments
Assignees

Comments

@valrus
Copy link

valrus commented Nov 21, 2014

Repro:
Create a document with the following:

трахаеш

Move point onto the word, M-x ahs-forward
Result: Wrong type argument: stringp, none

@valrus
Copy link
Author

valrus commented Jan 6, 2015

Full traceback:

Debugger entered--Lisp error: (wrong-type-argument stringp none)
  propertize(none face ahs-plugin-defalt-face)
  ahs-decorated-current-plugin-name()
  ahs-stat()
  (let* ((i 0) (overlay-count (length ahs-overlay-list)) (overlay (format "%s" (nth i ahs-overlay-list))) (current-overlay (format "%s" ahs-current-overlay)) (st (ahs-stat)) (plighter (ahs-current-plugin-prop (quote lighter))) (plugin (format " <%s> " (cond ((string= plighter "HS") "D") ((string= plighter "HSA") "B") ((string= plighter "HSD") "F")))) (propplugin (propertize plugin (quote face) (list (quote :foreground) "#ffffff" (quote :background) (face-attribute (quote ahs-plugin-defalt-face) :foreground))))) (while (not (string= overlay current-overlay)) (setq i (1+ i)) (setq overlay (format "%s" (nth i ahs-overlay-list)))) (let* ((x/y (format "[%s/%s]" (- overlay-count i) overlay-count)) (propx/y (propertize x/y (quote face) ahs-plugin-whole-buffer-face)) (hidden (if (< 0 (- overlay-count (nth 4 st))) "*" "")) (prophidden (propertize hidden (quote face) (quote (:weight bold))))) (echo "%s %s%s press (n/N) to navigate, (e) to edit, (r) to change range or (R) for reset" propplugin propx/y prophidden)))
  spacemacs/auto-highlight-symbol-overlay-map()
  ad-Advice-ahs-forward(#[nil "\300\301\302\"\207" [ahs-select ahs-forward-p t] 3 ("c:/Users/valrus/AppData/Roaming/.emacs.d/elpa/auto-highlight-symbol-20130313.243/auto-highlight-symbol.elc" . 36082) nil])
  apply(ad-Advice-ahs-forward #[nil "\300\301\302\"\207" [ahs-select ahs-forward-p t] 3 ("c:/Users/valrus/AppData/Roaming/.emacs.d/elpa/auto-highlight-symbol-20130313.243/auto-highlight-symbol.elc" . 36082) nil] nil)
  ahs-forward()
  (progn (spacemacs/integrate-evil-search t) (ahs-highlight-now) (ahs-forward))
  eval((progn (spacemacs/integrate-evil-search t) (ahs-highlight-now) (ahs-forward)) nil)
  spacemacs/quick-ahs-forward()
  call-interactively(spacemacs/quick-ahs-forward nil nil)
  command-execute(spacemacs/quick-ahs-forward)

@valrus
Copy link
Author

valrus commented Jan 6, 2015

Actually the problem might not be the non-ASCII; it might be that this is a text-mode buffer.

@valrus valrus changed the title Does not work on Cyrillic strings (and possibly all non-ASCII?) Does not work in text mode Jan 6, 2015
@jcs090218 jcs090218 self-assigned this Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants