Bugs item #313583, was changed at 2012-03-23 02:26 by Igor Murzov
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313583&group_id=100114

>Status: Closed
Priority: 3
Submitted By: Yichao Yu (yuyichao-guest)
Assigned to: Nobody (None)
Summary: _init_completion doesn't work well for command line that contain non 
ascii characters 
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: 2.0
>Status: Invalid
Original bug number: 


Initial Comment:
the cur variable after calling this function doesn't contain the right string 
if there is non-ascii character in it.
all other variables are fine (including $words !!)
Moreover, what I have seen is, if there are n Chinese characters in this 
argument, it will contain n more variables from the following arguments! (so 
something must have gone wrong dealing with the length/size of the string~~)

Version and distribution used: bash-completion 1.99 from Archlinux official 
repo.

=D


----------------------------------------------------------------------

>Comment By: Igor Murzov (garik-guest)
Date: 2012-03-25 17:54

Message:
> it's a bug of bash

Closed then.

----------------------------------------------------------------------

Comment By: Yichao Yu (yuyichao-guest)
Date: 2012-03-23 02:45

Message:
it's a bug of bash

----------------------------------------------------------------------

Comment By: Yichao Yu (yuyichao-guest)
Date: 2012-03-23 02:36

Message:
The bug is in the position calculation in __get_cword_at_cursor_by_ref


----------------------------------------------------------------------

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313583&group_id=100114

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel

Reply via email to