Bug#542344: mutt mangles display of time in From line

2010-02-06 Thread Antonio Radici
I did some investigation last week, write_one_header() is the cause of this, the
header gets folded at the : mark using strchr, that function needs to be
clever, I will think of a patch ASAP.

Cheers
Antonio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#542344: mutt mangles display of time in From line

2009-09-08 Thread Antonio Radici
tag 542344 +confirmed upstream
forwarded 542344 http://bugs.mutt.org/3331
thanks

Hi Craig,
I had a look at the code and finding the place where this happens is not so
straightforward, so I opened a bug upstream (see the forwarded link).

I also ruled out ncurses as root case because the bug also happens on lenny 
with a backport of 1.5.20-2

Thanks for your bug report, usually upstream is pretty responsive so hopefully
the fix will make one of our new releases

Cheers
Antonio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#542344: mutt mangles display of time in From line

2009-09-07 Thread Antonio Radici
On Mon, Sep 07, 2009 at 12:14:21PM +1000, Craig Sanders wrote:
 On Sun, Sep 06, 2009 at 07:09:27PM +, Antonio Radici wrote:
  can you please send us a mail or a mailbox through which we can
  reproduce this bug with a standard out-of-the-box version of mutt
  without any muttrc?
 
 ummm, no.  what a bizarre and slightly disturbing request.
 
 1. i'm not sending anyone a copy of any of my mail, and certainly not
 to a public bug tracking archive.

Hi Craig,
I'm sorry if the request is disturbing to you but the reproduciblity is the
first thing we ask when it comes to bug reporting if we are not able to
reproduce the bug ourselves. Obviously I was looking for a sample and dummy
email here, not your most private mail or your secret mailbox. There are many
program (for example swaks) that can be used to generate a dummy email, I think
that there are better ways to sneak into your mailbox than getting one single
mail from your bug request :-)

 2. it's got nothing to do with any actual message, the problem is in
 mutt itself.
 
 i just confirmed for myself that it's not my .muttrc either.  I ran
 'mutt -n -F /dev/null' and the time displayed was still mangled (first
 digit of the minutes field is displayed as a space) in the From  line.

I wasn't able to reproduce this because I was using my .muttrc, by trying you
command (mutt -n -F /dev/null) I'm able to reproduce it constantly, I will try
to work out a patch tonight and send it to the mutt devs, hopefully this will be
fixed with the next release.

I'm sorry if my response sounded 'weird' but it's still better than no response
at all :-)

Cheers
Antonio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#542344: mutt mangles display of time in From line

2009-09-07 Thread Craig Sanders
On Mon, Sep 07, 2009 at 08:48:52AM +, Antonio Radici wrote:
 I'm sorry if the request is disturbing to you but the reproduciblity
 is the first thing we ask when it comes to bug reporting if we are not
 able to reproduce the bug ourselves. Obviously I was looking for a
 sample and dummy email here, not your most private mail or your secret
 mailbox. There are many program (for example swaks) that can be used
 to generate a dummy email, I think that there are better ways to sneak
 into your mailbox than getting one single mail from your bug request
 :-)

yeah, i know all that. i'm not even particularly disturbed. as you say
i could attach a dummy message or even a copy of your msg to me (it's
already in the archive). it just seems like the sort of question that
shouldn't be asked because it encourages poor security on the part of
the user...like tech staff should never, ever, under any circumstances
ask for a user's password. not in person, and certainly not in email -
that just encourages them to respond to phishing. and clued-up users
should tell off their techs if they ever do ask a question like that :)

 I wasn't able to reproduce this because I was using my .muttrc, by
 trying you command (mutt -n -F /dev/null) I'm able to reproduce it
 constantly, I will try to work out a patch tonight and send it to the
 mutt devs, hopefully this will be fixed with the next release.

good.  so at least we know now that it's not just my system.

so have you spotted what's in your .muttrc that changes the time display?

 I'm sorry if my response sounded 'weird' but it's still better than no
 response at all :-)

no problem. my comment probably sounded stronger than i felt about it.
it just seemed a weird question.

craig

-- 
craig sanders c...@taz.net.au



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#542344: mutt mangles display of time in From line

2009-09-06 Thread Antonio Radici
tag 542344 +moreinfo
thanks

Hi,
can you please send us a mail or a mailbox through which we can reproduce this
bug with a standard out-of-the-box version of mutt without any muttrc?

Cheers
Antonio



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#542344: mutt mangles display of time in From line

2009-09-06 Thread Craig Sanders
On Sun, Sep 06, 2009 at 07:09:27PM +, Antonio Radici wrote:
 can you please send us a mail or a mailbox through which we can
 reproduce this bug with a standard out-of-the-box version of mutt
 without any muttrc?

ummm, no.  what a bizarre and slightly disturbing request.

1. i'm not sending anyone a copy of any of my mail, and certainly not
to a public bug tracking archive.

2. it's got nothing to do with any actual message, the problem is in
mutt itself.

i just confirmed for myself that it's not my .muttrc either.  I ran
'mutt -n -F /dev/null' and the time displayed was still mangled (first
digit of the minutes field is displayed as a space) in the From  line.

you can reproduce the problem with any message in any mbox or maildir
file. the minutes field in the From  line is correct in the actual
file, but is displayed incorrectly by mutt.

if you want another sample, then your message to me has the following
From  line in /var/mail/cas:

 From anto...@dyne.org  Mon Sep  7 05:15:53 2009

but is displayed in mutt like this:

 From anto...@dyne.org  Mon Sep  7 05: 5:53 2009

note the difference in the time displayed by mutt - 05:15:53 vs 05: 5:53

craig

-- 
craig sanders c...@taz.net.au



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#542344: mutt mangles display of time in From line

2009-08-19 Thread Craig Sanders
Package: mutt
Version: 1.5.20-2
Severity: minor

I've been noticing this off-and-on for several months now, don't
remember when it first started.

when displaying the date  time in the From  line, Mutt sometimes
displays a space as the first character of the minutes field instead of
the digit to be expected.

at first i thought it was only doing it when that first digit should
have been 0 (perhaps due to something like the printf format not being
zero-padded - %2i rather than %02i) but, as the example below shows, it
can happen with non-zero digits too.

actual header in /var/mail/cas:

From x...@xxx.xxx.xxx  Wed Aug 19 15:44:12 2009

header as displayed by mutt:

From x...@xxx.xxx.xxx  Wed Aug 19 15: 4:12 2009



craig

-- 
craig sanders c...@taz.net.au



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org