Hi,
I'm the emacs-lisp n00b who's audaciously decided to take over
maintenance of ruby-modes.
I'm having a great deal of difficulty figuring out what the dickens
the backtrace means. I can't even see where it's telling me the line
number or method name it failed on. Sorry if it's obvious, but
although I'm an experienced programmer, lisp is completely new to me.
/usr/bin/xemacs -no-autoloads -vanilla -batch -eval '(setq
stack-trace-on-error t load-always-display-messages t
load-ignore-out-of-date-elc-files t load-show-full-path-in-messages
t)' -eval '(setq load-path (list lisp-directory))' -l
/home/ayqazi/src/packages/xemacs/cvs/packages/package-compile.el --
xemacs-base debug -- -f batch-byte-compile ruby-electric.el
Loading /usr/lib/xemacs-21.4.20/lisp/auto-autoloads...
Loading
/home/ayqazi/src/packages/xemacs/cvs/packages/xemacs-packages/debug/auto-autoloads...
Loading
/home/ayqazi/src/packages/xemacs/cvs/packages/xemacs-packages/xemacs-base/auto-autoloads...
Compiling
/home/ayqazi/src/packages/xemacs/cvs/packages/xemacs-packages/ruby-modes/ruby-electric.el...
While compiling ruby-electric-mode in file
/home/ayqazi/src/packages/xemacs/cvs/packages/xemacs-packages/ruby-modes/ruby-electric.el:
** reference to free variable ruby-electric-mode-hook
** reference to free variable ruby-electric-mode-on-hook
** reference to free variable ruby-electric-mode-off-hook
While compiling toplevel forms:
!! End of file or stream ((#<buffer " *Compiler Input*">))
backtrace(nil t)
# bind (error-info)
byte-compile-report-error((end-of-file #<buffer " *Compiler Input*">))
# bind (error-info)
#<compiled-function (error-info) "...(4)" [error-info
byte-compile-report-error] 2>((end-of-file #<buffer " *Compiler
Input*">))
read(#<buffer " *Compiler Input*">)
# (unwind-protect ...)
#<compiled-function nil "...(43)" [byte-compile-unresolved-functions
byte-compile-inbuffer 1 " \n" nil looking-at ";"
byte-compile-file-form read byte-compile-flush-pending
byte-compile-warn-about-unresolved-functions] 3>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function (error-info)
"...(4)" [error-info byte-compile-report-error] 2> #<compiled-function
nil "...(43)" [byte-compile-unresolved-functions byte-compile-inbuffer
1 " \n" nil looking-at ";" byte-compile-file-form read
byte-compile-flush-pending
byte-compile-warn-about-unresolved-functions] 3>)
# (unwind-protect ...)
# bind (byte-compile-warnings-beginning byte-compile-point-max-prev
byte-compile-log-buffer byte-compile-macro-environment
byte-compile-function-environment byte-compile-autoload-environment
byte-compile-unresolved-functions byte-compile-bound-variables
byte-compile-free-references byte-compile-free-assignments
byte-compile-verbose byte-optimize byte-compile-emacs19-compatibility
byte-compile-dynamic byte-compile-dynamic-docstrings
byte-compile-warnings byte-compile-file-domain byte-compile-outbuffer
float-output-format case-fold-search print-length print-level
byte-compile-constants byte-compile-variables byte-compile-tag-number
byte-compile-depth byte-compile-maxdepth byte-compile-output eval
filename byte-compile-inbuffer)
byte-compile-from-buffer(#<buffer " *Compiler Input*">
"/home/ayqazi/src/packages/xemacs/cvs/packages/xemacs-packages/ruby-modes/ruby-electric.el")
# bind (byte-compile-current-file target-file input-buffer
output-buffer byte-compile-dest-file load filename)
byte-compile-file("ruby-electric.el")
byte-code("..." [file byte-compile-file t] 2)
# (condition-case ... . ((error (byte-code
"ÂÃ!ˆÂ!ˆÂÄ!ˆÅÆ!«‡Æ Ç\"ˆª' @ÈN(r)‚ @!ˆÉÊ A\"ˆÂË!ˆÇ‡" ... 3))))
# bind (file)
batch-byte-compile-1("ruby-electric.el")
# bind (error file-to-process)
batch-byte-compile-one-file()
# bind (error)
batch-byte-compile()
# bind (arg)
command-line-do-funcall("-f")
# bind (dir file-count line end-of-options file-p arg tem)
command-line-1()
# bind (command-line-args-left)
command-line()
# (condition-case ... . ((t (byte-code " ‡" ... 1))))
# bind (error-data)
normal-top-level()
# (condition-case ... . error)
# (catch top-level ...)
>Error occurred processing ruby-electric.el:
End of file or
stream: #<buffer " *Compiler Input*">
Done
make: *** [ruby-electric.elc] Error 1
I've attached the ruby-electric.el file that this occurs on.
Thanks
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta