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: Text Properties And Buffer Modification Date: Thu, 06 Dec 2018 11:19:30 +0200 Message-ID: <83lg536mhp.fsf@gnu.org> References: <83y3948ov2.fsf@gnu.org> <87wooofnqf.fsf@fastmail.fm> <83o9a08jfq.fsf@gnu.org> <834lbr95nq.fsf@gnu.org> <5C082139.6060802@gmx.at> <831s6v94e9.fsf@gnu.org> <5C08E6E2.6080703@gmx.at> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1544087871 3560 195.159.176.226 (6 Dec 2018 09:17:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 09:17:51 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 06 10:17:47 2018 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 1gUpn1-0000oQ-8I for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2018 10:17:47 +0100 Original-Received: from localhost ([::1]:39717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpp7-0005OV-6H for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2018 04:19:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpp1-0005O9-2H for emacs-devel@gnu.org; Thu, 06 Dec 2018 04:19:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUpow-0002OK-RT for emacs-devel@gnu.org; Thu, 06 Dec 2018 04:19:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpow-0002OC-LO; Thu, 06 Dec 2018 04:19:46 -0500 Original-Received: from [176.228.60.248] (port=3755 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gUpou-0003Qo-Pn; Thu, 06 Dec 2018 04:19:46 -0500 In-reply-to: <5C08E6E2.6080703@gmx.at> (message from martin rudalics on Thu, 06 Dec 2018 10:07:46 +0100) 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:231676 Archived-At: > Date: Thu, 06 Dec 2018 10:07:46 +0100 > From: martin rudalics > CC: monnier@iro.umontreal.ca, emacs-devel@gnu.org > > >> I would have thought that buffer redisplay is triggered only by > >> bset_redisplay and BUF_COMPUTE_UNCHANGED which IIUC are called the > >> same way for overlays and text properties. Am I wrong? > > > > Yes. The display engine sometimes needs to know not only whether the > > buffer needs to be redisplayed, but also _why_. Search xdisp.c for > > MODIFF, and you will see. > > I have tried to but still don't see the difference (but for setting > last_had_star). What did you try, exactly? And what kind of difference did you expect to see?