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

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

[nongnu] elpa/inf-ruby 965df80555 235/265: Copy edits


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 965df80555 235/265: Copy edits
Date: Sat, 9 Jul 2022 21:59:29 -0400 (EDT)

branch: elpa/inf-ruby
commit 965df805552068ea37df8d3c05249689468c5662
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Copy edits
---
 README.md | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index c481e9c974..fdf5a9fd27 100644
--- a/README.md
+++ b/README.md
@@ -119,20 +119,23 @@ type <kbd>M-x describe-function [RET] inf-ruby-minor-mode 
[RET]</kbd>.
 
 * The REPL buffer doesn't seem to react to input?
 
-  Try putting following code into your `~/.irbrc`.
-  (issue [#51](https://github.com/nonsequitur/inf-ruby/issues/51)).
+  Try putting following code into your `~/.irbrc`
+  (issue [#51](https://github.com/nonsequitur/inf-ruby/issues/51)):
 
 ```rb
-  IRB.conf[:USE_READLINE] = false if ENV['INSIDE_EMACS']
+IRB.conf[:USE_READLINE] = false if ENV['INSIDE_EMACS']
 ```
 
-  If your's ruby version above 2.7, and above code not working, try putting 
following code into your `~/.irbrc` too.
-(issue [#43](https://github.com/ruby/irb/issues/43#issuecomment-589593889))
+* If your Ruby version is 2.7+ and there is a weird char instead of prompt, or 
you see a reline related error 
[([example](https://github.com/ruby/irb/issues/43#issuecomment-589593889)), try 
adding the following to your `~/.irbrc` as well:
 
 ```rb
-  IRB.conf[:USE_MULTILINE] = false if ENV['INSIDE_EMACS']
+IRB.conf[:USE_MULTILINE] = false if ENV['INSIDE_EMACS']
 ```
 
+For most projects that `inf-ruby-console-auto` can recognize, we try
+to apply this flag automatically, but some cases remain where the
+users will have to do it manually.
+
 * Pry raises ZeroDivisionError in `lib/pry/pager.rb`?
 
   Put `Pry.config.pager = false if ENV["INSIDE_EMACS"]` into your `~/.pryrc`.



reply via email to

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