   :repeat ignore
   (interactive)
   (mapc 'emc-delete-cursor emc-cursor-list)
+  (evil-exit-visual-state)
   (setq emc-cursor-list nil)
   (setq emc-pattern nil))
 

  (define-key evil-normal-state-map (kbd "gsp") 'emc-skip-cursor-and-goto-prev-match)
  )

;; TODO implement make/skip next prev based on pattern
;; - emc-make-for-all-matches
;;    - the cursor must not move
;; - emc-make-for-next-match (must wrap)
;; - emc-make-for-prev-match (must wrap)
;; - emc-skip-for-next-match
;; - emc-skip-for-prev-match

;; (emc-make-cursors-for-all)
;; (setq emc-pattern '("emc" nil))
;; (emc-set-pattern)
;; (emc-find-next 'forward nil)
;; (emc-set-cursor-face '(emc-region-face))
;; (emc-set-cursor-face nil)
;; (emc-cursor-overlay-at-eol (point))
;; (emc-cursor-overlay-inline (point))

(provide 'emc-cursor-make)


;; - temporarily freeze all fake cursors
;; - fake cursors should reflect the current evil state
;; - the real cursor should be visible in relation to the fake ones

(require 'emc-common)
(require 'emc-vars)
