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-ex-search problem #9595

Closed
jajpater opened this issue Sep 16, 2017 · 8 comments
Closed

evil-ex-search problem #9595

jajpater opened this issue Sep 16, 2017 · 8 comments
Labels
- Bug tracker - To be reproduced Unresponsive Marked for issues without response from author.

Comments

@jajpater
Copy link

jajpater commented Sep 16, 2017

Description :octocat:

evil-ex-search problem

Reproduction guide 🪲

SPC l [spacemacs/layouts-transient-state/body]
1 [spacemacs/layouts-transient-state/spacemacs/persp-switch-to-1-and-exit]
SPC f e d [spacemacs/find-dotfile]
/ [evil-ex-search-forward]
e [self-insert-command]
e [debugger-eval-expression] <---- ???
n [self-insert-command]
[next-line-or-history-element]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]
[delete-backward-char]

Observed behaviour: 👀 💔

  • Emacs becomming unresponsive
  • CPU spinning to 100%

Expected behaviour: ❤️ 😄
String found in file

System Info 💻

  • OS: gnu/linux
  • Emacs: 25.1.1
  • Spacemacs: 0.200.9
  • Spacemacs branch: develop (rev. ca28bde)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(csv vimscript helm html auto-completion emacs-lisp git markdown org spell-checking latex deft mu4e typography
     (typography :variables typography-enable-typographic-editing t)
     pandoc search-engine dash pdf-tools csv)
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

Backtrace 🐾

Debugger entered--entering a function:
* command-error-default-function((quit) "" nil)
  recursive-edit()
  debug(error (quit))
  redisplay_internal\ \(C\ function\)()
  read-string("/" #("40" 0 2 (face shadow)) evil-ex-search-history)
  evil-ex-start-search(forward nil)
  evil-ex-search-forward(nil)
  funcall-interactively(evil-ex-search-forward nil)
  call-interactively(evil-ex-search-forward nil nil)
  command-execute(evil-ex-search-forward)

Backtrace 2 🐾

Debugger entered--entering a function:
* command-error-default-function((quit) "" nil)
  recursive-edit()
  debug(error (quit))
  redisplay_internal\ \(C\ function\)()
  read-string("/" #("40" 0 2 (face shadow)) evil-ex-search-history)
  evil-ex-start-search(forward nil)
  evil-ex-search-forward(nil)
  funcall-interactively(evil-ex-search-forward nil)
  call-interactively(evil-ex-search-forward nil nil)
  command-execute(evil-ex-search-forward)

Backtrace 3 🐾

Backtrace.txt

I can't copy and paste the preceding Backtrace into this message, so I uploaded it as a file.

@bmag bmag added - Bug tracker - LaTeX To be reproduced Unresponsive Marked for issues without response from author. labels Sep 17, 2017
@bmag
Copy link
Contributor

bmag commented Sep 17, 2017

Can't repro with latest develop and packages. Maybe add a minimal latex file where the bug happens?

@jajpater
Copy link
Author

I had this happen a couple of times yesterday. At the moment I can't reproduce it myself. Don't know why this happened. I had a lot of other buffers open yesterday. I will update the reproduction guide when this happens again. Is there an emacs commando that shows what input In have given emacs? Something like the history command in bash?

@braham-snyder
Copy link
Contributor

M-x view-lossage shows command history

that said, this looks a lot like #9220

@jajpater jajpater changed the title evil-ex-search problem in auctex mode (and possibly in other modes) evil-ex-search problem Sep 18, 2017
@jajpater
Copy link
Author

jajpater commented Sep 18, 2017

I had it happening to me again. I have pasted the relevant bit of view-lossage to the reproduction guide.
The string I was searching was "een" and after typing this emacs crashed on me. It seems I was trying to correct the search string with a backspace. Wonder why view-lossage gives the second 'e' not as a "self-insert-command" but as a "debugger-eval-expression."

@jajpater
Copy link
Author

It happened again while editing my .spacemacs So this certainly isn't a LaTeX problem. That tag can be removed. I uploaded another Backtrace. This time in my Messages buffer it said: evil-ex-start-search: Search failed: "Yate"
(I was searching for the string Yatemplate but when comming to the 'e' Emacs crashed on me.)

@bmag bmag removed the LaTeX label Sep 22, 2017
@braham-snyder
Copy link
Contributor

did you already try the solutions in the issue I linked?

@jajpater
Copy link
Author

@braham-snyder Indeed, it might well be a poweline issue. I seems that this issue started since I changed dotspacemacs-default-font '( [..] :size 18 I did not change the :powerline-scale however. Maybe that is necessary? I have now excluded spaceline from my config by setting dotspacemacs-excluded-packages '(spaceline) I hope this solves the issue. I'll keep you informed.

@jajpater
Copy link
Author

jajpater commented Oct 7, 2017

Since I disabled spaceline I haven't had this issue. So I guess you are right @braham-snyder. I'm closing this issue since #9220 is probably the same and still open.

@jajpater jajpater closed this as completed Oct 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Bug tracker - To be reproduced Unresponsive Marked for issues without response from author.
Projects
None yet
Development

No branches or pull requests

3 participants