From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen 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 12:39:54 +0200 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1459161734 24189 80.91.229.3 (28 Mar 2016 10:42:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2016 10:42:14 +0000 (UTC) Cc: 13949@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 28 12:42:03 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 1akUbg-0003XE-OL for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2016 12:41:13 +0200 Original-Received: from localhost ([::1]:40141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akUbf-0006WO-OR for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Mar 2016 06:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akUbb-0006W5-67 for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 06:41:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akUbW-0001dA-59 for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 06:41:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akUbW-0001d4-1Q for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 06:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akUbV-0008Fe-MA for bug-gnu-emacs@gnu.org; Mon, 28 Mar 2016 06:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Magne Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Mar 2016 10:41:01 +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.145916160931643 (code B ref 13949); Mon, 28 Mar 2016 10:41:01 +0000 Original-Received: (at 13949) by debbugs.gnu.org; 28 Mar 2016 10:40:09 +0000 Original-Received: from localhost ([127.0.0.1]:40819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akUac-0008EF-2H for submit@debbugs.gnu.org; Mon, 28 Mar 2016 06:40:09 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:44168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akUaX-0008Dj-0z for 13949@debbugs.gnu.org; Mon, 28 Mar 2016 06:40:04 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1akUaR-0000NR-Dx; Mon, 28 Mar 2016 12:39:59 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAKlBMVEX53Tr77GP+/v4HAgX+ 5C0FAAGcd2fszERQGjY7LkxvS2gfCBYEAAHKnFbmmUyyAAACR0lEQVQ4jW2TPWvbQBjHRQnJ5KUf 4YZAkvEQSXEGDyaaNIkbChpKCldqY/BkQcFLC+ZSbzUdzu5UQ5CuZBIFK5dMQUvREIo508B9l96L ZMtx/tL0/Ljn5X/3OO2NLqCLEHJRAJWcF4AhFnhSyvZQwClLbhn7jtygBL4CnhRNRvX3O0AVGPTE Y0PiN2yaBEznq4CQ4h2WWKWZvE0QyivQUkGBMZ5O2PmfeR4WeQk8jHti6WOKpne3Pwqlh612/bCo lD8DYQ1EWo7j9A9Eh1K4liNLiZjcSKBYqSqVF6P4MwDgY5ijreJPhMQjBcC8yOvAjwkhTINjNfh6 DnWAMWYBmCAUri3xxpzzhYmDI+1V1ZUwjTArSrnuak+fGHbvG3x8f2NzQaTnMLkex6cXMD0lBsyt 7QbglcCEjFavNTgxt25Seau+NmawfGWqQ3PnBvRsC/bEkfVKp/KvrD8/QQ2sVI4hpbOM02ts1OFa JpX/hc2bMPkG6idMDcp+ZfQF0NYDJ9NrC05qoGPNsOD9pqv2P9OUjStLNlf7ZE20bZVX23ecVssn C8LHi5GtnTZT1a69kO5ZDNMzY+K8fCXlahCjvwAcplug1dHxr5cAdKt3tVd7DaNLcJxWIColiDbx cMZ5U0kVl2t1rmhCd16i1n4K7cbubC3Sgsh1nwM3UEH1l6DVkx8GQgx8a8ZM/RZ4crXUxRtiltnC k6KWKor6+xA2zwu7ghugjgwympnVLOrFo4PoE+T8TseDnXZDvTV5+LDTrt6yAoV6wP/G09K5SCpj jAAAAABJRU5ErkJggg== In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 27 Mar 2016 18:28:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:115629 Archived-At: 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? 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? (Please take any further discussions about how likely it is that an editing change will end up with the same sha1 to the emacs-tangents mailing list.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no