From: Gaute Hope <eg@gaute.vetsj.com>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] [issue36] label tab completion with utf-8 chars fail
Date: Sun, 03 Jan 2010 16:56:17 +0100 [thread overview]
Message-ID: <1262534029-sup-1213@dolk> (raw)
In-Reply-To: <1262533823-sup-5348@dolk>
[-- Attachment #1.1: Type: text/plain, Size: 4219 bytes --]
Apparently I can't even send messages when I enter the UTF-8 email address
manually. sup fails after having edited message and returning to the
edit message view. Attached is the exception log.
- gaute
Excerpts from Gaute Hope's message of 2010-01-03 16:51:55 +0100:
> 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 <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
> >
> --- 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 `handle_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_many_emails_with_completions'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:548:in `ask_for_contacts'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/util.rb:547:in `method_missing'
> /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 `<module:Redwood>'
> /home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:78:in `<top (required)>'
> /home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `load'
> /home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `<main>'
[-- Attachment #1.2: exception-log.txt --]
[-- Type: text/plain, Size: 1439 bytes --]
--- 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/modes/edit-message-mode.rb:205:in `match'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:205:in `match'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:205:in `mime_encode_address'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:376:in `block (2 levels) in build_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:376:in `map'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:376:in `block in build_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:369:in `each'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:369:in `build_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/modes/edit-message-mode.rb:322:in `send_message'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/mode.rb:51:in `handle_input'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/lib/sup/buffer.rb:272:in `handle_input'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:285:in `<module:Redwood>'
/home/gaute/.gem/ruby/1.9.1/gems/sup-999/bin/sup:78:in `<top (required)>'
/home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `load'
/home/gaute/.gem/ruby/1.9.1/bin/sup:19:in `<main>'
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-01-03 15:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-25 14:02 Gaute Hope
2010-01-03 15:51 ` Gaute Hope
2010-01-03 15:56 ` Gaute Hope [this message]
2010-01-15 10:23 ` Gaute Hope
2010-01-03 16:07 ` [PATCH] utf-8 script encoding Rich Lane
2010-01-03 16:18 ` Gaute Hope
2010-01-23 12:44 ` [sup-devel] " William Morgan
2010-02-13 13:51 ` Michael Hamann
2010-09-09 12:02 ` Gaute Hope
2010-09-17 10:54 ` Gaute Hope
2010-10-04 8:40 ` Gaute Hope
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1262534029-sup-1213@dolk \
--to=eg@gaute.vetsj.com \
--cc=sup-devel@rubyforge.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox