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