[mew-int 3107] Re: mew-summary-toggle-header-veil does nothing

Christophe TROESTLER <[email protected]> Thu, 2 Aug 2012 01:18:33 +0200
Newsgroups gmane.mail.mew.general
Organization Universite de Mons (http://math.umons.ac.be/an/)
Message-ID <20120802.011833.1671292464244351989.Christophe.Troestler@umons.ac.be>
On Sun, 15 Jul 2012 21:00:13 +0200, Christophe TROESTLER wrote:
> 
> On the attached message, mew-summary-toggle-header-veil (z v) does
> nothing.  Is it a bug or did I do something wrong?  And, if the
> latter, could Mew tell me or automatically correct the problem?

I have investigated the problem a bit more and actually the cause is
not mew-summary-toggle-header-veil ― which functions well.  The "To:"
header has the form

To: Bouazza Nassim <[email protected]>, Cipolla Alessandra
	<[email protected]>, Dethise Dorian
	<[email protected]>, [email protected],
	Goulard Aline <[email protected]>, Jottrand Blaise
	<[email protected]>, Pirenne Pauline
	<[email protected]>, Simons Charline
	<[email protected]>, Wautelet Benoit
	<[email protected]>, Wyckhuys Adrien
	<[email protected]>, Zaoui Abdenasser
	<[email protected]>, Dawant Samuel
	<[email protected]>, 
	<[email protected]>, Evrard Laurent
	<[email protected]>, Gamrath Sebastien
	<[email protected]>, Helenus Angelo
	<[email protected]>, Iovine Nadege
	<[email protected]>, Lanssens Benjamin
	<[email protected]>, Mercier Morgan
	<[email protected]>, Piette Antoine
	<[email protected]>, Blondiau Laurent
	<[email protected]>

(the message was prepared with mew, each address was originally on a
single line) and, after running 

  (mew-header-decode-region "To:" beg end)

it becomes

To: Bouazza Nassim <[email protected]>, Cipolla Alessandra <[email protected]>, Dethise Dorian <[email protected]>, [email protected],
	Goulard Aline <[email protected]>, Jottrand Blaise <[email protected]>, Pirenne Pauline <[email protected]>, Simons Charline <[email protected]>, Wautelet Benoit <[email protected]>, Wyckhuys Adrien <[email protected]>, Zaoui Abdenasser <[email protected]>, Dawant Samuel <[email protected]>,
	<[email protected]>, Evrard Laurent <[email protected]>, Gamrath Sebastien <[email protected]>, Helenus Angelo <[email protected]>, Iovine Nadege <[email protected]>, Lanssens Benjamin <[email protected]>, Mercier Morgan <[email protected]>, Piette Antoine <[email protected]>, Blondiau Laurent <[email protected]>

(the new lines being created iff the address starts the line).  The
problem is that this is composed of long lines of addresses and
mew-summary-toggle-header-veil counts lines and not addresses.  Since
this is difficult to read anyway, I believe addresses lines (To:,
Cc:,...) should be "reorganized" so that lines contain no more
addresses than 78 chars can display (unless the address itself is too
long).

Since mew-summary-toggle-header-veil makes *lines* invisible, I was
under the impression that it had no effect (the invisible lines were
below the portion of the buffer that was displayed).

What is the best way to deal with this?

Best,
C.