emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error in python-mode (Emacs HEAD)


From: dhruva
Subject: Error in python-mode (Emacs HEAD)
Date: Wed, 15 Sep 2010 14:35:28 +0530

In am empty buffer, I type "M-x python-mode", I get the following
error. I am using Emacs HEAD on GNU/Linux.


Debugger entered--Lisp error: (invalid-function 2)
  2("\"")
  
byte-code("\301\302!\210\303\304\305\"\210\306\307\310\311\312\313\314\315\316\317&
   
\210\320\321\322\323!\324B\"\210\320\321\322\325!\326B\"\210\320\327\322\330!\326B\"\210\320\331\322\332!\"\210\33B\334\333!\204a\335\333\336\337\340B\341\342B\343\344B\345\346B\347\350B\351\352B\353\354B\355\356B\257
      \"\210\35B\360\361\362\363\364!!\365\366\367\370
!!!\"!\207" [current-load-list require comint autoload comint-mode
"comint" custom-declare-group python nil "Silly walks in the Python
language." :group languages :version "22.1" :link
(emacs-commentary-link "python") add-to-list interpreter-mode-alist
purecopy "jython" jython-mode "python" python-mode auto-mode-alist
"\\.py\\'" same-window-buffer-names "*Python*"
python-font-lock-keywords default-boundp set-default
"\\_<\\(?:\\(?:False\\|True\\|a\\(?:nd\\|s\\(?:sert\\)?\\)\\|break\\|continue\\|del\\|e\\(?:l\\(?:if\\|se\\)\\|x\\(?:cept\\|ec\\)\\)\\|f\\(?:inally\\|or\\|rom\\)\\|global\\|i\\(?:mport\\|[fns]\\)\\|lambda\\|not\\|or\\|p\\(?:ass\\|rint\\)\\|r\\(?:aise\\|eturn\\)\\|self\\|try\\|w\\(?:hile\\|ith\\)\\|yield\\)\\)\\_>"
"\\_<None\\_>" font-lock-constant-face
"\\_<\\(class\\)[[:space:]]+\\(\\(?:[[:word:]]\\|_\\)+\\)" ((1
font-lock-keyword-face) (2 font-lock-type-face))
"\\_<\\(def\\)[[:space:]]+\\(\\(?:[[:word:]]\\|_\\)+\\)" ((1
font-lock-keyword-face) (2 font-lock-function-name-face))
"^\\(\\(?:[[:word:]]\\|_\\)+\\)[[:space:]]*=" ((1
font-lock-variable-name-face)) "^[      
]*\\(@\\(?:[[:word:]]\\|_\\)+\\(?:\\.\\(?:[[:word:]]\\|_\\)+\\)*\\)"
((1 font-lock-type-face))
"\\_<\\(?:\\(?:A\\(?:\\(?:rithmetic\\|ssertion\\|ttribute\\)Error\\)\\|B\\(?:aseException\\|ufferError\\|ytesWarning\\)\\|DeprecationWarning\\|E\\(?:OFError\\|nvironmentError\\|xception\\)\\|F\\(?:loatingPointError\\|utureWarning\\)\\|GeneratorExit\\|I\\(?:OError\\|mport\\(?:Error\\|Warning\\)\\|nde\\(?:\\(?:ntation\\|x\\)Error\\)\\)\\|Key\\(?:Error\\|boardInterrupt\\)\\|LookupError\\|MemoryError\\|N\\(?:ameError\\|otImplemented\\(?:Error\\)?\\)\\|O\\(?:\\(?:S\\|verflow\\)Error\\)\\|PendingDeprecationWarning\\|R\\(?:eferenceError\\|untime\\(?:Error\\|Warning\\)\\)\\|S\\(?:t\\(?:andardError\\|opIteration\\)\\|y\\(?:ntax\\(?:Error\\|Warning\\)\\|stemE\\(?:rror\\|xit\\)\\)\\)\\|T\\(?:\\(?:ab\\|ype\\)Error\\)\\|U\\(?:n\\(?:boundLocalError\\|icode\\(?:DecodeError\\|E\\(?:\\(?:ncodeE\\)?rror\\)\\|TranslateError\\|Warning\\)\\)\\|serWarning\\)\\|ValueError\\|W\\(?:arning\\|indowsError\\)\\|ZeroDivisionError\\)\\)\\_>"
font-lock-type-face "\\(?:^\\|[^         .]\\)[ 
]*\\_<\\(\\(?:a\\(?:bs\\|ll\\|\\(?:n\\|ppl\\)y\\)\\|b\\(?:asestring\\|in\\|ool\\|uffer\\|yte\\(?:array\\|s\\)\\)\\|c\\(?:allable\\|hr\\|lassmethod\\|mp\\|o\\(?:erce\\|mp\\(?:ile\\|lex\\)\\|pyright\\)\\|redits\\)\\|d\\(?:elattr\\|i\\(?:ct\\|r\\|vmod\\)\\)\\|e\\(?:numerate\\|val\\|x\\(?:ecfile\\|it\\)\\)\\|f\\(?:il\\(?:e\\|ter\\)\\|\\(?:loa\\|orma\\|rozense\\)t\\)\\|g\\(?:etattr\\|lobals\\)\\|h\\(?:as\\(?:attr\\|h\\)\\|e\\(?:lp\\|x\\)\\)\\|i\\(?:d\\|n\\(?:put\\|t\\(?:ern\\)?\\)\\|s\\(?:instance\\|subclass\\)\\|ter\\)\\|l\\(?:en\\|i\\(?:cense\\|st\\)\\|o\\(?:cals\\|ng\\)\\)\\|m\\(?:a[px]\\|emoryview\\|in\\)\\|next\\|o\\(?:bject\\|ct\\|pen\\|rd\\)\\|p\\(?:ow\\|r\\(?:int\\|operty\\)\\)\\|quit\\|r\\(?:a\\(?:nge\\|w_input\\)\\|e\\(?:duce\\|load\\|pr\\|versed\\)\\|ound\\)\\|s\\(?:et\\(?:attr\\)?\\|lice\\|orted\\|t\\(?:aticmethod\\|r\\)\\|u\\(?:m\\|per\\)\\)\\|t\\(?:\\(?:upl\\|yp\\)e\\)\\|unic\\(?:hr\\|ode\\)\\|vars\\|xrange\\|zip\\)\\)\\_>"
((1 font-lock-builtin-face))
"\\_<\\(?:\\(?:Ellipsis\\|False\\|None\\|True\\|_\\(?:_\\(?:\\(?:d\\(?:ebug\\|oc\\)\\|import\\|\\(?:nam\\|packag\\)e\\)__\\)\\)?\\)\\)\\_>"
font-lock-builtin-face python-syntax-propertize-function (lambda
(defconst-tmp-var) (defconst python-syntax-propertize-function
defconst-tmp-var)) syntax-propertize-rules ...] 12)
  python-mode()
  set-auto-mode-0(python-mode nil)
  byte-code(\237\305\211\203/address@hidden   !\204\307\310  
\"\210\202(\311\312    \f\"\204(\313\314\305\"\210\nA\211\204 *\305\207"
[modes mode --cl-dolist-temp-- done keep-mode-if-same nil functionp
message "Ignoring unknown mode `%s'" t set-auto-mode-0 throw nop] 4)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer Component.py>
"~/devel/ws/boost/boost/Component.py" nil nil
"/x/eng/bbnb/users/dhruva/BTC_boost_1160477_08252053/boost/Component.py"
((59522 . 18981) 118))

-dhruva



reply via email to

[Prev in Thread] Current Thread [Next in Thread]