From: Gaute Hvoslef Kvalnes <gaute@sunnhordland.no>
To: 18884@debbugs.gnu.org
Subject: bug#18884: 24.4; OS X losing track of file dirty state
Date: Wed, 29 Oct 2014 10:46:38 +0100 [thread overview]
Message-ID: <2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no> (raw)
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))
next reply other threads:[~2014-10-29 9:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-29 9:46 Gaute Hvoslef Kvalnes [this message]
2014-10-30 19:16 ` bug#18884: 24.4; OS X losing track of file dirty state Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2170DC4A-F3A9-4C9D-92EF-2776A9B6D0B8@sunnhordland.no \
--to=gaute@sunnhordland.no \
--cc=18884@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.