From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25111: How modification-hooks let-bind inhibit-modification-hooks? Date: Thu, 9 Mar 2017 14:34:06 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1489088153 3872 195.159.176.226 (9 Mar 2017 19:35:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 9 Mar 2017 19:35:53 +0000 (UTC) Cc: 25111@debbugs.gnu.org To: Phillip Lord Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 20:35:43 2017 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 1cm3qY-0007RP-JD for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 20:35:34 +0100 Original-Received: from localhost ([::1]:35988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm3qd-00027d-06 for geb-bug-gnu-emacs@m.gmane.org; Thu, 09 Mar 2017 14:35:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cm3q5-0001pH-1i for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:35:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cm3q1-0001gM-Tt for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:35:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cm3q1-0001gF-QH for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:35:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cm3q1-0003fb-JP for bug-gnu-emacs@gnu.org; Thu, 09 Mar 2017 14:35:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Mar 2017 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25111 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25111-submit@debbugs.gnu.org id=B25111.148908805414048 (code B ref 25111); Thu, 09 Mar 2017 19:35:01 +0000 Original-Received: (at 25111) by debbugs.gnu.org; 9 Mar 2017 19:34:14 +0000 Original-Received: from localhost ([127.0.0.1]:48050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm3pG-0003eW-G6 for submit@debbugs.gnu.org; Thu, 09 Mar 2017 14:34:14 -0500 Original-Received: from mail-ot0-f175.google.com ([74.125.82.175]:34219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm3pE-0003eG-Ht for 25111@debbugs.gnu.org; Thu, 09 Mar 2017 14:34:12 -0500 Original-Received: by mail-ot0-f175.google.com with SMTP id o24so63070134otb.1 for <25111@debbugs.gnu.org>; Thu, 09 Mar 2017 11:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=H4omAFqfFqddR5LdjcqUr0CplokaRl838YJx9V8tD58=; b=c5QhN4OvenzSvzy0QZAVXZneZw+wnjAciHfueAI85i6WfFfXRr0FUz5hyBO7G4UhGP CCcJjOcGEC1AoFBi2lAzZQ8jFNvr1zia5yKRuh9TDV018gabIri8stAfEQETxrmyEk7O UuhdzFkF/A66uXa8/p/20O3GiQDR8SHFo2LrddGVUSg6f/8NXh0sbK1hMWJaDUvg3k16 txKi5JJhUF9dwmf2uw7dMNn3/5l9FuPixizSUXZD2ugIO+CONX2LBkQmlAYn1DVMGvQU zytHcBHPLSJ8ZU0KWiSJ9zKz3HuRubUpLXpU2aPpxiHaqccedlcPcHUVfrMIw7+S/LVC GvpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=H4omAFqfFqddR5LdjcqUr0CplokaRl838YJx9V8tD58=; b=c4Hd5rljId8Be2oFOmBMtt6cCF68aE8xr1POpqKI+0Pv3H9xWNFLoYjeDdejSuDubR WLN1mwb7IAyrKuxjhQIhoSEPHbSZfn/e8je+B0NtBbM87VY0kQec54H49cRGMpIwjO8m KKXrj3Mcd6Xxqp0DvDGRGrufwQnc27AqvRcaWoKC47iyOI5J1CiU92Ky/3vctHlxCMKU Vy3j0RmiZTrMcq9xVJN76c5gYxWtnXhkTZ/DwMeWUfkS6OHMueJuevrcJw8q2rSw6rNZ i9IIVei85IOCFQHpCKr7NLn2iXPr8jj8UCRkAm6XJjEtf/ZFGRVOLBG3aAlOmr67yqX0 1a0A== X-Gm-Message-State: AFeK/H3r7uOBQilo3A/gBY/pgxVHCZSha7ohvnNVB5qWNhXuuxUWINLuBu798SNwONoZHvQS1i4BkdTdkxsC1g== X-Received: by 10.157.42.39 with SMTP id t36mr9112593ota.79.1489088046494; Thu, 09 Mar 2017 11:34:06 -0800 (PST) Original-Received: by 10.157.80.172 with HTTP; Thu, 9 Mar 2017 11:34:06 -0800 (PST) X-Google-Sender-Auth: W7aQ4P1fVeNqXgDYlrxTNFBfQbc 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:130390 Archived-At: On Wed, Dec 7, 2016 at 11:40 AM, Phillip Lord wrote: > > The reason I ask all of this as a result of a concrete use > case. yasnippet modifies the buffer in these hooks, in turn breaks my > own package, lentic, which uses these hooks to respond to changes. > > > https://github.com/joaotavora/yasnippet/issues/756 > https://github.com/phillord/lentic/issues/51 By the way, text-clone--maintain in subr.el seems to have the same problem.