From: shevegen@... Date: 2018-07-18T13:29:39+00:00 Subject: [ruby-core:87991] [Ruby trunk Feature#14919] Add String#byteinsert Issue #14919 has been updated by shevegen (Robert A. Heiler). I don't have a specific opinion on the suggestion itself; Martin raised some valid points, in my opinion. But I wanted to comment on something else. There have been some suggestions to the developer meeting, as recently as 8 hours ago; so probably just shortly before the developer meeting started: https://bugs.ruby-lang.org/issues/14861 This is a very short time frame. I would like to suggest to give a little bit more time before the developer meeting, so that other people can also comment on the suggestions. Something like +24 hours or so if it has not yet discussed; I feel that ~8 hours without any real possibility for a discussion is very, very short. ---------------------------------------- Feature #14919: Add String#byteinsert https://bugs.ruby-lang.org/issues/14919#change-73004 * Author: aycabta (aycabta .) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- It's important for multibyte String editing. Unicode grapheme characters sometimes have plural code points. In text editing, software sometimes should add a new code point to an existing grapheme character. String#byteinsert is important for it. I implemented by pure Ruby in my code. https://github.com/aycabta/reline/blob/b17e5fd61092adfd7e87d576301e4e19a4d9e6d8/lib/reline/line_editor.rb#L255-L260 -- https://bugs.ruby-lang.org/ Unsubscribe: