From ed0942b6179a4c2a60897971ac0f17ddec075922 Mon Sep 17 00:00:00 2001 From: David Edmondson Date: Wed, 8 Feb 2012 08:02:15 +0000 Subject: [PATCH] [PATCH v8 4/8] emacs: Add a binding (t) to toggle the truncation of long lines. --- fc/5e141a9936fd0a9260249bc8f9ce69c408f6b1 | 78 +++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 fc/5e141a9936fd0a9260249bc8f9ce69c408f6b1 diff --git a/fc/5e141a9936fd0a9260249bc8f9ce69c408f6b1 b/fc/5e141a9936fd0a9260249bc8f9ce69c408f6b1 new file mode 100644 index 000000000..e9ad4298f --- /dev/null +++ b/fc/5e141a9936fd0a9260249bc8f9ce69c408f6b1 @@ -0,0 +1,78 @@ +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 8C2C4431FAF + for ; Wed, 8 Feb 2012 00:02:33 -0800 (PST) +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 aBcbwfvpY+MJ for ; + Wed, 8 Feb 2012 00:02:32 -0800 (PST) +Received: from mail-we0-f181.google.com (mail-we0-f181.google.com + [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id B6D1C431FB6 + for ; Wed, 8 Feb 2012 00:02:30 -0800 (PST) +Received: by mail-we0-f181.google.com with SMTP id p13so204855wer.26 + for ; Wed, 08 Feb 2012 00:02:30 -0800 (PST) +MIME-Version: 1.0 +Received: by 10.180.90.225 with SMTP id bz1mr24955296wib.5.1328688150430; + Wed, 08 Feb 2012 00:02:30 -0800 (PST) +Received: from hotblack-desiato.hh.sledj.net + (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) + by mx.google.com with ESMTPS id p10sm38183759wic.0.2012.02.08.00.02.27 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 08 Feb 2012 00:02:29 -0800 (PST) +Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) + id 4CEE5A3803; Wed, 8 Feb 2012 08:02:21 +0000 (GMT) +From: David Edmondson +To: notmuch@notmuchmail.org +Subject: [PATCH v8 4/8] emacs: Add a binding (t) to toggle the truncation of + long lines. +Date: Wed, 8 Feb 2012 08:02:15 +0000 +Message-Id: <1328688139-3865-7-git-send-email-dme@dme.org> +X-Mailer: git-send-email 1.7.8.3 +In-Reply-To: <1328688139-3865-1-git-send-email-dme@dme.org> +References: <1327486729-18052-1-git-send-email-dme@dme.org> + <1328688139-3865-1-git-send-email-dme@dme.org> +X-Gm-Message-State: + ALoCoQnlddpPSWol7d1V3OGEMBsh25OuIF8CUgSJ+y3eiVO6y5/e3J9OIaqWnFOQhQI/qud184ML +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, 08 Feb 2012 08:02:34 -0000 + +--- + emacs/notmuch-show.el | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el +index 8a792e9..6c79511 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -1134,6 +1134,7 @@ Refreshes the current view, observing changes in cryptographic preferences." + (define-key map "!" 'notmuch-show-toggle-elide-non-matching) + (define-key map "$" 'notmuch-show-toggle-process-crypto) + (define-key map "<" 'notmuch-show-toggle-thread-indentation) ++ (define-key map "t" 'toggle-truncate-lines) + map) + "Keymap for \"notmuch show\" buffers.") + (fset 'notmuch-show-mode-map notmuch-show-mode-map) +-- +1.7.8.3 + -- 2.26.2