Re: COMP_POINT is not set correctly when there is non-ascii characters in the command line.

2012-03-28 Thread Yichao Yu
On Wed, Mar 28, 2012 at 10:48 PM, Chet Ramey wrote: > On 3/27/12 2:17 PM, Yichao Yu wrote: >> So is it possible to set COMP_POINT as the number of characters >> between 0 and rl_point (if it is also bad to break libreadline api by >> setting rl_point as that.) without scre

Re: COMP_POINT is not set correctly when there is non-ascii characters in the command line.

2012-03-27 Thread Yichao Yu
So is it possible to set COMP_POINT as the number of characters between 0 and rl_point (if it is also bad to break libreadline api by setting rl_point as that.) without screwing up other part of the code? (I hope this fix would be no more than searching for rl_point and replace wherever necessary.)