From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13007: 24.3.50; emacs_backtrace.txt Date: Tue, 29 Dec 2015 12:08:49 +0100 Message-ID: <87si2lldfi.fsf@gnus.org> References: <9FE4F131C0C94FC79470495A8506A387@us.oracle.com> <83k3t7xemd.fsf@gnu.org> <50B4EF28.6040905@yandex.ru> <834nkbx7if.fsf@gnu.org> <50B5BB01.2070304@yandex.ru> <50B63309.1070404@yandex.ru> <838v9lwqvn.fsf@gnu.org> <50B6FE89.20304@yandex.ru> <83txs8uzkc.fsf@gnu.org> <50B79A19.2050707@yandex.ru> <83a9tzv2m0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1451387424 20690 80.91.229.3 (29 Dec 2015 11:10:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 11:10:24 +0000 (UTC) Cc: 13007@debbugs.gnu.org, lekktu@gmail.com, Dmitry Antipov To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 29 12:10:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDsAO-0003fP-5Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 12:10:12 +0100 Original-Received: from localhost ([::1]:48018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDsAN-0005Ye-Eo for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 06:10:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDsAJ-0005YV-Bx for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:10:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDsAE-0008Dp-CL for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:10:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDsAE-0008DX-8w for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDsAE-0008Gk-2B for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 06:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2015 11:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13007-submit@debbugs.gnu.org id=B13007.145138735731714 (code B ref 13007); Tue, 29 Dec 2015 11:10:01 +0000 Original-Received: (at 13007) by debbugs.gnu.org; 29 Dec 2015 11:09:17 +0000 Original-Received: from localhost ([127.0.0.1]:47325 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDs9V-0008FS-5A for submit@debbugs.gnu.org; Tue, 29 Dec 2015 06:09:17 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:50016) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDs9T-0008FJ-2o for 13007@debbugs.gnu.org; Tue, 29 Dec 2015 06:09:15 -0500 Original-Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aDs96-0002Hi-4D; Tue, 29 Dec 2015 12:08:52 +0100 In-Reply-To: <83a9tzv2m0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Nov 2012 11:53:11 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aDs96-0002Hi-4D MailScanner-NULL-Check: 1451992132.55672@8SRqQpJJ4N94JlAlIPl/TA 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110952 Archived-At: Eli Zaretskii writes: >> Function set_window_buffer (W, B, ...) is called where W is selected_window >> and XBUFFER (B) != current_buffer. This function temporary sets current >> buffer to XBUFFER (B) to run hooks, and then restore old current_buffer [1]. >> So, on exit we have XBUFFER (XWINDOW (selected_window)->buffer) != current_buffer, >> and these gets _finally_ synchronized only when read_key_sequence is called with >> fix_current_buffer == true [2]. If redisplay is invoked between [1] and [2], >> its routines may see the condition which was eassert'ed; _finally_ means >> that some redisplay routines may do the synchronization temporary and >> then restore original value of current buffer (see pos_visible_p for example). > > OK. So what do you suggest, in practical terms? Are you saying that > we should use BUF_MODIFF(XBUFFER (w->buffer)) instead of MODIFF and > BUF_OVERLAY_MODIFF(XBUFFER (w->buffer)) instead of OVERLAY_MODIFF > inside window_outdated? Or do you suggest something else? > > I'm okay with using BUF_* macros in window_outdated. It's unclear what the conclusion here was. Is there anything more to be done in this bug report? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no