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 11:10:23 +0100 Message-ID: <5C08F58F.5000004@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> <5C08E6E2.6080703@gmx.at> <83lg536mhp.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 1544090972 19325 195.159.176.226 (6 Dec 2018 10:09:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 10:09:32 +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 11:09:28 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 1gUqb1-0004t6-Gb for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2018 11:09:27 +0100 Original-Received: from localhost ([::1]:39912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUqd7-0004Gx-Td for ged-emacs-devel@m.gmane.org; Thu, 06 Dec 2018 05:11:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUqcV-0004Gg-58 for emacs-devel@gnu.org; Thu, 06 Dec 2018 05:10:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUqcU-00080S-BD for emacs-devel@gnu.org; Thu, 06 Dec 2018 05:10:59 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:47017) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUqcP-0007sd-Oi; Thu, 06 Dec 2018 05:10:53 -0500 Original-Received: from [192.168.1.101] ([212.95.5.6]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MgXCF-1gsgM30B4p-00NzIj; Thu, 06 Dec 2018 11:10:32 +0100 In-Reply-To: <83lg536mhp.fsf@gnu.org> X-Provags-ID: V03:K1:h1sfaKjJ6FOBF45QdnDV2JzuvyGsGgSuZV5mXBLzvmlwJK0kqrC ZFigxVjlW2jlwauGzSr7TpQjN46ylgNAJfwnLsMxCjYFZwYfI+vuofI0ET+qT/aPmNpcQi2 eJgAwvQfOW8LzAN4+sC0+DQcqMOzxOXjzJqxs6WOOCbSvFUKo+jU8brIhzNIdoEF4OnPte3 tE1KJsGzEHZ4EqLuu6VQA== X-UI-Out-Filterresults: notjunk:1;V03:K0:QOyZIhxlUJs=:ojIex9V3hCNKI/Ky6v4qSy LTBAMsadKUWbgl+aJHsll8Rbp3wcBakuzsmm07Hn+vanEQe7fyiI4lzopD1IgEtYFk5ceWkJ+ 1tlXW28dgkWN1bnbnLA/rtra3mkydfRG9JLAZygs6YQ0crx9XBQdRM/SAZdy/xU2EZK05XjFR ekeXH5/nKj1dwzR2u2cO0Rs9tAk2dBtixuGUK9C4apolmOizvP/iNBQEagfqhSAKSt2+5CZxM OEJsCFHUjixqHELjbabM7x0NDoCnKdxb//CKW8VIIyACVlktK4N5efPI/aGhuxJda/7wbFj8W PpQEvamL3niDJcbna+5yvuvPw3p5ovg+l1uYFnWE8KCsNsxrctfelPYPAdY27xoJQgyEwEu0s nVevpGRRmrvAvUGQISj2A2Lml6TnG+zEF06Wm0iULpBGnQ0ulWNEvsYDDfgp7Q0XHTLtfWn5Y HD1sAy2CcF+DLYTofN/5pRIkpxNi/A3QBznnlfNr2W0PM+AfM9dbaKoZs4RsvNMcfULFas9no uK0sRlzmErVNQYLLWc5QWfvxHcgrEscTlsLc5pH74PDe1LFJp6vLjIWlFg4PoB1EbsxKn7gso p7k3h1ac1VmeK6A9PfVHv9zVBMocA2yNDT2tqaHupsqHRbcuQoMtSGXOcYCf4u37cizEZMy31 SuibybqoBwXh/KOQYvl09o93q7doHSgXmYGMFizxB7ZEATNGZFQMZrsV2Wpp117EAUP0rAGvR KjTRbcyCaCqqGyjlZo8KOA6Cr3xciv2CiMUNhnBpUiSrz56IuQ4+2UgqDDYHVqho1GS2BSps X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 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:231677 Archived-At: >> > 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? I tried to find all occurrences of the string MODIFF in xdisp.c and look at the context of every occurrence I found. I then tried to find out whether that context provided any clue that the display engine would handle a text property differently from an overlay change. In particular I tried to find out whether there were any redisplay optimizations where this was the case. Probably I'm missing something but the "you will see" hinted at something quite obvious. Maybe you can name 2 or 3 such occurrences and I will then try to look harder. martin