From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams 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 11:53:41 -0700 (PDT) Message-ID: <2ccf842d-57f0-44db-99c6-32421209daa7@default> 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> <8760w8c6h4.fsf@wanadoo.es> 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 1459104871 6529 80.91.229.3 (27 Mar 2016 18:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Mar 2016 18:54:31 +0000 (UTC) Cc: John Wiegley , Jaakov , 13949@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes , Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 27 20:54:17 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 1akFpJ-0006HO-JC for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2016 20:54:17 +0200 Original-Received: from localhost ([::1]:37121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akFpF-0003ht-Ef for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Mar 2016 14:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akFpB-0003h6-KR for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 14:54:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1akFp8-0005tj-EY for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 14:54:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1akFp8-0005tc-Av for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 14:54:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1akFp4-0002Cy-7a for bug-gnu-emacs@gnu.org; Sun, 27 Mar 2016 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Mar 2016 18:54: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.14591048348474 (code B ref 13949); Sun, 27 Mar 2016 18:54:02 +0000 Original-Received: (at 13949) by debbugs.gnu.org; 27 Mar 2016 18:53:54 +0000 Original-Received: from localhost ([127.0.0.1]:40407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akFow-0002Cc-N7 for submit@debbugs.gnu.org; Sun, 27 Mar 2016 14:53:54 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:28893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1akFov-0002CP-5p for 13949@debbugs.gnu.org; Sun, 27 Mar 2016 14:53:53 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2RIrkAD021775 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Mar 2016 18:53:47 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u2RIriRC025688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Mar 2016 18:53:45 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id u2RIrgUs005471; Sun, 27 Mar 2016 18:53:42 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:115602 Archived-At: I think it is unwise to _replace_ willy-nilly the longstanding definition of buffer modification - for either users or Lisp code. Just because you think you can do something clever using hashes, that does not mean that you should, if it changes the longstanding behavior. No gratuitous loss, please. On the other hand, as I said, it might be good to expand that notion to different _kinds_ of buffer modification - not only for indication to users, but also for code. IOW, additional flexibility, why not? But replacement, no thanks. I said: There are different kinds of buffer changes. It would be good to have ways to detect these as such. The indication to users could perhaps be to use other chars for this, in addition to `*', in mode-line indicators `**' and `%*'. Any such change in the indication should be optional, e.g., controlled by a user option. There are two things that a user might want to customize here: (1) which kinds of buffer change to indicate and (2) how to indicate them. Wrt #2, a user could choose, for example, not to use different markers for different buffer changes, i.e., to always use only `*', even if s?he uses #1 to define "change" (only text changes, text and text-property changes,...) for the given buffer. (The option could be buffer-local, of course.)