================================================================
Dear Bug Team!
I am not sure this is a bug or whether I should ask for a feature request. I
am trying to set up a file so that it runs a func when loaded which hides
local variables, but I get the backtrace at the end of this message. Here
are the local variables (^L is actually \014 in the file):
^L
local variables:
mode: text
eval: (hide-buffer-variables)
end:
Here is the defun:
(defun hide-buffer-variables ()
"Narrow to first page and hide variables. Assumes only two pages."
(let ((pos (point)))
(end-of-buffer)
(narrow-to-page -1)
(goto-char pos)
)
)
If I remove (goto-char pos), I do not get the error. I verified that pos is
before the last page.
I note there are lisp shadows from mule. Those appeared with the latest version
update (21.5.17->21.5.18). The files in
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base
appear to be newer (newer (c)) than those in
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: Darwin
grendal.frinabulax.org 7.6.0 Darwin Kernel Version 7.6.0: Sun Oct 10
12:05:27 PDT 2004; root:xnu/xnu-517.9.4.obj~1/RELEASE_PPC Power Macintosh powerpc
./configure '--with-mule' '--with-widgets=athena'
'--with-athena=3d' '--with-dialogs=athena' '--error-checking=none'
'--debug=no' '--site-libraries=/opt/local/lib:/usr/X11R6/lib:/usr/lib'
'--site-runtime-libraries=/opt/local/lib:/usr/X11R6/lib:/usr/lib'
'--package-path=/Users/royar/usr/local/xemacs/xemacs-packages'
'--cflags-warning=-w' '--prefix=/Users/royar/usr/local'
'--with-prefix' '--with-png' '--with-jpeg' '--with-tiff'
'--cflags= -Os' '--pdump' '--with-xmu' '--with-xim=no'
'--with-sound=esd' '--with-xfs=no' '--use-number-lib=gmp'
'--use-union-type' '--dynamic=yes' '--with-dragndrop'
'--with-gnome'
XEmacs 21.5-b18 "chestnut" (+CVS-20041201) configured for
`powerpc-apple-darwin7.6.0'.
Compilation Environment and Installation Defaults:
Source code location: /Users/royar/src/xemacs
Installation prefix: /Users/royar/usr/local
Additional libraries: /opt/local/lib /usr/X11R6/lib /usr/lib
Operating system description file: `s/darwin.h'
Machine description file: `m/powerpc.h'
Compiler version: gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build
1671)
- GCC specs file: /usr/libexec/gcc/darwin/ppc/3.3/specs
- Compiler command: gcc -w -Os
libc version:
Relocating allocator for buffers: no
GNU version of malloc: no
- The GNU allocators don't work with this system configuration.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
TTY:
Compiling in support for ncurses.
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for more number types using the GNU MP library.
Using the union type for Lisp_Objects.
WARNING: ---------------------------------------------------------
WARNING: This tends to trigger compiler bugs, especially when
WARNING: combined with MULE and ERROR_CHECKING. Crashes have
WARNING: been seen with various versions of GCC (up to about 2.95),
WARNING: and recently with Visual C++ as well (mid-2003).
WARNING: More recent versions may be safer, or not.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Load-Path Lisp Shadows:
----------------------
(/Users/royar/usr/local/lib/xemacs/site-lisp/bigloo/id-select
/Users/royar/usr/local/lib/xemacs/xemacs-packages/lisp/edit-utils/id-select
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base/viet-util
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/viet-util
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base/korea-util
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/korea-util
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base/japan-util
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/japan-util
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base/ethio-util
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/ethio-util
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base/cyril-util
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/cyril-util
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-base/china-util
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/mule/china-util
/Users/royar/usr/local/lib/xemacs/mule-packages/lisp/mule-ucs/unicode
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/unicode
/Users/royar/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/Users/royar/usr/local/lib/xemacs-21.5-b18/lisp/build-report)
Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.15 upstream: 2.112)
(xwem ver: 1.18 upstream: 0.2)
(xslt-process ver: 1.11 upstream: regular)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.12 upstream: 0.2)
(xemacs-devel ver: 1.69 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.92 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.3 upstream: 4.0pre47)
(vm ver: 7.18 upstream: 7.17)
(viper ver: 1.37 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.19 upstream: 3.32.20)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.39 upstream: No-Upstream-Ver)
(tramp ver: 1.2 upstream: 2.0.45)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.37 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.81 upstream: No-Upstream-Ver)
(texinfo ver: 1.25 upstream: No-Upstream-Ver)
(supercite ver: 1.2 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.27 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.11 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.17 upstream: No-Upstream-Ver)
(sh-script ver: 1.18 upstream: 2.0e)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.19 upstream: 1.4.2)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.15 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(reftex ver: 1.34 upstream: 4.21)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.43 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.01 upstream: No-Upstream-Ver)
(pgg ver: 1.05 upstream: 0.1)
(perl-modes ver: 1.06 upstream: No-Upstream-Ver)
(pcomplete ver: 1.03 upstream: 1.1.6)
(pcl-cvs ver: 1.65 upstream: R-2_9_9)
(pc ver: 1.26 upstream: No-Upstream-Ver)
(os-utils ver: 1.35 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.44 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.28 upstream: 7.4.2)
(mew ver: 1.18 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.7 upstream: No-Upstream-Ver)
(liece ver: 1.13 upstream: 1.4.9)
(jde ver: 1.46 upstream: regular)
(ispell ver: 1.29 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.13 upstream: 2.111)
(idlwave ver: 1.31 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.07 upstream: 1.45)
(gnus ver: 1.82 upstream: 5.10.6)
(gnats ver: 1.16 upstream: 3.101)
(general-docs ver: 1.01 upstream: No-Upstream-Ver)
(games ver: 1.15 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.04 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.15 upstream: No-Upstream-Ver)
(ess ver: 1.12 upstream: 5.2.3)
(eshell ver: 1.07 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.18 upstream: No-Upstream-Ver)
(ediff ver: 1.5 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(ecb ver: 1.2 upstream: 2.30.1)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.16 upstream: 7.12)
(dictionary ver: 1.15 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.14 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.09 upstream: /main/laptop/156)
(cc-mode ver: 1.43 upstream: 5.30.9)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.2 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.25 upstream: 2.34)
(auctex ver: 1.42 upstream: 11.53)
(apel ver: 1.27 upstream: 10.2)
(ada ver: 1.14 upstream: 2.27)
(skk ver: 1.23 upstream: regular)
(mule-ucs ver: 1.06 upstream: 0.84)
(mule-base ver: 1.46 upstream: No-Upstream-Ver)
(lookup ver: 1.14 upstream: 1.0)
(locale ver: 1.21 upstream: No-Upstream-Ver)
(leim ver: 1.22 upstream: No-Upstream-Ver)
(latin-unity ver: 1.1 upstream: 1.10)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)
Installed Modules:
-----------------
Features:
--------
(mail-abbrevs xemacsbug shadow gnuserv cc-mode cc-fonts cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt efs-cu blink-cursor
font-lock paren blink-paren sendmail rfc822 disp-table iso-acc iso-syntax
flyspell ispell rtf-support cus-face tempo sgml-mode psgml psgml-html filladapt
pending-del recent-files saveconf saveplace zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tramp-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads sounds-wav-autoloads
sounds-au-autoloads sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads reftex-autoloads
python-modes-autoloads psgml-dtds-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads oo-browser-autoloads
ocaml-autoloads net-utils-autoloads mmm-mode-autoloads misc-games-autoloads
mine-autoloads mh-e-autoloads mew-autoloads mailcrypt-autoloads
mail-lib-autoloads liece-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads ibuffer-autoloads
hyperbole-autoloads hm--html-menus-autoloads haskell-mode-autoloads
gnus-autoloads gnats-autoloads general-docs-autoloads games-autoloads
fsf-compat-autoloads frame-icon-autoloads fortran-modes-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads ess-autoloads
eshell-autoloads escreen-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads ediff-autoloads
edebug-autoloads ecrypto-autoloads ecb-autoloads docbookide-autoloads
dired-autoloads dictionary-autoloads debug-autoloads crisp-autoloads
cookie-autoloads clearcase-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads skk-autoloads mule-ucs-autoloads
mule-base-autoloads lookup-autoloads locale-autoloads leim-autoloads
latin-unity-autoloads egg-its-autoloads edict-autoloads modules-autoloads
mule-autoloads auto-autoloads loadhist rsz-minibuf auto-show fontl-hooks
x-iso8859-1 tibetan lao devanagari indian slovenian czech romanian ccl code-cmds
gutter-items menubar-items x-menubar mode-motion mouse behavior itimer auto-save
lisp-mode easymenu iso8859-1 page buff-menu lib-complete cus-file derived
newcomment env text-props frame obsolete cus-start custom widget cl-extra cl
cl-19 packages backquote unicode lucid-scrollbars cut-buffer lucid-menubars
athena-dialogs x c-balloon-help tty-frames tty toolbar esd-sound scrollbar
unix-processes multicast network-streams subprocesses bigfloat ratio bignum
number-types modules menu-accelerator-support menubar berkeley-db dbm md5 xemacs
mule gutter tiff png gif jpeg xpm xbm lisp-float-type file-coding darwin dialog
devices window-system base64)
Recent keystrokes:
-----------------
button1 button1up ESC x r e p o r TAB x e m TAB RE
T
Recent messages (most recent first):
-----------------------------------
Loading xemacsbug...done
Loading xemacsbug...
Warning: Error in File local-variables: Missing colon in local variables entry
Backtrace follows:
signal(error ("Missing colon in local variables entry"))
# bind (args datum)
cerror("Missing colon in local variables entry")
apply(cerror "Missing colon in local variables entry" nil)
# bind (args datum)
error("Missing colon in local variables entry")
# bind (continue prefix prefixlen suffix start enable-local-eval)
# (unwind-protect ...)
# bind (force)
hack-local-variables-last-page(nil)
# bind (force)
hack-local-variables(nil)
#<compiled-function nil "...(5)" [find-file hack-local-variables] 2>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function (__call_trapping_errors_arg__)
"...(17)" [__call_trapping_errors_arg__ errstr error-message-string lwarn
local-variables warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" "File
local-variables" backtrace-in-condition-handler-eliminating-handler] 8>
#<compiled-function nil "...(5)" [find-file hack-local-variables] 2>)
# (condition-case ... . ((error)))
# bind (find-file)
normal-mode(t)
# bind (nomodes after-find-file-from-revert-buffer noauto warn error)
after-find-file(nil t)
# (unwind-protect ...)
# bind (inhibit-read-only error number truename rawfile nowarn filename buf)
find-file-noselect-1(#<buffer "The_Letter_Slayeth">
"/Users/royar/Documents/Fiction/Daemons_of_Filial_Piety/The_Letter_Slayeth" nil
nil "/Users/royar/Documents/Fiction/Daemons_of_Filial_Piety/The_Letter_Slayeth"
(818624 234881026))
byte-code("..." [number truename rawfile nowarn filename buf
set-buffer-major-mode find-file-noselect-1] 7)
# (condition-case ... . ((t (byte-code "Â!Ã @ A\"" [buf data
kill-buffer signal] 3))))
# bind (number truename buf wildcards rawfile nowarn filename)
find-file-noselect("/Users/royar/Documents/Fiction/Daemons_of_Filial_Piety/The_Letter_Slayeth"
nil nil nil)
# bind (wildcards codesys filename)
find-file("/Users/royar/Documents/Fiction/Daemons_of_Filial_Piety/The_Letter_Slayeth")
# bind (sexpr context-buffer recover-file-name)
byte-code("..." [save-context-version recover-file-name sexpr context-buffer
nil original-working-directory ".emacs_" user-login-name file-readable-p error
"can't access context, %s" get-buffer-create " *Recovered
Context*" erase-buffer insert-file-contents set-buffer-modified-p buffer-size 0
"context file is empty, %s" read "version string incorrect, %s"
select-window get-largest-window buffer-file-name split-window other-window 1 find-file
find-file-noselect t kill-buffer bury-buffer "*scratch*"] 4)
# (condition-case ... . ((error)))
recover-context()
(setq inhibit-startup-message (recover-context))
# bind (current-load-list)
# (unwind-protect ...)
# bind (load-file-name)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
load-internal("/Users/royar/xemacs-xwin.el" t t t undecided)
# bind (path handler filename nosuffix nomessage noerror file)
load("/Users/royar/xemacs-xwin.el" t t t)
load-user-init-file()
#<compiled-function nil "...(10)" [init-file-had-error
load-user-init-file-p load-user-init-file nil] 2>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function (__load_init_file_arg__)
"...(26)" [init-file-had-error user-init-file __load_init_file_arg__ errstr
error-message-string message "Error in init file: %s" lwarn initialization error
"An error has occurred while loading %s:\n\n%s\n\nBacktrace follows:\n\n%s\n\nTo
ensure normal operation, you should investigate the cause of the error\nin your
initialization file and remove it. Use the `-debug-init' option\nto XEmacs to enter
the debugger when the error occurs and investigate the\nexact problem."
backtrace-in-condition-handler-eliminating-handler t] 8> #<compiled-function nil
"...(10)" [init-file-had-error load-user-init-file-p load-user-init-file nil]
2>)
# (condition-case ... . ((error)))
# bind (debug-on-error debug-on-error-from-init-file debug-on-error-should-be-set
debug-on-error-initial)
load-init-file()
# bind (command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " Â" [error-data data nil] 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
Fontifying raiseframe.c... done.
XEmacs 21.5 (beta18) "chestnut" (+CVS-20041201) [Lucid]
(powerpc-apple-darwin7.6.0, Mule) of Thu Dec 2 2004 on
grendal.frinabulax.org
Loading gnuserv...done
Loading gnuserv...
Loading /Users/royar/usr/local/lib/xemacs/site-lisp/html-mine.elc...done
Loading /Users/royar/usr/local/lib/xemacs/site-lisp/html-mine.elc...
Loading cc-mode...done
Fontifying raiseframe.c... (regexps)..............
Fontifying raiseframe.c... (regexps)..............
Fontifying raiseframe.c... (regexps).............
Fontifying raiseframe.c... (regexps).............
Fontifying raiseframe.c... (regexps).............
Fontifying raiseframe.c... (regexps)...........
Fontifying raiseframe.c... (regexps)...........
Fontifying raiseframe.c... (syntactically).
Fontifying raiseframe.c...
Fontifying gnuserv.c... done.
--
Dr. Robert Delius Royar Associate Professor of English
Morehead State University Morehead, Kentucky