Re: thread merge/split proposal
[notmuch-archives.git] / 42 / 5effb1a7bd45ec4ed09518608eaa4df6cab536
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id B108D431E84\r
6         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 05:48:40 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id n4Yb4v+tUfZt for <notmuch@notmuchmail.org>;\r
16         Wed, 25 Jan 2012 05:48:40 -0800 (PST)\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 31D2B431FBC\r
21         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 05:48:40 -0800 (PST)\r
22 Received: by werb10 with SMTP id b10so4429801wer.26\r
23         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 05:48:39 -0800 (PST)\r
24 MIME-Version: 1.0\r
25 Received: by 10.216.131.210 with SMTP id m60mr4806210wei.47.1327499318920;\r
26         Wed, 25 Jan 2012 05:48:38 -0800 (PST)\r
27 Received: from hotblack-desiato.hh.sledj.net\r
28         (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25])\r
29         by mx.google.com with ESMTPS id n3sm1626083wiz.9.2012.01.25.05.48.37\r
30         (version=TLSv1/SSLv3 cipher=OTHER);\r
31         Wed, 25 Jan 2012 05:48:38 -0800 (PST)\r
32 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
33         id 1E5B89FEEC; Wed, 25 Jan 2012 13:48:36 +0000 (GMT)\r
34 From: David Edmondson <dme@dme.org>\r
35 To: notmuch@notmuchmail.org\r
36 Subject: [PATCH 2/3] emacs: Don't mark messages as "unsaved" when printing.\r
37 Date: Wed, 25 Jan 2012 13:48:33 +0000\r
38 Message-Id: <1327499314-7887-3-git-send-email-dme@dme.org>\r
39 X-Mailer: git-send-email 1.7.8.3\r
40 In-Reply-To: <1327499314-7887-1-git-send-email-dme@dme.org>\r
41 References: <1327496913-4946-1-git-send-email-dme@dme.org>\r
42         <1327499314-7887-1-git-send-email-dme@dme.org>\r
43 X-Gm-Message-State:\r
44  ALoCoQnfn2JISU3iyRnAhPdo39+7c8xmGGk95zStW/HAQpTA0ireifHkT/lj+QXcCDM7CVgRh/6o\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Wed, 25 Jan 2012 13:48:40 -0000\r
58 \r
59 `ps-print-buffer' notes that a buffer is unsaved unless\r
60 `buffer-modified-p' returns `nil', so ensure that it does.\r
61 ---\r
62  emacs/notmuch-print.el |    1 +\r
63  1 files changed, 1 insertions(+), 0 deletions(-)\r
64 \r
65 diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el\r
66 index f96ccbe..83eb525 100644\r
67 --- a/emacs/notmuch-print.el\r
68 +++ b/emacs/notmuch-print.el\r
69 @@ -80,6 +80,7 @@ Optional OUTPUT allows passing a list of flags to muttprint."\r
70  \r
71  (defun notmuch-print-message (msg)\r
72    "Print a message using the user-selected mechanism."\r
73 +  (set-buffer-modified-p nil)\r
74    (funcall notmuch-print-mechanism msg))\r
75  \r
76  (provide 'notmuch-print)\r
77 -- \r
78 1.7.8.3\r
79 \r