Discussions of development and use of the Sup email client
 help / color / mirror / Atom feed
From: Ruthard Baudach <ruthard.baudach@web.de>
To: supmua <supmua@googlegroups.com>
Subject: Re: [sup] Bug in mbox.rb?
Date: Fri, 21 Nov 2014 20:29:17 +0100	[thread overview]
Message-ID: <1416597278-sup-4251@ruthard-lappi> (raw)
In-Reply-To: <1416505196-astroid-8-i6copfrsyz-3226@strange>

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

>== Auszüge aus der Nachricht von  Gaute Hope vom 2014-11-20 18:48:
> 
> I am not sure this is a problem after all, as stated in qmails 'How a
> message is read', message reading is stopped either at the next From
> line or EOF.
> 
> The blank line does not play a huge role, but it is in effect added to
> all messages except the last one (which is terminated by EOF anyway).

You're right, as long as message reading is stopped by /From email
ascdate\/ rather than /\nFrom email ascdate \n/.

> 
> You could do a f.puts as you suggest below in stead, but it would not
> make much of a difference as far as I can see.
> 
> I think the mbox is valid as it is.
Well, as there is no real authoritative specification, it is at least a
valid sup mbox, isn't it? 
> 
> Now; mbox.rb does escape From lines in the body, but I cannot see how
> they are un-escaped when reading. Does RMail::Parser.read unescape
> these? Also, does mbox.rb skip the extra blank line or do messages get
> an extra blank line after being re-read? probably not critical, but
> tests should be run on this..
I used mbox for years, and never encountered any problems -- well,
that's not true. sup sometimes had trouble to show messages several
years old, they were still in the mbox and I can view them now after I
converted the mbox to maildir (using python's mbox and maildir modules,
I'm afraid). But that should be another issue, and I don't see any way
nor need nor resources to address it.

Let's close this issue.

Regards, Ruthard

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

  reply	other threads:[~2014-11-22 20:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 23:08 Ruthard Baudach
2014-11-19  9:03 ` [sup] " Gaute Hope
2014-11-19 16:53   ` Ruthard Baudach
2014-11-19 20:54     ` Ruthard Baudach
2014-11-20 17:48     ` Gaute Hope
2014-11-21 19:29       ` Ruthard Baudach [this message]
2014-11-23  9:58         ` Gaute Hope

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=1416597278-sup-4251@ruthard-lappi \
    --to=ruthard.baudach@web.de \
    --cc=supmua@googlegroups.com \
    /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