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 5F33E431FB6 for ; Wed, 18 Apr 2012 08:30:45 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[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 nkq+RGtI0--M for ; Wed, 18 Apr 2012 08:30:41 -0700 (PDT) Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 256FC431FAE for ; Wed, 18 Apr 2012 08:30:40 -0700 (PDT) Received: by lahc1 with SMTP id c1so5937014lah.26 for ; Wed, 18 Apr 2012 08:30:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=R1MKVRZt11IF9Kj/picOBfLaK0XTAOsGYHlXvB1hCl0=; b=M4OpFCLR2IqW9ehcEi7Yxcmm9lBsjSwFSNsu7B03+5phiSah1uPOZPDYQLiAkf7tp+ 6bJf0sQ/5N3H2I9T8cHpyFP2DE29Ik6aDn32rZ79CBzeA0dprM3ZU8Xn4EbibutKsHf6 RL0/6enitsbflkDa1N7O9CjYhOt1kHV3DLt7Hg9Ncg0T/ZKk0i4YyXfZBEyuqMKtiS1W QUIms7P25rg4HFVdZFyoj6R2nhwGij6VKjKSiW9k+rUFw170zhYRIuB9AdS5mIWrJe4c f+2jiC+f1q4sLi7cezXMjt9URwK2GDJsOYxdyRI400pYBa8eIyksmviGHmSfir/WodXY jiSA== MIME-Version: 1.0 Received: by 10.152.123.229 with SMTP id md5mr2531350lab.34.1334763039241; Wed, 18 Apr 2012 08:30:39 -0700 (PDT) Sender: awg@xvx.ca Received: by 10.112.23.39 with HTTP; Wed, 18 Apr 2012 08:30:39 -0700 (PDT) X-Originating-IP: [128.221.197.57] In-Reply-To: <1329503684-31289-1-git-send-email-daniel@schoepe.org> References: <1329503684-31289-1-git-send-email-daniel@schoepe.org> Date: Wed, 18 Apr 2012 09:30:39 -0600 X-Google-Sender-Auth: y6hmR9g9BEV_SZo5eG9Ybzv6oLM Message-ID: Subject: Re: [PATCH] emacs: Add configurable wrapping width for notmuch-wash-wrap-long-lines From: Adam Wolfe Gordon To: Daniel Schoepe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmICSx2rYMUWFU331MZ+Pw/LJfRErncCI7oYVuMRcAwsald3pSA0mJlCQwUpz6kkCf6kjdS 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:30:45 -0000 Hi Daniel, On Fri, Feb 17, 2012 at 11:34, Daniel Schoepe wrote: > This introduces a variable to control after how many characters a line > is wrapped by notmuch-wash-wrap-long-lines (still wrapping at the > window width if it is lower). I really like this idea, and I'm using this patch now. I've been missing this mechanism in notmuch. > +(defvar notmuch-wash-wrap-lines-length nil > + =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. Otherwise, LGTM. -- Adam