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.3.50; `fill-paragraph' should not always put the buffer as modified Date: Thu, 14 Mar 2013 19:50:30 +0200 Message-ID: <83d2v1j2ft.fsf@gnu.org> References: <83li9qir3i.fsf@gnu.org> <5141A60D.7030707@easy-emacs.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1363283589 3943 80.91.229.3 (14 Mar 2013 17:53:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Mar 2013 17:53:09 +0000 (UTC) Cc: 13949@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 14 18:53:33 2013 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 1UGCLJ-0007mT-7k for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2013 18:53:29 +0100 Original-Received: from localhost ([::1]:52474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGCKw-00064l-DN for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2013 13:53:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGCIq-00031h-Pl for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 13:51:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGCIk-0002jl-C5 for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 13:50:56 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGCIk-0002jg-8r for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 13:50:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UGCJu-0001Ru-9h for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 13:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Mar 2013 17:52: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.13632835175560 (code B ref 13949); Thu, 14 Mar 2013 17:52:02 +0000 Original-Received: (at 13949) by debbugs.gnu.org; 14 Mar 2013 17:51:57 +0000 Original-Received: from localhost ([127.0.0.1]:54496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGCJl-0001RX-88 for submit@debbugs.gnu.org; Thu, 14 Mar 2013 13:51:57 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:63725) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGCJf-0001RF-C2 for 13949@debbugs.gnu.org; Thu, 14 Mar 2013 13:51:51 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MJN00E00W4R7U00@a-mtaout21.012.net.il> for 13949@debbugs.gnu.org; Thu, 14 Mar 2013 19:50:28 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJN00EQWW847N10@a-mtaout21.012.net.il>; Thu, 14 Mar 2013 19:50:28 +0200 (IST) In-reply-to: <5141A60D.7030707@easy-emacs.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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:72490 Archived-At: > Date: Thu, 14 Mar 2013 11:27:25 +0100 > From: Andreas R=F6hler >=20 > AFAIU the changed-flag presently is set by some commands assumed to= change > the buffer without regard to the result - as shown. The flag is set by functions that are about to insert, delete, or replace portions of a buffer. > Should not be that complicated to copy the buffers contents into a = temporary buffer in this case > and check both buffers afterwards if being equal. >=20 > IMHO it's worth to do that change wrt fill-commands. IMNSHO, this doesn't make sense. E.g., what if the buffer is very large, and there won't be enough memory to have another copy of it? Even if it is not that large, why move large amounts of data in this case? Emacs uses the gap buffer paradigm precisely to avoid this kind of lossage. It doesn't make sense to throw that out the window for the benefit of a minor improvement.