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

evil-search-forward glitch in web-mode #5447

Closed
Evidlo opened this issue Mar 11, 2016 · 3 comments
Closed

evil-search-forward glitch in web-mode #5447

Evidlo opened this issue Mar 11, 2016 · 3 comments
Labels
- Bug tracker - Bug :-( stale marked as a stale issue/pr (usually by a bot) Web

Comments

@Evidlo
Copy link

Evidlo commented Mar 11, 2016

Description

In web-mode, evil-search-forward (/) gives strange behavior when searching for content inside a fold.

Reproduction guide

  • Start Emacs
  • open html file (given below)
  • enter web-mode
  • fold the div with class fold this div (SPC m z)
  • search for the string search me

html file

foo
<div class="fold this div">
  search me
</div>
bar

Observed behaviour:
It appears that once evil finds the string search me, spacemacs stops responding until I hit ctrl G a few times.

Expected behaviour:
It should be able to search for the string within a fold without freezing (preferably opening the fold automatically).

System Info

  • OS: gnu/linux
  • Emacs: 24.5.1
  • Spacemacs: 0.105.14
  • Spacemacs branch: master (rev. a298a5a)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(better-defaults c-c   django emacs-lisp gtags go html
                 (git :variables git-gutter-use-fringe t)
                 markdown org python shell syntax-checking yaml)

Backtrace

BACKTRACE IF RELEVANT
@StreakyCobra
Copy link
Contributor

For me it seems to be an upstream bug, but for now I can't even try to reproduce this on stock emacs because the folding of web-mode isn't working.

@kdelwat
Copy link
Contributor

kdelwat commented Oct 18, 2016

I was able to reproduce this on the latest version, so it's definitely still a problem.

System Info 💻

  • OS: gnu/linux
  • Emacs: 25.1.1
  • Spacemacs: 0.200.1
  • Spacemacs branch: master (rev. 3706a42)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
((auto-completion :variables auto-completion-enable-snippets-in-popup t auto-completion-enable-help-tooltip t)
 (clojure :variables clojure-enable-fancify-symbols t cider-font-lock-dynamically
          '(macro core deprecated function)
          cljr-suppress-middleware-warnings t)
 emacs-lisp git html javascript markdown org python
 (shell :variables shell-default-height 30 shell-default-position 'bottom)
 (spell-checking :variables spell-checking-enable-by-default nil)
 syntax-checking themes-megapack
 (version-control :variables version-control-diff-tool 'diff-hl version-control-global-margin t))

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Bug tracker - Bug :-( stale marked as a stale issue/pr (usually by a bot) Web
Projects
None yet
Development

No branches or pull requests

3 participants