From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13949: 24.4.1; `fill-paragraph' should not always put the buffer as modified Date: Mon, 28 Mar 2016 18:15:32 +0300 Message-ID: <83twjqy6p7.fsf@gnu.org> References: <56F12360.5030301@ro.ru> <83y49a4hga.fsf@gnu.org> <56F1837D.4060300@ro.ru> <83io0e4b5r.fsf@gnu.org> <56F19203.5040501@ro.ru> <87a8lkd2bc.fsf@wanadoo.es> <83lh54ynol.fsf@gnu.org> <83a8ljzz3h.fsf@gnu.org> <8360w7zyh3.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459178285 28862 80.91.229.3 (28 Mar 2016 15:18:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2016 15:18:05 +0000 (UTC) Cc: 13949@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 28 17:17:55 2016 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 1akYvS-0006lK-R7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2016 17:17:55 +0200 Original-Received: from localhost ([::1]:41282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYvR-0000yo-Rz for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2016 11:17:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYuh-00086q-2u for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 11:17:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akYuc-0004ch-Vg for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 11:17:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYuc-0004cZ-SC for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 11:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akYuc-0002xb-OO for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 11:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Mar 2016 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13949 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13949-submit@debbugs.gnu.org id=B13949.145917817111270 (code B ref 13949); Mon, 28 Mar 2016 15:17:02 +0000 Original-Received: (at 13949) by debbugs.gnu.org; 28 Mar 2016 15:16:11 +0000 Original-Received: from localhost ([127.0.0.1]:42169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akYtj-0002ve-DO for submit@debbugs.gnu.org; Mon, 28 Mar 2016 11:16:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akYte-0002ut-Eo for 13949@debbugs.gnu.org; Mon, 28 Mar 2016 11:16:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akYtV-0004II-0X for 13949@debbugs.gnu.org; Mon, 28 Mar 2016 11:15:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akYtU-0004IB-NK; Mon, 28 Mar 2016 11:15:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4698 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1akYtT-0001f4-IO; Mon, 28 Mar 2016 11:15:52 -0400 In-reply-to: (message from Lars Magne Ingebrigtsen on Mon, 28 Mar 2016 12:39:54 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:115646 Archived-At: > From: Lars Magne Ingebrigtsen > Cc: 13949@debbugs.gnu.org > Date: Mon, 28 Mar 2016 12:39:54 +0200 > > Lars Magne Ingebrigtsen writes: > > > for iterate_over_all_intervals > > sha1_process_bytes(interval, len) > > I completely forgot about the distinction between text property changes > that "count" and the ones that don't here. Font locking, for instance, > runs with `with-silent-modifications' so those changes "don't count", > but there's nothing in the intervals themselves that you can examine > after the fact, as far as I can tell. Is that correct? The intervals do store the property itself, but I actually don't understand why should you bother discerning between faces and the other properties. If the buffer text is really unchanged, the face properties will be identical as well, right? > So the question is, I guess: Does `M-q' does something to text > properties that we have to keep track of, or is it sufficient to just > hash the buffer contents to determine whether `M-q' did something? There are a couple of properties that have special meaning for fill.el functions, see there. However, I thought you are working on infrastructure that isn't supposed to be limited to what M-q does. Was I mistaken?