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

[sup-devel] [issue36] label tab completion with utf-8 chars fail



New submission from Gaute Hope <eg@gaute.vetsj.com>:

When trying to label a thread with a label containing unicode chars and pressing 
TAB I get this. When typing in the whole label manually it ads it with some 
minor glitches in the rendering of the message-line. When restarting sup I get a 
one space between the subject and the label that doesn't change background color 
when selected.

[2009-12-25 14:51:11 +0100] ERROR: oh crap, an exception
----------------------------------------------------------------
I'm very sorry. It seems that an error occurred in Sup. Please
accept my sincere apologies. If you don't mind, please send the
contents of /home/gaute/.sup/exception-log.txt and a brief report of the
circumstances to sup-talk at rubyforge dot orgs so that I might
address this problem. Thank you!

Sincerely,
William
----------------------------------------------------------------
--- Encoding::CompatibilityError from thread: main
incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:461:in `block (2 levels) in 
ask_many_with_completions'
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:461:in `select'
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:461:in `block in 
ask_many_with_completions'
/home/gaute/dev/ruby/sup.git/lib/sup/textfield.rb:75:in `call'
/home/gaute/dev/ruby/sup.git/lib/sup/textfield.rb:75:in `handle_input'
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:572:in `ask'
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:450:in 
`ask_many_with_completions'
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:519:in `ask_for_labels'
/home/gaute/dev/ruby/sup.git/lib/sup/util.rb:546:in `method_missing'
/home/gaute/dev/ruby/sup.git/lib/sup/modes/thread-index-mode.rb:536:in 
`edit_labels'
/home/gaute/dev/ruby/sup.git/lib/sup/mode.rb:52:in `handle_input'
/home/gaute/dev/ruby/sup.git/lib/sup/buffer.rb:266:in `handle_input'
bin/sup:244:in `<module:Redwood>'
bin/sup:67:in `<main>'

----------
messages: 97
nosy: gauteh
priority: bug
ruby_version: 1.9.1
status: unread
sup_version: git
title: label tab completion with utf-8 chars fail

_________________________________________
Sup issue tracker <sup-bugs@masanjin.net>
<http://masanjin.net/sup-bugs/issue36>
_________________________________________
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel