[Python-mode] xemacs Potential problem

Eric S. Johansson esj at harvee.org
Tue Aug 9 02:43:53 CEST 2011


I'm experimenting with the latest beta and try to figure out what's the right 
set of options for configure for production version and I got this error. Any ideas?

(1) (file-mode-spec/warning) Error in File mode specification: Malformed list: 
:background

Backtrace follows:

backtrace(nil t)
# bind (standard-output standard-output handler-arg-name)
backtrace-in-condition-handler-eliminating-handler(call-trapping-errors-Ldc9FC5Hr)
# bind (errstr call-trapping-errors-Ldc9FC5Hr)
#<compiled-function (from "/home/esj/xemacs-beta/lisp/files.elc") 
(call-trapping-errors-Ldc9FC5Hr) "...(17)" [call-trapping-errors-Ldc9FC5Hr 
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 0x694>((malformed-list 
:background))
apply(face-custom-attributes-set highlight-indent-face nil (custom) :background)
# bind (display atts tags frame spec face)
face-display-set(highlight-indent-face ((((class color) (min-colors 88) 
(background dark)) :background "grey22") (((class color) (min-colors 88) 
(background light)) :background "grey88")) nil (custom))
# bind (value frames frame args doc spec face)
custom-declare-face(highlight-indent-face ((((class color) (min-colors 88) 
(background dark)) :background "grey22") (((class color) (min-colors 88) 
(background light)) :background "grey88")) "Basic face for highlighting 
indentation guides." :group basic-faces)
(defface highlight-indent-face (quote ((((class color) (min-colors 88) 
(background dark)) :background "grey22") (((class color) (min-colors 88) 
(background light)) :background "grey88"))) "Basic face for highlighting 
indentation guides." :group (quote basic-faces))
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
(load-internal "[internal]")
load-internal("highlight-indentation" nil require nil undecided)
# bind (handler path nosuffix nomessage noerror filename)
load("highlight-indentation" nil require nil)
# (unwind-protect ...)
require(highlight-indentation)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
# (unwind-protect ...)
(load-internal "[internal]")
load-internal("python-mode" nil nil nil undecided)
# bind (handler path nosuffix nomessage noerror filename)
load("python-mode" nil nil nil)
# (unwind-protect ...)
python-mode()
# bind (alist mode name keep-going)
# (unwind-protect ...)
# bind (just-from-file-name)
set-auto-mode()
#<compiled-function (from "/home/esj/xemacs-beta/lisp/files.elc") nil "...(5)" 
[set-auto-mode t] 1 0x695>()
# (unwind-protect ...)
call-with-condition-handler(#<compiled-function (from 
"/home/esj/xemacs-beta/lisp/files.elc") (call-trapping-errors-Ldc9FC5Hr) 
"...(17)" [call-trapping-errors-Ldc9FC5Hr 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 0x694> 
#<compiled-function (from "/home/esj/xemacs-beta/lisp/files.elc") nil "...(5)" 
[set-auto-mode t] 1 0x695>)
# (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 "food_calc.py"> "/home/esj/food/food_calc.py" nil 
nil "c:/cygwin/home/esj/food/food_calc.py" (361450 -22488999))
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("~/food/food_calc.py" nil nil t)
# bind (coding-system-for-read wildcards codesys filename)
#<compiled-function (from find-file) (filename &optional codesys wildcards) 
"...(37)" [wildcards filename coding-system-for-read thunk value codesys 
check-coding-system find-file-noselect nil #<compiled-function (from 
"/home/esj/xemacs-beta/lisp/files.elc") (buffer) "...(21)" [buffer 
buffer-file-name file-exists-p set-buffer-modified-p t switch-to-buffer] 3 
0x67b> mapcar] 5 1247230 (list (read-file-name "Find file: ") (and 
current-prefix-arg (read-coding-system "Coding system: ")) t) 
0x67c>("~/food/food_calc.py" nil t)
call-interactively(find-file)
(dispatch-event "[internal]")
# (condition-case ... . error)
# (catch top-level ...)




More information about the Python-mode mailing list