[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby a2a6434bb3 163/265: Reverting to re-search-forwar
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby a2a6434bb3 163/265: Reverting to re-search-forward |
Date: |
Sat, 9 Jul 2022 21:59:22 -0400 (EDT) |
branch: elpa/inf-ruby
commit a2a6434bb33fd2e04bcbab27b8bf1d1e7f583808
Author: Daniel Luna <dancluna@gmail.com>
Commit: Daniel Luna <dancluna@gmail.com>
Reverting to re-search-forward
---
inf-ruby.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 73c0aa1d6c..64e6a7b89c 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -634,7 +634,7 @@ keymaps to bind `inf-ruby-switch-from-compilation' to `ะก-x
C-q'."
one of the predicates matches, then calls `inf-ruby-console-NAME',
passing it the found directory.")
-(defvar inf-ruby-breakpoint-pattern ".*\\(\\[1\\] pry(\\)\\|\\((rdb:1)\\)"
+(defvar inf-ruby-breakpoint-pattern "\\(\\[1\\] pry(\\)\\|\\((rdb:1)\\)"
"Pattern found when a breakpoint is triggered in a compilation session.
This checks if the current line is a pry or ruby-debug prompt.")
@@ -746,7 +746,8 @@ Gemfile, it should use the `gemspec' instruction."
(when (inf-ruby-in-ruby-compilation-modes major-mode)
(save-excursion
(beginning-of-line)
- (when (looking-at inf-ruby-breakpoint-pattern)
+ (when (re-search-forward inf-ruby-breakpoint-pattern
+ (line-end-position) t)
(inf-ruby-switch-from-compilation)))))
(defun inf-ruby-auto-exit (input)
- [nongnu] elpa/inf-ruby 74e96360b1 034/265: Added macruby to inf-ruby-implementations, (continued)
- [nongnu] elpa/inf-ruby 74e96360b1 034/265: Added macruby to inf-ruby-implementations, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby a7bb5f99e3 013/265: Pesky header stuff., ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 164f2dda53 065/265: Add commands to launch different types of consoles, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby d776551688 087/265: Add pry to inf-ruby-implementations, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 28b84de084 122/265: Advertise using the .pryrc workaround, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 562fa9a422 094/265: Close #37, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 55559dfaac 144/265: fix OpenStruct.new syntax to work with ruby 1.8.7, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 488fc1b129 147/265: Refine the previous change, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby aad537f010 156/265: Merge pull request #82 from mkaschenko/ruby-send-buffer, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 3968234eed 150/265: Merge pull request #77 from syohex/update-url, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby a2a6434bb3 163/265: Reverting to re-search-forward,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 9f02c4a1c8 158/265: Adding ruby-debug pattern, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 2598a06923 164/265: Updating docstrings to follow Emacs' conventions, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 8c8819f84a 167/265: Improve docs, add autoloads, rename and make interactive the setup/remove functions, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby e4337ff378 182/265: inf-ruby-console-default: Support executable "console" script as well, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby ac80ea9fd3 188/265: Make run-ruby do one thing only, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 91424afd17 192/265: inf-ruby-console-*: Make sure default-directory is set to the project root, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 1dd007201a 197/265: Do not overwrite inf-ruby-buffer if it's still live, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 9bd6d24aca 202/265: inf-ruby-console-gem: Enable completion, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 81adadf0f9 203/265: Bump the version, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby fd8d392fef 224/265: ruby-print-result: Fallback to inf-ruby-buffer, ELPA Syncer, 2022/07/09