From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Rankin Newsgroups: gmane.emacs.bugs Subject: bug#24073: 24.5; outline-on-heading-p sees any invisible text property as outline invisible Date: Thu, 28 Jul 2016 14:25:52 +1000 Message-ID: <1469679952.1866840.678960241.470C9887@webmail.messagingengine.com> References: <1469520753.418402.676896009.00AAC0DE@webmail.messagingengine.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1469679991 23037 80.91.229.3 (28 Jul 2016 04:26:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jul 2016 04:26:31 +0000 (UTC) To: 24073@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 28 06:26:19 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bSctl-0003np-JK for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 06:26:17 +0200 Original-Received: from localhost ([::1]:50791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSctk-0004Zw-Bv for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Jul 2016 00:26:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bScte-0004Zh-9L for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2016 00:26:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSctY-0000Np-Ge for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2016 00:26:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSctW-0000Mz-1k for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2016 00:26:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bSctV-0005Bf-TK for bug-gnu-emacs@gnu.org; Thu, 28 Jul 2016 00:26:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <1469520753.418402.676896009.00AAC0DE@webmail.messagingengine.com> Resent-From: Paul Rankin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jul 2016 04:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24073-submit@debbugs.gnu.org id=B24073.146967995919929 (code B ref 24073); Thu, 28 Jul 2016 04:26:01 +0000 Original-Received: (at 24073) by debbugs.gnu.org; 28 Jul 2016 04:25:59 +0000 Original-Received: from localhost ([127.0.0.1]:48720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSctT-0005BN-HS for submit@debbugs.gnu.org; Thu, 28 Jul 2016 00:25:59 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSctO-0005BB-HF for 24073@debbugs.gnu.org; Thu, 28 Jul 2016 00:25:57 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 9357520507 for <24073@debbugs.gnu.org>; Thu, 28 Jul 2016 00:25:52 -0400 (EDT) Original-Received: from web6 ([10.202.2.216]) by compute7.internal (MEProxy); Thu, 28 Jul 2016 00:25:52 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=paulwrankin.com; h=content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=B/M FP8ke8bpoFG48F1VtLbg3WUI=; b=Dtnytjndh76jVh6Tl4DBrsfYjvB7B82nmQB w0vxdIiMxw/sE4iOm11CTZWuNmIoRy3AB+xEuBpwCH/VWShGjcg3JrF3r68d/IRS QbG/GAA4DeWko0mxleZ7FLCTaKhWl5ec8IKY6UM1P2/2k6yRA4n7jt/YgStnADha d51hU3xg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=B/MFP8ke8bpoFG48F1VtLbg3WUI=; b=cH9bC G4p4xElC8SN9kflWNQa8AQccoIvyW+3OTXbFwKyUyKS2TCPCSu3tGCVGogRUXgiP wANxJH7MTkcH4RUuKWtnhaVVsp9SE4J+qy96kwoSPyrZoW4MYNVTrt7FVneZ6K2u 5Uyo+gLi1FdliOsZiTWVgdCcIfBaHbsM5DEXWE= Original-Received: by mailuser.nyi.internal (Postfix, from userid 99) id 4AC1C1E380; Thu, 28 Jul 2016 00:25:52 -0400 (EDT) X-Sasl-Enc: JSZCKf7fpCq0nR4NkPlIxXATVvkr7TMIll9tbI8bQspl 1469679952 X-Mailer: MessagingEngine.com Webmail Interface - ajax-aabce84e X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121612 Archived-At: I've tried to create an advice patch for the benefit of users affected by the bug to make outline-invisible-p return t for either 'outline or t, nil otherwise... (advice-add 'outline-invisible-p :filter-return (lambda (return) (eq return (or 'outline t))) '((name . "fountain-mode-patch"))) However, it appears that other compiled functions in outline that call outline-invisible-p do not respect this advice, e.g. 1. navigate to heading affected by above bug 2. M-: (outline-on-heading-p) => nil 3. navigate to (defun outline-on-heading-p ...) in outline.el 4. C-M-x 5. repeat 1. and 2. => t Do compiled functions not respect advice added to functions that they call? -- Paul W. Rankin www.paulwrankin.com