sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 947d4eb09337fe0ee20f0f71c083080fdd807859
parent dc41e749cc7b18ff143ed57b7e1df745088c9599
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Mon, 21 May 2007 21:47:32 +0000

newline patch. thanks brian.

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@408 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup.rb | 2 +-
M lib/sup/person.rb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup.rb b/lib/sup.rb
@@ -114,7 +114,7 @@ Hi there. It looks like one or more message sources is reporting
 errors. Until this is corrected, messages from these sources cannot
 be viewed, and new messages will not be detected.
 
-#{broken_sources.map { |s| "Source: " + s.to_s + "\n Error: " + s.error.message.wrap(70).join("\n        ")}.join('\n\n')}
+#{broken_sources.map { |s| "Source: " + s.to_s + "\n Error: " + s.error.message.wrap(70).join("\n        ")}.join("\n\n")}
 EOM
 #' stupid ruby-mode
     end
diff --git a/lib/sup/person.rb b/lib/sup/person.rb
@@ -23,7 +23,7 @@ class PersonManager
     @names[email][0] = Time.now.to_i
   end
 
-  def save; File.open(@fn, "w") { |f| @names.each { |email, (time, name)| f.puts "#{email}: #{time} #{name}" } }; end
+  def save; File.open(@fn, "w") { |f| @names.each { |email, (time, name)| f.puts "#{email}: #{time} #{name}" unless email =~ /no\-?reply/ } }; end
 end
 
 class Person