Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 46 / f9bdd5a6d20e42b2c2431e94146713bf2c90cd
1 Return-Path: <dmitry.kurochkin@gmail.com>\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 EF2BE42119E\r
6         for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 12:43:07 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.799\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 5NSQ2x7ElSzd for <notmuch@notmuchmail.org>;\r
17         Wed, 29 Jun 2011 12:43:06 -0700 (PDT)\r
18 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
19         [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 596CF41ED70\r
22         for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 12:43:02 -0700 (PDT)\r
23 Received: by mail-bw0-f53.google.com with SMTP id 12so1456477bwg.26\r
24         for <notmuch@notmuchmail.org>; Wed, 29 Jun 2011 12:43:02 -0700 (PDT)\r
25 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
26         h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references;\r
27         bh=EQGutRe8kaXRBLRGLGIR3oP7dijFaXg0lCg+dZ9ESlI=;\r
28         b=KUjJpF8sk4UXcHF87RdW4ayo+0B150CHrGW/L+pekud/re8lDKrDBPu4Rfc0TE+OiX\r
29         4o8S/KVnOiBaBbAYysIVFIE59EdMjfBJTA2q2vWVLnbRlZs9SB/wMyS94+vZ1bH3xjRi\r
30         ZX7kH8xgfc3pdpJQkj76wBCHWpMX/AVYFVmzI=\r
31 Received: by 10.204.163.129 with SMTP id a1mr1142204bky.85.1309376582055;\r
32         Wed, 29 Jun 2011 12:43:02 -0700 (PDT)\r
33 Received: from localhost ([91.144.186.21])\r
34         by mx.google.com with ESMTPS id e6sm1423402bka.23.2011.06.29.12.43.00\r
35         (version=TLSv1/SSLv3 cipher=OTHER);\r
36         Wed, 29 Jun 2011 12:43:01 -0700 (PDT)\r
37 From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
38 To: notmuch@notmuchmail.org\r
39 Subject: [PATCH 6/6] emacs: remove unused `point-invisible-p' function\r
40 Date: Wed, 29 Jun 2011 23:42:38 +0400\r
41 Message-Id: <1309376558-26284-6-git-send-email-dmitry.kurochkin@gmail.com>\r
42 X-Mailer: git-send-email 1.7.5.4\r
43 In-Reply-To: <1309376558-26284-1-git-send-email-dmitry.kurochkin@gmail.com>\r
44 References: <1309376558-26284-1-git-send-email-dmitry.kurochkin@gmail.com>\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, 29 Jun 2011 19:43:08 -0000\r
58 \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
62 ---\r
63  emacs/notmuch-lib.el |   15 ---------------\r
64  1 files changed, 0 insertions(+), 15 deletions(-)\r
65 \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
71  \r
72  ;;\r
73  \r
74 -;; XXX: This should be a generic function in emacs somewhere, not\r
75 -;; here.\r
76 -(defun point-invisible-p ()\r
77 -  "Return whether the character at point is invisible.\r
78 -\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
85 -       prop\r
86 -      (or (memq prop buffer-invisibility-spec)\r
87 -         (assq prop buffer-invisibility-spec)))))\r
88 -\r
89  (defun notmuch-remove-if-not (predicate list)\r
90    "Return a copy of LIST with all items not satisfying PREDICATE removed."\r
91    (let (out)\r
92 -- \r
93 1.7.5.4\r
94 \r