[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp and diff-mode results in Emacs crash
From: |
Chong Yidong |
Subject: |
Re: tramp and diff-mode results in Emacs crash |
Date: |
Tue, 27 Feb 2007 20:40:59 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) |
Dale Sedivec <address@hidden> writes:
> - ~/software/emacs22/bin/emacs -q
> - C-x C-f /10.0.1.169:foo.rej RET
> - C-c C-u
>
> I see only "Back to top level." The diff is unmodified by the
> command. Menus stop working, C-x C-b says "Back to top level." or
> nothing, C-x b alternates between "S" and "Back to top level." in the
> minibuffer without ever letting me change buffers, etc.
I checked in a fix for this.
(It's not a great fix, but it's the safest one I could think of. The
problem arises when combine-after-change-calls is on. The Tramp
filename handlers can be called (by lock_file) just before Emacs is
about to combine after-change calls, but those filename handlers can
themselves produce after-change calls because they scribble in temp
buffers. It is possible to get Emacs into a confused state in this
way. I simply made the Tramp handlers bind inhibit-modification-hooks
to avoid this problem. We may want to revisit the interaction of file
modification hooks with combine-after-change-calls after the release.)