From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Distinguish textual modifications from properties-only modifications? Date: Sat, 23 Feb 2013 11:53:39 +0100 Message-ID: <87y5ef1eto.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361616843 24983 80.91.229.3 (23 Feb 2013 10:54:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 10:54:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 23 11:54:25 2013 Return-path: Envelope-to: ged-emacs-devel@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 1U9CkG-00029A-UR for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2013 11:54:21 +0100 Original-Received: from localhost ([::1]:39879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Cjw-0007Wh-HF for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2013 05:54:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Cjs-0007WW-Vg for emacs-devel@gnu.org; Sat, 23 Feb 2013 05:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9Cjr-0001bQ-11 for emacs-devel@gnu.org; Sat, 23 Feb 2013 05:53:56 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:45469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Cjq-0001bK-Qf for emacs-devel@gnu.org; Sat, 23 Feb 2013 05:53:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1U9Ck6-0001q9-GI for emacs-devel@gnu.org; Sat, 23 Feb 2013 11:54:10 +0100 Original-Received: from mar75-2-81-56-68-112.fbx.proxad.net ([81.56.68.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Feb 2013 11:54:10 +0100 Original-Received: from bzg by mar75-2-81-56-68-112.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Feb 2013 11:54:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: mar75-2-81-56-68-112.fbx.proxad.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:ndVMBNFWGA236amlnRnj0KadWJc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157274 Archived-At: Changing the text properties makes (buffer-modified-p) to return t. If a file has been modified outside Emacs after it has been opened in Emacs, one cannot change the text properties of the buffer without being asked whether we really want to edit the buffer. This default looks good to me, but I wonder if there is a way to get rid of the warning, or to distinguish between text modifications and properties modifications. Thanks for any advice, -- Bastien