From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (137.89-20-249.enivest.net [89.20.249.137]) by mx.google.com with ESMTPS id 14sm4866561bwz.1.2010.01.03.07.51.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Jan 2010 07:51:58 -0800 (PST) From: Gaute Hope To: sup-devel Subject: Re: [sup-devel] [issue36] label tab completion with utf-8 chars fail In-reply-to: <1261749755.37.0.845609324711.issue36@masanjin.net> References: <1261749755.37.0.845609324711.issue36@masanjin.net> Date: Sun, 03 Jan 2010 16:51:55 +0100 Message-Id: <1262533823-sup-5348@dolk> User-Agent: Sup/git Content-Transfer-Encoding: 8bit Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=-1262533917-522737-9846-9391-2-=" MIME-Version: 1.0 --=-1262533917-522737-9846-9391-2-= Content-Type: multipart/mixed; boundary="=-1262533915-533670-9846-8225-1-=" MIME-Version: 1.0 --=-1262533915-533670-9846-8225-1-= Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline This goes for tab completion with contacts containing UTF-8 chars. Possibly other places as well. Similar exception, see attached exception log. - gaute Excerpts from Gaute Hope's message of 2009-12-25 15:02:35 +0100: > > New submission from Gaute Hope : > > 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 `' > bin/sup:67:in `
' > > ---------- > 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 > --=-1262533915-533670-9846-8225-1-= Content-Disposition: attachment; filename="exception-log.txt" Content-Type: text/plain; name="exception-log.txt" Content-Transfer-Encoding: quoted-printable --- Encoding::CompatibilityError from thread: main incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string) /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:476:in `block = (2 levels) in ask_many_emails_with_completions' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:476:in `select= ' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:476:in `block = in ask_many_emails_with_completions' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/textfield.rb:74:in `call= ' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/textfield.rb:74:in `hand= le_input' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:578:in `ask' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:472:in `ask_ma= ny_emails_with_completions' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/util.rb:547:in `method_m= issing' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:548:in `ask_fo= r_contacts' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/util.rb:547:in `method_m= issing' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/compose-mode.rb:24= :in `spawn_nicely' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:331:in `= ' /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:78:in `'= /home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `load' /home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `
' --=-1262533915-533670-9846-8225-1-=-- --=-1262533917-522737-9846-9391-2-= Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAktAvRsACgkQCLbddHnmqqZ1aACfTL+Y3LhxrgWmvkDRcXXgaOSe xN0AnRR6uozlsUY6m8AXobGdCP3VodFz =otNs -----END PGP SIGNATURE----- --=-1262533917-522737-9846-9391-2-=--