Hello Sup-ers! I want to get rid of Thunderbird. :) The following questions surely are of this same-pesky-newbie-questions-every-day kind, but I have them, anyway ;) 1. `sup-configure` asked me for my primary e-mail address. I have no primary e-mail address. In fact, I have several "personalities" being myself in in different contexts. It is very important to me to make sure those personalities, represented by different e-mail addresses, will *never* be accidentally mixed. Can Sup make me force to chose the e-mail address I want to send from for every mail I start writing? (Of course, when answering a mail, I would answer with the address it was sent to.) 2. How can I display my own email bodies in thread view? Sometimes someone digs up thread so ancient I don''t remember what I wrote back then. 3. I hate mbox. Can I use other mailbox formats for sent e-mails? 4. For incoming mails, I used to use POP3, and I want keep storing my mail locally (only). Which MDA solution is the best as far as performance is concerned? My netbook has very poor CPU and HDD performance (loooong HDD wakeup times), so that''s what matters most in this regard. 5. As it worth using Ruby 1.9 for Sup? I have no idea about Ruby 1.8 vs Ruby 1.9 -- any bug fixes, performance improvements, ... affecting Sup? 6. Vertical scrolling is *very* laggy. The terminal emulator doesn''t matter; as soon as I do a vertical scroll CPU usage jumps up to 100%. Am I missing any important tweaks? That''s all! ;) Hoping to be able to join sup pack soon, thanks in advance, Jonas
Excerpts from Jonas H.''s message of Sun Dec 19 17:57:33 -0500 2010: Hi Jonas,> 1. `sup-configure` asked me for my primary e-mail address. I have no > primary e-mail address. In fact, I have several "personalities" > being myself in in different contexts. It is very important to me > to make sure those personalities, represented by different e-mail > addresses, will *never* be accidentally mixed. Can Sup make me > force to chose the e-mail address I want to send from for every mail > I start writing? (Of course, when answering a mail, I would answer > with the address it was sent to.)You can add and use multiple email accounts. The ''primary'' label is more of a ''default'' than a primary. You''ll want to use the various hooks to automatically set the email address used. You can also change this while editing the message you''re sending.> 2. How can I display my own email bodies in thread view? Sometimes > someone digs up thread so ancient I don''t remember what I wrote back > then.Sup does this automatically.> 3. I hate mbox. Can I use other mailbox formats for sent e-mails?Maildir is an option.> 4. For incoming mails, I used to use POP3, and I want keep storing > my mail locally (only). Which MDA solution is the best as far as > performance is concerned? My netbook has very poor CPU and HDD > performance (loooong HDD wakeup times), so that''s what matters most > in this regard.I''d say fetchmail, but I think it still requires a local mail delivery system. There is likely some pop3 fetch tool, but I''m not familiar with any of them.> 5. As it worth using Ruby 1.9 for Sup? I have no idea about Ruby 1.8 > vs Ruby 1.9 -- any bug fixes, performance improvements, > ... affecting Sup?I''m still using a really old 1.8. I''ve tried to go to 1.9, but I don''t have xapian working yet...> 6. Vertical scrolling is *very* laggy. The terminal emulator doesn''t > matter; as soon as I do a vertical scroll CPU usage jumps up to > 100%. Am I missing any important tweaks?Not sure. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302
Jonas H., 2010-12-20 00:57:> 2. How can I display my own email bodies in thread view?They should be there. If they aren''t they eithere aren''t properly indexed, aren''t referenced by the reply (reply is missing both In-reply-to and References -headers, there are evil mailclients out there which do this) or there''s a bug in sup.> 6. Vertical scrolling is *very* laggy.Is there any chance you are talking about paging down in thread index? Sup is lazy. It only lists a screenfull of results at first by default. It continues loading messages if you scroll further down. Once the loading is done scrolling should be instantaneous. Tags and search make paging thru "mail folders" pretty much obsolete. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
On 12/20/2010 08:57 AM, Tero Tilus wrote:> Jonas H., 2010-12-20 00:57: >> 2. How can I display my own email bodies in thread view? > > They should be there. If they aren''t they eithere aren''t properly > indexed, aren''t referenced by the reply (reply is missing both > In-reply-to and References -headers, there are evil mailclients out > there which do this) or there''s a bug in sup.Humm... all replies have both the In-Reply-To and the References headers. Just to clarify this - I see the headers of my messages, can expand them, but never see the body. (This does not only apply to responses but to messages in general.)>> 6. Vertical scrolling is *very* laggy. > > Is there any chance you are talking about paging down in thread index?Sorry, I meant horizontal scolling using left/right arrows. [ Why doesn''t this mailing list set the Reply-To header :''( ]
Excerpts from Jonas H.''s message of Sun Dec 19 17:57:33 -0500 2010:> 4. For incoming mails, I used to use POP3, and I want keep storing my > mail locally (only). Which MDA solution is the best as far as > performance is concerned? My netbook has very poor CPU and HDD > performance (loooong HDD wakeup times), so that''s what matters most in > this regard.Fetchmail would be a good choice, and you can use it with procmail or maildrop to deliver the mail to your local maildir(s). The configuration language for maildrop is somewhat easier to learn than procmail''s. I once tried using offlineimap, but had to stop because our Exchange mail server at work would occasionally cause mails to be deleted and that would mess up sup. (I think was a "feature" of Exchange or Outlook that allowed people to recall messages after they''d been sent. I am not sure, though; I don''t use Windows.) In case this would be useful, I''ve attached sanitized examples of my fetchmail and maildrop config files. I''ve got them set up to use two different incoming mail accounts, one for personal mail (gmail) and one for work mail (a bogus company, widgets.com), with separate maildirs for each. -------------- next part -------------- A non-text attachment was scrubbed... Name: .fetchmailrc Type: application/octet-stream Size: 386 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101220/7b59c285/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: .mailfilter Type: application/octet-stream Size: 235 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101220/7b59c285/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: .mailfilter.widgets Type: application/octet-stream Size: 91 bytes Desc: not available URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20101220/7b59c285/attachment-0002.obj>
Jonas H., 2010-12-20 15:38:> Just to clarify this - I see the headers of my messages, can expand > them, but never see the body. (This does not only apply to responses > but to messages in general.)You mean you don''t see any mail bodies at all!? Something has really gone haywire during indexing/polling then. Could you describe the behavior more closely? Screenshots?> Sorry, I meant horizontal scolling using left/right arrows.I''ve never had any problems with that. Not even with really lo-fi hw. Could you try profiling if? (gem install ruby-prof, launch sup using ruby-prof and do scrolling, preferably a lot of it and then exit) -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
> Fetchmail would be a good choice, and you can use it with procmail or > maildrop to deliver the mail to your local maildir(s). The > configuration language for maildrop is somewhat easier to learn than > procmail''s.I use Getmail because it''s slightly more Google-friendly, but essentially similar to Fetchmail. Worth considering. -- If a listener nods his head when you''re explaining your program, wake him up.
Excerpts from Jonas H.''s message of Mon Dec 20 08:39:50 -0500 2010:> [ Why doesn''t this mailing list set the Reply-To header :''( ]Because net standards require that mailing lists not override Reply-To to set it to the mailing list. Reply-To is intended to always be the proper address for a reply directly to the author. There are other semi-official headers for mailing lists to use to instruct an MUA of the correct address for mailing list replies. sup honors those and should offer you the option of replying to the list.
(Unfortunately it seems like my original mail was swallowed because of the attachments, so I''m re-sending it without any. You can find the attachments here: http://jonas.lophus.org/sup-attachments.tar.bz2) On 12/20/2010 02:57 PM, Tero Tilus wrote:> Jonas H., 2010-12-20 15:38: >> Just to clarify this - I see the headers of my messages, can expand >> them, but never see the body. (This does not only apply to responses >> but to messages in general.) > > You mean you don''t see any mail bodies at all!? Something has really > gone haywire during indexing/polling then. Could you describe the > behavior more closely? Screenshots?Pressing enter/E simply does not show any body for my messages. Screenshots attached.>> Sorry, I meant horizontal scolling using left/right arrows. > > I''ve never had any problems with that. Not even with really lo-fi hw. > Could you try profiling if? (gem install ruby-prof, launch sup using > ruby-prof and do scrolling, preferably a lot of it and then exit)Results attached; the ''short'' log is without lines that only consist of 0.0[012] 0.0[012] ... 0.0[012]. I also made up a video. Watch the screen when I stop thrashing the left/right arrow keys. Feels like scrolling on Windows without a proper graphics driver installed ;-) http://fileshare.itratos.org/video/4d0fb9362b9afb3bf4000002/VIDEO0006.3gp/ (Direct WebM version link for the lazy: http://fileshare.itratos.org/uploads/videos/0/VIDEO0006-Iv0cY.3gp/VIDEO0006-Iv0cY-original.webm) Jonas
*bump* any news on these issues?
Jonas H., 2010-12-23 12:17:> On 12/20/2010 02:57 PM, Tero Tilus wrote: > > I''ve never had any problems with that. Not even with really lo-fi hw. > > Could you try profiling if? (gem install ruby-prof, launch sup using > > ruby-prof and do scrolling, preferably a lot of it and then exit) > > Results attached; the ''short'' log is without lines that only consist of > 0.0[012] 0.0[012] ... 0.0[012].The biggest problem seems to be String#display_length with ruby versions < 1.9.1. Manually calculating display lenght using scan(/./u) is definitely not nice, but I don''t know how could you make it faster. Maybe caching calculated display_lengths? Looks like I just haven''t done enough scrolling to find that out. :-O -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
Tero Tilus, 2010-12-30 17:31:> Maybe caching calculated display_lengths?Caching cuts down String#scan calls by ~30% and produces no perceivable difference in scrolling responsivenes. After String#display_length caching the main cpu hog is Ncurses::WINDOW#method_missing, which dispatches calls to wide char or ordinary Ncurses methods depending what''s available. Gonna try to hardwire Ncurses::WINDOW#mvaddstr next.> Looks like I just haven''t done enough scrolling to find that out. :-ONow that I really look into this. The performance I see (sup runnin screened on Bytemark VPS) is considerably better that what is seen on the video. It is definitely not fast, but otoh I can''t make it lag behind like it does on the video. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
Jonas H., 2010-12-23 12:17:> Pressing enter/E simply does not show any body for my messages. > Screenshots attached.Thats plain weird. Are these mails you have sent using sup? If so, your mails prolly displayed ok when sending? Could you look into sent mailbox (~/.sup/sent.mbox) to see if the mails are OK there. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
Tero Tilus, 2010-12-30 23:33:> After String#display_length caching the main cpu hog is > Ncurses::WINDOW#method_missing, which dispatches calls to wide char or > ordinary Ncurses methods depending what''s available. Gonna try to > hardwire Ncurses::WINDOW#mvaddstr next.That cut the average per call total time for Redwood::Buffer#write to almost half of what it was. Although I''m still unable to actually feel any difference. ;) Responsiveness prolly depends in my case mostly on the network speed and latency. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
On 12/31/2010 12:03 AM, Tero Tilus wrote:> Jonas H., 2010-12-23 12:17: >> Pressing enter/E simply does not show any body for my messages. >> Screenshots attached. > > Thats plain weird. Are these mails you have sent using sup?Nope, they are from the Thunderbird-generated mbox files. If you want I could make up a small test mbox file (new Thunderbird profile) and send it?
Jonas H., 2010-12-31 01:37:> If you want I could make up a small test mbox file (new Thunderbird > profile) and send it?Please do. File a bug <http://masanjin.net/sup-bugs/> and attach a (minimal) mbox to trigger it. -- Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
On 12/31/2010 01:45 AM, Tero Tilus wrote:> Jonas H., 2010-12-31 01:37: >> If you want I could make up a small test mbox file (new Thunderbird >> profile) and send it? > > Please do. File a bug<http://masanjin.net/sup-bugs/> and attach a > (minimal) mbox to trigger it. >http://masanjin.net/sup-bugs/issue141
On 12/31/2010 11:14 AM, Jonas H. wrote:> On 12/31/2010 01:45 AM, Tero Tilus wrote: >> Jonas H., 2010-12-31 01:37: >>> If you want I could make up a small test mbox file (new Thunderbird >>> profile) and send it? >> >> Please do. File a bug<http://masanjin.net/sup-bugs/> and attach a >> (minimal) mbox to trigger it. >> > > http://masanjin.net/sup-bugs/issue141Any news on this issue?