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) Date: Sun, 31 Jul 2016 21:52:04 +0300 Message-ID: <83zioxod2j.fsf@gnu.org> References: <20160731121642.GB2205@acm.fritz.box> <83a8gxq288.fsf@gnu.org> <20160731172804.GD2205@acm.fritz.box> <834m75ptij.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1469991210 20281 80.91.229.8 (31 Jul 2016 18:53:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2016 18:53:30 +0000 (UTC) Cc: ofv@wanadoo.es, rcopley@gmail.com, emacs-devel@gnu.org To: acm@muc.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 31 20:53:11 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 1bTvrK-0005Ct-W8 for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2016 20:53:11 +0200 Original-Received: from localhost ([::1]:40499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTvrH-00024C-6V for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2016 14:53:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTvqi-000246-MQ for emacs-devel@gnu.org; Sun, 31 Jul 2016 14:52:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTvqe-0002yo-Jj for emacs-devel@gnu.org; Sun, 31 Jul 2016 14:52:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTvqe-0002yk-GQ; Sun, 31 Jul 2016 14:52:28 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3886 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bTvqb-0005SR-Go; Sun, 31 Jul 2016 14:52:28 -0400 In-reply-to: <834m75ptij.fsf@gnu.org> (message from Eli Zaretskii on Sun, 31 Jul 2016 21:11:32 +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:206279 Archived-At: > Date: Sun, 31 Jul 2016 21:11:32 +0300 > From: Eli Zaretskii > Cc: ofv@wanadoo.es, rcopley@gmail.com, emacs-devel@gnu.org > > > The del_range_byte call which I caught with gdb last night was, I think, > > the one at fileio.c L4037. I don't know the code well enough to say > > that that's the only one which might trigger. > > If changing that one alone solves the problem, we don't need to > consider any others. Actually, I think we need to change all 3 of those calls, since they all handle the same situation, with minor differences.