<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-27890</id>
	<title>Nabble - SUP Talk</title>
	<updated>2009-12-07T11:01:12Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/SUP-Talk-f27890.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/SUP-Talk-f27890.html" />
	<subtitle type="html">&lt;a href=&quot;http://sup.rubyforge.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sup&lt;/a&gt;&amp;nbsp;is a console-based email client for people with a lot of email. It supports tagging, very fast full-text search, automatic contact- list management, custom code insertion via a hook system, and more. If you're the type of person who treats email as an extension of your long-term memory, Sup is for you.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26682302</id>
	<title>Re: sup finds exception and exits</title>
	<published>2009-12-07T11:01:12Z</published>
	<updated>2009-12-07T11:01:12Z</updated>
	<author>
		<name>Tero Tilus-2</name>
	</author>
	<content type="html">Susana Core, 2009-12-07 17:45:
&lt;br&gt;&amp;gt; Below are the error messages.
&lt;br&gt;&lt;br&gt;At glance it doesn't look like the error has anything to do with
&lt;br&gt;deleted mail. &amp;nbsp;But I could just be terribly wrong. &amp;nbsp;:)
&lt;br&gt;&lt;br&gt;Are you able to sup-dump your tags and reindex? &amp;nbsp;That might help you.
&lt;br&gt;&lt;br&gt;For instructions on how to do that, see sup FAQ
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://sup.rubyforge.org/FAQ.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sup.rubyforge.org/FAQ.txt&lt;/a&gt;&amp;gt; questions &amp;quot;How do I back up my
&lt;br&gt;index?&amp;quot; and &amp;quot;How do I rebuild the index completely?&amp;quot;. &amp;nbsp;You might want
&lt;br&gt;to backup your ~/.sup/ferret just in case you would like to go back.
&lt;br&gt;&lt;br&gt;&amp;gt; I should clarify that while I don't delete email from my mailbox the
&lt;br&gt;&amp;gt; policy for the mail account is that after three months messages are
&lt;br&gt;&amp;gt; deleted.
&lt;br&gt;&lt;br&gt;Uough! &amp;nbsp;That policy really sucks. &amp;nbsp;:(
&lt;br&gt;&lt;br&gt;If I had to work with something like that I'd prolly mirror incoming
&lt;br&gt;mails to my own mail archive (using fetchmail, offlineimap or similar)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tero Tilus ## 050 3635 235 ## &lt;a href=&quot;http://tero.tilus.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tero.tilus.net/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26682302&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sup-finds-exception-and-exits-tp26679280p26682302.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26681780</id>
	<title>Re: sup finds exception and exits</title>
	<published>2009-12-07T10:21:45Z</published>
	<updated>2009-12-07T10:21:45Z</updated>
	<author>
		<name>Jonathan Lassoff-2</name>
	</author>
	<content type="html">Excerpts from Susana Core's message of Mon Dec 07 07:45:02 -0800 2009:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;I have been using sup for about six months and today it started
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;having fatal problems. &amp;nbsp;I'll appreciate any suggestions. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;Below are the error messages. I should clarify that while I don't
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;delete email from my mailbox the policy for the mail account 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;is that after three months messages are deleted. &amp;nbsp;This might be
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;relevant since sup exits while polling for new messages in a thread
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;which contains at least one message older than 3 months, i.e.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;while tryint to load a message which has been deleted.
&lt;br&gt;&lt;br&gt;My experience is that sup has dealt with this gracefully (message is
&lt;br&gt;deleted from the actual source, but not from the index) and displays a
&lt;br&gt;message about it &amp;quot;not playing nice with others&amp;quot;, but it still should be
&lt;br&gt;avoided if possible.
&lt;br&gt;&lt;br&gt;Are you deleting the message from the index as well or just from the
&lt;br&gt;source?
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;jonathan
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26681780&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26681780/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sup-finds-exception-and-exits-tp26679280p26681780.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26679280</id>
	<title>sup finds exception and exits</title>
	<published>2009-12-07T07:45:02Z</published>
	<updated>2009-12-07T07:45:02Z</updated>
	<author>
		<name>Susana Core</name>
	</author>
	<content type="html">&amp;nbsp; &amp;nbsp;I have been using sup for about six months and today it started
&lt;br&gt;&amp;nbsp; &amp;nbsp;having fatal problems. &amp;nbsp;I'll appreciate any suggestions. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Below are the error messages. I should clarify that while I don't
&lt;br&gt;&amp;nbsp; &amp;nbsp;delete email from my mailbox the policy for the mail account 
&lt;br&gt;&amp;nbsp; &amp;nbsp;is that after three months messages are deleted. &amp;nbsp;This might be
&lt;br&gt;&amp;nbsp; &amp;nbsp;relevant since sup exits while polling for new messages in a thread
&lt;br&gt;&amp;nbsp; &amp;nbsp;which contains at least one message older than 3 months, i.e.
&lt;br&gt;&amp;nbsp; &amp;nbsp;while tryint to load a message which has been deleted.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Susana.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;____________________error messages_______________________________
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Polling for new messages... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (eval):1: warning: instance variable @source_marked_read not initialized
&lt;br&gt;&amp;nbsp; &amp;nbsp;[Mon Dec 07 09:25:33 -0600 2009] stopped cursing
&lt;br&gt;&amp;nbsp; &amp;nbsp;[Mon Dec 07 09:25:33 -0600 2009] oh crap, an exception
&lt;br&gt;&amp;nbsp; &amp;nbsp;[Mon Dec 07 09:25:33 -0600 2009] unlocking /home/susana/.sup/lock...
&lt;br&gt;&amp;nbsp; &amp;nbsp;----------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp;I'm very sorry. It seems that an error occurred in Sup. Please
&lt;br&gt;&amp;nbsp; &amp;nbsp;accept my sincere apologies. If you don't mind, please send the
&lt;br&gt;&amp;nbsp; &amp;nbsp;contents of ~/.sup/exception-log.txt and a brief report of the
&lt;br&gt;&amp;nbsp; &amp;nbsp;circumstances to sup-talk at rubyforge dot orgs so that I might
&lt;br&gt;&amp;nbsp; &amp;nbsp;address this problem. Thank you!
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Sincerely,
&lt;br&gt;&amp;nbsp; &amp;nbsp;William
&lt;br&gt;&amp;nbsp; &amp;nbsp;----------------------------------------------------------------
&lt;br&gt;&amp;nbsp; &amp;nbsp;--- NoMethodError from thread: poll after loading inbox
&lt;br&gt;&amp;nbsp; &amp;nbsp;undefined method `to_indexable_s' for nil:NilClass
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/index.rb:244:in `sync_message'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:505:in `send'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:505:in `method_missing'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:162:in `add_messages_from'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/source.rb:100:in `each'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:544:in `send'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:544:in `__pass'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:531:in `method_missing'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:141:in `add_messages_from'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:98:in `do_poll'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:86:in `each'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:86:in `do_poll'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:85:in `synchronize'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:85:in `do_poll'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:505:in `send'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:505:in `method_missing'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/poll-mode.rb:17:in `poll'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/poll.rb:53:in `poll'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:505:in `send'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/util.rb:505:in `method_missing'
&lt;br&gt;&amp;nbsp; &amp;nbsp;bin/sup:206
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:71:in `reporting_thread'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:69:in `initialize'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:69:in `new'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:69:in `reporting_thread'
&lt;br&gt;&amp;nbsp; &amp;nbsp;bin/sup:206
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/thread-index-mode.rb:663:in `call'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/thread-index-mode.rb:663:in `__unprotected_load_threads'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/thread-index-mode.rb:605:in `call'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/thread-index-mode.rb:605:in `load_n_threads_background'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:71:in `reporting_thread'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:69:in `initialize'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:69:in `new'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup.rb:69:in `reporting_thread'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/thread-index-mode.rb:603:in `load_n_threads_background'
&lt;br&gt;&amp;nbsp; &amp;nbsp;./lib/sup/modes/thread-index-mode.rb:673:in `__unprotected_load_threads'
&lt;br&gt;&amp;nbsp; &amp;nbsp;(eval):12:in `load_threads'
&lt;br&gt;&amp;nbsp; &amp;nbsp;bin/sup:206
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;____________________ end of error messages_________________________
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26679280&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sup-finds-exception-and-exits-tp26679280p26679280.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26562176</id>
	<title>sup-add won't work.</title>
	<published>2009-11-29T05:39:56Z</published>
	<updated>2009-11-29T05:39:56Z</updated>
	<author>
		<name>Guillaume Quintard</name>
	</author>
	<content type="html">Here, I have a somewhat clean install of sup (gems + next branch), and
&lt;br&gt;here's what I get at the end of sup-config :
&lt;br&gt;&lt;br&gt;Ok, trying to run &amp;quot;bin/sup-add mbox:/home/shivan/.gmail.mbox&amp;quot;...
&lt;br&gt;/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
&lt;br&gt;`gem_original_require': no such file to load -- sup (LoadError)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from bin/sup-add:7
&lt;br&gt;&lt;br&gt;Something changed?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Guillaume
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26562176&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sup-add-won%27t-work.-tp26562176p26562176.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528605</id>
	<title>Re: browser filter / attachment ideas</title>
	<published>2009-11-26T04:13:18Z</published>
	<updated>2009-11-26T04:13:18Z</updated>
	<author>
		<name>Tero Tilus-2</name>
	</author>
	<content type="html">Gaute Hope, 2009-11-25 19:27:
&lt;br&gt;&amp;gt; And sup doesn't understand attachment names with inline encoding:
&lt;br&gt;&amp;gt; i.e.: =?ISO-8859-1?Q?framside_sm=E5_stader_STORE_VYER.jpg?= 
&lt;br&gt;&amp;gt; which should be displayed as: framside_små_stader_STORE_VYER.jpg
&lt;br&gt;&lt;br&gt;I think I have this fixed, but haven committed/pushed it. &amp;nbsp;Shame on
&lt;br&gt;me. &amp;nbsp;Should try to find time to do that...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tero Tilus ## 050 3635 235 ## &lt;a href=&quot;http://tero.tilus.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tero.tilus.net/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528605&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/browser-filter---attachment-ideas-tp26516967p26528605.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516967</id>
	<title>browser filter / attachment ideas</title>
	<published>2009-11-25T09:27:53Z</published>
	<updated>2009-11-25T09:27:53Z</updated>
	<author>
		<name>gauteh</name>
	</author>
	<content type="html">Greetings,
&lt;br&gt;&lt;br&gt;Is there already a way to put a filter on the file browser? 
&lt;br&gt;i.e: exclude anything that start with a '.' ? is there a hook for this?
&lt;br&gt;&lt;br&gt;I know there is a way of saving all attachments to a folder, but is
&lt;br&gt;there a way to save a single attachment to a folder, now when I want to
&lt;br&gt;save it I have to remove the file name to get tab-completion, and then
&lt;br&gt;type the file name again when I want to save it.
&lt;br&gt;&lt;br&gt;And sup doesn't understand attachment names with inline encoding:
&lt;br&gt;i.e.: =?ISO-8859-1?Q?framside_sm=E5_stader_STORE_VYER.jpg?= 
&lt;br&gt;which should be displayed as: framside_små_stader_STORE_VYER.jpg
&lt;br&gt;&lt;br&gt;(see issue 24)
&lt;br&gt;&lt;br&gt;- gaute
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516967&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/browser-filter---attachment-ideas-tp26516967p26516967.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26488085</id>
	<title>Re: Sup-sync exception</title>
	<published>2009-11-23T15:33:06Z</published>
	<updated>2009-11-23T15:33:06Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from Ned Ludd's message of Fri Nov 20 10:50:47 -0500 2009:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; There was a message about this a week or so ago. &amp;nbsp;Did anyone ever find a fix?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; When I run &amp;quot;sup-sync&amp;quot;, regardless or the source (I tried IMAP and
&lt;br&gt;&amp;gt; Maildir), I get this error:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; $ sup-sync
&lt;br&gt;&amp;gt; Scanning maildir:/home/nedludd/.mail/INBOX...
&lt;br&gt;&amp;gt; /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?':
&lt;br&gt;&amp;gt; undefined method `&amp;gt;=' for true:TrueClass (NoMethodError)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in
&lt;br&gt;&amp;gt; `method_missing'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in
&lt;br&gt;&amp;gt; `each_message_from'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in
&lt;br&gt;&amp;gt; `method_missing'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block
&lt;br&gt;&amp;gt; in &amp;lt;top (required)&amp;gt;'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `&amp;lt;top
&lt;br&gt;&amp;gt; (required)&amp;gt;'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/bin/supbin/sup-sync:19:in `load'
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; from /usr/bin/supbin/sup-sync:19:in `&amp;lt;main&amp;gt;'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; [I'm on Arch with sup 0.9 and Ruby 1.9.1]
&lt;/div&gt;&lt;br&gt;Is there a cur_offset key for every source in sources.yaml? If not (or
&lt;br&gt;if it is nil/blank) see if setting cur_offset to 0 fixes it.
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26488085&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-sync-exception-tp26446116p26488085.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26453928</id>
	<title>Re: Sup-sync exception</title>
	<published>2009-11-20T21:18:28Z</published>
	<updated>2009-11-20T21:18:28Z</updated>
	<author>
		<name>Andrei Thorp</name>
	</author>
	<content type="html">You can solve this particular problem (I have), but then it uncovers
&lt;br&gt;quite a few other probems with sup and Ruby 1.9. As the maintainer of
&lt;br&gt;the sup package in the AUR, I pretty much recommend using ruby 1.8
&lt;br&gt;until the dev team can beat sup into working.
&lt;br&gt;&lt;br&gt;Sorry,
&lt;br&gt;&lt;br&gt;-AT
&lt;br&gt;&lt;br&gt;On Fri, Nov 20, 2009 at 10:50 AM, Ned Ludd &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453928&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;edwardludd@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; There was a message about this a week or so ago.  Did anyone ever find a fix?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When I run &amp;quot;sup-sync&amp;quot;, regardless or the source (I tried IMAP and
&lt;br&gt;&amp;gt; Maildir), I get this error:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ sup-sync
&lt;br&gt;&amp;gt; Scanning maildir:/home/nedludd/.mail/INBOX...
&lt;br&gt;&amp;gt; /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?':
&lt;br&gt;&amp;gt; undefined method `&amp;gt;=' for true:TrueClass (NoMethodError)
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in
&lt;br&gt;&amp;gt; `method_missing'
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in
&lt;br&gt;&amp;gt; `each_message_from'
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in
&lt;br&gt;&amp;gt; `method_missing'
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block
&lt;br&gt;&amp;gt; in &amp;lt;top (required)&amp;gt;'
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'
&lt;br&gt;&amp;gt;        from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `&amp;lt;top
&lt;br&gt;&amp;gt; (required)&amp;gt;'
&lt;br&gt;&amp;gt;        from /usr/bin/supbin/sup-sync:19:in `load'
&lt;br&gt;&amp;gt;        from /usr/bin/supbin/sup-sync:19:in `&amp;lt;main&amp;gt;'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [I'm on Arch with sup 0.9 and Ruby 1.9.1]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; Ned Ludd
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; sup-talk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453928&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26453928&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-sync-exception-tp26446116p26453928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26446116</id>
	<title>Sup-sync exception</title>
	<published>2009-11-20T07:50:47Z</published>
	<updated>2009-11-20T07:50:47Z</updated>
	<author>
		<name>Ned Ludd</name>
	</author>
	<content type="html">There was a message about this a week or so ago. &amp;nbsp;Did anyone ever find a fix?
&lt;br&gt;&lt;br&gt;When I run &amp;quot;sup-sync&amp;quot;, regardless or the source (I tried IMAP and
&lt;br&gt;Maildir), I get this error:
&lt;br&gt;&lt;br&gt;$ sup-sync
&lt;br&gt;Scanning maildir:/home/nedludd/.mail/INBOX...
&lt;br&gt;/usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/source.rb:88:in `done?':
&lt;br&gt;undefined method `&amp;gt;=' for true:TrueClass (NoMethodError)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:547:in
&lt;br&gt;`method_missing'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/poll.rb:137:in
&lt;br&gt;`each_message_from'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/lib/sup/util.rb:520:in
&lt;br&gt;`method_missing'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:146:in `block
&lt;br&gt;in &amp;lt;top (required)&amp;gt;'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `each'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/lib/ruby/gems/1.9.1/gems/sup-0.9/bin/sup-sync:141:in `&amp;lt;top
&lt;br&gt;(required)&amp;gt;'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/bin/supbin/sup-sync:19:in `load'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; from /usr/bin/supbin/sup-sync:19:in `&amp;lt;main&amp;gt;'
&lt;br&gt;&lt;br&gt;&lt;br&gt;[I'm on Arch with sup 0.9 and Ruby 1.9.1]
&lt;br&gt;&lt;br&gt;-----
&lt;br&gt;Ned Ludd
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26446116&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-sync-exception-tp26446116p26446116.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26438351</id>
	<title>Re: Problems with undo archive and thread focus</title>
	<published>2009-11-19T20:51:22Z</published>
	<updated>2009-11-19T20:51:22Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from Andrew Pimlott's message of Thu Nov 12 12:30:01 -0500 2009:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Excerpts from Matthias Guedemann's message of Thu Nov 05 00:27:25 -0800 2009:
&lt;br&gt;&amp;gt; &amp;gt; One is, if you hit 'a' in thread view mode, the thread is archived but undo does
&lt;br&gt;&amp;gt; &amp;gt; not work. If you go back to index view and hit 'u' the just archived thread does
&lt;br&gt;&amp;gt; &amp;gt; not appear, but the one before.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I was annoyed by this too and found that undo is minimally implemented.
&lt;br&gt;&amp;gt; I added undo to thread view, at least for the cases that I care about or
&lt;br&gt;&amp;gt; were easy. &amp;nbsp;I have to say I was discouraged that this was necessary: the
&lt;br&gt;&amp;gt; code to archive a thread should all be in one place, and the undo
&lt;br&gt;&amp;gt; record should be created there. &amp;nbsp;There's a lot of code duplication, and
&lt;br&gt;&amp;gt; I can't tell if it's because the model and view are too coupled, or
&lt;br&gt;&amp;gt; because nobody has bothered to factor it out.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The patch is appended. &amp;nbsp;(This is the first time I've done this with git.)
&lt;/div&gt;&lt;br&gt;Branch thread-view-mode-undo, merged to master at
&lt;br&gt;git://github.com/rlane/sup
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26438351&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-undo-archive-and-thread-focus-tp26210985p26438351.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26407049</id>
	<title>Re: Bug report, importing emails into sup</title>
	<published>2009-11-18T04:38:25Z</published>
	<updated>2009-11-18T04:38:25Z</updated>
	<author>
		<name>Tero Tilus-2</name>
	</author>
	<content type="html">Dhaval Giani, 2009-11-17 21:04:
&lt;br&gt;&amp;gt; Failure occured when trying to import mails from mbox after setting up
&lt;br&gt;&amp;gt; using sup-config whicch failed and i tried to run sup after that
&lt;br&gt;&lt;br&gt;The trace is from sup, but you say it happened &amp;quot;when trying to import
&lt;br&gt;mails&amp;quot;, which is usually done with sup-sync. &amp;nbsp;What was your procedure?
&lt;br&gt;How did sup-config fail?
&lt;br&gt;&lt;br&gt;btw, we now have a brand new tracker &amp;lt;&lt;a href=&quot;http://masanjin.net/sup-bugs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://masanjin.net/sup-bugs/&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tero Tilus ## 050 3635 235 ## &lt;a href=&quot;http://tero.tilus.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tero.tilus.net/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26407049&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-report%2C-importing-emails-into-sup-tp26396443p26407049.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26396443</id>
	<title>Bug report, importing emails into sup</title>
	<published>2009-11-17T11:04:27Z</published>
	<updated>2009-11-17T11:04:27Z</updated>
	<author>
		<name>Dhaval Giani</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Attached an exception log.
&lt;br&gt;&lt;br&gt;Failure occured when trying to import mails from mbox after setting up
&lt;br&gt;using sup-config whicch failed and i tried to run sup after that
&lt;br&gt;&lt;br&gt;[dhaval@gondor sup]$ sup --version
&lt;br&gt;sup v0.9
&lt;br&gt;[dhaval@gondor sup]$
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Dhaval
&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;Joan Crawford &amp;nbsp;- &amp;quot;I, Joan Crawford, I believe in the dollar.
&lt;br&gt;Everything I earn, I spend.&amp;quot; -
&lt;br&gt;&lt;a href=&quot;http://www.brainyquote.com/quotes/authors/j/joan_crawford.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brainyquote.com/quotes/authors/j/joan_crawford.html&lt;/a&gt;&lt;br&gt;&lt;br /&gt;--- NoMethodError from thread: poll after loading inbox
&lt;br&gt;undefined method `downcase' for nil:NilClass
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:502:in `message_to_chunks'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:239:in `load_from_source!'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/message.rb:335:in `build_from_source'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:145:in `each_message_from'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/source.rb:104:in `each'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `send'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:560:in `__pass'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:547:in `method_missing'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:139:in `each_message_from'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:93:in `do_poll'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:81:in `each'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:81:in `do_poll'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:80:in `synchronize'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:80:in `do_poll'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/poll-mode.rb:15:in `poll'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/poll.rb:48:in `poll'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `send'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/util.rb:520:in `method_missing'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/bin/sup:196
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `new'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/bin/sup:196
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:669:in `call'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:669:in `__unprotected_load_threads'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:610:in `call'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:610:in `load_n_threads_background'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `new'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
&lt;br&gt;(eval):12:in `load_threads'
&lt;br&gt;/usr/lib/ruby/gems/1.8/gems/sup-0.9/bin/sup:196
&lt;br&gt;/usr/bin/sup:19:in `load'
&lt;br&gt;/usr/bin/sup:19
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26396443&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-report%2C-importing-emails-into-sup-tp26396443p26396443.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26369345</id>
	<title>Re: Problems with undo archive and thread focus</title>
	<published>2009-11-16T01:42:18Z</published>
	<updated>2009-11-16T01:42:18Z</updated>
	<author>
		<name>Matthias Guedemann</name>
	</author>
	<content type="html">&lt;br&gt;Hi Andrew,
&lt;br&gt;&lt;br&gt;&amp;gt; The patch is appended. &amp;nbsp;(This is the first time I've done this with git.)
&lt;br&gt;&lt;br&gt;thanks, works perfectly.
&lt;br&gt;&lt;br&gt;&amp;gt; That's the next most annying thing for me. &amp;nbsp;Hope to get a chance to work
&lt;br&gt;&amp;gt; on it.
&lt;br&gt;&lt;br&gt;I had a look at the code and it should not be too hard, basically when a reply
&lt;br&gt;buffer is spawned (e.g. thread-view-mode line 168), a hook to call set_sursor_pos
&lt;br&gt;0 (as ThreadViewMode is a subclass of LineCursorMode) after successful sending of
&lt;br&gt;the reply should do the job. 
&lt;br&gt;&lt;br&gt;But unfortunately I don't know too much about the inner workings of sup (can the
&lt;br&gt;HookManager be used for this? or should the hook be supplied as attribute to the
&lt;br&gt;reply-buffer?), or even Ruby, to do it at the moment.
&lt;br&gt;&lt;br&gt;best regards
&lt;br&gt;&lt;br&gt;Matthias
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;__________________________________________________________
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ___ &amp;nbsp;__ &amp;nbsp; &amp;nbsp;__
&lt;br&gt;Dipl. Inf. Matthias Guedemann &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/ __\/ _\ &amp;nbsp;/__\
&lt;br&gt;Computer Systems in Engineering &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; / / &amp;nbsp; \ \ &amp;nbsp;/_\
&lt;br&gt;Otto-von-Guericke Universitaet Magdeburg / /___ _\ \//__
&lt;br&gt;Tel.: 0391 / 67-19359 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\____/ \__/\__/
&lt;br&gt;__________________________________________________________
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26369345&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-undo-archive-and-thread-focus-tp26210985p26369345.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26350095</id>
	<title>Re: Sup not working anymore after abrupt reboot</title>
	<published>2009-11-14T05:22:50Z</published>
	<updated>2009-11-14T05:22:50Z</updated>
	<author>
		<name>Carlos Garcia Campos</name>
	</author>
	<content type="html">Excerpts from Tero Tilus's message of vie nov 13 12:10:17 +0100 2009:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Carlos Garcia Campos, 2009-11-13 11:11:
&lt;br&gt;&amp;gt; &amp;gt; I don't know whether my ferret index is corrupt, this is the exception &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; get:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Error occured in index.c:901 - sis_find_segments_file
&lt;br&gt;&amp;gt; &amp;gt; Error reading the segment infos.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm not familiar with the internals of ferret, but the error looks
&lt;br&gt;&amp;gt; pretty bad. &amp;nbsp;It might have lost part of index data files.
&lt;/div&gt;&lt;/div&gt;indeed, I have had to build a new index scratch. 
&lt;br&gt;&lt;br&gt;&amp;gt; Do you
&lt;br&gt;&amp;gt; happen to have index or dump backups or find deleted files under
&lt;br&gt;&amp;gt; ferret/ with using undelete tools?
&lt;br&gt;&lt;br&gt;No :-/
&lt;br&gt;&lt;br&gt;&amp;gt; Lessons learned...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Always have regular (automatic, if possible) backups of your index
&lt;br&gt;&amp;gt; dump, ALWAYS! &amp;nbsp;I have sup-dump in my backup2l before-hook.
&lt;br&gt;&lt;br&gt;Yes, I have a daily cron script for it now. 
&lt;br&gt;&lt;br&gt;&amp;gt; Hum. &amp;nbsp;I think for people who don't do cron backups it wouldn't be a
&lt;br&gt;&amp;gt; bad idea to create (optional) rotating sup-dumps on every start. (and
&lt;br&gt;&amp;gt; stop?)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Thank you very much. 
&lt;br&gt;-- 
&lt;br&gt;Carlos Garcia Campos
&lt;br&gt;PGP key: &lt;a href=&quot;http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x523E6462&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x523E6462&lt;/a&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26350095&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26350095/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-not-working-anymore-after-abrupt-reboot-tp26333754p26350095.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26345900</id>
	<title>Re: offlineimap before-poll.rb undefined method 'usual_sources'</title>
	<published>2009-11-13T16:12:04Z</published>
	<updated>2009-11-13T16:12:04Z</updated>
	<author>
		<name>gauteh</name>
	</author>
	<content type="html">Excerpts from Micah Anderson's message of fr. nov. 13 16:53:15 +0100 2009:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The before-poll.rb wiki example[0] seems to be what I am interested in,
&lt;br&gt;&amp;gt; however it doesn't work and provides a traceback. It reads as follows:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; def offlineimap(*folders)
&lt;br&gt;&amp;gt; &amp;nbsp; cmd = &amp;quot;offlineimap -q -u Noninteractive.Basic&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; cmd &amp;lt;&amp;lt; &amp;quot; -f #{folders * ','}&amp;quot; unless folders.compact.empty?
&lt;br&gt;&amp;gt; &amp;nbsp; `#{cmd}`
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; def folder_names(sources)
&lt;br&gt;&amp;gt; &amp;nbsp; sources.map { |s| s.uri.split('/').last }
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; def inbox_sources(sources = Index.usual_sources)
&lt;br&gt;&amp;gt; &amp;nbsp; sources.find_all { |s| !s.archived? }.sort_by {|s| s.id }
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; if (@last_fetch || Time.at(0)) &amp;lt; Time.now - 120
&lt;br&gt;&amp;gt; &amp;nbsp; say &amp;quot;Running offlineimap...&amp;quot;
&lt;br&gt;&amp;gt; &amp;nbsp; # only check non-auto-archived sources on the first run
&lt;br&gt;&amp;gt; &amp;nbsp; log offlineimap(@last_fetch ? nil : folder_names(inbox_sources))
&lt;br&gt;&amp;gt; &amp;nbsp; say &amp;quot;Finished offlineimap run.&amp;quot;
&lt;br&gt;&amp;gt; end
&lt;br&gt;&amp;gt; @last_fetch = Time.now
&lt;/div&gt;&lt;/div&gt;Im using this modified version; and I filter the folders in
&lt;br&gt;offlineimaprc.
&lt;br&gt;&lt;br&gt;&lt;br&gt;def offlineimap(*folders)
&lt;br&gt;&amp;nbsp; cmd = &amp;quot;offlineimap -u Noninteractive.Basic 2&amp;gt;&amp;1&amp;quot;
&lt;br&gt;&amp;nbsp; #cmd &amp;lt;&amp;lt; &amp;quot; -f #{folders * ','}&amp;quot; unless folders.compact.empty?
&lt;br&gt;&amp;nbsp; `#{cmd}`
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;def folder_names(sources)
&lt;br&gt;&amp;nbsp; sources.map { |s| s.uri.split('/').last }
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;def inbox_sources(sources = SourceManager.sources)
&lt;br&gt;&amp;nbsp; sources.find_all { |s| !s.archived? }.sort_by {|s| s.id }
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;if (@last_fetch || Time.at(0)) &amp;lt; Time.now - 20
&lt;br&gt;&amp;nbsp; say &amp;quot;Running offlineimap...&amp;quot;
&lt;br&gt;&amp;nbsp; # only check non-auto-archived sources on the first run
&lt;br&gt;&amp;nbsp; log offlineimap(@last_fetch ? nil : folder_names(inbox_sources))
&lt;br&gt;&amp;nbsp; say &amp;quot;Finished offlineimap.&amp;quot;
&lt;br&gt;end
&lt;br&gt;@last_fetch = Time.now
&lt;br&gt;&lt;br&gt;- gaute
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26345900&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (205 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26345900/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/offlineimap-before-poll.rb-undefined-method-%27usual_sources%27-tp26339404p26345900.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26339404</id>
	<title>offlineimap before-poll.rb undefined method 'usual_sources'</title>
	<published>2009-11-13T07:53:15Z</published>
	<updated>2009-11-13T07:53:15Z</updated>
	<author>
		<name>Micah Anderson-2</name>
	</author>
	<content type="html">&lt;br&gt;The before-poll.rb wiki example[0] seems to be what I am interested in,
&lt;br&gt;however it doesn't work and provides a traceback. It reads as follows:
&lt;br&gt;&lt;br&gt;def offlineimap(*folders)
&lt;br&gt;&amp;nbsp; cmd = &amp;quot;offlineimap -q -u Noninteractive.Basic&amp;quot;
&lt;br&gt;&amp;nbsp; cmd &amp;lt;&amp;lt; &amp;quot; -f #{folders * ','}&amp;quot; unless folders.compact.empty?
&lt;br&gt;&amp;nbsp; `#{cmd}`
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;def folder_names(sources)
&lt;br&gt;&amp;nbsp; sources.map { |s| s.uri.split('/').last }
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;def inbox_sources(sources = Index.usual_sources)
&lt;br&gt;&amp;nbsp; sources.find_all { |s| !s.archived? }.sort_by {|s| s.id }
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;if (@last_fetch || Time.at(0)) &amp;lt; Time.now - 120
&lt;br&gt;&amp;nbsp; say &amp;quot;Running offlineimap...&amp;quot;
&lt;br&gt;&amp;nbsp; # only check non-auto-archived sources on the first run
&lt;br&gt;&amp;nbsp; log offlineimap(@last_fetch ? nil : folder_names(inbox_sources))
&lt;br&gt;&amp;nbsp; say &amp;quot;Finished offlineimap run.&amp;quot;
&lt;br&gt;end
&lt;br&gt;@last_fetch = Time.now
&lt;br&gt;&lt;br&gt;When I use this hook, i get this traceback in my sup log:
&lt;br&gt;&lt;br&gt;[Fri Nov 13 10:51:28 -0500 2009] hook: error running hook: undefined method `usual_sources' for #&amp;lt;Redwood::FerretIndex:0xb7520a64&amp;gt;
&lt;br&gt;[Fri Nov 13 10:51:28 -0500 2009] hook: /usr/lib/ruby/1.8/sup/util.rb:520:in `send'
&lt;br&gt;/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
&lt;br&gt;/home/micah/.sup/hooks/before-poll.rb:11:in `inbox_sources'
&lt;br&gt;/home/micah/.sup/hooks/before-poll.rb:18:in `__run'
&lt;br&gt;/usr/lib/ruby/1.8/sup/hook.rb:42:in `__run'
&lt;br&gt;/usr/lib/ruby/1.8/sup/hook.rb:82:in `run'
&lt;br&gt;/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
&lt;br&gt;/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
&lt;br&gt;/usr/lib/ruby/1.8/sup/poll.rb:45:in `poll'
&lt;br&gt;/usr/lib/ruby/1.8/sup/util.rb:520:in `send'
&lt;br&gt;/usr/lib/ruby/1.8/sup/util.rb:520:in `method_missing'
&lt;br&gt;/usr/bin/sup-mail:195
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:74:in `initialize'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:74:in `new'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
&lt;br&gt;/usr/bin/sup-mail:195
&lt;br&gt;/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in `call'
&lt;br&gt;/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:669:in `__unprotected_load_threads'
&lt;br&gt;/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:610:in `call'
&lt;br&gt;/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:610:in `load_n_threads_background'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:76:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:74:in `initialize'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:74:in `new'
&lt;br&gt;/usr/lib/ruby/1.8/sup.rb:74:in `reporting_thread'
&lt;br&gt;/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background'
&lt;br&gt;/usr/lib/ruby/1.8/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads'
&lt;br&gt;(eval):12:in `load_threads'
&lt;br&gt;/usr/bin/sup-mail:195
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;micah
&lt;br&gt;&lt;br&gt;&lt;br&gt;0. &lt;a href=&quot;http://sup.rubyforge.org/wiki/wiki.pl?Hooks&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sup.rubyforge.org/wiki/wiki.pl?Hooks&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339404&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/offlineimap-before-poll.rb-undefined-method-%27usual_sources%27-tp26339404p26339404.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26335533</id>
	<title>Re: Sup not working anymore after abrupt reboot</title>
	<published>2009-11-13T03:57:05Z</published>
	<updated>2009-11-13T03:57:05Z</updated>
	<author>
		<name>gauteh</name>
	</author>
	<content type="html">Excerpts from Carlos Garcia Campos's message of fr. nov. 13 10:11:38 +0100 2009:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; my laptop ran out of battery while sup was polling new mail and now sup
&lt;br&gt;&amp;gt; always fails to start.
&lt;br&gt;&amp;gt; I don't know whether my ferret index is corrupt, this is the exception &amp;nbsp;I
&lt;br&gt;&amp;gt; get:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; --- IOError from thread: main
&lt;br&gt;&amp;gt; IO Error occured at &amp;lt;except.c&amp;gt;:93 in xraise
&lt;br&gt;&amp;gt; Error occured in index.c:901 - sis_find_segments_file
&lt;br&gt;&amp;gt; Error reading the segment infos. Store listing was
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/ferret/index.rb:736:in `initialize'
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/ferret/index.rb:736:in `new'
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/ferret/index.rb:736:in `ensure_reader_open'
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/ferret/index.rb:591:in `size'
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/ferret/index.rb:590:in `size'
&lt;br&gt;&amp;gt; ./lib/sup/ferret_index.rb:31:in `load_index'
&lt;br&gt;&amp;gt; /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
&lt;br&gt;&amp;gt; ./lib/sup/ferret_index.rb:29:in `load_index'
&lt;br&gt;&amp;gt; ./lib/sup/index.rb:67:in `load'
&lt;br&gt;&amp;gt; ./lib/sup/util.rb:520:in `send'
&lt;br&gt;&amp;gt; ./lib/sup/util.rb:520:in `method_missing'
&lt;br&gt;&amp;gt; bin/sup:144
&lt;/div&gt;&lt;br&gt;Also, the xapian backend works better (doesn't help you now thou, im
&lt;br&gt;afraid).
&lt;br&gt;&lt;br&gt;- gaute
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26335533&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-not-working-anymore-after-abrupt-reboot-tp26333754p26335533.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26335161</id>
	<title>Re: Sup not working anymore after abrupt reboot</title>
	<published>2009-11-13T03:10:17Z</published>
	<updated>2009-11-13T03:10:17Z</updated>
	<author>
		<name>Tero Tilus-2</name>
	</author>
	<content type="html">Carlos Garcia Campos, 2009-11-13 11:11:
&lt;br&gt;&amp;gt; I don't know whether my ferret index is corrupt, this is the exception &amp;nbsp;I
&lt;br&gt;&amp;gt; get:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; Error occured in index.c:901 - sis_find_segments_file
&lt;br&gt;&amp;gt; Error reading the segment infos.
&lt;br&gt;&lt;br&gt;I'm not familiar with the internals of ferret, but the error looks
&lt;br&gt;pretty bad. &amp;nbsp;It might have lost part of index data files. &amp;nbsp;Do you
&lt;br&gt;happen to have index or dump backups or find deleted files under
&lt;br&gt;ferret/ with using undelete tools?
&lt;br&gt;&lt;br&gt;Lessons learned...
&lt;br&gt;&lt;br&gt;Always have regular (automatic, if possible) backups of your index
&lt;br&gt;dump, ALWAYS! &amp;nbsp;I have sup-dump in my backup2l before-hook.
&lt;br&gt;&lt;br&gt;Hum. &amp;nbsp;I think for people who don't do cron backups it wouldn't be a
&lt;br&gt;bad idea to create (optional) rotating sup-dumps on every start. (and
&lt;br&gt;stop?)
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tero Tilus ## 050 3635 235 ## &lt;a href=&quot;http://tero.tilus.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tero.tilus.net/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26335161&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-not-working-anymore-after-abrupt-reboot-tp26333754p26335161.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26333754</id>
	<title>Sup not working anymore after abrupt reboot</title>
	<published>2009-11-13T01:11:38Z</published>
	<updated>2009-11-13T01:11:38Z</updated>
	<author>
		<name>Carlos Garcia Campos</name>
	</author>
	<content type="html">Hi all, &lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;my laptop ran out of battery while sup was polling new mail and now sup always fails to start. &lt;/div&gt;&lt;div&gt;I don&amp;#39;t know whether my ferret index is corrupt, this is the exception  I get:&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;----------------------------------------------------------------&lt;/div&gt;&lt;div&gt;--- IOError from thread: main&lt;/div&gt;&lt;div&gt;IO Error occured at &amp;lt;except.c&amp;gt;:93 in xraise&lt;/div&gt;&lt;div&gt;Error occured in index.c:901 - sis_find_segments_file&lt;/div&gt;
&lt;div&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;Error reading the segment infos. Store listing was&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;/usr/lib/ruby/1.8/ferret/index.rb:736:in `initialize&amp;#39;&lt;/div&gt;&lt;div&gt;
/usr/lib/ruby/1.8/ferret/index.rb:736:in `new&amp;#39;&lt;/div&gt;&lt;div&gt;/usr/lib/ruby/1.8/ferret/index.rb:736:in `ensure_reader_open&amp;#39;&lt;/div&gt;&lt;div&gt;/usr/lib/ruby/1.8/ferret/index.rb:591:in `size&amp;#39;&lt;/div&gt;&lt;div&gt;/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize&amp;#39;&lt;/div&gt;
&lt;div&gt;/usr/lib/ruby/1.8/ferret/index.rb:590:in `size&amp;#39;&lt;/div&gt;&lt;div&gt;./lib/sup/ferret_index.rb:31:in `load_index&amp;#39;&lt;/div&gt;&lt;div&gt;/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize&amp;#39;&lt;/div&gt;&lt;div&gt;./lib/sup/ferret_index.rb:29:in `load_index&amp;#39;&lt;/div&gt;
&lt;div&gt;./lib/sup/index.rb:67:in `load&amp;#39;&lt;/div&gt;&lt;div&gt;./lib/sup/util.rb:520:in `send&amp;#39;&lt;/div&gt;&lt;div&gt;./lib/sup/util.rb:520:in `method_missing&amp;#39;&lt;/div&gt;&lt;div&gt;bin/sup:144&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;is there any way to recover it? (if possible without losing mi index . . . )&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks in advance. &lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26333754&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Sup-not-working-anymore-after-abrupt-reboot-tp26333754p26333754.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26324363</id>
	<title>Re: mark-as-spam.rb and writing hooks</title>
	<published>2009-11-12T10:50:54Z</published>
	<updated>2009-11-12T10:50:54Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from micah anderson's message of Thu Nov 12 10:35:59 -0500 2009:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; spam = thread.labels.member? :spam
&lt;br&gt;&amp;gt; &amp;gt; what = spam ? 'spam' : 'ham'
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm curious about this 'what' piece. It seems like it is a way to
&lt;br&gt;&amp;gt; specify the message as 'spam' or 'ham', which is the second half of the
&lt;br&gt;&amp;gt; puzzle: go into my Spam source and review the messages there, if there
&lt;br&gt;&amp;gt; is a incorrectly categorized as spam message, I would typically stuff
&lt;br&gt;&amp;gt; that into Mistakes as well. It seems like you *have* built this into
&lt;br&gt;&amp;gt; this hook, but I don't understand how it is able to determine one from
&lt;br&gt;&amp;gt; the other? There is the 'S' mark-as-spam key, but there is no 'H'
&lt;br&gt;&amp;gt; mark-as-ham :)
&lt;/div&gt;&lt;br&gt;There's only 'S' and the mark-as-spam hook, but you can tell whether the
&lt;br&gt;user has marked the thread as spam or ham by checking the labels. If the
&lt;br&gt;thread is labelled 'spam', it's spam.
&lt;br&gt;&lt;br&gt;&amp;gt; Yeah, I had realized this thread problem when I saw that the thread
&lt;br&gt;&amp;gt; variable was available for this hook. I think that this is mostly ok, I
&lt;br&gt;&amp;gt; think getting threaded spam is somewhat unusual... but I will pay
&lt;br&gt;&amp;gt; attention to see how frequently this happens. In the case that it
&lt;br&gt;&amp;gt; happens, i'll probably fire up mutt, categorize it as Spam, and then
&lt;br&gt;&amp;gt; re-index my sup index, which is what I was doing before.
&lt;br&gt;&lt;br&gt;If you can configure your spam filter so it reads from two folders,
&lt;br&gt;'spam' and 'ham', then you can safely store extra messages in them
&lt;br&gt;(assuming you don't have true-spam threaded with true-ham). My own setup
&lt;br&gt;is slightly different - I write the raw message to a tempfile and run
&lt;br&gt;sa-learn on it with --spam or --ham.
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; We should also have a Thread#each_message which ignores any
&lt;br&gt;&amp;gt; &amp;gt; result of Thread#each that isn't a Message. These two changes would make
&lt;br&gt;&amp;gt; &amp;gt; the hook above a lot less magical. What other API changes could we do
&lt;br&gt;&amp;gt; &amp;gt; to make writing hooks easier?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Would that make it so the above thread problem would go away?
&lt;br&gt;&lt;br&gt;Nope, it would just mean easier iteration over the messages in a thread.
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26324363&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mark-as-spam.rb-and-writing-hooks-tp26295787p26324363.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323530</id>
	<title>Re: Problems with undo archive and thread focus</title>
	<published>2009-11-12T09:30:01Z</published>
	<updated>2009-11-12T09:30:01Z</updated>
	<author>
		<name>Andrew Pimlott-3</name>
	</author>
	<content type="html">Excerpts from Matthias Guedemann's message of Thu Nov 05 00:27:25 -0800 2009:
&lt;br&gt;&amp;gt; One is, if you hit 'a' in thread view mode, the thread is archived but undo does
&lt;br&gt;&amp;gt; not work. If you go back to index view and hit 'u' the just archived thread does
&lt;br&gt;&amp;gt; not appear, but the one before.
&lt;br&gt;&lt;br&gt;I was annoyed by this too and found that undo is minimally implemented.
&lt;br&gt;I added undo to thread view, at least for the cases that I care about or
&lt;br&gt;were easy. &amp;nbsp;I have to say I was discouraged that this was necessary: the
&lt;br&gt;code to archive a thread should all be in one place, and the undo
&lt;br&gt;record should be created there. &amp;nbsp;There's a lot of code duplication, and
&lt;br&gt;I can't tell if it's because the model and view are too coupled, or
&lt;br&gt;because nobody has bothered to factor it out.
&lt;br&gt;&lt;br&gt;The patch is appended. &amp;nbsp;(This is the first time I've done this with git.)
&lt;br&gt;&lt;br&gt;&amp;gt; The second is, if I respond to a thread and send the mail, I normally want to
&lt;br&gt;&amp;gt; either archive that mail directly or label and archive it. But the thread is put
&lt;br&gt;&amp;gt; to the front and the focus is on the last place of the thread. Therefore I
&lt;br&gt;&amp;gt; sometimes archive the wrong thread (but undo comes in handy)
&lt;br&gt;&lt;br&gt;That's the next most annying thing for me. &amp;nbsp;Hope to get a chance to work
&lt;br&gt;on it.
&lt;br&gt;&lt;br&gt;Andrew
&lt;br&gt;&lt;br&gt;Subject: [PATCH] create undo records in thread view
&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&amp;nbsp;lib/sup/modes/thread-view-mode.rb | &amp;nbsp; 19 ++++++++++++++++++-
&lt;br&gt;&amp;nbsp;1 files changed, 18 insertions(+), 1 deletions(-)
&lt;br&gt;&lt;br&gt;diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb
&lt;br&gt;index 81197c2..2f2d564 100644
&lt;br&gt;--- a/lib/sup/modes/thread-view-mode.rb
&lt;br&gt;+++ b/lib/sup/modes/thread-view-mode.rb
&lt;br&gt;@@ -254,7 +254,8 @@ EOS
&lt;br&gt;&amp;nbsp; &amp;nbsp;end &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;def edit_labels
&lt;br&gt;- &amp;nbsp; &amp;nbsp;reserved_labels = @thread.labels.select { |l| LabelManager::RESERVED_LABELS.include? l }
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;old_labels = @thread.labels
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;reserved_labels = old_labels.select { |l| LabelManager::RESERVED_LABELS.include? l }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;new_labels = BufferManager.ask_for_labels :label, &amp;quot;Labels for thread: &amp;quot;, @thread.labels
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return unless new_labels
&lt;br&gt;@@ -262,6 +263,10 @@ EOS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;new_labels.each { |l| LabelManager &amp;lt;&amp;lt; l }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;update
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :labeled, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;UndoManager.register &amp;quot;labeling thread&amp;quot; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.labels = old_labels
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :labeled, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;def toggle_starred
&lt;br&gt;@@ -476,6 +481,10 @@ EOS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dispatch op do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.remove_label :inbox
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :archived, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;UndoManager.register &amp;quot;archiving 1 thread&amp;quot; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.apply_label :inbox
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :unarchived, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -483,6 +492,10 @@ EOS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dispatch op do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.apply_label :spam
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :spammed, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;UndoManager.register &amp;quot;marking 1 thread as spam&amp;quot; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.remove_label :spam
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :unspammed, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -490,6 +503,10 @@ EOS
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dispatch op do
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.apply_label :deleted
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :deleted, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;UndoManager.register &amp;quot;deleting 1 thread&amp;quot; do
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;@thread.remove_label :deleted
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UpdateManager.relay self, :undeleted, @thread.first
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-- 
&lt;br&gt;1.5.6.5
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;I've decided to go back to school. &amp;nbsp;Kindergarden.
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26323530&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-undo-archive-and-thread-focus-tp26210985p26323530.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26314200</id>
	<title>Re: mark-as-spam.rb and writing hooks</title>
	<published>2009-11-11T22:40:14Z</published>
	<updated>2009-11-11T22:40:14Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Hi Micah,
&lt;br&gt;&lt;br&gt;Something like the following could work:
&lt;br&gt;&lt;br&gt;spam = thread.labels.member? :spam
&lt;br&gt;what = spam ? 'spam' : 'ham'
&lt;br&gt;source_uri = &amp;quot;maildir:///tmp/mistakes&amp;quot; 
&lt;br&gt;source = SourceManager.source_for(source_uri) or fail &amp;quot;source not found&amp;quot;
&lt;br&gt;thread.each do |m,a,b|
&lt;br&gt;&amp;nbsp; next if !m or m == :fake_root
&lt;br&gt;&amp;nbsp; info &amp;quot;marking message #{m.id} as #{what}&amp;quot;
&lt;br&gt;&amp;nbsp; source.store_message m.date, m.from.email do |f|
&lt;br&gt;&amp;nbsp; &amp;nbsp; m.each_raw_message_line { |l| f.puts l }
&lt;br&gt;&amp;nbsp; end
&lt;br&gt;end
&lt;br&gt;&lt;br&gt;This code assumes a maildir (/tmp/mistakes) and that you've added it as
&lt;br&gt;a sup &amp;quot;source&amp;quot; with &amp;quot;sup-add -u maildir:///tmp/mistakes&amp;quot;. When you mark
&lt;br&gt;a thread as spam/ham, it will store the messages into that maildir. One
&lt;br&gt;problem with the above code is that it does store the entire thread, so
&lt;br&gt;if only one message was miscategorized you'll end up confusing your spam
&lt;br&gt;filter. Depending on your exact mail setup you can probably do something
&lt;br&gt;smarter here.
&lt;br&gt;&lt;br&gt;Excerpts from Micah Anderson's message of Tue Nov 10 23:08:22 -0500 2009:
&lt;br&gt;&amp;gt; There has to be some way to have sup actually move a message, isn't
&lt;br&gt;&amp;gt; there?
&lt;br&gt;&lt;br&gt;Sup really doesn't like it when messages are deleted from a source.
&lt;br&gt;Best to just keep it a copy.
&lt;br&gt;&lt;br&gt;For other sup developers: it shouldn't take this much hook code to do
&lt;br&gt;this. I suggest renaming Source#store_message to Source#store_raw. A new
&lt;br&gt;Source#store_message should take a Message as the first argument and let
&lt;br&gt;the mbox From header address and date be optional with reasonable
&lt;br&gt;defaults. We should also have a Thread#each_message which ignores any
&lt;br&gt;result of Thread#each that isn't a Message. These two changes would make
&lt;br&gt;the hook above a lot less magical. What other API changes could we do
&lt;br&gt;to make writing hooks easier?
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26314200&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mark-as-spam.rb-and-writing-hooks-tp26295787p26314200.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26313471</id>
	<title>Re: [PATCH] moved deriving the cmd for bouncing to Account and fixed a bug in it</title>
	<published>2009-11-11T20:30:56Z</published>
	<updated>2009-11-11T20:30:56Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from Tero Tilus's message of Sat Oct 10 03:21:33 -0400 2009:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The default sendmail command used for bouncing mail was derived from
&lt;br&gt;&amp;gt; Account#sendmail in ThreadViewMode#bounce. &amp;nbsp;Moved it to
&lt;br&gt;&amp;gt; Account#bounce_sendmail. &amp;nbsp;Part of work towards more DRY mail bouncing
&lt;br&gt;&amp;gt; within mark-as-spam hook. The code also had a bug, &amp;quot;$1&amp;quot; (instead of $1
&lt;br&gt;&amp;gt; or &amp;quot;#{$1}&amp;quot;). &amp;nbsp;Fixed it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Signed-off-by: Tero Tilus &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313471&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tero@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; &amp;nbsp;lib/sup/account.rb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| &amp;nbsp; 11 +++++++++++
&lt;br&gt;&amp;gt; &amp;nbsp;lib/sup/modes/thread-view-mode.rb | &amp;nbsp; &amp;nbsp;7 +------
&lt;br&gt;&amp;gt; &amp;nbsp;2 files changed, 12 insertions(+), 6 deletions(-)
&lt;/div&gt;&lt;br&gt;Looks good to me. Pushed to branch fix-bounce-cmd in my repo* and merged
&lt;br&gt;to master.
&lt;br&gt;&lt;br&gt;* git://github.com/rlane/sup
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26313471&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--moved-deriving-the-cmd-for-bouncing-to-Account-and-fixed-a-bug-in-it-tp25831756p26313471.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26295787</id>
	<title>mark-as-spam.rb and writing hooks</title>
	<published>2009-11-10T20:08:22Z</published>
	<updated>2009-11-10T20:08:22Z</updated>
	<author>
		<name>Micah Anderson-2</name>
	</author>
	<content type="html">&lt;br&gt;Howdy folks,
&lt;br&gt;&lt;br&gt;Normally, spam is automatically put into my imap Spam folder, but
&lt;br&gt;something gets through, then I move it to the Mistakes folder, and send
&lt;br&gt;it back to the imap server. Anything put in the Mistakes folder gets
&lt;br&gt;processed for Spam/Ham scenarios (conversely, if I move something from
&lt;br&gt;the Spam folder that is actually not spam and put it in the Mistakes
&lt;br&gt;folder, then spamassassin trains bayes to learn that is actually Ham,
&lt;br&gt;not Spam). This is a pretty common Bayes training
&lt;br&gt;setup. 
&lt;br&gt;&lt;br&gt;Sadly, this is something that Sup doesn't do, so I am stuck getting all
&lt;br&gt;of this spam in my inbox. so I think what I need to do is use the
&lt;br&gt;mark-as-spam hook to copy the message to another location. I'm using
&lt;br&gt;offlineimap, so I can just do a file copy of the actual file to the
&lt;br&gt;right spot and let sup do the rest. This seems like the most logical
&lt;br&gt;place to look, use this hook to make a copy of the mail to my Mistakes
&lt;br&gt;maildir folder when I press 'S', and then the offlineimap process will
&lt;br&gt;go and put it back on the IMAP server for processing.
&lt;br&gt;&lt;br&gt;It seems like a hook could do this fairly easily, but because I dont
&lt;br&gt;know ruby its a lot harder for me, also I couldn't find much information
&lt;br&gt;about how to use hooks. I read the hooks.txt file in the debian package,
&lt;br&gt;but it wans't so useful.
&lt;br&gt;&lt;br&gt;Spent some time today trying to figure out how hooks work. Couldn't find
&lt;br&gt;much information out there, but eventually figured out that there are a
&lt;br&gt;handful of hooks available, which you can list via 'sup -l', for
&lt;br&gt;example:
&lt;br&gt;&lt;br&gt;mark-as-spam
&lt;br&gt;------------
&lt;br&gt;File: /home/micah/.sup/hooks/mark-as-spam.rb
&lt;br&gt;This hook is run when a thread is marked as spam
&lt;br&gt;Variables: thread: The message thread being marked as spam.
&lt;br&gt;&lt;br&gt;basically what this means is that if you put a file in
&lt;br&gt;.sup/hooks/mark-as-spam.rb with ruby code it will be executed when you
&lt;br&gt;hit the S key, and the &amp;quot;thread&amp;quot; variable is available to this hook.
&lt;br&gt;&lt;br&gt;The above took me quite some time to determine, not being a ruby person
&lt;br&gt;and all, now that I got that, I want to use it!
&lt;br&gt;&lt;br&gt;So what is that thread variable? I only really found it in thread.rb, so
&lt;br&gt;I looked at that for a while, I find that a thread is a bunch of
&lt;br&gt;messages, so I figure I need to enumerate the array. Then I taught
&lt;br&gt;myself some ruby looping and variable interpolation, and came up with
&lt;br&gt;this:
&lt;br&gt;&lt;br&gt;log &amp;quot;Marking thread #{thread.to_s} of size #{thread.size} as spam...&amp;quot;
&lt;br&gt;thread.each { |message| system 'cp', message, '/home/me/Maildir/Personal/INBOX.Mistakes/cur' }
&lt;br&gt;&lt;br&gt;and hey, it almost works, just incorrectly, my sup log gets:
&lt;br&gt;&lt;br&gt;hook[mark-as-spam]: Marking thread &amp;lt;thread containing: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295787&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;20091110072526.5236749428B@...&lt;/a&gt;&amp;gt;&amp;gt; of size 1 as spam...
&lt;br&gt;&lt;br&gt;But... I dont know how to get the thread array to tell me where the
&lt;br&gt;actual file is. I spent some more quality time with the source, and I am
&lt;br&gt;pretty sure that a @thread is an array of Containers which contain the
&lt;br&gt;different Messages, which are accessed via Store... but i dont know if I
&lt;br&gt;can access any of that, there is a Thread class, Container class,
&lt;br&gt;Message class and finally a Source class, and I think the problem is
&lt;br&gt;that thread.each isn't an actual file its more of a thread object of
&lt;br&gt;some sort, and if I knew how to get at the actual file, I could just
&lt;br&gt;use a simple system call to copy it where I need to.
&lt;br&gt;&lt;br&gt;There has to be some way to have sup actually move a message, isn't
&lt;br&gt;there?
&lt;br&gt;&lt;br&gt;thanks for any help!
&lt;br&gt;micah
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26295787&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/mark-as-spam.rb-and-writing-hooks-tp26295787p26295787.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26293637</id>
	<title>Re: Getting gpg to work</title>
	<published>2009-11-10T15:47:18Z</published>
	<updated>2009-11-10T15:47:18Z</updated>
	<author>
		<name>Micah Anderson-2</name>
	</author>
	<content type="html">William Morgan &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293637&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wmorgan-sup@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; Reformatted excerpts from Micah Anderson's message of 2009-05-28:
&lt;br&gt;&amp;gt;&amp;gt; [Fri May 29 00:17:42 -0400 2009] crypto: detected gpg binary in /usr/bin/gpg
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any other obvious messages in the log about multipart/encrypted?
&lt;br&gt;&lt;br&gt;I failed to respond to this message, partly because I think I decided to
&lt;br&gt;give up on sup at the time. But I am back now, because sup is so
&lt;br&gt;alluring, and I'm trying harder to switch this time :)
&lt;br&gt;&lt;br&gt;This time, gpg works fine... although it is using the wrong gpg keyid
&lt;br&gt;when I try to send. I did manage to find and set the gpgkey configurable
&lt;br&gt;in the .sup/config.yaml:
&lt;br&gt;&lt;br&gt;:accounts: 
&lt;br&gt;&amp;nbsp; :default: 
&lt;br&gt;&amp;nbsp; &amp;nbsp; :signature: /home/micah/.signature
&lt;br&gt;&amp;nbsp; &amp;nbsp; :email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293637&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;micah@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; :sendmail: /usr/sbin/sendmail -oem -ti
&lt;br&gt;&amp;nbsp; &amp;nbsp; :name: micah anderson
&lt;br&gt;&amp;nbsp; &amp;nbsp; :gpgkey: 0xDEADBEEF
&lt;br&gt;&lt;br&gt;but still, that key does not get used, and instead the first key in my
&lt;br&gt;keyring for my email@address gets used instead. I do not want that,
&lt;br&gt;because that key is set to expire in about a week.
&lt;br&gt;&lt;br&gt;micah
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26293637&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Getting-gpg-to-work-tp23697725p26293637.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26287311</id>
	<title>Re: Error upon starting sup</title>
	<published>2009-11-10T09:10:42Z</published>
	<updated>2009-11-10T09:10:42Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from k.v.ramakrishna reddy's message of Tue Nov 10 04:23:22 -0500 2009:
&lt;br&gt;&amp;gt; --- RuntimeError from thread: load threads for thread-index-mode
&lt;br&gt;&amp;gt; invalid source 3
&lt;br&gt;&lt;br&gt;It looks like you removed a source. If you remember what it was, you can
&lt;br&gt;just re-add it (and tweak the id in sources.yaml). Otherwise, a
&lt;br&gt;sup-dump, deleting the ferret db, and sup-sync -a --restore will solve
&lt;br&gt;the problem.
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26287311&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-upon-starting-sup-tp26285037p26287311.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285037</id>
	<title>Error upon starting sup</title>
	<published>2009-11-10T01:23:22Z</published>
	<updated>2009-11-10T01:23:22Z</updated>
	<author>
		<name>kvrk</name>
	</author>
	<content type="html">--- RuntimeError from thread: load threads for thread-index-mode&lt;br&gt;invalid source 3&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:260:in `build_message&amp;#39;&lt;br&gt;/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize&amp;#39;&lt;br&gt;
/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:256:in `build_message&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:163:in `each_id_by_date&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/thread.rb:332:in `call&amp;#39;&lt;br&gt;
/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/thread.rb:332:in `load_n_threads&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:163:in `each_id_by_date&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:162:in `each&amp;#39;&lt;br&gt;
/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/ferret_index.rb:162:in `each_id_by_date&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/thread.rb:328:in `load_n_threads&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:625:in `__unprotected_load_n_threads&amp;#39;&lt;br&gt;
(eval):12:in `load_n_threads&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:609:in `load_n_threads_background&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup.rb:77:in `reporting_thread&amp;#39;&lt;br&gt;
/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup.rb:75:in `initialize&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup.rb:75:in `new&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup.rb:75:in `reporting_thread&amp;#39;&lt;br&gt;
/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:608:in `load_n_threads_background&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/lib/sup/modes/thread-index-mode.rb:679:in `__unprotected_load_threads&amp;#39;&lt;br&gt;
(eval):12:in `load_threads&amp;#39;&lt;br&gt;/home/karri/.gem/ruby/1.8/gems/sup-0.9/bin/sup:196&lt;br&gt;/home/karri/.gem/ruby/1.8/bin/sup:19:in `load&amp;#39;&lt;br&gt;&lt;div&gt;/home/karri/.gem/ruby/1.8/bin/sup:19&lt;br&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;thanks&lt;/div&gt;
&lt;div&gt;karri&lt;/div&gt;&lt;br&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285037&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-upon-starting-sup-tp26285037p26285037.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261800</id>
	<title>Re: [PATCH 2/4] async thread indexing</title>
	<published>2009-11-08T22:22:03Z</published>
	<updated>2009-11-08T22:22:03Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from Eugene Marinelli's message of Mon Nov 09 01:02:07 -0500 2009:
&lt;br&gt;&amp;gt; &amp;gt; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Index.save_thread t
&lt;br&gt;&amp;gt; &amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Index.save_thread_async t
&lt;br&gt;&amp;gt; Where is the &amp;quot;save_thread_async&amp;quot; function?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; In patch 3/4, this looks like a syntax error:
&lt;br&gt;&amp;gt; &amp;gt; - &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;gt; &amp;gt; + &amp;nbsp; &amp;nbsp;threads.each { |t| Index.save_thread async t }
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;Nice catch. I'd originally named the method save_thread_async and it
&lt;br&gt;looks like my search-and-replace wasn't complete. I've fixed this on the
&lt;br&gt;immediate-updates branch. Thanks for the review!
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261800&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-4--factor-saving-out-of-thread-message-classes-tp26209624p26261800.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26261660</id>
	<title>Re: [PATCH 2/4] async thread indexing</title>
	<published>2009-11-08T22:02:07Z</published>
	<updated>2009-11-08T22:02:07Z</updated>
	<author>
		<name>Eugene Marinelli</name>
	</author>
	<content type="html">&amp;gt; - &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Index.save_thread t
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Index.save_thread_async t
&lt;br&gt;Where is the &amp;quot;save_thread_async&amp;quot; function?
&lt;br&gt;&lt;br&gt;In patch 3/4, this looks like a syntax error:
&lt;br&gt;&amp;gt; - &amp;nbsp; &amp;nbsp;end
&lt;br&gt;&amp;gt; + &amp;nbsp; &amp;nbsp;threads.each { |t| Index.save_thread async t }
&lt;br&gt;&amp;gt; &amp;nbsp; end
&lt;br&gt;&lt;br&gt;- Eugene Marinelli
&lt;br&gt;&lt;br&gt;On Wed, Nov 4, 2009 at 9:45 PM, Rich Lane &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261660&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rlane@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt;  bin/sup                            |    2 ++
&lt;br&gt;&amp;gt;  lib/sup/index.rb                   |   26 +++++++++++++++++++++++++-
&lt;br&gt;&amp;gt;  lib/sup/modes/thread-index-mode.rb |    2 +-
&lt;br&gt;&amp;gt;  3 files changed, 28 insertions(+), 2 deletions(-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; diff --git a/bin/sup b/bin/sup
&lt;br&gt;&amp;gt; index 78c396a..910ff12 100755
&lt;br&gt;&amp;gt; --- a/bin/sup
&lt;br&gt;&amp;gt; +++ b/bin/sup
&lt;br&gt;&amp;gt; @@ -142,6 +142,7 @@ Index.lock_interactively or exit
&lt;br&gt;&amp;gt;  begin
&lt;br&gt;&amp;gt;   Redwood::start
&lt;br&gt;&amp;gt;   Index.load
&lt;br&gt;&amp;gt; +  Index.start_sync_worker unless $opts[:no_threads]
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   $die = false
&lt;br&gt;&amp;gt;   trap(&amp;quot;TERM&amp;quot;) { |x| $die = true }
&lt;br&gt;&amp;gt; @@ -335,6 +336,7 @@ ensure
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   HookManager.run &amp;quot;shutdown&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; +  Index.stop_sync_worker
&lt;br&gt;&amp;gt;   Redwood::finish
&lt;br&gt;&amp;gt;   stop_cursing
&lt;br&gt;&amp;gt;   Redwood::Logger.remove_all_sinks!
&lt;br&gt;&amp;gt; diff --git a/lib/sup/index.rb b/lib/sup/index.rb
&lt;br&gt;&amp;gt; index 5d8d714..1131ec7 100644
&lt;br&gt;&amp;gt; --- a/lib/sup/index.rb
&lt;br&gt;&amp;gt; +++ b/lib/sup/index.rb
&lt;br&gt;&amp;gt; @@ -28,6 +28,8 @@ class BaseIndex
&lt;br&gt;&amp;gt;   def initialize dir=BASE_DIR
&lt;br&gt;&amp;gt;     @dir = dir
&lt;br&gt;&amp;gt;     @lock = Lockfile.new lockfile, :retries =&amp;gt; 0, :max_age =&amp;gt; nil
&lt;br&gt;&amp;gt; +    @sync_worker = nil
&lt;br&gt;&amp;gt; +    @sync_queue = Queue.new
&lt;br&gt;&amp;gt;   end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   def lockfile; File.join @dir, &amp;quot;lock&amp;quot; end
&lt;br&gt;&amp;gt; @@ -175,10 +177,32 @@ class BaseIndex
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;   def save_thread t
&lt;br&gt;&amp;gt;     t.each_dirty_message do |m|
&lt;br&gt;&amp;gt; -      update_message_state m
&lt;br&gt;&amp;gt; +      if @sync_worker
&lt;br&gt;&amp;gt; +        @sync_queue &amp;lt;&amp;lt; m
&lt;br&gt;&amp;gt; +      else
&lt;br&gt;&amp;gt; +        update_message_state m
&lt;br&gt;&amp;gt; +      end
&lt;br&gt;&amp;gt;       m.clear_dirty
&lt;br&gt;&amp;gt;     end
&lt;br&gt;&amp;gt;   end
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +  def start_sync_worker
&lt;br&gt;&amp;gt; +    @sync_worker = Redwood::reporting_thread('index sync') { run_sync_worker }
&lt;br&gt;&amp;gt; +  end
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +  def stop_sync_worker
&lt;br&gt;&amp;gt; +    return unless worker = @sync_worker
&lt;br&gt;&amp;gt; +    @sync_worker = nil
&lt;br&gt;&amp;gt; +    @sync_queue &amp;lt;&amp;lt; :die
&lt;br&gt;&amp;gt; +    worker.join
&lt;br&gt;&amp;gt; +  end
&lt;br&gt;&amp;gt; +
&lt;br&gt;&amp;gt; +  def run_sync_worker
&lt;br&gt;&amp;gt; +    while m = @sync_queue.deq
&lt;br&gt;&amp;gt; +      return if m == :die
&lt;br&gt;&amp;gt; +      update_message_state m
&lt;br&gt;&amp;gt; +    end
&lt;br&gt;&amp;gt; +  end
&lt;br&gt;&amp;gt;  end
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  index_name = ENV['SUP_INDEX'] || $config[:index] || DEFAULT_INDEX
&lt;br&gt;&amp;gt; diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb
&lt;br&gt;&amp;gt; index 370903a..d2b1651 100644
&lt;br&gt;&amp;gt; --- a/lib/sup/modes/thread-index-mode.rb
&lt;br&gt;&amp;gt; +++ b/lib/sup/modes/thread-index-mode.rb
&lt;br&gt;&amp;gt; @@ -477,7 +477,7 @@ EOS
&lt;br&gt;&amp;gt;       BufferManager.say(&amp;quot;Saving threads...&amp;quot;) do |say_id|
&lt;br&gt;&amp;gt;         dirty_threads.each_with_index do |t, i|
&lt;br&gt;&amp;gt;           BufferManager.say &amp;quot;Saving modified thread #{i + 1} of #{dirty_threads.length}...&amp;quot;, say_id
&lt;br&gt;&amp;gt; -          Index.save_thread t
&lt;br&gt;&amp;gt; +          Index.save_thread_async t
&lt;br&gt;&amp;gt;         end
&lt;br&gt;&amp;gt;       end
&lt;br&gt;&amp;gt;     end
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; 1.6.4.2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; sup-talk mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261660&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26261660&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH-1-4--factor-saving-out-of-thread-message-classes-tp26209624p26261660.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246807</id>
	<title>Re: Apple Address Book integration for Sup?</title>
	<published>2009-11-07T09:18:51Z</published>
	<updated>2009-11-07T09:18:51Z</updated>
	<author>
		<name>Rich Lane</name>
	</author>
	<content type="html">Excerpts from tom's message of Sat Nov 07 12:01:31 -0500 2009:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hey,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Could anyone point me towards where I should start hacking or looking
&lt;br&gt;&amp;gt; to get my address book contacts as options in Sup? I'm up for the task
&lt;br&gt;&amp;gt; if the contact list is pluggable, but obviously documentation is
&lt;br&gt;&amp;gt; somewhat minimal here.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks!
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Tom
&lt;/div&gt;&lt;br&gt;Hi Tom,
&lt;br&gt;&lt;br&gt;If you're just looking to get tab-completion for these contacts you can
&lt;br&gt;create a extra-contact-addresses hook script that imports them.
&lt;br&gt;&lt;br&gt;- Rich
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246807&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apple-Address-Book-integration-for-Sup--tp26246679p26246807.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246679</id>
	<title>Apple Address Book integration for Sup?</title>
	<published>2009-11-07T09:01:31Z</published>
	<updated>2009-11-07T09:01:31Z</updated>
	<author>
		<name>tmcw</name>
	</author>
	<content type="html">Hey,
&lt;br&gt;&lt;br&gt;Could anyone point me towards where I should start hacking or looking
&lt;br&gt;to get my address book contacts as options in Sup? I'm up for the task
&lt;br&gt;if the contact list is pluggable, but obviously documentation is
&lt;br&gt;somewhat minimal here.
&lt;br&gt;&lt;br&gt;Thanks!
&lt;br&gt;&lt;br&gt;Tom
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246679&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Apple-Address-Book-integration-for-Sup--tp26246679p26246679.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246592</id>
	<title>Re: slowly catching up</title>
	<published>2009-11-07T08:56:10Z</published>
	<updated>2009-11-07T08:56:10Z</updated>
	<author>
		<name>William Morgan-4</name>
	</author>
	<content type="html">Reformatted excerpts from Rich Lane's message of 2009-11-06:
&lt;br&gt;&amp;gt; As for getting changes to William, I'll occasionally (weekly?) apply
&lt;br&gt;&amp;gt; the patches I deem stable on top of his master branch and send mail to
&lt;br&gt;&amp;gt; the list. This way it should be a fast-forward when he pulls and we
&lt;br&gt;&amp;gt; won't have to worry about resolving merges differently.
&lt;br&gt;&lt;br&gt;Sounds good to me. I'm not even that concerned about fastforward vs
&lt;br&gt;merge.
&lt;br&gt;&lt;br&gt;&amp;gt; As a side note, I just created a Wishlist wiki page for feature requests:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://sup.rubyforge.org/wiki/wiki.pl?Wishlist&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sup.rubyforge.org/wiki/wiki.pl?Wishlist&lt;/a&gt;&lt;br&gt;&lt;br&gt;I agree that these would be great to have on the issue tracker.
&lt;br&gt;-- 
&lt;br&gt;William &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246592&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wmorgan-sup@...&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246592&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/slowly-catching-up-tp26142771p26246592.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26246343</id>
	<title>Re: sup bug tracker</title>
	<published>2009-11-07T08:32:08Z</published>
	<updated>2009-11-07T08:32:08Z</updated>
	<author>
		<name>William Morgan-4</name>
	</author>
	<content type="html">Reformatted excerpts from Tero Tilus's message of 2009-11-07:
&lt;br&gt;&amp;gt; What should be the policy with issues are reported/discussed on irc or
&lt;br&gt;&amp;gt; mailinglist but are not reported to tracker? &amp;nbsp;Should The Sup Issues
&lt;br&gt;&amp;gt; Task Force(TM) ;) report them to tracker or try to push the original
&lt;br&gt;&amp;gt; reporter to do it?
&lt;br&gt;&lt;br&gt;I would like all new issues to go on the tracker, and I think it's
&lt;br&gt;completely reasonable to tell people who report things to the mailing
&lt;br&gt;list or IRC to instead use the issue tracker instead.
&lt;br&gt;&lt;br&gt;&amp;gt; Should we (The SITF) skim mailinglist archives and transfer reported
&lt;br&gt;&amp;gt; unfixed bugs (with links to archives) to tracker?
&lt;br&gt;&lt;br&gt;If the SITF wants to creating issues for existing bug reports, that
&lt;br&gt;would be very helpful. But please don't do it to the point that you get
&lt;br&gt;sick of it.
&lt;br&gt;&lt;br&gt;&amp;gt; Sup home &lt;a href=&quot;http://sup.rubyforge.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sup.rubyforge.org/&lt;/a&gt;&amp;nbsp;is not yet pointing there.
&lt;br&gt;&lt;br&gt;Fixed, thanks!
&lt;br&gt;-- 
&lt;br&gt;William &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wmorgan-sup@...&lt;/a&gt;&amp;gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26246343&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sup-bug-tracker-tp26234881p26246343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26243841</id>
	<title>Re: sup bug tracker</title>
	<published>2009-11-07T03:15:56Z</published>
	<updated>2009-11-07T03:15:56Z</updated>
	<author>
		<name>Tero Tilus-2</name>
	</author>
	<content type="html">William Morgan, 2009-11-06 18:33:
&lt;br&gt;&amp;gt; If you have existing bug reports or feature requests and you don't
&lt;br&gt;&amp;gt; want to rely on my faulty memory any more, feel free to resubmit
&lt;br&gt;&amp;gt; them here.
&lt;br&gt;&lt;br&gt;What should be the policy with issues are reported/discussed on irc or
&lt;br&gt;mailinglist but are not reported to tracker? &amp;nbsp;Should The Sup Issues
&lt;br&gt;Task Force(TM) ;) report them to tracker or try to push the original
&lt;br&gt;reporter to do it?
&lt;br&gt;&lt;br&gt;Should we (The SITF) skim mailinglist archives and transfer reported
&lt;br&gt;unfixed bugs (with links to archives) to tracker?
&lt;br&gt;&lt;br&gt;&amp;gt; I'm going to point the 0.9.1 crash message there too.
&lt;br&gt;&lt;br&gt;Sup home &lt;a href=&quot;http://sup.rubyforge.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sup.rubyforge.org/&lt;/a&gt;&amp;nbsp;is not yet pointing there.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tero Tilus ## 050 3635 235 ## &lt;a href=&quot;http://tero.tilus.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tero.tilus.net/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/sup-bug-tracker-tp26234881p26243841.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26243257</id>
	<title>Re: slowly catching up</title>
	<published>2009-11-07T01:34:38Z</published>
	<updated>2009-11-07T01:34:38Z</updated>
	<author>
		<name>Tero Tilus-2</name>
	</author>
	<content type="html">Rich Lane, 2009-11-07 09:09:
&lt;br&gt;&amp;gt; Sounds good. I'll keep using my clone at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://github.com/rlane/sup/tree/master&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://github.com/rlane/sup/tree/master&lt;/a&gt;&amp;nbsp;unless people would prefer I
&lt;br&gt;&amp;gt; move it to gitorious.
&lt;br&gt;&lt;br&gt;Does it really make that big difference? &amp;nbsp;I don't think.
&lt;br&gt;&lt;br&gt;&amp;gt; As a side note, I just created a Wishlist wiki page for feature
&lt;br&gt;&amp;gt; requests: &lt;a href=&quot;http://sup.rubyforge.org/wiki/wiki.pl?Wishlist&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sup.rubyforge.org/wiki/wiki.pl?Wishlist&lt;/a&gt;&lt;br&gt;&lt;br&gt;Why not use tracker for feature requests too? &amp;nbsp;If I don't hear any
&lt;br&gt;reasons why, I'll go put the wishlist items there too.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tero Tilus ## 050 3635 235 ## &lt;a href=&quot;http://tero.tilus.net/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://tero.tilus.net/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;sup-talk mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26243257&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sup-talk@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://rubyforge.org/mailman/listinfo/sup-talk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://rubyforge.org/mailman/listinfo/sup-talk&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/slowly-catching-up-tp26142771p26243257.html" />
</entry>

</feed>
