From: Anthony Martinez <pi+sup@pihost.us>
To: sup-devel@rubyforge.org
Subject: [sup-devel] [PATCH] in thread-view-mode, doubling up on the multi-keys now DTRT
Date: Mon, 1 Feb 2010 12:30:50 -0700 [thread overview]
Message-ID: <1265052650-6641-1-git-send-email-pi+sup@pihost.us> (raw)
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
next reply other threads:[~2010-02-01 19:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-01 19:30 Anthony Martinez [this message]
2010-02-27 8:34 ` Rich Lane
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=1265052650-6641-1-git-send-email-pi+sup@pihost.us \
--to=pi+sup@pihost.us \
--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