From: Jani Nikula Date: Mon, 30 Jan 2012 17:33:10 +0000 (+0200) Subject: Re: [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=96c83e1d6467c0b06b445f4dd43355f4c6ba8a85;p=notmuch-archives.git Re: [PATCH 4/5] emacs: Add a binding (>) to toggle the truncation of long lines. --- diff --git a/08/dc66c45093a29fb994520fdd64eb9727381abb b/08/dc66c45093a29fb994520fdd64eb9727381abb new file mode 100644 index 000000000..fac6938b5 --- /dev/null +++ b/08/dc66c45093a29fb994520fdd64eb9727381abb @@ -0,0 +1,135 @@ +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 89D95431E64 + for ; Mon, 30 Jan 2012 09:33:12 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[HTML_MESSAGE=0.001, 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 qVKy0uDQ5s4k for ; + Mon, 30 Jan 2012 09:33:12 -0800 (PST) +Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com + [209.85.210.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id CEB0E431FBC + for ; Mon, 30 Jan 2012 09:33:11 -0800 (PST) +Received: by dadv6 with SMTP id v6so4786760dad.26 + for ; Mon, 30 Jan 2012 09:33:11 -0800 (PST) +MIME-Version: 1.0 +Received: by 10.68.235.7 with SMTP id ui7mr17902118pbc.93.1327944790929; Mon, + 30 Jan 2012 09:33:10 -0800 (PST) +Received: by 10.68.236.137 with HTTP; Mon, 30 Jan 2012 09:33:10 -0800 (PST) +Received: by 10.68.236.137 with HTTP; Mon, 30 Jan 2012 09:33:10 -0800 (PST) +In-Reply-To: <1327941064-20027-5-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> + <1327941064-20027-5-git-send-email-dme@dme.org> +Date: Mon, 30 Jan 2012 19:33:10 +0200 +Message-ID: + +Subject: Re: [PATCH 4/5] emacs: Add a binding (>) to toggle the truncation of + long lines. +From: Jani Nikula +To: David Edmondson +Content-Type: multipart/alternative; boundary=e89a8ff245498b70a004b7c23dc3 +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: Mon, 30 Jan 2012 17:33:12 -0000 + +--e89a8ff245498b70a004b7c23dc3 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +On Jan 30, 2012 6:31 PM, "David Edmondson" wrote: +> +> --- +> 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) + +Okay, this is bikeshedding, but we have =C2=A6 to pipe a message - wouldn't= + it +be appropriate to reserve > for saving a message to file? + +> map) +> "Keymap for \"notmuch show\" buffers.") +> (fset 'notmuch-show-mode-map notmuch-show-mode-map) +> -- +> 1.7.8.3 +> +> _______________________________________________ +> notmuch mailing list +> notmuch@notmuchmail.org +> http://notmuchmail.org/mailman/listinfo/notmuch + +--e89a8ff245498b70a004b7c23dc3 +Content-Type: text/html; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +


+On Jan 30, 2012 6:31 PM, "David Edmondson" <dme@dme.org> wrote:
+>
+> ---
+> =C2=A0emacs/notmuch-show.el | =C2=A0 =C2=A01 +
+> =C2=A01 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."
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0(define-key map "!" 'notmuch-= +show-toggle-elide-non-matching)
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0(define-key map "$" 'notmuch-= +show-toggle-process-crypto)
+> =C2=A0 =C2=A0 =C2=A0 =C2=A0(define-key map "<" 'notmu= +ch-show-toggle-thread-indentation)
+> + =C2=A0 =C2=A0 =C2=A0 (define-key map ">" 'toggle-tr= +uncate-lines)

+

Okay, this is bikeshedding, but we have =C2=A6 to pipe a message - would= +n't it be appropriate to reserve > for saving a message to file?

+

> =C2=A0 =C2=A0 =C2=A0 =C2=A0map)
+> =C2=A0 =C2=A0 =C2=A0 "Keymap for \"notmuch show\" buffe= +rs.")
+> =C2=A0(fset 'notmuch-show-mode-map notmuch-show-mode-map)
+> --
+> 1.7.8.3
+>
+> _______________________________________________
+> notmuch mailing list
+> notmuch@notmuchmail.org= +
+> http://not= +muchmail.org/mailman/listinfo/notmuch
+

+ +--e89a8ff245498b70a004b7c23dc3--