From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.213.28.69 with SMTP id l5cs307058ebc; Mon, 1 Feb 2010 11:40:27 -0800 (PST) Received: by 10.224.96.37 with SMTP id f37mr2270983qan.236.1265053226384; Mon, 01 Feb 2010 11:40:26 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 4si17677432qwe.3.2010.02.01.11.40.24; Mon, 01 Feb 2010 11:40:25 -0800 (PST) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 743AF158806C; Mon, 1 Feb 2010 14:40:24 -0500 (EST) Received: from mail.cnsp.com (mail.cnsp.com [208.3.80.17]) by rubyforge.org (Postfix) with ESMTP id 831F61588074 for ; Mon, 1 Feb 2010 14:30:52 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.cnsp.com (Postfix) with ESMTP id 4090AD44DB10 for ; Mon, 1 Feb 2010 12:30:51 -0700 (MST) X-Virus-Scanned: Debian amavisd-new at cnsp.biz Received: from mail.cnsp.com ([127.0.0.1]) by localhost (mail.cnsp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2ZKKrYNcHt6v for ; Mon, 1 Feb 2010 12:30:51 -0700 (MST) Received: from home.mrtheplague.net (coffeehost.tcct.nmt.edu [129.138.3.50]) by mail.cnsp.com (Postfix) with SMTP id 0348AD45A818 for ; Mon, 1 Feb 2010 12:30:50 -0700 (MST) Received: by home.mrtheplague.net (Postfix, from userid 1000) id 2CDD684FD5A4; Mon, 1 Feb 2010 12:30:50 -0700 (MST) From: Anthony Martinez To: sup-devel@rubyforge.org Date: Mon, 1 Feb 2010 12:30:50 -0700 Message-Id: <1265052650-6641-1-git-send-email-pi+sup@pihost.us> X-Mailer: git-send-email 1.6.6 Subject: [sup-devel] [PATCH] in thread-view-mode, doubling up on the multi-keys now DTRT X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org dot dot, comma comma, and bracket bracket now all "do nothing and" whatever their prefixes mean. --- lib/sup/modes/thread-view-mode.rb | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb index 0e935a4..37c99c5 100644 --- a/lib/sup/modes/thread-view-mode.rb +++ b/lib/sup/modes/thread-view-mode.rb @@ -74,6 +74,7 @@ EOS kk.add :delete_and_kill, "Delete this thread and kill buffer", 'd' kk.add :spam_and_kill, "Mark this thread as spam and kill buffer", 's' kk.add :unread_and_kill, "Mark this thread as unread and kill buffer", 'N' + kk.add :do_nothing_and_kill, "Just kill this buffer", '.' end k.add_multi "(a)rchive/(d)elete/mark as (s)pam/mark as u(N)read/do (n)othing:", ',' do |kk| @@ -81,7 +82,7 @@ EOS kk.add :delete_and_next, "Delete this thread, kill buffer, and view next", 'd' kk.add :spam_and_next, "Mark this thread as spam, kill buffer, and view next", 's' kk.add :unread_and_next, "Mark this thread as unread, kill buffer, and view next", 'N' - kk.add :do_nothing_and_next, "Kill buffer, and view next", 'n' + kk.add :do_nothing_and_next, "Kill buffer, and view next", 'n', ',' end k.add_multi "(a)rchive/(d)elete/mark as (s)pam/mark as u(N)read/do (n)othing:", ']' do |kk| @@ -89,7 +90,7 @@ EOS kk.add :delete_and_prev, "Delete this thread, kill buffer, and view previous", 'd' kk.add :spam_and_prev, "Mark this thread as spam, kill buffer, and view previous", 's' kk.add :unread_and_prev, "Mark this thread as unread, kill buffer, and view previous", 'N' - kk.add :do_nothing_and_prev, "Kill buffer, and view previous", 'n' + kk.add :do_nothing_and_prev, "Kill buffer, and view previous", 'n', ']' end end @@ -508,6 +509,7 @@ EOS def spam_and_kill; spam_and_then :kill end def delete_and_kill; delete_and_then :kill end def unread_and_kill; unread_and_then :kill end + def do_nothing_and_kill; do_nothing_and_then :kill end def archive_and_next; archive_and_then :next end def spam_and_next; spam_and_then :next end -- 1.6.6 _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel