William Morgan | 1 May 2008 03:04

Re: [PATCH] reload label list on focus

Reformatted excerpts from Grant Hollingworth's message of 2008-04-01:
> This ensures the unread count for each label is correct.
> 
> I often read my list mail from the label list. When I close the thread
> index and go back to the label list the unread message count is wrong.
> This bugs me.
> 
> I'm sure a less brutal way of doing this is possible with the
> UpdateManager but that seems complicated and therefore prone to
> errors.

It's probably not ideal but we do the same thing elsewhere because it's
simple.

Applied directly to master. Thanks!

--

-- 
William <wmorgan-sup <at> masanjin.net>
William Morgan | 1 May 2008 03:13

Re: [PATCH] Add tab-completion to multi add labels (;l)

Applied directly to master. Thanks!

--

-- 
William <wmorgan-sup <at> masanjin.net>
William Morgan | 1 May 2008 03:27

Re: [PATCH] Simple hook that runs when thread is marked as spam

Reformatted excerpts from Marcus Williams's message of 2008-04-10:
> This hook adds the ability to configure further actions that take place
> when a user marks a thread as spam in sup.

Merged into next. Thanks!

--

-- 
William <wmorgan-sup <at> masanjin.net>
William Morgan | 1 May 2008 23:24

Re: Crash report: C-\ in inbox-mode raises an exception

Hi Kevin,

Reformatted excerpts from Kevin Riggle's message of 2008-04-30:
> I accidentally hit <control>-\ in inbox-mode in Sup, immediately after
> opening the application, which caused it to crash.  

That's a standard UNIX keybinding like ^C. I could trap it, but I think
you'll find most other curses programs die if you press it.

--

-- 
William <wmorgan-sup <at> masanjin.net>
William Morgan | 1 May 2008 23:58

Re: [PATCH] parenthesized argument to quell warning

Applied to "more-vi-keys" feature branch and remerged into next. Thanks!

--

-- 
William <wmorgan-sup <at> masanjin.net>
Kevin Riggle | 2 May 2008 07:00
Favicon
Gravatar

Re: Crash report: C-\ in inbox-mode raises an exception

Excerpts from William Morgan's message of Thu May 01 17:24:17 -0400 2008:
> Hi Kevin,
> 
> Reformatted excerpts from Kevin Riggle's message of 2008-04-30:
> > I accidentally hit <control>-\ in inbox-mode in Sup, immediately after
> > opening the application, which caused it to crash.  
> 
> That's a standard UNIX keybinding like ^C. I could trap it, but I think
> you'll find most other curses programs die if you press it.
> 
*wikipedias*  

...oh.  Hunh.  Right you are.  I didn't know that.  ("You mean dumping 
core is the /desired/ behavior?!")  It would be nice if the error 
message was a little bit more informative (mutt's response is "Caught 
signal 3...  Exiting."), but the behavior itself is clearly not a bug.

Thanks for the response.

- Kevin
--

-- 
Kevin Riggle (kevinr <at> mit.edu) 
http://free-dissociation.com
Marc Hartstein | 2 May 2008 16:01

Re: Crash report: C-\ in inbox-mode raises an exception

Excerpts from William Morgan's message of Thu May 01 17:24:17 -0400 2008:
> Reformatted excerpts from Kevin Riggle's message of 2008-04-30:
> > I accidentally hit <control>-\ in inbox-mode in Sup, immediately after
> > opening the application, which caused it to crash.  
> 
> That's a standard UNIX keybinding like ^C. I could trap it, but I think
> you'll find most other curses programs die if you press it.

It might be nice to provide a "paranoid-quit" option which, like Mutt,
prompts for "are you sure, or did you just hit the wrong key?", and, if
on, bind that routine to all of 'q', SIGINT, and SIGQUIT.

(I keep wanting ^C to interrupt a long-running process within sup like a
!!, and being surprised when it quits and I'm reminded I need to ^G.
And q is way too dangerously easy to hit for someone who migrated over
from Mutt.  I'd definitely turn that on, at least for a few months until
the proper keybindings stick in my mind.)
_______________________________________________
sup-talk mailing list
sup-talk <at> rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
Marcus Williams | 2 May 2008 16:14

Re: Crash report: C-\ in inbox-mode raises an exception

On 2.5.2008, Marc Hartstein wrote:
> It might be nice to provide a "paranoid-quit" option which, like Mutt,
> prompts for "are you sure, or did you just hit the wrong key?", and, if
> on, bind that routine to all of 'q', SIGINT, and SIGQUIT.

Nicer would be make 'q' ask, and 'Q' quit without asking....

Marcus
Tyberius Prime | 2 May 2008 19:50
Picon

[Patch] From auto completion

Hi all,

attached you'll find two patches ment to be applied together (*)
The first one introduces From: auto completion in edit-message 
mode (plus key shortcut "f"),
the second adds a From: question when composing messages
(config ask_for_from, again with auto completion) and improves
the auto completion to be "Name <address>" instead of just "address".

Motivation: I have to send mail from different accounts,
and am tired of typing in the full sender each time.

(*) Sorry, I can't quite get git to export them as one right now :(
Also, I'll bear any comments on my code - this is the first ruby
I've ever written.

So long, 
Tyberius Prime
>From d20e3d2d66e671d18efec3d6210e8f22ef5409af Mon Sep 17 00:00:00 2001
From: Tyberius Prime tyberius_prime <at> coonabibba.de <tprime <at> h984274.serverkompetenz.net>
Date: Thu, 1 May 2008 20:37:20 +0200
Subject: [PATCH] add autocomplete editing for from in edit-message-mode and a key shortcut(f) for it

---
 lib/sup/buffer.rb                  |    2 +-
 lib/sup/modes/edit-message-mode.rb |   11 ++++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

(Continue reading)

Jon Dugan | 2 May 2008 20:19

sup traceback

*sigh*

looks like some SPAM in my inbox caused sup some serious heart burn:

--- RuntimeError from thread: poll after loading inbox
just added message "20080502075530.7980.qmail <at> \343\340\353\377" but couldn't find it in a search
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/index.rb:204:in `sync_message'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:497:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:497:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:160:in `add_messages_from'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/imap.rb:167:in `each'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/imap.rb:155:in `upto'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/imap.rb:155:in `each'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:534:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:534:in `__pass'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:523:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:141:in `add_messages_from'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:98:in `do_poll'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:86:in `each'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:86:in `do_poll'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:85:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:85:in `do_poll'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:497:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:497:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/modes/poll-mode.rb:17:in `poll'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/poll.rb:53:in `poll'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:497:in `send'
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup/util.rb:497:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/sup-999/bin/sup:200
/usr/lib/ruby/gems/1.8/gems/sup-999/lib/sup.rb:60:in `reporting_thread'
(Continue reading)


Gmane