[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 673d6b66b0 064/265: Do Bond completion in the mid
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 673d6b66b0 064/265: Do Bond completion in the middle of the line |
Date: |
Sat, 9 Jul 2022 21:59:14 -0400 (EDT) |
branch: elpa/inf-ruby
commit 673d6b66b0dfec7e4c0b10125fb0d5b8be82912c
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Do Bond completion in the middle of the line
---
inf-ruby.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index dab42c6db7..ec3f9278a7 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -365,7 +365,8 @@ The reason for this is unknown. Remove this line from
`completions'."
(defun inf-ruby-completions (expr)
"Return a list of completions for the Ruby expression starting with EXPR."
(let* ((proc (inf-ruby-proc))
- (line (replace-regexp-in-string "\n$" "" (thing-at-point 'line)))
+ (line (buffer-substring (save-excursion (beginning-of-thing 'line))
+ (point)))
(comint-filt (process-filter proc))
(kept "") completions)
(set-process-filter proc (lambda (proc string) (setq kept (concat kept
string))))
- [nongnu] elpa/inf-ruby c6990a60c7 244/265: Implement inf-ruby-reuse-older-buffers, (continued)
- [nongnu] elpa/inf-ruby c6990a60c7 244/265: Implement inf-ruby-reuse-older-buffers, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby f484fa82cc 247/265: ruby-send-last-stmt: New command, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 6943bf1e78 254/265: Apply code review - print evaluation as default, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 3940b91ac5 252/265: Create load current ruby file fn and key binding, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c49b3d360a 253/265: Apply code review - remove unecessary line, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby bae94383d5 256/265: Stop wrapping the evaluation result in quotes, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby ff25dda5e2 259/265: Bump the version, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby f892e6e74f 262/265: Set env var RUBY_DEBUG_NO_RELINE, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 4ddf6b3889 265/265: Bump the version, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c97c8184ca 070/265: Take `inf-ruby-setup-keybindings' out of the picture, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 673d6b66b0 064/265: Do Bond completion in the middle of the line,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 1bcb92d3ec 121/265: Revert "Work around pry/pry#1267", ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 74ae145ecd 078/265: Make MELPA link point to inf-ruby's subpage, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby f4efbee52a 077/265: Drop the .el, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby c2035822ea 106/265: Detect byebug debugger, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 281c1263f9 097/265: Fix completion in Ruby 1.8.7, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 9e2c0ab255 117/265: inf-ruby-console-rails: use 'bundle exec' if Gemfile is present, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby f232f780ec 119/265: Link to the issue 51, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby d4d2451d16 111/265: Apply `defcustom` fixes, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby fd84092271 099/265: Merge pull request #43 from hrvladev/fix-readme-typo, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 14ca8ddda5 098/265: Fix code indication in the readme, ELPA Syncer, 2022/07/09