Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] Introduction, thanks, and a small patch
Date: Sun, 16 Aug 2009 14:22:56 -0700	[thread overview]
Message-ID: <1250456575-sup-4326@masanjin.net> (raw)
In-Reply-To: <1250331013-sup-3083@xps>

Reformatted excerpts from Igor Brkic's message of 2009-08-15:
> Solution that worked for me is to comment out line "Time.parse time,
> 0" in mbox.rb file. This is not good solution, more like a hack, but
> for some reason it works for me. Try it out.

I've think I've fixed this in master. Thanks for your log; that was
helpful. The problem was that Sup was producing the date component of
the From_ lines in the sent mail mbox using the current locale, and
later on wouldn't necessarily recognize that as a date. (Particularly
for people with "funny locales".)

You will have to manually edit your ~/.sup/sent.mbox file and change all
the From_ line dates that are not in UTC to UTC. If there are just a
couple, you should be able to copy and paste from the Date: header a few
lines below.

Removing the Time.parse line you mention will work, but it has the side
effect of potentially splitting mbox files in mid-message. E.g. if you
ever have a line of text like "From xxx yyy\n", Sup will consider that
a message delimiter. This is fallout from the great mbox From_ line
misdesign of 1972.

Please let me know if it works for you.
-- 
William <wmorgan-sup at masanjin.net>


  parent reply	other threads:[~2009-08-16 21:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090815041446.GA1249@yoom.home.cworth.org>
2009-08-15 10:18 ` Igor Brkic
2009-08-15 14:35   ` Carl Worth
2009-08-16 21:22   ` William Morgan [this message]
2009-08-16 23:18     ` Igor Brkic
2009-08-15 11:03 ` Marc Weber
2009-08-15 14:41   ` Carl Worth
2009-08-16 21:38 ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1250456575-sup-4326@masanjin.net \
    --to=wmorgan-sup@masanjin.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox