[PATCH 12/13] emacs: remove unused `point-invisible-p' function
authorThomas Jost <schnouki@schnouki.net>
Mon, 3 Oct 2011 16:47:26 +0000 (18:47 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:34 +0000 (09:39 -0800)
cd/ea0345897c207c336b3d25c183f69e13a66142 [new file with mode: 0644]

diff --git a/cd/ea0345897c207c336b3d25c183f69e13a66142 b/cd/ea0345897c207c336b3d25c183f69e13a66142
new file mode 100644 (file)
index 0000000..7b7d578
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <schnouki@schnouki.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 95ED9429E21\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 09:48:51 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.1\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.1 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id KkRkQr+Z4Zqy for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Oct 2011 09:48:50 -0700 (PDT)\r
+Received: from ks3536.kimsufi.com (schnouki.net [87.98.217.222])\r
+       by olra.theworths.org (Postfix) with ESMTP id 11B98429E27\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 09:48:46 -0700 (PDT)\r
+Received: from localhost.localdomain (thor.loria.fr [152.81.12.250])\r
+       by ks3536.kimsufi.com (Postfix) with ESMTPSA id 5E8A96A06A9;\r
+       Mon,  3 Oct 2011 18:48:45 +0200 (CEST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=schnouki.net;\r
+       s=key-schnouki; t=1317660525;\r
+       bh=FG4alAhG3SHuR/zE4XUGbpkMpye+5Jms/dN2C3ffi+4=;\r
+       h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\r
+       In-Reply-To:References;\r
+       b=ZeaYmIXRH+lcKr53TzxfbAswfMeWGb0U+3k8hSM+HMEHROQ8XOCPYzq6I79PEC7qL\r
+       czkQCHx3qEIzrOMW8eh0jADKfzbtDoPPzfk8oBGqwJ/46WvNKFqfPOPVoscDS1akHX\r
+       vMts6fo0FSZDNKlBM1qG56473ruAUEtcDjT3UVcg=\r
+From: Thomas Jost <schnouki@schnouki.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 12/13] emacs: remove unused `point-invisible-p' function\r
+Date: Mon,  3 Oct 2011 18:47:26 +0200\r
+Message-Id: <1317660447-27520-13-git-send-email-schnouki@schnouki.net>\r
+X-Mailer: git-send-email 1.7.6.4\r
+In-Reply-To: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>\r
+References: <1317660447-27520-1-git-send-email-schnouki@schnouki.net>\r
+In-Reply-To: <871uuuywtt.fsf@convex-new.cs.unb.ca>\r
+References: <871uuuywtt.fsf@convex-new.cs.unb.ca>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 03 Oct 2011 16:48:51 -0000\r
+\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+\r
+`point-invisible-p' does not work correctly when `invisible'\r
+property is a list.  There are standard `invisible-p' and related\r
+functions that should be used instead.\r
+---\r
+ emacs/notmuch-lib.el |   15 ---------------\r
+ 1 files changed, 0 insertions(+), 15 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
+index f93c957..0f856bf 100644\r
+--- a/emacs/notmuch-lib.el\r
++++ b/emacs/notmuch-lib.el\r
+@@ -105,21 +105,6 @@ the user hasn't set this variable with the old or new value."\r
\r
+ ;;\r
\r
+-;; XXX: This should be a generic function in emacs somewhere, not\r
+-;; here.\r
+-(defun point-invisible-p ()\r
+-  "Return whether the character at point is invisible.\r
+-\r
+-Here visibility is determined by `buffer-invisibility-spec' and\r
+-the invisible property of any overlays for point. It doesn't have\r
+-anything to do with whether point is currently being displayed\r
+-within the current window."\r
+-  (let ((prop (get-char-property (point) 'invisible)))\r
+-    (if (eq buffer-invisibility-spec t)\r
+-      prop\r
+-      (or (memq prop buffer-invisibility-spec)\r
+-        (assq prop buffer-invisibility-spec)))))\r
+-\r
+ (defun notmuch-remove-if-not (predicate list)\r
+   "Return a copy of LIST with all items not satisfying PREDICATE removed."\r
+   (let (out)\r
+-- \r
+1.7.6.4\r
+\r