From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.bugs Subject: bug#25111: Date: Sun, 4 Dec 2016 20:53:24 -0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1480884917 19520 195.159.176.226 (4 Dec 2016 20:55:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Dec 2016 20:55:17 +0000 (UTC) User-Agent: SquirrelMail/1.5.2 [SVN] To: 25111@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 04 21:55:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDdoT-0003ks-As for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Dec 2016 21:55:10 +0100 Original-Received: from localhost ([::1]:35659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDdoX-0002OH-BO for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Dec 2016 15:55:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDdoR-0002Mb-3r for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:55:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDdoM-0008WI-Aj for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:55:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40793) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDdoM-0008WE-80 for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cDdoL-0000Z0-V0 for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Phillip Lord" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Dec 2016 20:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25111 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14808848632112 (code B ref -1); Sun, 04 Dec 2016 20:55:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Dec 2016 20:54:23 +0000 Original-Received: from localhost ([127.0.0.1]:56192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDdnj-0000Y0-4G for submit@debbugs.gnu.org; Sun, 04 Dec 2016 15:54:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDdnh-0000Xn-JB for submit@debbugs.gnu.org; Sun, 04 Dec 2016 15:54:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDdnb-0007vR-Ku for submit@debbugs.gnu.org; Sun, 04 Dec 2016 15:54:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDdnb-0007vN-HX for submit@debbugs.gnu.org; Sun, 04 Dec 2016 15:54:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDdna-0002K5-DB for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:54:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDdnV-0007um-JX for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:54:14 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk ([185.116.214.213]:28432) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDdnV-0007rm-8w for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 15:54:09 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id B74AAC46B6 for ; Sun, 4 Dec 2016 21:53:09 +0000 (GMT) X-Virus-Scanned: by SpamTitan at mycpanelcloud.co.uk Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id DFDBFC445E for ; Sun, 4 Dec 2016 21:53:08 +0000 (GMT) Original-Received: from cloud103.planethippo.com (cloud103.planethippo.com [31.216.48.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTPS id D6596C4417 for ; Sun, 4 Dec 2016 21:53:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:To:From:Subject:Date:Message-ID:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qF/y+idlm+cA64TRgxGyU2RRuSl/3Q+xNMmbxJJ7kXA=; b=ZsXxa5W9AG6d0m+Svj2EMnRzY3 G0hYkWb+qncT9kGHwm/ZsOxrC3CFS5E3VUMwT2i622mRuARK6lLsBe2/UGOJwXfeTYUG1n8zxY0QQ E4+88JZ2G3lcEzkSdqhT8PYuknXHS21B1i+6wVRlXFIxO6ahafdRszi6exVs+MyKfjwYguTSKYfG8 nkGIEODIPcPiOisBkI80QFyXg1QIzE8iQGIv2BI0Cc53xQjLjZC2vkV6KO0mYN8eIGUiht9JZyqWt aLaANqe2NWD1KXsGQXvolsZ3uWwK9Ro+yzN8l2Z2hbjAvXen8V7rYxYUzUoMoB3+XMKlrDFsYgcqr ku/5bBZg==; Original-Received: from [127.0.0.1] (port=49121 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.87) (envelope-from ) id 1cDdmm-0022HK-PH for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2016 20:53:24 +0000 Original-Received: from 77.103.60.43 ([77.103.60.43]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Sun, 4 Dec 2016 20:53:24 -0000 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:126479 Archived-At: The documentation for "modification-hooks" on overlays says: If these functions modify the buffer, they should bind =E2=80=98inhibit-modification-hooks=E2=80=99 to =E2=80=98t=E2=80=99 = around doing so, to avoid confusing the internal mechanism that calls these hooks. But as far as I can see, the only place these gets called "signal_after_change" and "signal_before_change", inhibit-modification-hooks is already specbou= nd to t, so this advice is unnecessary. Also, the documentation for inhibit-modification-hooks says: If you do want modification hooks to be run in a particular piece of code that is itself run from a modification hook, then rebind locally =E2=80=98inhibit-modification-hooks=E2=80=99 to =E2=80= =98nil=E2=80=99. which suggests that, in fact, it is possible to call the modification hooks from inside another call to these functions. This is true for both emacs-25 and master.