Open mkaschenko opened 8 years ago
We've slightly changed the recommended procedure on inf-ruby
's side, search for compilation-filter-hook
in https://github.com/nonsequitur/inf-ruby/blob/master/README.md.
Not sure how your proposal fits in that.
With inf-ruby-auto-enter
added, when I switch to *rspec-compilation*
buffer my cursor is in the beginning of the buffer.
So I still need to move to end of the buffer to input something.
Wouldn't it be nice to have cursor in the input place by default?
One more thing: I'm currently using byebug
gem on a project and inf-ruby-auto-enter
is not working for it because inf-ruby-breakpoint-pattern
doesn't handle that case.
It shouldn't be difficult to make it work.
It shouldn't be difficult to make it work.
Indeed. Feel like submitting a couple of pull requests?
They should be against inf-ruby
. One to recognize byebug
prompt, and another that adds a user option that makes inf-ruby-auto-enter
and inf-ruby-switch-from-compilation
jump to eob.
👍 I will submit them.
On Apr 20, 2016, at 16:58, Dmitry Gutov notifications@github.com wrote:
It shouldn't be difficult to make it work.
Indeed. Feel like submitting a couple of pull requests?
They should be against inf-ruby. One to recognize byebug prompt, and another that adds a user option that makes inf-ruby-auto-enter and inf-ruby-switch-from-compilation jump to eob.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/pezra/rspec-mode/issues/143#issuecomment-212358816
As it says here https://github.com/pezra/rspec-mode#debugging it's possible to switch to 'Inf-ruby' mode from 'Spec Compilation' mode. I noticed that I always hit C-x C-q and M-> (end-of-buffer) to move to the input place. So I'm thinking about making this behaviour by default.