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

Error when search history input #189

Open
mfa777 opened this issue Oct 26, 2024 · 0 comments
Open

Error when search history input #189

mfa777 opened this issue Oct 26, 2024 · 0 comments

Comments

@mfa777
Copy link

mfa777 commented Oct 26, 2024

Step:

  1. open rails project with spacemacs
  2. ", f i" open a rails console
  3. Input any command, press "Enter"
  4. press up key (↑), error come out in mini buffer

screenshot

2024-10-26_23-04

error message

Debugger entered--Lisp error: (search-failed "\\(^>> *\\)\\|\\(^(rdb:1) *\\)\\|\\(^(rdbg[^)]*) *\\)\\|\\(^...")
  re-search-backward("\\(^>> *\\)\\|\\(^(rdb:1) *\\)\\|\\(^(rdbg[^)]*) *\\)\\|\\(^...")
  (let ((end (point))) (re-search-backward inf-ruby-first-prompt-pattern) (inf-ruby-remove-in-string (buffer-substring (point) end) inf-ruby-prompt-pattern))
  (save-excursion (let ((end (point))) (re-search-backward inf-ruby-first-prompt-pattern) (inf-ruby-remove-in-string (buffer-substring (point) end) inf-ruby-prompt-pattern)))
  inf-ruby-get-old-input()
  comint-previous-matching-input("." 1)
  comint-previous-input(1)
  funcall-interactively(comint-previous-input 1)
  command-execute(comint-previous-input)

full error output

let: Search failed: "\\(^>> *\\)\\|\\(^(rdb:1) *\\)\\|\\(^(rdbg[^)]*) *\\)\\|\\(^(byebug) *\\)\\|\\(^\\(irb([^)]+)\\|\\([[0-9]+] \\)?[Pp]ry ?([^)]+)\\|\\(jruby-\\|JRUBY-\\)?[1-9]\\.[0-9]\\(\\.[0-9]+\\)*\\(-?p?[0-9]+\\)?\\|^rbx-head\\) ?[0-9:]* ?> *\\)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant