From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Gaute Hvoslef Kvalnes Newsgroups: gmane.emacs.bugs Subject: bug#18884: 24.4; OS X losing track of file dirty state Date: Wed, 29 Oct 2014 10:46:38 +0100 Message-ID: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1414596092 24364 80.91.229.3 (29 Oct 2014 15:21:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Oct 2014 15:21:32 +0000 (UTC) To: 18884@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 29 16:21:26 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 1XjV3p-0007Ir-66 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 16:21:21 +0100 Original-Received: from localhost ([::1]:46839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjV3o-0003bt-O2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Oct 2014 11:21:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjV3d-0003RF-Ri for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 11:21:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjV3W-00086v-W1 for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 11:21:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjV3W-00086p-TC for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 11:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XjV3W-000315-In for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gaute Hvoslef Kvalnes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Oct 2014 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18884 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141459603511545 (code B ref -1); Wed, 29 Oct 2014 15:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Oct 2014 15:20:35 +0000 Original-Received: from localhost ([127.0.0.1]:38919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjV34-000306-5V for submit@debbugs.gnu.org; Wed, 29 Oct 2014 11:20:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39233) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XjPqQ-0001Gx-Uh for submit@debbugs.gnu.org; Wed, 29 Oct 2014 05:47:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjPqE-0000KD-V8 for submit@debbugs.gnu.org; Wed, 29 Oct 2014 05:47:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:35624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjPqE-0000K7-SK for submit@debbugs.gnu.org; Wed, 29 Oct 2014 05:46:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjPq8-0002jZ-V9 for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 05:46:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XjPq3-0000GY-0y for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 05:46:52 -0400 Original-Received: from mailout6.bkkb.no ([82.134.112.54]:58355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XjPq2-0000Fo-Lz for bug-gnu-emacs@gnu.org; Wed, 29 Oct 2014 05:46:46 -0400 X-ASG-Debug-ID: 1414575996-00f7e70ab578970001-HqB3X1 Original-Received: from [192.168.1.34] (214.62-97-248.bkkb.no [62.97.248.214]) by mailout6.bkkb.no with ESMTP id xGUxwqitoHYC5QAp for ; Wed, 29 Oct 2014 10:46:36 +0100 (CET) X-Barracuda-Envelope-From: gaute@sunnhordland.no X-Barracuda-Apparent-Source-IP: 62.97.248.214 X-ASG-Orig-Subj: 24.4; OS X losing track of file dirty state X-Mailer: Apple Mail (2.1085) X-Barracuda-Connect: 214.62-97-248.bkkb.no[62.97.248.214] X-Barracuda-Start-Time: 1414575996 X-Barracuda-URL: http://82.134.112.54:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at bkkb.no X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.11017 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Wed, 29 Oct 2014 11:20:31 -0400 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:95250 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). This worked reliably before I upgraded to 24.4. 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. Sometimes, I can edit a buffer without triggering dirty state. The same tricks will "fix" it. M-x C-g. 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. This is on OS X 10.6. Tested by running=20 /Applications/Emacs.app/Contents/MacOS/Emacs -q 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' Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Text 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 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 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... Load-path shadows: None found. 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) 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))