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.help Subject: Re: After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true. Date: Thu, 25 Dec 2014 02:10:19 +0100 Message-ID: <87egroa610.fsf@wanadoo.es> References: <1699702769.1196222.1419450897931.JavaMail.yahoo@jws11113.mail.ir2.yahoo.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1419469863 25507 80.91.229.3 (25 Dec 2014 01:11:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2014 01:11:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 25 02:10:56 2014 Return-path: Envelope-to: geh-help-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 1Y3wx4-0006VE-V2 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Dec 2014 02:10:55 +0100 Original-Received: from localhost ([::1]:49792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3wx4-0003QF-3n for geh-help-gnu-emacs@m.gmane.org; Wed, 24 Dec 2014 20:10:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3wwo-0003Q3-7l for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 20:10:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y3wwk-0004M8-73 for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 20:10:38 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:39167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y3wwj-0004Lh-T4 for help-gnu-emacs@gnu.org; Wed, 24 Dec 2014 20:10:34 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Y3wwh-0006Qs-8Q for help-gnu-emacs@gnu.org; Thu, 25 Dec 2014 02:10:31 +0100 Original-Received: from 129.red-88-10-128.dynamicip.rima-tde.net ([88.10.128.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 02:10:31 +0100 Original-Received: from ofv by 129.red-88-10-128.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Dec 2014 02:10:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 129.red-88-10-128.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:IF69g/TS62rxNvbN4tTqhHjw6eY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101720 Archived-At: asdjh asjdh writes: > If I modify a buffer and then save it, the buffer modified flag resets > and the subsequent undo commands set the buffer modified flag to > true.However if I use (set-buffer-modified-p nil), the flag resets but > then the first undo command doesn't set it to true.How can I get the > first undo to set the buffer modified flag to true after > (set-buffer-modified-p nil) ?  I cannot replicate this problem starting with `emacs -Q' on GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, X toolkit) of 2014-12-19 If you have a recipe for reproducing the problem starting with `emacs -Q' or you can share the config that causes the problem, please file a bug report with M-x report-emacs-bug