indent-guide icon indicating copy to clipboard operation
indent-guide copied to clipboard

error happened.

Open stardiviner opened this issue 10 years ago • 0 comments

Debugger entered--Lisp error: (args-out-of-range #("|" 0 1 (face indent-guide-face)) -108) indent-guide--make-overlay(55 2) indent-guide-show() funcall-interactively(indent-guide-show) call-interactively(indent-guide-show record nil) command-execute(indent-guide-show record) helm-M-x() funcall-interactively(helm-M-x) call-interactively(helm-M-x nil nil) command-execute(helm-M-x)

My Emacs version: GNU Emacs 25.0.5.2 (x86_64) my indent-guide configuration:

(require 'indent-guide)

(set-face-attribute 'indent-guide-face nil
                    :foreground "cyan")

(setq indent-guide-delay nil ; nil, 0.1
      indent-guide-recursive t ; To show not only one guide line but all guide
                                        ; lines recursively, set “indent-guide-recursive”
                                        ; non-nil.
      indent-guide-char "|" ; |, :
      indent-guide-inhibit-modes '(dired-mode Info-mode Man-mode)
      )


;; (indent-guide-global-mode)
;; or
;; (lambda nil (unless (memq major-mode indent-guide-inhibit-modes) (indent-guide-mode 1)))

(dolist (hook '(prog-mode-hook
                emacs-lisp-mode-hook
                lisp-mode-hook
                clojure-mode-hook
                ruby-mode-hook
                ))
  (add-hook hook #'indent-guide-mode))

stardiviner avatar Nov 06 '14 05:11 stardiviner