From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#18884: 24.4; OS X losing track of file dirty state Date: Thu, 30 Oct 2014 20:16:22 +0100 Message-ID: <878FA6EF-EAEA-44EE-B2AC-3DF2B4551555@swipnet.se> References: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1414776581 4676 80.91.229.3 (31 Oct 2014 17:29:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 31 Oct 2014 17:29:41 +0000 (UTC) Cc: 18884-done@debbugs.gnu.org To: Gaute Hvoslef Kvalnes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 31 18:29:34 2014 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 1XkG0w-0001we-OH for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 18:29:30 +0100 Original-Received: from localhost ([::1]:39924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkG0w-0002Zq-Ar for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 Oct 2014 13:29:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XkE9Z-0000ZV-5V for bug-gnu-emacs@gnu.org; Fri, 31 Oct 2014 11:31:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjvDT-0008QX-Iz for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 15:17:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjvDT-0008Q7-GY for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 15:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjvDT-0004e1-3y for bug-gnu-emacs@gnu.org; Thu, 30 Oct 2014 15:17:03 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Oct 2014 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 18884 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 18884@debbugs.gnu.org, jan.h.d@swipnet.se, gaute@sunnhordland.no Original-Received: via spool by 18884-done@debbugs.gnu.org id=D18884.141469659617803 (code D ref 18884); Thu, 30 Oct 2014 19:17:02 +0000 Original-Received: (at 18884-done) by debbugs.gnu.org; 30 Oct 2014 19:16:36 +0000 Original-Received: from localhost ([127.0.0.1]:40840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjvD1-0004d4-By for submit@debbugs.gnu.org; Thu, 30 Oct 2014 15:16:35 -0400 Original-Received: from mailfe07.swip.net ([212.247.154.193]:39147 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjvCy-0004cm-UN for 18884-done@debbugs.gnu.org; Thu, 30 Oct 2014 15:16:34 -0400 X-T2-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 543548154; Thu, 30 Oct 2014 20:16:23 +0100 In-Reply-To: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> X-Mailer: Apple Mail (2.1990.1) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:95306 Hi. This has been fixed in the 24-branch. Jan D. > 29 okt 2014 kl. 10:46 skrev Gaute Hvoslef Kvalnes = : >=20 >=20 > Emacs' own "modification state" (indicated with asterisks in the mode > line) is out of sync with the OS X "dirty state" (indicated with a dot=20= > in the close button and a greyed-out file icon in the title bar). >=20 > This worked reliably before I upgraded to 24.4. >=20 > Sometimes, I press C-x s, and the dirty state remains. Switching to > another buffer and back fixes it. Or just M-x C-g. >=20 > Sometimes, I can edit a buffer without triggering dirty state. The = same > tricks will "fix" it. M-x C-g. >=20 > I haven't explored precisely what triggers the bug. It happens = frequently. Let me know if you cannot reproduce it, and I'll provide = more details. >=20 > This is on OS X 10.6. Tested by running=20 > /Applications/Emacs.app/Contents/MacOS/Emacs -q >=20 >=20 >=20 >=20 > In GNU Emacs 24.4.1 (i686-apple-darwin, NS apple-appkit-1038.36) > of 2014-10-21 on builder10-6.porkrind.org > Windowing system distributor `Apple', version 10.3.1038 > Configured using: > `configure --with-ns --host=3Di686-apple-darwin = --build=3Di686-apple-darwin > --with-jpeg=3Dno --with-png=3Dno --with-gif=3Dno --with-tiff=3Dno' >=20 > Important settings: > value of $LC_CTYPE: UTF-8 > locale-coding-system: utf-8-unix >=20 > Major mode: Text >=20 > Minor modes in effect: > tooltip-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t >=20 > Recent input: > C-x C-f d e s k g i t =20 > m b / g r e y =20 > SPC SPC SPC SPC =20 > =20 > C-x b C-g s-x M-x r e p o r t >=20 > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > Making completion list... > Quit > kill-region: The mark is not set now, so there is no region > Making completion list... >=20 > Load-path shadows: > None found. >=20 > Features: > (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 = mml > mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev > gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util > help-fns mail-prsvr mail-utils help-mode easymenu time-date tooltip > electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win > tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment > lisp-mode prog-mode register page menu-bar rfn-eshadow timer select > scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame = cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese hebrew greek romanian slovak czech european ethiopic > indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple > abbrev minibuffer nadvice loaddefs button faces cus-face macroexp = files > text-properties overlay sha1 md5 base64 format env code-pages mule > custom widget hashtable-print-readable backquote make-network-process > cocoa ns multi-tty emacs) >=20 > Memory information: > ((conses 8 72631 5057) > (symbols 24 17308 0) > (miscs 20 86 222) > (strings 16 9226 3815) > (string-bytes 1 259136) > (vectors 8 9129) > (vector-slots 4 378690 5296) > (floats 8 53 304) > (intervals 28 231 16) > (buffers 512 14)) >=20 >=20 >=20