General

Profile

rsharman (Richard Sharman)

  • Login: rsharman
  • Registered on: 12/18/2020
  • Last sign in: 02/02/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 4 4

Activity

01/19/2021

11:43 PM Ruby Bug #17564 (Closed): Source command in irb exits after reading and evaluating the file
In the irb of ruby 2.3.7 (the version that comes with Macos) the “source“ command allows ruby code to be fed to irb as if it were typed in by hand. This has a advantage over the “load” command because variables can be setup not just fun... rsharman (Richard Sharman)

01/07/2021

08:34 PM Ruby Bug #17493: Calling Reline::Unicode.calculate_width appears to lock up when called from emacs or if output is redirected
Another way the problem can happen is displaying an EN DASH character, such as in a CSV file produced by LibreOffice.
When a shell is running inside emacs, including the case of running inf-ruby, ANSI sequences are not honoured. In most...
rsharman (Richard Sharman)

12/31/2020

06:30 AM Ruby Bug #17493 (Closed): Calling Reline::Unicode.calculate_width appears to lock up when called from emacs or if output is redirected
In https://github.com/ruby/reline/pull/224 there is a test program
```
require "reline"
p Reline::Unicode.calculate_width("√")
```
as a test case for bug #17405. This program hangs when called from an emacs shell.
The prob...
rsharman (Richard Sharman)
01:14 AM Ruby Bug #17405: irb ---nomultiline gets exception when output contains some non-ascii characters
Sorry not to have checked back recently. The patch mentioned above works great for me.
I doubt if this is required now but here it is:
irb(main):001:0> irb_info
=>
Ruby version: 2.7.2
IRB version: irb 1.2.6 (2020-09-14)
InputMeth...
rsharman (Richard Sharman)

12/30/2020

11:59 PM Ruby Bug #17492 (Closed): Breakpoints in debug.rb only work when program invoked with absolute filename
When using the debugger, as in ruby -r debug, it seems that breakpoints sometimes are honoured and sometimes not. It turns out that it matters how the program is invoked.
For example, when debugging test.rb,
if invoked as
ruby -...
rsharman (Richard Sharman)

12/18/2020

05:59 PM Ruby Bug #17405 (Closed): irb ---nomultiline gets exception when output contains some non-ascii characters
When irb is called with the --nomultiline option (for example, when called from emacs), then if the output contains some special characters (such as the square root sign, or a single quotation mark), then irb gets an exception.
Withou...
rsharman (Richard Sharman)

Also available in: Atom