(Sorry if this is a duplicate of what I sent directly from XEmacs, but
I've never done e-mail within XEmacs and so have no idea whether my
attempt to send a report directly from there actually worked.)
Dear Bug Team!
I try to exit XEmacs 21.4.19 under Windows XP by either using the main
window close button or menu item File > Exit XEmacs.
The minibuffer shows message
No such coding system: iso-2022-8
and XEmacs will not exit. (The only way I can exit is by using the
Windows Task Manager.)
At first I thought this was caused by AUCTeX, but AUCTeX expert David
Kastrup says the problem is "very clearly an XEmacs-internal" one that
has no particular relation to AUCTeX.
Here's what C-h v kill-emacs-hook RET says:
`kill-emacs-hook' is a variable declared in Lisp.
-- loaded from
"e:\acs\software\XEmacsWindowsKit\xemacs-21.4-2006-01-28\lisp\subr.elc"
Value: (save-place-kill-emacs-hook savehist-autosave
#<compiled-function nil "...(16)" [bookmark-alist featurep bookmark
bookmark-time-to-save-p t bookmark-save] 2>)
And here's what I get from
M-x set-variable RET debug-on-error RET t RET
Debugger entered--Lisp error: (error "No such coding system" iso-2022-8)
coding-system-property(iso-2022-8 pre-write-conversion)
write-region(1 748 "~/.xemacs/history" nil quiet)
savehist-save(t)
savehist-autosave()
kill-emacs()
save-buffers-kill-emacs(nil)
call-interactively(save-buffers-kill-emacs)
================================================================
System Info to help track down your bug:
---------------------------------------
OS version:
Microsoft Windows XP [Version 5.1.2600]
OS: Windows_NT
XEmacs 21.4.19 "Constant Variable" configured for `i586-pc-win32'.
Building XEmacs in
"e:\\acs\\software\\XEmacsWindowsKit\\xemacs-21.4-2006-01-28\\nt".
Using compiler "cl -nologo -W3 -O2 -G5 -MD".
Installing XEmacs in "c:\\XEmacs-built\\XEmacs-21.4.19".
Package path is
"~\\.xemacs;;c:\\XEmacs-built\\site-packages;c:\\XEmacs-built\\xemacs-packages".
Compiling in support for Microsoft Windows native GUI.
Compiling in support for XPM images.
Compiling in support for GIF images.
Compiling in support for PNG images.
Compiling in support for TIFF images.
Compiling in support for JPEG images.
Compiling in support for toolbars.
Compiling in support for dialogs.
Compiling in support for widgets.
Compiling in support for native sounds.
Compiling in fast dired implementation.
Using portable dumper.
Using system malloc.
Using DLL version of C runtime library
Load-Path Lisp Shadows:
----------------------
nil
Installed XEmacs Packages:
-------------------------
(xemacs-devel ver: 1.72 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.03 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(text-modes ver: 1.9 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(semantic ver: 1.2 upstream: 1.4.4)
(prog-modes ver: 2.07 upstream: No-Upstream-Ver)
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.37 upstream: No-Upstream-Ver)
(net-utils ver: 1.48 upstream: N/A)
(mail-lib ver: 1.76 upstream: No-Upstream-Ver)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edit-utils ver: 2.34 upstream: No-Upstream-Ver)
(ediff ver: 1.62 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecb ver: 1.22 upstream: 2.31)
(dired ver: 1.17 upstream: 7.13)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(cc-mode ver: 1.45 upstream: 5.30.10)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(auctex ver: 1.46 upstream: 11.55)
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 cus-face saveplace
savehist tex-site tex-mik xemacs-devel-autoloads xemacs-base-autoloads
time-autoloads text-modes-autoloads texinfo-autoloads
speedbar-autoloads sounds-wav-autoloads sh-script-autoloads
semantic-autoloads prog-modes-autoloads perl-modes-autoloads
pc-autoloads os-utils-autoloads net-utils-autoloads mail-lib-autoloads
fsf-compat-autoloads eieio-autoloads efs-autoloads
edit-utils-autoloads ediff-autoloads edebug-autoloads ecb-autoloads
dired-autoloads debug-autoloads cc-mode-autoloads c-support-autoloads
auctex-autoloads lisp-autoloads loadhist auto-show fontl-hooks
code-cmds gutter-items menubar-items x-menubar dragdrop mode-motion
mouse itimer auto-save lisp-mode easymenu iso8859-1 page buff-menu
lib-complete help-nomule cus-file derived frame text-props obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp file-coding mswindows-scrollbars mswindows toolbar
native-sound scrollbar network-streams subprocesses
menu-accelerator-support menubar md5 xemacs gutter tiff png gif jpeg
xpm xbm lisp-float-type windows-nt dragdrop-api dialog devices
window-system base64)
Recent keystrokes:
-----------------
misc-user
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Loading cus-face...done
Loading cus-face...
Loading saveplace...done
Loading saveplace...