Your message dated Sat, 31 May 2008 21:15:36 +1000
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#431471: mutt wraps headers and quoted lines
has caused the Debian Bug report #431471,
regarding mutt wraps headers and quoted lines
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
431471: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431471
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mutt
Version: 1.5.16-2
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The new version of mutt (1) wraps header lines in a not very bright
way and also (2) wraps quoted lines which is a no-no in my opinion
(and it's done wrong too).

I'm attaching screenshots to show what I mean.

Maybe this is a configuration problem on my side; FYI: I've not set
wrap/smart_wrap and friends.

Feel free to contact me for further information or doing some tests.

Cheers,
gregor

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental'), (500, 'testing'), (500, 
'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21.200706300057
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages mutt depends on:
ii  libc6                    2.5-11          GNU C Library: Shared libraries
ii  libgdbm3                 1.8.3-3         GNU dbm database routines (runtime
ii  libgnutls13              1.6.3-1         the GNU TLS library - runtime libr
ii  libidn11                 0.6.5-1         GNU libidn library, implementation
ii  libncursesw5             5.6-3           Shared libraries for terminal hand
ii  libsasl2-2               2.1.22.dfsg1-12 Authentication abstraction library

Versions of packages mutt recommends:
ii  exim4                         4.67-5     meta-package to ease Exim MTA (v4)
ii  exim4-daemon-light [mail-tran 4.67-5     lightweight Exim MTA (v4) daemon
ii  locales                       2.5-11     GNU C Library: National Language (
ii  mime-support                  3.39-1     MIME files 'mime.types' & 'mailcap

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGiV4qOzKYnQDzz+QRAj9CAJwKT17g8oVPJPxKd8sfYUi4ci6i3wCfSZBn
3HYDYj8ZwOBsPq0kCnKAmQE=
=pz22
-----END PGP SIGNATURE-----

<<attachment: quote.png>>

<<attachment: headers.png>>


--- End Message ---
--- Begin Message ---
found 431471 1.5.18-1
thanks

On Mon, May 26, 2008 at 11:11:44PM +0200, Christoph Berg wrote:
>I'll close the bug report - please reopen if you think there's issues
>left to resolve.

http://bugs.mutt.org/trac/ticket/2995

Upstream has this bug still open, see web page above.

I workaround this bug with the following patch, as suggested in
the upstream bug messages.

--- sendlib.c.orig      2008-01-30 15:26:53.000000000 +1100
+++ sendlib.c   2008-05-31 20:55:03.000000000 +1000
@@ -86,7 +86,7 @@ static void encode_quoted (FGETCONV * fc
   while ((c = fgetconv (fc)) != EOF)
   {
     /* Wrap the line if needed. */
-    if (linelen == 76 && ((istext && c != '\n') || !istext))
+    if (linelen == 200 && ((istext && c != '\n') || !istext))
     {
       /* If the last character is "quoted", then be sure to move all three
        * characters to the next line.  Otherwise, just move the last
@@ -333,7 +333,7 @@ int mutt_write_mime_header (BODY *a, FIL
 
       tmplen = mutt_strlen (buffer) + mutt_strlen (p->attribute) + 1;
 
-      if (len + tmplen + 2 > 76)
+      if (len + tmplen + 2 > 200)
       {
        fputs ("\n\t", f);
        len = tmplen + 8;
@@ -1574,7 +1574,7 @@ int mutt_write_one_header (FILE *fp, con
   int in_encoded_word = 0;
   
   if (wraplen <= 0)
-    wraplen = 76;
+    wraplen = 200;
   
   if (tag)
   {

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to