Re: Hi all
[notmuch-archives.git] / 9c / 3da76250d95ba9848122492356048d092f0a01
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 CA0B5431FBC\r
6         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 05:08:39 -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 1ZWQ5Wh+U1gw for <notmuch@notmuchmail.org>;\r
16         Wed, 25 Jan 2012 05:08:39 -0800 (PST)\r
17 Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com\r
18  [74.125.82.45])        (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
19  certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
20  2730A431FD2    for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 05:08:39 -0800\r
21  (PST)\r
22 Received: by wgbdt12 with SMTP id dt12so4766406wgb.2\r
23         for <notmuch@notmuchmail.org>; Wed, 25 Jan 2012 05:08:38 -0800 (PST)\r
24 MIME-Version: 1.0\r
25 Received: by 10.180.19.138 with SMTP id f10mr35509698wie.3.1327496918064;\r
26         Wed, 25 Jan 2012 05:08: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 bu13sm1318915wib.6.2012.01.25.05.08.35\r
30         (version=TLSv1/SSLv3 cipher=OTHER);\r
31         Wed, 25 Jan 2012 05:08:36 -0800 (PST)\r
32 Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000)\r
33         id 80B669FEEC; Wed, 25 Jan 2012 13:08:34 +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:08:32 +0000\r
38 Message-Id: <1327496913-4946-3-git-send-email-dme@dme.org>\r
39 X-Mailer: git-send-email 1.7.8.3\r
40 In-Reply-To: <1327496913-4946-1-git-send-email-dme@dme.org>\r
41 References: <1327496913-4946-1-git-send-email-dme@dme.org>\r
42 X-Gm-Message-State:\r
43  ALoCoQkhRvq/grOQNLDQ3/fyXg4YOwQ0lfWUydAtdGXE+OvS9z4yBExVKZZKahzoOMkh0CFrQxtQ\r
44 X-BeenThere: notmuch@notmuchmail.org\r
45 X-Mailman-Version: 2.1.13\r
46 Precedence: list\r
47 List-Id: "Use and development of the notmuch mail system."\r
48         <notmuch.notmuchmail.org>\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
52 List-Post: <mailto:notmuch@notmuchmail.org>\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
55         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
56 X-List-Received-Date: Wed, 25 Jan 2012 13:08:40 -0000\r
57 \r
58 `ps-print-buffer' notes that a buffer is unsaved unless\r
59 `buffer-modified-p' returns `nil', so ensure that it does.\r
60 ---\r
61  emacs/notmuch-print.el |    1 +\r
62  1 files changed, 1 insertions(+), 0 deletions(-)\r
63 \r
64 diff --git a/emacs/notmuch-print.el b/emacs/notmuch-print.el\r
65 index f96ccbe..83eb525 100644\r
66 --- a/emacs/notmuch-print.el\r
67 +++ b/emacs/notmuch-print.el\r
68 @@ -80,6 +80,7 @@ Optional OUTPUT allows passing a list of flags to muttprint."\r
69  \r
70  (defun notmuch-print-message (msg)\r
71    "Print a message using the user-selected mechanism."\r
72 +  (set-buffer-modified-p nil)\r
73    (funcall notmuch-print-mechanism msg))\r
74  \r
75  (provide 'notmuch-print)\r
76 -- \r
77 1.7.8.3\r
78 \r