unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
* [PATCH 0/3] view: wrap long To:/Cc: lists
@ 2018-04-23  4:16 Eric Wong
  2018-04-23  4:16 ` [PATCH 1/3] view: untangle loop when showing message headers Eric Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Wong @ 2018-04-23  4:16 UTC (permalink / raw)
  To: meta

While browsing my private LKML archives, I noticed
some Cc: lists were very long and difficult to read
(and no fault of the sending MUA or sender).

Unfortunately, Email::MIME/Email::Simple does not expose the raw
header (with original line breaks) through a public interface,
so wrapping needs to be performed ourselves.

I think this wrapping implementation is more clean than what my
MUA (mutt) does, even, as it won't split across names from
emails (unless the combination is too long).

A couple of cleanups along the way, too.

Eric Wong (3):
  view: untangle loop when showing message headers
  view: wrap To: and Cc: headers in HTML display
  view: drop redundant References: display code

 lib/PublicInbox/View.pm | 119 +++++++++++++++++++++++++---------------
 t/view.t                |  21 +++++++
 2 files changed, 96 insertions(+), 44 deletions(-)

-- 
EW

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-23  4:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-23  4:16 [PATCH 0/3] view: wrap long To:/Cc: lists Eric Wong
2018-04-23  4:16 ` [PATCH 1/3] view: untangle loop when showing message headers Eric Wong
2018-04-23  4:16 ` [PATCH 2/3] view: wrap To: and Cc: headers in HTML display Eric Wong
2018-04-23  4:16 ` [PATCH 3/3] view: drop redundant References: display code Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).