From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Error in python-mode (Emacs HEAD) Date: Wed, 15 Sep 2010 11:38:12 +0200 Message-ID: References: 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 1284544008 6782 80.91.229.12 (15 Sep 2010 09:46:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Sep 2010 09:46:48 +0000 (UTC) Cc: Emacs Development To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 15 11:46:47 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 1OvoZi-0007Nz-Qz for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2010 11:46:47 +0200 Original-Received: from localhost ([127.0.0.1]:36143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvoZi-00045C-14 for ged-emacs-devel@m.gmane.org; Wed, 15 Sep 2010 05:46:46 -0400 Original-Received: from [140.186.70.92] (port=55016 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvoXI-0002kr-DI for emacs-devel@gnu.org; Wed, 15 Sep 2010 05:44:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvoXG-0002UW-SG for emacs-devel@gnu.org; Wed, 15 Sep 2010 05:44:16 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:50564) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvoXG-0002UN-PG for emacs-devel@gnu.org; Wed, 15 Sep 2010 05:44:14 -0400 Original-Received: by qyk2 with SMTP id 2so10963qyk.0 for ; Wed, 15 Sep 2010 02:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=S4TfvlSYFx5cLpeZXEtf5I5biA1iSuhKNVsyh3LwQfU=; b=fWz8Xs0WDZ32ZXspTKICIimzWGytOJJA7g/1EoD8LZBve29Dh0fk3djnd2TCgYzqIM DI3RuHL4jy6uafJMIN9iM8UHfLbOqqt2Sgq3kIvlpCs+k+aEZHNx43OvezQAWWyVua1f egsHMXIqGmlgf1bEK/5YBQ4Z6o4w580fXC/K4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=AZMxq6COcEz2vmIg5K2AEKzl2lUSbSCdCsey4kxeOmaqtCQfgaFsNe1S/0nzjkv2Pm Ij39YH/NoVu/gxrpw2jSqodKGRU12HCV9BI5mLOPpnkFeD5b0DnZHU1uqAe6scGdBjYW vlGluQ/Wj2+RCWFASRPWApbLZbc0DjKHiOF3w= Original-Received: by 10.224.67.75 with SMTP id q11mr839322qai.289.1284543523790; Wed, 15 Sep 2010 02:38:43 -0700 (PDT) Original-Received: by 10.220.202.70 with HTTP; Wed, 15 Sep 2010 02:38:12 -0700 (PDT) In-Reply-To: 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:130189 Archived-At: 2010/9/15 dhruva : > 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) > =A02("\"") > =A0byte-code("\301\302!\210\303\304\305\"\210\306\307\310\311\312\313\314= \315\316\317& =A0 \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\3= 35\333\336\337\340B\341\342B\343\344B\345\346B\347\350B\351\352B\353\354B\3= 55\356B\257 =A0 =A0 =A0\"\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\\|cont= inue\\|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\\)\\)\\_>" > "\\_" 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)) "^[ > ]*\\(@\\(?:[[:word:]]\\|_\\)+\\(?:\\.\\(?:[[:word:]]\\|_\\)+\\)*\\)" > ((1 font-lock-type-face)) > "\\_<\\(?:\\(?:A\\(?:\\(?:rithmetic\\|ssertion\\|ttribute\\)Error\\)\\|B\= \(?:aseException\\|ufferError\\|ytesWarning\\)\\|DeprecationWarning\\|E\\(?= :OFError\\|nvironmentError\\|xception\\)\\|F\\(?:loatingPointError\\|utureW= arning\\)\\|GeneratorExit\\|I\\(?:OError\\|mport\\(?:Error\\|Warning\\)\\|n= de\\(?:\\(?:ntation\\|x\\)Error\\)\\)\\|Key\\(?:Error\\|boardInterrupt\\)\\= |LookupError\\|MemoryError\\|N\\(?:ameError\\|otImplemented\\(?:Error\\)?\\= )\\|O\\(?:\\(?:S\\|verflow\\)Error\\)\\|PendingDeprecationWarning\\|R\\(?:e= ferenceError\\|untime\\(?:Error\\|Warning\\)\\)\\|S\\(?:t\\(?:andardError\\= |opIteration\\)\\|y\\(?:ntax\\(?:Error\\|Warning\\)\\|stemE\\(?:rror\\|xit\= \)\\)\\)\\|T\\(?:\\(?:ab\\|ype\\)Error\\)\\|U\\(?:n\\(?:boundLocalError\\|i= code\\(?:DecodeError\\|E\\(?:\\(?:ncodeE\\)?rror\\)\\|TranslateError\\|Warn= ing\\)\\)\\|serWarning\\)\\|ValueError\\|W\\(?:arning\\|indowsError\\)\\|Ze= roDivisionError\\)\\)\\_>" > font-lock-type-face "\\(?:^\\|[^ =A0 =A0 =A0 =A0 .]\\)[ > ]*\\_<\\(\\(?: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\\(?:ela= ttr\\|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]\\|emor= yview\\|in\\)\\|next\\|o\\(?:bject\\|ct\\|pen\\|rd\\)\\|p\\(?:ow\\|r\\(?:in= t\\|operty\\)\\)\\|quit\\|r\\(?:a\\(?:nge\\|w_input\\)\\|e\\(?:duce\\|load\= \|pr\\|versed\\)\\|ound\\)\\|s\\(?:et\\(?:attr\\)?\\|lice\\|orted\\|t\\(?:a= ticmethod\\|r\\)\\|u\\(?:m\\|per\\)\\)\\|t\\(?:\\(?:upl\\|yp\\)e\\)\\|unic\= \(?:hr\\|ode\\)\\|vars\\|xrange\\|zip\\)\\)\\_>" > ((1 font-lock-builtin-face)) > "\\_<\\(?:\\(?:Ellipsis\\|False\\|None\\|True\\|_\\(?:_\\(?:\\(?:d\\(?:eb= ug\\|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) > =A0python-mode() > =A0set-auto-mode-0(python-mode nil) > =A0byte-code(\237\305 \211 \203/\n@ \306 !\204 \307\310 =A0\"\210\202(\31= 1 \312 =A0 =A0\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) > =A0set-auto-mode() > =A0normal-mode(t) > =A0after-find-file(nil t) > =A0find-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 > > I had this same error but on the Windows build. Byte compiling the file manually got rid of the problem. --=20 Deniz Dogan