From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CFC21431FBC for ; Sun, 13 Dec 2009 08:07:38 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 g8+JCZ1jf0Hf for ; Sun, 13 Dec 2009 08:07:38 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by olra.theworths.org (Postfix) with ESMTP id 31A68431FAE for ; Sun, 13 Dec 2009 08:07:38 -0800 (PST) Received-SPF: pass (mxus1: domain of kanru.info designates 67.220.217.187 as permitted sender) client-ip=67.220.217.187; envelope-from=kanru@kanru.info; helo=cp20.secserverpros.com; Received: from cp20.secserverpros.com (cp20.secserverpros.com [67.220.217.187]) by mx.perfora.net (node=mxus1) with ESMTP (Nemesis) id 0LaWV5-1NloU21hrr-00lil2 for notmuch@notmuchmail.org; Sun, 13 Dec 2009 11:07:37 -0500 Received: from 61-228-164-59.dynamic.hinet.net ([61.228.164.59] helo=kanru.info) by cp20.secserverpros.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NJqyt-0006Dt-1X for notmuch@notmuchmail.org; Sun, 13 Dec 2009 16:07:35 +0000 Received: from kanru (uid 1000) (envelope-from kanru@kanru.info) id 2382 by kanru.info (DragonFly Mail Agent) Mon, 14 Dec 2009 00:07:01 +0800 From: Kan-Ru Chen To: notmuch@notmuchmail.org Date: Mon, 14 Dec 2009 00:06:53 +0800 Message-Id: <1260720413-15092-1-git-send-email-kanru@kanru.info> X-Mailer: git-send-email 1.6.5.5 X-ACL-Warn: { X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp20.secserverpros.com X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kanru.info X-Source: X-Source-Args: X-Source-Dir: Subject: [PATCH] emacs: Don't eat last newline character of citations X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sun, 13 Dec 2009 16:07:39 -0000 In case of a citation following immediately new contents. When the citation was collapsed: [1-line citation. Click/Enter to show.] Lorem ipsum dolor sit amet, consectetur adipisicin When it was expanded: [10-line citation. Click/Enter to show.] > Lorem ipsum dolor sit amet, consectetur adipisicin The indentation was wrong. Signed-off-by: Kan-Ru Chen --- notmuch.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/notmuch.el b/notmuch.el index 97914f2..aa6bc60 100644 --- a/notmuch.el +++ b/notmuch.el @@ -606,6 +606,7 @@ which this thread was originally shown." (while (looking-at citation) (forward-line) (move-to-column depth)) + (end-of-line 0) (let ((overlay (make-overlay beg-sub (point))) (invis-spec (make-symbol "notmuch-citation-region"))) (add-to-invisibility-spec invis-spec) -- 1.6.5.5