Dmitry Gutov

Results 1329 comments of Dmitry Gutov

Hi! What happens (or should happen), is `robe-start` delegates to `inf-ruby-console-rails`, which in turn calls `bin/rails console -e development` - if you indeed choose that environment. In my testing, that...

What if you set up the local config to have this group in use? ```sh bundle config set with console ``` and then run `bin/rails console`?

Ok, how are you testing the result? Something like ``` bundle config set with console bundle install bin/rails console require 'pry' ``` ?

I think that happens due to this call: https://github.com/rails/rails/blob/main/railties/lib/rails/generators/rails/app/templates/config/application.rb.tt#L7C1-L7C31 `Rails.groups` is affected by the env var `RAILS_GROUPS`: https://api.rubyonrails.org/classes/Rails.html#method-c-groups So it should help to set it to a custom value, then...

So, check this out: ``` ~/e/trails7 (main|✓) $ bin/rails c -e development Loading development environment (Rails 7.2.1) trails8(dev)> ~/e/trails7 (main|✓) $ RAILS_GROUPS=console bin/rails c -e development Loading development environment (Rails...

I think the idea is that after an unexpected error happens, the addon switched to "verbose" mode to help you file an issue about the problem. It also cannot guarantee...

Thanks! I'll just wait a bit before merging, so that nix Emacs updates to the latest snapshot, and its CI build succeeds too.

Hi! Could this approach be a little problematic? This function is also called from `diff-hl-stage-current-hunk` and `diff-hl-revert-hunk`, where I'm not sure if recentering is good or not.

Thanks for the submission, see the suggestion inline.