From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Unbalanced change hooks (part 2) [Documentation fix still remaining] Date: Mon, 29 Aug 2016 21:16:04 +0300 Message-ID: <83y43fa1az.fsf@gnu.org> References: <83inv9hkjd.fsf@gnu.org> <83h9ashfgx.fsf@gnu.org> <831t1wharr.fsf@gnu.org> <20160810161821.GB3413@acm.fritz.box> <83wpjofttf.fsf@gnu.org> <20160810185735.GD3413@acm.fritz.box> <20160811112951.GA2154@acm.fritz.box> <7e1478b6-cf00-fcbf-8c24-43bdaa57e2b6@dancol.org> <415d1cca-f32c-624e-a4be-9aadcf8a0f17@dancol.org> <83inujbpek.fsf@gnu.org> <83eg57bl8f.fsf@gnu.org> <5ee6ff4a-2d58-82f1-8e83-479c62f0b729@dancol.org> <837fazbjb4.fsf@gnu.org> <75100b15-d49f-5a1a-d73b-24db77c891bf@dancol.org> <831t17bged.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1472494601 10087 195.159.176.226 (29 Aug 2016 18:16:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 Aug 2016 18:16:41 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: dancol@dancol.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 29 20:16:37 2016 Return-path: Envelope-to: ged-emacs-devel@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 1beR6r-00027n-3b for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2016 20:16:37 +0200 Original-Received: from localhost ([::1]:45125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beR6o-0006RZ-Hy for ged-emacs-devel@m.gmane.org; Mon, 29 Aug 2016 14:16:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58696) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beR6h-0006RI-Pe for emacs-devel@gnu.org; Mon, 29 Aug 2016 14:16:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beR6c-00052e-5W for emacs-devel@gnu.org; Mon, 29 Aug 2016 14:16:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beR6c-00052U-2H; Mon, 29 Aug 2016 14:16:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1557 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1beR6Y-0001IU-2m; Mon, 29 Aug 2016 14:16:20 -0400 In-reply-to: <831t17bged.fsf@gnu.org> (message from Eli Zaretskii on Mon, 29 Aug 2016 21:04:42 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:206899 Archived-At: > Date: Mon, 29 Aug 2016 21:04:42 +0300 > From: Eli Zaretskii > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > That single case of #1 is revert-buffer Btw: not every call to revert-buffer hits this case. Quite the contrary: almost none of them do. IOW, the situation where the before-change hook is not called at all is very rare even if you only consider the uses of revert-buffer.