[ESS] Symbol's function definition is void: regexp-opt

John Charles Considine vinum at iinet.net.au
Tue Sep 27 09:55:11 CEST 2005


I'm having a little trouble getting ESS to work on a windows machine.
Xemacs 21.5.17
ESS 5.2.10
R-2.1.1

The init file is based on John Fox's.

Any ideas?

JC

**************
(1) (initialization/error) An error has occurred while loading c:\documents
and settings\jconsidi\.xemacs\init.el:

 

Symbol's function definition is void: regexp-opt

 

Backtrace follows:

 

  (regexp-opt ess-R-assign-ops)

  (cons (regexp-opt ess-R-assign-ops) (quote font-lock-reference-face))

  (list (cons (regexp-opt ess-R-assign-ops) (quote
font-lock-reference-face)) (cons (concat "\\<" (regexp-opt ess-R-constants
(quote enc-paren)) "\\>") (quote font-lock-type-face)) (cons (concat "\\<"
(regexp-opt ess-R-modifyiers (quote enc-paren)) "\\>") (quote
font-lock-reference-face)) (cons (concat "\\<" (regexp-opt ess-R-keywords
(quote enc-paren)) "\\>") (quote font-lock-keyword-face)) (cons
ess-R-function-name-regexp (quote (1 font-lock-function-name-face t))))

  (defvar ess-R-mode-font-lock-keywords (list (cons (regexp-opt
ess-R-assign-ops) (quote font-lock-reference-face)) (cons (concat "\\<"
(regexp-opt ess-R-constants (quote enc-paren)) "\\>") (quote
font-lock-type-face)) (cons (concat "\\<" (regexp-opt ess-R-modifyiers
(quote enc-paren)) "\\>") (quote font-lock-reference-face)) (cons (concat
"\\<" (regexp-opt ess-R-keywords (quote enc-paren)) "\\>") (quote
font-lock-keyword-face)) (cons ess-R-function-name-regexp (quote (1
font-lock-function-name-face t)))) "Font-lock patterns used in `R-mode'
buffers.")

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("ess-cust" nil require nil undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("ess-cust" nil require nil)

  # (unwind-protect ...)

  require(ess-cust)

  (progn (require (quote ess-cust)))

  (eval-and-compile (require (quote ess-cust)))

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("ess" nil require nil undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("ess" nil require nil)

  # (unwind-protect ...)

  require(ess)

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("ess-mode" nil require nil undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("ess-mode" nil require nil)

  # (unwind-protect ...)

  require(ess-mode)

  # bind (force)

  ess-toggle-underscore(force-to-S-assign)

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("essl-s" nil require nil undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("essl-s" nil require nil)

  # (unwind-protect ...)

  require(essl-s)

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("essd-r" nil require nil undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("essd-r" nil require nil)

  # (unwind-protect ...)

  require(essd-r)

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("ess-site" nil require nil undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("ess-site" nil require nil)

  # (unwind-protect ...)

  require(ess-site)

  # bind (current-load-list)

  # (unwind-protect ...)

  # bind (load-file-name)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  # (unwind-protect ...)

  load-internal("c:\\documents and settings\\jconsidi\\.xemacs\\init.el" t t
t undecided)

  # bind (path handler filename nosuffix nomessage noerror file)

  load("c:\\documents and settings\\jconsidi\\.xemacs\\init.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 ...)

 

 

To ensure normal operation, you should investigate the cause of the error

in your initialization file and remove it.  Use the `-debug-init' option

to XEmacs to enter the debugger when the error occurs and investigate the

exact problem.




More information about the ESS-help mailing list