From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#13949: 24.4.1; `fill-paragraph' should not always put the buffer as modified Date: Sun, 27 Mar 2016 17:52:34 +0200 Message-ID: <87a8ljc3zx.fsf@wanadoo.es> 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> <87mvpkaqj9.fsf@wanadoo.es> <37404e91-f1bf-072c-ff05-a3070391003e@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1459094004 10690 80.91.229.3 (27 Mar 2016 15:53:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2016 15:53:24 +0000 (UTC) Cc: 13949@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 17:53:12 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 1akD03-0000bK-J7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2016 17:53:11 +0200 Original-Received: from localhost ([::1]:36418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akD02-00040a-K2 for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2016 11:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akCzx-000400-W9 for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 11:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akCzu-0005LA-L9 for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 11:53:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akCzu-0005L6-Hy for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 11:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akCzu-0004ZK-DN for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 11:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Mar 2016 15:53: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.145909396217537 (code B ref 13949); Sun, 27 Mar 2016 15:53:02 +0000 Original-Received: (at 13949) by debbugs.gnu.org; 27 Mar 2016 15:52:42 +0000 Original-Received: from localhost ([127.0.0.1]:40260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akCza-0004Yn-JU for submit@debbugs.gnu.org; Sun, 27 Mar 2016 11:52:42 -0400 Original-Received: from relaycp01.dominioabsoluto.net ([217.116.26.68]:56295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akCzZ-0004Yc-Ae for 13949@debbugs.gnu.org; Sun, 27 Mar 2016 11:52:41 -0400 Original-Received: from smtp.movistar.es (smtp11.acens.net [86.109.99.135]) by relaycp01.dominioabsoluto.net (Postfix) with ESMTP id AE4C243E2; Sun, 27 Mar 2016 17:52:35 +0200 (CEST) X-CTCH-RefID: str=0001.0A0B0202.56F801C3.0150, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Original-Received: from qcore (79.153.146.151) by smtp.movistar.es (8.6.122.03) (authenticated as 981711563$telefonica.net) id 56BC428E034CC3AC; Sun, 27 Mar 2016 15:52:51 +0000 In-Reply-To: <37404e91-f1bf-072c-ff05-a3070391003e@yandex.ru> (Dmitry Gutov's message of "Sun, 27 Mar 2016 18:42:43 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (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:115575 Archived-At: Dmitry Gutov writes: > On 03/27/2016 06:28 PM, =C3=93scar Fuentes wrote: > >> The docs say: >> >> >> This shows two dashes (=E2=80=98--=E2=80=99) if the buffer displayed i= n the window has >> the same contents as the corresponding file on the disk; i.e., if the >> buffer is unmodified. > > That might be a documentation bug. Switch to an unmodified buffer. > Type `a', and then backspace. What do you see in the status? When you type `a', you changed the buffer. Checking that your subsequent actions gives a result that is identical to the saved file is something that would be nice to have, but I guess that few users would think that it is a reasonable requirement. OTOH, `undo' clears the `modified' flag. >> AFAIK, a file-visiting buffer is not marked as modified when text >> properties are applied to it. > > It is. If you're thinking of font-lock, then it uses > with-silent-modifications. And why it does use with-silent-modifications? Is there a case where the user is benefited from marking the buffer as modified after applying text properties?