[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
normal-mode breaks VM recover-file
From: |
mjchan . inbox |
Subject: |
normal-mode breaks VM recover-file |
Date: |
Mon, 19 Dec 2005 14:04:45 -0500 |
With latest CVS emasc I upgraded to last week, I found that VM would
no longer be able to "recover-file" from an auto-saved copy
properly. After further investigation, VM would not proceed with
recovering because the major mode (VM mode) was reset to text-mode
during the recovery in normal-mode (in files.el).
I found an entry in ChangeLog made by RMS on Aug. 9th that may be related:
(normal-mode): Always set some major mode.
Apparently, with the current code (normal-mode) in files.el, the major
mode is always set (or reset if it was something else other than
default-major-mode).
I reverted back to the old behavior (by checking the find-file
parameter) and preserve the major mode, and it works as before.
I'm not sure if this is a bug or is something that breaks the
compatibility.
Thanks.
--
MJ
---------------------
If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
c:/Program Files/Emacs/etc/DEBUG for instructions.
In GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
of 2005-12-14 on MCHANXP648L
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.2) --cflags -I../../GnuWin32/include'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: chinese-big5
default-enable-multibyte-characters: t
Major mode: VM Summary
Minor modes in effect:
mc-read-mode: t
auto-image-file-mode: t
encoded-kbd-mode: t
tooltip-mode: t
auto-compression-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
Recent input:
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p
C-p C-p C-p C-p C-p C-p C-x p C-x n <escape> < C-n
C-n C-n C-n C-n C-n C-x p . C-x n <escape> < C-x p
n p M-x e m a c s - b <tab> <backspace> u <tab> <backspace>
r e <tab> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> r e
p o <tab> r <tab> <return>
Recent messages:
Auto-saving...done
Decoding base64... done
Decoding base64... done
Mark set [2 times]
End of message 327 from address@hidden
Making completion list...
Loading emacsbug...done
- normal-mode breaks VM recover-file,
mjchan . inbox <=