emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 855a58582b 2/3: update prompt and breakpoint patt


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 855a58582b 2/3: update prompt and breakpoint patterns to include entire prompt
Date: Sun, 16 Oct 2022 18:58:56 -0400 (EDT)

branch: elpa/inf-ruby
commit 855a58582bf60cc02e4b50545e3518f72913e04f
Author: justin talbott <justin@waymondo.com>
Commit: justin talbott <justin@waymondo.com>

    update prompt and breakpoint patterns to include entire prompt
---
 inf-ruby.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 564436c5b2..68a94fc338 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -141,7 +141,7 @@ the same directory and used the same base name."
     #'identity
     '("\\(^%s> *\\)"                      ; Simple
       "\\(^(rdb:1) *\\)"                  ; Debugger
-      "\\(^(rdbg\\)"                      ; Ruby Debug Gem
+      "\\(^(rdbg[^)]*) *\\)"              ; Ruby Debug Gem
       "\\(^(byebug) *\\)"                 ; byebug
       "\\(^\\(irb([^)]+)"                 ; IRB default
       "\\([[0-9]+] \\)?[Pp]ry ?([^)]+)"   ; Pry
@@ -1015,7 +1015,7 @@ keymaps to bind `inf-ruby-switch-from-compilation' to 
`ะก-x C-q'."
 one of the predicates matches, then calls `inf-ruby-console-TYPE',
 passing it the found directory.")
 
-(defvar inf-ruby-breakpoint-pattern "\\(\\[1\\] 
pry(\\)\\|\\((rdb:1)\\)\\|\\((byebug)\\)\\|\\((rdbg\\)"
+(defvar inf-ruby-breakpoint-pattern "\\(\\[1\\] 
pry(\\)\\|\\((rdb:1)\\)\\|\\((byebug)\\)\\|\\((rdbg[^)]*)\\)"
   "Pattern found when a breakpoint is triggered in a compilation session.
 This checks if the current line is a pry or ruby-debug prompt.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]