From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25111: Date: Thu, 08 Dec 2016 17:55:09 +0200 Message-ID: <83eg1iiffm.fsf@gnu.org> References: <8360myl7ay.fsf@gnu.org> <87wpfbpual.fsf@russet.org.uk> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1481212515 31722 195.159.176.226 (8 Dec 2016 15:55:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 15:55:15 +0000 (UTC) Cc: 25111@debbugs.gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 08 16: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 1cF12M-0007dY-9I for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 16:55:10 +0100 Original-Received: from localhost ([::1]:47457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF12Q-0005Dg-4Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 10:55:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF12J-000547-14 for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 10:55:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF12E-0007yf-DI for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 10:55:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cF12E-0007yb-9c for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 10:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cF12E-0003kf-4C for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 10:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2016 15:55:02 +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.148121249614406 (code B ref 25111); Thu, 08 Dec 2016 15:55:02 +0000 Original-Received: (at 25111) by debbugs.gnu.org; 8 Dec 2016 15:54:56 +0000 Original-Received: from localhost ([127.0.0.1]:34724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF128-0003kH-EG for submit@debbugs.gnu.org; Thu, 08 Dec 2016 10:54:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37617) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF125-0003k4-W4 for 25111@debbugs.gnu.org; Thu, 08 Dec 2016 10:54:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF11w-0007lt-78 for 25111@debbugs.gnu.org; Thu, 08 Dec 2016 10:54:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF11w-0007ln-3m; Thu, 08 Dec 2016 10:54:44 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2367 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cF11v-00084y-CO; Thu, 08 Dec 2016 10:54:43 -0500 In-reply-to: (phillip.lord@russet.org.uk) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:126739 Archived-At: > From: phillip.lord@russet.org.uk (Phillip Lord) > Cc: 25111@debbugs.gnu.org > Date: Wed, 07 Dec 2016 16:40:02 +0000 > > I think that the first of these is incorrect. There is no need to bind > `inhibit-modification-hooks' to `t'. More over, there may be reasons by > bind `inhibit-modification-hooks' to `nil' (i.e. "If you do want > modification hooks to be run..."). So if we envision that some hook will bind inhibit-modification-hooks to nil, then that is the reason to bind it to t in a hokk which doesn't want such hooks to be run. > It possible that the documentation should say "Mostly, you should avoid > modifying the buffer on these hooks, any other functionality using these > modification-hooks will not be called." You mean, not mention the variable at all? That'd be loss of useful information, I think. > 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. So how would you want the manual to help avert such calamities?