From: David Edmondson Date: Mon, 30 Jan 2012 16:31:03 +0000 (+0000) Subject: [PATCH 4/5] emacs: Add a binding (>) to toggle the truncation of long lines. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3416a662f4a7f14629f505bff017b6284cf7bcc9;p=notmuch-archives.git [PATCH 4/5] emacs: Add a binding (>) to toggle the truncation of long lines. --- diff --git a/8b/2bf899cb7a04d86a9c53a415542d2f0c83f69e b/8b/2bf899cb7a04d86a9c53a415542d2f0c83f69e new file mode 100644 index 000000000..5265d7062 --- /dev/null +++ b/8b/2bf899cb7a04d86a9c53a415542d2f0c83f69e @@ -0,0 +1,75 @@ +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 F1257429E54 + for ; Mon, 30 Jan 2012 08:31:11 -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 4YaUe+gLgEa8 for ; + Mon, 30 Jan 2012 08:31:11 -0800 (PST) +Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com + [209.85.212.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 53DE2429E53 + for ; Mon, 30 Jan 2012 08:31:11 -0800 (PST) +Received: by wibhi8 with SMTP id hi8so3779325wib.26 + for ; Mon, 30 Jan 2012 08:31:10 -0800 (PST) +Received: by 10.180.81.66 with SMTP id y2mr28435644wix.20.1327941070147; + Mon, 30 Jan 2012 08:31:10 -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 ex2sm54050818wib.1.2012.01.30.08.31.07 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 30 Jan 2012 08:31:08 -0800 (PST) +Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) + id 171B59FF1E; Mon, 30 Jan 2012 16:31:06 +0000 (GMT) +From: David Edmondson +To: notmuch@notmuchmail.org +Subject: [PATCH 4/5] emacs: Add a binding (>) to toggle the truncation of long + lines. +Date: Mon, 30 Jan 2012 16:31:03 +0000 +Message-Id: <1327941064-20027-5-git-send-email-dme@dme.org> +X-Mailer: git-send-email 1.7.8.3 +In-Reply-To: <1327941064-20027-1-git-send-email-dme@dme.org> +References: <1327486729-18052-1-git-send-email-dme@dme.org> + <1327941064-20027-1-git-send-email-dme@dme.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: Mon, 30 Jan 2012 16:31:12 -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 a2c4daf..8b07adf 100644 +--- a/emacs/notmuch-show.el ++++ b/emacs/notmuch-show.el +@@ -1114,6 +1114,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 ">" 'toggle-truncate-lines) + map) + "Keymap for \"notmuch show\" buffers.") + (fset 'notmuch-show-mode-map notmuch-show-mode-map) +-- +1.7.8.3 +