Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / f3 / b86f2dd1ba290714cf65d21aa46e59af6b9b91
1 Return-Path: <tomi.ollila@iki.fi>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5  by arlo.cworth.org (Postfix) with ESMTP id 4AE016DE0B27\r
6  for <notmuch@notmuchmail.org>; Thu,  7 Jan 2016 13:58:28 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 1.165\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.165 tagged_above=-999 required=5 tests=[AWL=-0.487,\r
12   FS_WITH_SMALL=1, SPF_NEUTRAL=0.652] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id uACrP8UB2uIr for <notmuch@notmuchmail.org>;\r
16  Thu,  7 Jan 2016 13:58:25 -0800 (PST)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18  by arlo.cworth.org (Postfix) with ESMTP id 883E56DE0B26\r
19  for <notmuch@notmuchmail.org>; Thu,  7 Jan 2016 13:58:25 -0800 (PST)\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
21  by guru.guru-group.fi (Postfix) with ESMTP id 6BA7F1000B3;\r
22  Thu,  7 Jan 2016 23:58:45 +0200 (EET)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: "W. Trevor King" <wking@tremily.us>, notmuch@notmuchmail.org\r
25 Subject: Re: [PATCH] nmbug-status: Style headers with smaller fonts\r
26 In-Reply-To:\r
27  <b1a0c49671f26d37a6925bb46a249c8edba99963.1452174532.git.wking@tremily.us>\r
28 References: <87k2nl8r0k.fsf@zancas.localnet>\r
29  <b1a0c49671f26d37a6925bb46a249c8edba99963.1452174532.git.wking@tremily.us>\r
30 User-Agent: Notmuch/0.21+32~g73439f8 (http://notmuchmail.org) Emacs/24.3.1\r
31  (x86_64-unknown-linux-gnu)\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
33  $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
34  !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
35 Date: Thu, 07 Jan 2016 23:58:45 +0200\r
36 Message-ID: <m237u9jbl6.fsf@guru.guru-group.fi>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.20\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43  <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Thu, 07 Jan 2016 21:58:28 -0000\r
52 \r
53 On Thu, Jan 07 2016, "W. Trevor King" <wking@tremily.us> wrote:\r
54 \r
55 > We only use h1 through h3, and David prefers smaller headers [1], so\r
56 > shift over to the font sizes usually used for h2 through h4 [2,3,4].\r
57 > I haven't bothered with the W3C's default margins, since a bit of\r
58 > extra whitespace doesn't seem like a big deal.\r
59 >\r
60 > [1]: id:87k2nl8r0k.fsf@zancas.localnet\r
61 >      http://article.gmane.org/gmane.mail.notmuch.general/21595\r
62 > [2]: http://www.w3.org/TR/html-markup/h2.html\r
63 > [3]: http://www.w3.org/TR/html-markup/h3.html\r
64 > [4]: http://www.w3.org/TR/html-markup/h4.html\r
65 > ---\r
66 > On Thu, Jan 07, 2016 at 09:20:59AM -0400, David Bremner wrote:\r
67 >> W. Trevor King writes:\r
68 >> > We can always add additional CSS if the default h1 formatting is\r
69 >> > too intense.\r
70 >>\r
71 >> I'm pretty sure it will be, at least for me, since that's the reason\r
72 >> I did it this way in the first place. I'm (obviously) not a web\r
73 >> person, how about providing some CSS to roughly duplicate the\r
74 >> current visuals?\r
75 >\r
76 > Here you go :).\r
77 \r
78 Looks good, matches the [2], [3], [4] (well enough, spacing differences\r
79 are so small) and applies.\r
80 \r
81 Tomi\r
82 \r
83 >\r
84 > Cheers,\r
85 > Trevor\r
86 >\r
87 >  devel/nmbug/nmbug-status | 9 +++++++++\r
88 >  1 file changed, 9 insertions(+)\r
89 >\r
90 > diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status\r
91 > index f33f660..0382919 100755\r
92 > --- a/devel/nmbug/nmbug-status\r
93 > +++ b/devel/nmbug/nmbug-status\r
94 > @@ -327,6 +327,15 @@ header_template = config['meta'].get('header', '''<!DOCTYPE html>\r
95 >    <meta http-equiv="Content-Type" content="text/html; charset={encoding}" />\r
96 >    <title>{title}</title>\r
97 >    <style media="screen" type="text/css">\r
98 > +    h1 {{\r
99 > +      font-size: 1.5em;\r
100 > +    }}\r
101 > +    h2 {{\r
102 > +      font-size: 1.17em;\r
103 > +    }}\r
104 > +    h3 {{\r
105 > +      font-size: 100%;\r
106 > +    }}\r
107 >      table {{\r
108 >        border-spacing: 0;\r
109 >      }}\r
110 > -- \r
111 > 2.1.0.60.g85f0837\r
112 >\r
113 > _______________________________________________\r
114 > notmuch mailing list\r
115 > notmuch@notmuchmail.org\r
116 > https://notmuchmail.org/mailman/listinfo/notmuch\r