Re: [PATCH] emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines
authorDaniel Schoepe <daniel@schoepe.org>
Wed, 18 Apr 2012 15:46:48 +0000 (17:46 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:46:34 +0000 (09:46 -0800)
07/32d2a7fd88fb4156d4f2878e64b525dafd6ce0 [new file with mode: 0644]

diff --git a/07/32d2a7fd88fb4156d4f2878e64b525dafd6ce0 b/07/32d2a7fd88fb4156d4f2878e64b525dafd6ce0
new file mode 100644 (file)
index 0000000..0d93329
--- /dev/null
@@ -0,0 +1,126 @@
+Return-Path: <daniel@schoepe.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 06D7E431FB6\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 08:47:11 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.8\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.8 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id X7THmUXthnbl for <notmuch@notmuchmail.org>;\r
+       Wed, 18 Apr 2012 08:47:10 -0700 (PDT)\r
+Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com\r
+ [74.125.82.45])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 4D99E431FAE   for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 08:47:10 -0700\r
+ (PDT)\r
+Received: by wgbdt14 with SMTP id dt14so6282321wgb.2\r
+       for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 08:47:07 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=schoepe.org; s=google;\r
+       h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+       :message-id:mime-version:content-type;\r
+       bh=w/ev8pMbcTPLXskero8OgizbZvx5+vLI5vz0EzQNVHI=;\r
+       b=BHm8skB7Rr2awN6Sn7cNwJwAANbt+ReQM/4iDtdq4drsb0Xxs5NALmBQiSCzTzOTPE\r
+       ggZef61m3oQXpHt2yas++7TIW0c/Sc7dsElPn62pdpq0RbJ57FJ6hMPqm3v7/11drh4F\r
+       LyyLO26wHiAY3eSTTuK8bWn43FS18AE1rp8rQ=\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+       :message-id:mime-version:content-type:x-gm-message-state;\r
+       bh=w/ev8pMbcTPLXskero8OgizbZvx5+vLI5vz0EzQNVHI=;\r
+       b=Fx6+I74s+MVe2GZ9LMAcGYvng4QnnJIBaPrcp4pRfEknMi4ruYX2i+fqYyu3Y4N5qO\r
+       ZqHVHhYoGoD8m8a/wH3AKfx4OAZD2zVsNi7IzhOoOtJZyOU39fT931Lzz6Aqw6gF0UHg\r
+       cFGcdNVer2thSv0GdZUpMmcL+Sq/lvRoTCW3CdbMb289IuYKuWwvdZRqxKPrF8tKuXMr\r
+       bs2lLkFTaQ0Telb9w4oeCf3MnV+wuc9lOZBXISybzhMsPK5TagAUSi4csZRiDjjkA62u\r
+       HEAVvU3neg6sirkPYKkwhAdmJ2/u1FFc95Rbppzvz7QmeWBw6sQ94tEvSxMfXef2wb8F\r
+       6xQw==\r
+Received: by 10.216.139.204 with SMTP id c54mr1716623wej.103.1334764026495;\r
+       Wed, 18 Apr 2012 08:47:06 -0700 (PDT)\r
+Received: from localhost (dslb-178-004-025-123.pools.arcor-ip.net.\r
+       [178.4.25.123])\r
+       by mx.google.com with ESMTPS id h8sm56559670wix.4.2012.04.18.08.47.04\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 18 Apr 2012 08:47:05 -0700 (PDT)\r
+From: Daniel Schoepe <daniel@schoepe.org>\r
+To: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+Subject: Re: [PATCH] emacs: Add configurable wrapping width for\r
+       notmuch-wash-wrap-long-lines\r
+In-Reply-To:\r
+ <CAMoJFUs_PcPxZD6eRw0S_SNwweKj1+yDCLCcNiFHWA+NiZEwYw@mail.gmail.com>\r
+References: <1329503684-31289-1-git-send-email-daniel@schoepe.org>\r
+       <CAMoJFUs_PcPxZD6eRw0S_SNwweKj1+yDCLCcNiFHWA+NiZEwYw@mail.gmail.com>\r
+User-Agent: Notmuch/0.12+112~gcb5e016 (http://notmuchmail.org) Emacs/24.1.50.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 18 Apr 2012 17:46:48 +0200\r
+Message-ID: <87bompjb4n.fsf@schoepe.localhost>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-Gm-Message-State:\r
+ ALoCoQmc0UsuiV45dSyFeY8642lJny2vPhS0sTJTNX6njALDb/tEbFm+Q+blcv4gIvhtyPgw2u1b\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 18 Apr 2012 15:47:11 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Hi Adam,\r
+\r
+On Wed, 18.04.2012 17:30, Adam Wolfe Gordon wrote:\r
+>> +(defvar notmuch-wash-wrap-lines-length nil\r
+>> + =C2=A0"Wrap line after at most this many characters.\r
+>> +\r
+>> +If this is nil, lines in messages will be wrapped to fit in the\r
+>> +current window. If this is a number, lines will be wrapped after\r
+>> +this many characters or at the window width (whichever one is\r
+>> +lower).")\r
+>\r
+> This should probably be a defcustom, in the notmuch-show section.\r
+\r
+the reason for not making this a defcustom was that all of the other\r
+functions in notmuch-wash.el use defvar for customization too, so\r
+perhaps they should all be defcustom'd in a separate patch?\r
+\r
+Cheers,\r
+Daniel\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBAgAGBQJPjuHoAAoJEIaTAtce+Z+JDYgP/1EjRylxAAZ0x7FYaXIhq01v\r
+MzbhF/5/ZEmrdLffWf+Hv6FNhaKCm9XGSKYmW1gx4ZSFJpjLRvjuZ38UUcLSxYa2\r
+ow18y0LyafyPtCpGv2QN6iO74VYVAQwsD8HrZaWLeJySGRb8ToLs1AXxQ7neBdhr\r
+coj8b2AmNLLkPsDuYcaFnPNeqsXlc+ZWMhMlxxomvss3sxT00UgvFPGZoFFY40wT\r
+VzfuEiky+pd7SJgDxOw3eVTHlxwML4+EMSkMaqcpx3bqan1Dp4X0JtT84157IcRe\r
+r1U9padCYy6sN0v6SX/EP9WJmBfwyByE/FxeRZHnOrLPS8+lfPmguO+GbcG2fMKU\r
+NZikEKY3FWnfkfSpeCXMXhywi4pBHHRdQb8pnkHz1ieY7gtXu4x4Rb6Gb8yooQEp\r
+fxMqubsL1bebJFD1O44b3+s22yRWE1nm5VtPaEF+VSLOz0jTFgER4caea8Flixcm\r
+9ozPFSMK0NZ6u20buIU+IGj3nUVwg33mlNXFz2nc191hyTqbahHZhHv2njDsIuGs\r
+ZMlwU5mqvkq3ZK7M5AVctIAvgfvvCor3pSniW49J/lM+ZhO1DkyIe9zstwPDX+Bw\r
+Yhkd+aQXKXeu0AcQiV9L8oHSbWz+bI8TUdoZTr8HLsKoMG0/+TIgyHUKwN6F2dIW\r
+SvBPyhloHVgG/i7MGnRF\r
+=iE30\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r