Skip to content

isearch mode is cancelled when moving mouseΒ #532

Open
@xdai

Description

@xdai

After entering isearch mode by pressing ctrl-s, if you move the mouse then isearch mode will be cancelled. This is frustrating because following key strokes meant to be made under isearch mode just creates chaos in current buffer.

The issue goes away if I uninstall lsp-ui.

How to reproduce:

  1. Press ctrl-s
  2. Move mouse

I am running

  • Windows 10
  • Emacs 27.1 GUI mode
  • lsp-mode 20201105.1857
  • lsp-ui 20201024.2307
  • clangd_11.0.0-rc1

Here is my lsp config:

(use-package lsp-mode
  :init
  (setq lsp-keymap-prefix "C-c l")
  (setq lsp-clients-clangd-executable "~/app/clangd_11.0.0-rc1/bin/clangd.exe")
  (setq lsp-clients-clangd-args '("--clang-tidy" "--header-insertion=never"))

  :config
  (setq lsp-headerline-breadcrumb-enable t)
  (setq lsp-headerline-breadcrumb-segments '(symbols))
  (setq lsp-lens-enable t)
  (setq lsp-enable-snippet nil)

  :hook
  ((c-mode   . lsp-deferred)
   (c++-mode . lsp-deferred))

  :commands
  (lsp lsp-deferred))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions