[Bug: 21.5-b21] Loading sql mode

Surendra Singhi ssinghi at spikesource.com
Tue Jun 21 13:17:04 EDT 2005


================================================================
Dear Bug Team!
  Whenever I open a sql file, XEmacs shows me an error message and
doesn't loads the sql mode. But after the error message is shown, when
I explicilty do M-x sql-mode on the buffer, sql mode is started and
everything works fine.

Thanks for your time.

================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: Linux katun.spikesource.com 2.6.9-1.667 #1 Tue Nov 2 14:41:25 EST 2004 i686 i686 i386 GNU/Linux

./configure 


XEmacs 21.5-b21 "corn" (+CVS-20050606) configured for `i686-pc-linux'.

  WARNING: --------------------------------------------------------------
  WARNING: This was produced from a new autoconf-2.5 based configuration.
  WARNING: If this configuration seems buggy then copy etc/configure-2.13
  WARNING: to configure and try again.  Also please report the bug.
  WARNING: --------------------------------------------------------------

Compilation Environment and Installation Defaults:
  Source code location:              /opt/surendra/xemacs-21.5
  Installation prefix:               /usr/local
  Operating system description file: `s/linux.h'
  Machine description file:          `m/intel386.h'
  Compiler version:                  gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
    - GCC specs file:                /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
    - Compiler command:              gcc -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  
  libc version:                      glibc-2.3.3-74
  Relocating allocator for buffers:  no
  GNU version of malloc:             yes
    - Using Doug Lea's new malloc from the GNU C Library.

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.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  Using Motif native widgets.

TTY:
  Compiling in support for ncurses.
  Compiling in support for GPM (General Purpose Mouse).

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 sound (native).

Databases:
  Compiling in support for Berkeley database.
  Compiling in support for LDAP.

Internationalization:

Mail:
  Compiling in support for "file" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new GC algorithms.
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new allocator.
  WARNING: ---------------------------------------------------------
  WARNING: The new allocator is experimental. It is enabled by
  WARNING: default for this release. Use `--disable-mc-alloc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new portable dumper.
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------



Load-Path Lisp Shadows:
----------------------
(/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/local/lib/xemacs-21.5-b21/lisp/easy-mmode
/usr/local/lib/xemacs/xemacs-packages/lisp/build/build-report
/usr/local/lib/xemacs-21.5-b21/lisp/build-report
/usr/local/lib/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/local/lib/xemacs-21.5-b21/lisp/regexp-opt)


Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.15 upstream: 2.112)
(xwem ver: 1.21 upstream: lg at xwem.org--2005/xwem--main--2.1--versionfix-1)
(xslt-process ver: 1.11 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream: lg at xwem.org--2005/xlib--main--2.1--version-0)
(xetla ver: 1.0 upstream: steve at eicq.org--2005/xetla--main--1.0--version-0)
(xemacs-devel ver: 1.7 upstream: No-Upstream-Ver)
(xemacs-base ver: 1.97 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.3 upstream: 4.0pre47)
(vm ver: 7.19 upstream: 7.17)
(viper ver: 1.38 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.2 upstream: 3.33.2)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.4 upstream: No-Upstream-Ver)
(tramp ver: 1.23 upstream: 2.0.48)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.87 upstream: No-Upstream-Ver)
(texinfo ver: 1.29 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)
(riece ver: 1.19 upstream: 1.0.8)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.02 upstream: 1.20)
(python-modes ver: 1.06 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.03 upstream: No-Upstream-Ver)
(pgg ver: 1.05 upstream: 0.1)
(perl-modes ver: 1.08 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.36 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.46 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.29 upstream: 7.4.2)
(mew ver: 1.18 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.73 upstream: No-Upstream-Ver)
(liece ver: 1.13 upstream: 1.4.9)
(jde ver: 1.46 upstream: 2.3.2)
(ispell ver: 1.31 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.85 upstream: 5.10.7)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.03 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.14 upstream: 5.2.7)
(eshell ver: 1.08 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.15 upstream: Version 5.0 Revision: 1.752)
(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.22 upstream: No-Upstream-Ver)
(ediff ver: 1.51 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.19 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.15 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.15 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.21 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.25 upstream: 2.34)
(auctex ver: 1.46 upstream: 11.55)
(apel ver: 1.27 upstream: 10.2)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)



Installed Modules:
-----------------


Features:
--------

(xemacsbug shadow x-symbol-image x-symbol-nomule font x-symbol-vars
x-symbol x-symbol-sgml nnml ispell gnus-cite smiley annotations
gnus-async gnus-bcklg sort utf7 byte-optimize bytecomp byte-compile
gnus-ml disp-table nnfolder passwd starttls nnimap imap nndraft nnmh
efs-cu bbdb-gnus bbdb-snarf mail-extr bbdb-com gnus-agent gnus-srvr
gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 pgg
pgg-parse pgg-def mm-view gnus-sum gnus-group gnus-undo nntp nnoo
nnmail mail-source gnus-cache bbdb smtpmail gnus-start gnus-spec
gnus-int gnus-range message mml mml-sec mml-smime smime dig mm-decode
mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231 rfc2047 qp
ietf-drums mail-abbrevs sendmail rfc822 mailheader canlock sha1
hex-util gnus-win html-mode jsp-html-helper-mode asp-html-helper-mode
php-html-helper-mode html-helper-mode sgml-mode psgml psgml-html
tramp-smb tramp shell password trampver psvn edmacro jde
jde-open-source executable jde-import jde-java-font-lock
jde-which-method jde-java-grammar jde-wiz jde-complete senator eldoc
browse-url jde-gen tempo jde-run jde-jdb jde-bug jde-dbs jde-dbo
jde-db overlay jde-parse jde-imenu semantic-imenu semantic-java
avltree stack-m elib-node semantic-bnf semantic-sb semantic-ia-sb
semantic-analyze semantic-ctxt semantic-cb eieio-base eieio-speedbar
eieio-custom speedbar sb-image dframe semantic-util-modes
semantic-util semantic assoc working jde-compile compile cus-edit
cus-load cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs semantic-load jde-help jde-util jde-widgets
tree-widget efc beanshell eieio gnus gnus-ems gnus-xmas messagexmas
nnheader nnheaderxm gnus-util netrc mail-utils mm-util mail-prsvr
lazy-lock x-symbol-xmacs x-symbol-hooks latex tex regexp-opt tex-site
timer time erc-notify erc-nets erc-imenu imenu erc-autojoin erc-button
wid-edit erc-ring comint ring erc-pcomplete pcomplete advice
advice-preload erc-track erc-match erc-fill erc-stamp erc-netsplit
erc-goodies erc erc-menu erc-backend erc-compat timezone time-date
parse-time thingatpt pp format-spec font-lock cus-face paren
blink-paren pending-del zenirc-autoloads xwem-autoloads
xslt-process-autoloads xslide-autoloads xlib-autoloads xetla-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 riece-autoloads reftex-autoloads
re-builder-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 erc-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 Sun-autoloads
modules-autoloads auto-autoloads loadhist rsz-minibuf auto-show
fontl-hooks x-iso8859-1 code-cmds gutter-items menubar-items x-menubar
mode-motion mouse behavior itimer auto-save lisp-mode easymenu
easy-mmode 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 motif-dialogs x c-balloon-help tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db md5 xemacs gutter tiff png gif jpeg xpm xbm
lisp-float-type file-coding linux dialog devices window-system base64)


Recent keystrokes:
-----------------

RET RET RET RET up up up up up up up up misc-user M-x 
m y s TAB BS TAB TAB C-x C-f t TAB BS TAB TAB C-g C-x 
C-f t m p . s q l RET C-x o down down down down down 
down down down down down down down down down down down 
down down down down down down down down down down down 
down down down down down down down down down down down 
down down down down down down down down down down down 
down down down down down down down down C-home mis
c-user


Recent messages (most recent first):
-----------------------------------

Warning: 

Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This facility,
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.

To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.

To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent . 
Loading xemacsbug...done
Loading xemacsbug...
Warning: Error in File mode specification: Wrong type argument: (or null string), ("insert"), expansion

Backtrace follows:

  signal(wrong-type-argument ((or null string) ("insert") expansion))
  # bind (count hook expansion name table)
  define-abbrev([0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] "ins" ("insert"))
  # bind (name expansion abbrev)
  #<compiled-function (abbrev) "...(12)" [name expansion abbrev nil (byte-code "Ã\n	ÄÅÆ&‡" [expansion name sql-mode-abbrev-table define-abbrev nil 0 t] 7) ((error (define-abbrev sql-mode-abbrev-table name expansion)))] 3>(("ins" "insert"))
  mapcar(#<compiled-function (abbrev) "...(12)" [name expansion abbrev nil (byte-code "Ã\n	ÄÅÆ&‡" [expansion name sql-mode-abbrev-table define-abbrev nil 0 t] 7) ((error (define-abbrev sql-mode-abbrev-table name expansion)))] 3> (("ins" "insert") ("upd" "update") ("del" "delete") ("sel" "select") ("proc" "procedure") ("func" "function") ("cr" "create")))
  byte-code("..." [sql-mode-abbrev-table define-abbrev-table nil mapcar #<compiled-function (abbrev) "...(12)" [name expansion abbrev nil (byte-code "Ã\n	ÄÅÆ&‡" [expansion name sql-mode-abbrev-table define-abbrev nil 0 t] 7) ((error (define-abbrev sql-mode-abbrev-table name expansion)))] 3> (("ins" "insert") ("upd" "update") ("del" "delete") ("sel" "select") ("proc" "procedure") ("func" "function") ("cr" "create"))] 3)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  # (unwind-protect ...)
  (load-internal "[internal]")
  load-internal("sql" nil nil nil binary)
  # bind (path handler filename nosuffix nomessage noerror file)
  load("sql" nil nil nil)
  # (unwind-protect ...)
  sql-mode()
  # bind (alist mode name keep-going)
  # (unwind-protect ...)
  # bind (just-from-file-name)
  set-auto-mode()
  #<compiled-function nil "...(5)" [set-auto-mode t] 1>()
  # (unwind-protect ...)
  call-with-condition-handler(#<compiled-function (__call_trapping_errors_arg__) "...(17)" [__call_trapping_errors_arg__ errstr error-message-string lwarn file-mode-spec warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" "File mode specification" backtrace-in-condition-handler-eliminating-handler] 8> #<compiled-function nil "...(5)" [set-auto-mode t] 1>)
  # (condition-case ... . ((error)))
  # bind (find-file)
  normal-mode(t)
  # bind (nomodes after-find-file-from-revert-buffer noauto warn error)
  after-find-file(t t)
  # (unwind-protect ...)
  # bind (inhibit-read-only error number truename rawfile nowarn filename buf)
  find-file-noselect-1(#<buffer "tmp.sql"> "/opt/oss/share/tomcat/base/webapps/spikewatch/tmp.sql" nil nil "/opt/oss/share/tomcat/base/webapps/spikewatch/tmp.sql" nil)
  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("/opt/oss/share/tomcat/base/webapps/spikewatch/tmp.sql" nil nil t)
  # bind (wildcards codesys filename)
  #<compiled-function (filename &optional codesys wildcards) "...(77)" [wildcards filename coding-system-for-read codesys bufname value get-coding-system find-file-noselect nil file-exists-p buffer-file-name local-variable-p buffer-file-coding-system switch-to-buffer mapcar] 6 1077558 (list (read-file-name "Find file: ") (and current-prefix-arg (read-coding-system "Coding system: ")) t)>("/opt/oss/share/tomcat/base/webapps/spikewatch/tmp.sql" nil t)
  call-interactively(find-file)
  (dispatch-event "[internal]")
  # (condition-case ... . error)
  # (catch top-level ...)

Loading sql...
(New file)
Quit
Making completion list...
Making completion list...
Quit
Fontifying results.jsp... (Attributes .)
Fontifying results.jsp... (Comments..)
Fontifying results.jsp... (PHP/ASP .......)
Fontifying results.jsp... (Bold/Italics ......)
Fontifying results.jsp... (Bold/Italics .....)
Fontifying results.jsp... (Attributes ....)
Fontifying results.jsp... (Comments.....)
Fontifying results.jsp... (PHP/ASP ..)
Fontifying results.jsp... (Bold/Italics .)
Fontifying results.jsp... (Bold/Italics )






More information about the XEmacs-Beta mailing list