From unknown Wed Jun 18 23:18:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18884 <18884@debbugs.gnu.org> To: bug#18884 <18884@debbugs.gnu.org> Subject: Status: 24.4; OS X losing track of file dirty state Reply-To: bug#18884 <18884@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:18:19 +0000 retitle 18884 24.4; OS X losing track of file dirty state reassign 18884 emacs submitter 18884 Gaute Hvoslef Kvalnes severity 18884 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 29 11:20:35 2014 Received: (at submit) by debbugs.gnu.org; 29 Oct 2014 15:20:35 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_WEB autolearn=disabled version=3.3.2 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 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 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 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 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 From: Gaute Hvoslef Kvalnes Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.4; OS X losing track of file dirty state Date: Wed, 29 Oct 2014 10:46:38 +0100 X-ASG-Orig-Subj: 24.4; OS X losing track of file dirty state Message-Id: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1085) 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.4 (----) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.4 (----) 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)) From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 30 15:16:35 2014 Received: (at 18884-done) by debbugs.gnu.org; 30 Oct 2014 19:16:36 +0000 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 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 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 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: bug#18884: 24.4; OS X losing track of file dirty state From: =?utf-8?Q?Jan_Dj=C3=A4rv?= In-Reply-To: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> Date: Thu, 30 Oct 2014 20:16:22 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <878FA6EF-EAEA-44EE-B2AC-3DF2B4551555@swipnet.se> References: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> To: Gaute Hvoslef Kvalnes X-Mailer: Apple Mail (2.1990.1) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 18884-done Cc: 18884-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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 From unknown Wed Jun 18 23:18:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 28 Nov 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator