From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Text Properties And Buffer Modification Date: Thu, 06 Dec 2018 10:07:46 +0100 Message-ID: <5C08E6E2.6080703@gmx.at> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1544087226 13917 195.159.176.226 (6 Dec 2018 09:07:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 09:07:06 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 06 10:07:02 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 1gUpcc-0003Sv-26 for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2018 10:07:02 +0100 Original-Received: from localhost ([::1]:39669 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpei-0004K3-HH for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2018 04:09:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUpdr-0004JR-Jm for emacs-devel@gnu.org; Thu, 06 Dec 2018 04:08:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUpdg-0001lK-JU for emacs-devel@gnu.org; Thu, 06 Dec 2018 04:08:12 -0500 Original-Received: from mout.gmx.net ([212.227.15.19]:58055) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUpde-0001iZ-L3; Thu, 06 Dec 2018 04:08:08 -0500 Original-Received: from [192.168.1.101] ([212.95.5.6]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M3j17-1hLhIw1T5V-00rLGe; Thu, 06 Dec 2018 10:07:55 +0100 In-Reply-To: <831s6v94e9.fsf@gnu.org> X-Provags-ID: V03:K1:WUNJVjuwatTZqLHx+Ik6qhGuZmAV1FdSlruhCvC2rIdT1d3BBUo 0NCFTn3SQgIRgIyEPbedSAnuCW8SDj4nvx+nVEFjG6DMSpohEbRqg167CLace05yKAS2i/r pMD0dYON/0CYo/64pTDcEZt4iDIAlVFuwqJ0PQ1QIs+gpXs76Vjvs9yVpJ5kJiSZzdoIKzr L9hDnzGgfGIc3uVnRAYVA== X-UI-Out-Filterresults: notjunk:1;V03:K0:IZ3GszrS258=:uMj7ogpZKyMj2VfqkKaF78 PE9bC2sOYq/vWMa08QsMP4p8kZ443CQjYiMsoUtrLCT6bWzjphvuxbK4LTq4vT3vEzRZOjYxQ 9e/Ni2oW289eHnigx5SHgwLEyh4TJ9D5cFTqKGSpqEhPN2CpZdY9Gi/OdK5DKfY98NQs1XS7a OwRNx962x4hL6EuiJ3B8CFFi6+eJ4dFIWa9H+A5ntJq87vRxDrxjkBzCGG/pCSkoKCmKODWM7 ZWmwIom/dnL2YVDNAT2j9an2rzKfq3HGxkEzSQY0v2peluuhbvv2nkMQmc2sP/9rCXkD/uhBe JHi6k5/lwWumT2RYZWgWC3w52PAn+jm8F47GfoH/Z6FGkqICFY7AaU8aLUbjSPlSNq36l8U2+ XtA+wFT6ciH3yQqn6FqrAeOGiVXAuvfp2fGu2kRy0zeiwxDcTpur5SZmHFc7idos9HB8uk1rM JnYwxpc3Wlqvmfs4TNZGsnzMXbGW0aKmFBJYdGm79QnbOU5AlKRjbknsCFUmj5RXdhpCd1G+P jadM6Zn2nLf5T60wHnSoDFwpvQtFxAvlTBqOGQkMaQp82+YcPxR3SujA2fImu5ecThR1nappY 0dNO+wPnqx+Ixncv3DeUUn/SiKNhAee9GUHWWo5tNrewU+2ptmjvC/A4yjTKKvVHPJSdGQXxp L2GcTWBnK4XfCnE7L97LWbHCcRTIuna9KcZm6jXgldA5fhb/GirvSr3sexvEgv+YlUumo9cdT qQddJuNpXXEwPcWlJgJ2iInNcut6UN4WTux29zyWhe2AgTcwNCxfXBLWrW0gaDJZXxnmlVm7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 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:231672 Archived-At: >> 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). I'm interested because I'd like to know whether the 'restore-buffer-modified-p' mechanism could be problematic, somehow. martin