Skip to content

swiper: (minibuffer-keyboard-quit) jumps back to first swiper match instead of point when calling isearch #43

@fapdash

Description

@fapdash

Reproduction

Config:

(use-package ace-isearch
  :ensure t
  :config
  (global-ace-isearch-mode +1)

  (custom-set-variables
   '(ace-isearch-input-length 2)
   '(ace-isearch-jump-delay 0.15)
   '(ace-isearch-function 'avy-goto-word-1)
   '(ace-isearch-use-jump 'printing-char)
   '(ace-isearch-function-from-isearch 'ace-isearch-swiper-from-isearch)))
  • Execute isearch-forward with more than 1 char that has at least one match in the file so we change position
  • Call minibuffer-keyboard-quit (C-g)

Expected

We jump back to the position where we called isearch-forward

Actual

We jump back to the first match from swiper where we jumped to after swiper was called..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions