From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Error in python-mode (Emacs HEAD) Date: Wed, 15 Sep 2010 14:35:28 +0530 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284541553 28488 80.91.229.12 (15 Sep 2010 09:05:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2010 09:05:53 +0000 (UTC) To: Emacs Development Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 15 11:05:52 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ovnw6-0004sm-1Y for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2010 11:05:50 +0200 Original-Received: from localhost ([127.0.0.1]:60729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ovnw5-0006xZ-Aj for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2010 05:05:49 -0400 Original-Received: from [140.186.70.92] (port=33236 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ovnvq-0006sf-Qy for emacs-devel@gnu.org; Wed, 15 Sep 2010 05:05:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ovnvm-0004UE-B0 for emacs-devel@gnu.org; Wed, 15 Sep 2010 05:05:34 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:54237) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ovnvm-0004U0-6A for emacs-devel@gnu.org; Wed, 15 Sep 2010 05:05:30 -0400 Original-Received: by vws16 with SMTP id 16so8407561vws.0 for ; Wed, 15 Sep 2010 02:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=8vMXLqdAbR1jX/JHFHCmbmXxPeD3NiAERnsQ/EodLIY=; b=A/l84UbJLzGKz2wFud2a+cQ5iJ+RXl3Zosf/8aQJxVQE04IANCZ+CzQwQu18UNTD8C gHkPoSs6EkteWERByYl8pn4yklh3TJT9P6QeqZkH4EwV7WXcv50ltyf3RYuNPY0YC7Bz SsZtiV8ZDR2vGT/gF1TjutOmA7pTG6csfArTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=aKdiN9geh6GqKgOmunuQXLmnzj2a3iohRv7IE//ONeqBSVM2MsQrSflVwVdDpXhqjR IPHekyZxkGWdUBvRm582cHzG8BkQ/0gEfrZd72y+GbqxiC82EerqVtMwIy6yOah90RQE 8LIw920uDEvNWtQo7URmfwPo1t6HlC5iT7YY0= Original-Received: by 10.220.129.13 with SMTP id m13mr631385vcs.132.1284541528899; Wed, 15 Sep 2010 02:05:28 -0700 (PDT) Original-Received: by 10.220.109.4 with HTTP; Wed, 15 Sep 2010 02:05:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130187 Archived-At: 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\31= 5\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=10\334\333!\204a\335\33= 3\336\337\340B\341\342B\343\344B\345\346B\347\350B\351\352B\353\354B\355\35= 6B\257 \"\210\35B=10\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\\|contin= ue\\|del\\|e\\(?:l\\(?:if\\|se\\)\\|x\\(?:cept\\|ec\\)\\)\\|f\\(?:inally\\|= or\\|rom\\)\\|global\\|i\\(?:mport\\|[fns]\\)\\|lambda\\|not\\|or\\|p\\(?:a= ss\\|rint\\)\\|r\\(?:aise\\|eturn\\)\\|self\\|try\\|w\\(?:hile\\|ith\\)\\|y= ield\\)\\)\\_>" "\\_" 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:]]*=3D" ((1 font-lock-variable-name-face)) "^[=09 ]*\\(@\\(?:[[:word:]]\\|_\\)+\\(?:\\.\\(?:[[:word:]]\\|_\\)+\\)*\\)" ((1 font-lock-type-face)) "\\_<\\(?:\\(?:A\\(?:\\(?:rithmetic\\|ssertion\\|ttribute\\)Error\\)\\|B\\(= ?:aseException\\|ufferError\\|ytesWarning\\)\\|DeprecationWarning\\|E\\(?:O= FError\\|nvironmentError\\|xception\\)\\|F\\(?:loatingPointError\\|utureWar= ning\\)\\|GeneratorExit\\|I\\(?:OError\\|mport\\(?:Error\\|Warning\\)\\|nde= \\(?:\\(?:ntation\\|x\\)Error\\)\\)\\|Key\\(?:Error\\|boardInterrupt\\)\\|L= ookupError\\|MemoryError\\|N\\(?:ameError\\|otImplemented\\(?:Error\\)?\\)\= \|O\\(?:\\(?:S\\|verflow\\)Error\\)\\|PendingDeprecationWarning\\|R\\(?:efe= renceError\\|untime\\(?:Error\\|Warning\\)\\)\\|S\\(?:t\\(?:andardError\\|o= pIteration\\)\\|y\\(?:ntax\\(?:Error\\|Warning\\)\\|stemE\\(?:rror\\|xit\\)= \\)\\)\\|T\\(?:\\(?:ab\\|ype\\)Error\\)\\|U\\(?:n\\(?:boundLocalError\\|ico= de\\(?:DecodeError\\|E\\(?:\\(?:ncodeE\\)?rror\\)\\|TranslateError\\|Warnin= g\\)\\)\\|serWarning\\)\\|ValueError\\|W\\(?:arning\\|indowsError\\)\\|Zero= DivisionError\\)\\)\\_>" font-lock-type-face "\\(?:^\\|[^ .]\\)[=09 ]*\\_<\\(\\(?:a\\(?:bs\\|ll\\|\\(?:n\\|ppl\\)y\\)\\|b\\(?:asestring\\|in\\|= ool\\|uffer\\|yte\\(?:array\\|s\\)\\)\\|c\\(?:allable\\|hr\\|lassmethod\\|m= p\\|o\\(?:erce\\|mp\\(?:ile\\|lex\\)\\|pyright\\)\\|redits\\)\\|d\\(?:elatt= r\\|i\\(?:ct\\|r\\|vmod\\)\\)\\|e\\(?:numerate\\|val\\|x\\(?:ecfile\\|it\\)= \\)\\|f\\(?:il\\(?:e\\|ter\\)\\|\\(?:loa\\|orma\\|rozense\\)t\\)\\|g\\(?:et= attr\\|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]\\|emoryv= iew\\|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\\(?:ati= cmethod\\|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=19\211=1A\203/\n@=11\306 !\204=1A\307\310 \"\210\202(\= 311=13\312 \f\"\204(\313\314\305\"\210\nA\211=12\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(# "~/devel/ws/boost/boost/Component.py" nil nil "/x/eng/bbnb/users/dhruva/BTC_boost_1160477_08252053/boost/Component.py" ((59522 . 18981) 118)) -dhruva