GNU bug report logs - #18884
24.4; OS X losing track of file dirty state

Previous Next

Package: emacs;

Reported by: Gaute Hvoslef Kvalnes <gaute <at> sunnhordland.no>

Date: Wed, 29 Oct 2014 15:21:02 UTC

Severity: normal

Found in version 24.4

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18884 in the body.
You can then email your comments to 18884 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18884; Package emacs. (Wed, 29 Oct 2014 15:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gaute Hvoslef Kvalnes <gaute <at> sunnhordland.no>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 29 Oct 2014 15:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Gaute Hvoslef Kvalnes <gaute <at> sunnhordland.no>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; OS X losing track of file dirty state
Date: Wed, 29 Oct 2014 10:46:38 +0100
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 
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 
/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=i686-apple-darwin --build=i686-apple-darwin
--with-jpeg=no --with-png=no --with-gif=no --with-tiff=no'

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:
<help-echo> C-x C-f d e <tab> s k <tab> g i t <tab> 
<backspace> <backspace> <backspace> m b / g r e y <tab> 
<return> SPC SPC SPC SPC <return> <return> <return> 
<return> <backspace> <backspace> <backspace> <backspace> 
C-x b C-g s-x M-x r e p o <tab> r t <tab> <return>

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))





Reply sent to Jan Djärv <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Thu, 30 Oct 2014 19:17:02 GMT) Full text and rfc822 format available.

Notification sent to Gaute Hvoslef Kvalnes <gaute <at> sunnhordland.no>:
bug acknowledged by developer. (Thu, 30 Oct 2014 19:17:03 GMT) Full text and rfc822 format available.

Message #10 received at 18884-done <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Gaute Hvoslef Kvalnes <gaute <at> sunnhordland.no>
Cc: 18884-done <at> debbugs.gnu.org
Subject: Re: bug#18884: 24.4; OS X losing track of file dirty state
Date: Thu, 30 Oct 2014 20:16:22 +0100
Hi.

This has been fixed in the 24-branch.

	Jan D.

> 29 okt 2014 kl. 10:46 skrev Gaute Hvoslef Kvalnes <gaute <at> sunnhordland.no>:
> 
> 
> 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 
> 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 
> /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=i686-apple-darwin --build=i686-apple-darwin
> --with-jpeg=no --with-png=no --with-gif=no --with-tiff=no'
> 
> 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:
> <help-echo> C-x C-f d e <tab> s k <tab> g i t <tab> 
> <backspace> <backspace> <backspace> m b / g r e y <tab> 
> <return> SPC SPC SPC SPC <return> <return> <return> 
> <return> <backspace> <backspace> <backspace> <backspace> 
> C-x b C-g s-x M-x r e p o <tab> r t <tab> <return>
> 
> 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))
> 
> 
> 





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Nov 2014 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 152 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.