1 Return-Path: <schnouki@schnouki.net>
\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 95ED9429E21
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 09:48:51 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"
\r
12 X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id KkRkQr+Z4Zqy for <notmuch@notmuchmail.org>;
\r
18 Mon, 3 Oct 2011 09:48:50 -0700 (PDT)
\r
19 Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])
\r
20 by olra.theworths.org (Postfix) with ESMTP id 11B98429E27
\r
21 for <notmuch@notmuchmail.org>; Mon, 3 Oct 2011 09:48:46 -0700 (PDT)
\r
22 Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])
\r
23 by ks3536.kimsufi.com (Postfix) with ESMTPSA id 5E8A96A06A9;
\r
24 Mon, 3 Oct 2011 18:48:45 +0200 (CEST)
\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;
\r
26 s=key-schnouki; t=1317660525;
\r
27 bh=FG4alAhG3SHuR/zE4XUGbpkMpye+5Jms/dN2C3ffi+4=;
\r
28 h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:
\r
29 In-Reply-To:References;
\r
30 b=ZeaYmIXRH+lcKr53TzxfbAswfMeWGb0U+3k8hSM+HMEHROQ8XOCPYzq6I79PEC7qL
\r
31 czkQCHx3qEIzrOMW8eh0jADKfzbtDoPPzfk8oBGqwJ/46WvNKFqfPOPVoscDS1akHX
\r
32 vMts6fo0FSZDNKlBM1qG56473ruAUEtcDjT3UVcg=
\r
33 From: Thomas Jost <schnouki@schnouki.net>
\r
34 To: notmuch@notmuchmail.org
\r
35 Subject: [PATCH 12/13] emacs: remove unused `point-invisible-p' function
\r
36 Date: Mon, 3 Oct 2011 18:47:26 +0200
\r
37 Message-Id: <1317660447-27520-13-git-send-email-schnouki@schnouki.net>
\r
38 X-Mailer: git-send-email 1.7.6.4
\r
39 In-Reply-To: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>
\r
40 References: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>
\r
41 In-Reply-To: <871uuuywtt.fsf@convex-new.cs.unb.ca>
\r
42 References: <871uuuywtt.fsf@convex-new.cs.unb.ca>
\r
43 X-BeenThere: notmuch@notmuchmail.org
\r
44 X-Mailman-Version: 2.1.13
\r
46 List-Id: "Use and development of the notmuch mail system."
\r
47 <notmuch.notmuchmail.org>
\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
49 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
51 List-Post: <mailto:notmuch@notmuchmail.org>
\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
55 X-List-Received-Date: Mon, 03 Oct 2011 16:48:51 -0000
\r
57 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
\r
59 `point-invisible-p' does not work correctly when `invisible'
\r
60 property is a list. There are standard `invisible-p' and related
\r
61 functions that should be used instead.
\r
63 emacs/notmuch-lib.el | 15 ---------------
\r
64 1 files changed, 0 insertions(+), 15 deletions(-)
\r
66 diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
\r
67 index f93c957..0f856bf 100644
\r
68 --- a/emacs/notmuch-lib.el
\r
69 +++ b/emacs/notmuch-lib.el
\r
70 @@ -105,21 +105,6 @@ the user hasn't set this variable with the old or new value."
\r
74 -;; XXX: This should be a generic function in emacs somewhere, not
\r
76 -(defun point-invisible-p ()
\r
77 - "Return whether the character at point is invisible.
\r
79 -Here visibility is determined by `buffer-invisibility-spec' and
\r
80 -the invisible property of any overlays for point. It doesn't have
\r
81 -anything to do with whether point is currently being displayed
\r
82 -within the current window."
\r
83 - (let ((prop (get-char-property (point) 'invisible)))
\r
84 - (if (eq buffer-invisibility-spec t)
\r
86 - (or (memq prop buffer-invisibility-spec)
\r
87 - (assq prop buffer-invisibility-spec)))))
\r
89 (defun notmuch-remove-if-not (predicate list)
\r
90 "Return a copy of LIST with all items not satisfying PREDICATE removed."
\r