From noreply at sourceforge.net Wed Sep 21 16:29:25 2005 From: noreply at sourceforge.net (SourceForge.net) Date: Wed, 21 Sep 2005 07:29:25 -0700 Subject: [Python-mode] [ python-mode-Bugs-858748 ] highlight errors in font-lock-mode Message-ID: Bugs item #858748, was opened at 2003-12-12 07:05 Message generated for change (Comment added) made by hoffmanm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=858748&group_id=86916 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matthias Klose (doko) Assigned to: Nobody/Anonymous (nobody) Summary: highlight errors in font-lock-mode Initial Comment: [ forwarded from http://bugs.debian.org/223520 ] version 4.40 def cfile(): clist = 2 highlights 'list' and 'file', but it shouldn't ---------------------------------------------------------------------- Comment By: Michael Hoffman (hoffmanm) Date: 2005-09-21 14:29 Message: Logged In: YES user_id=987664 WORKSFORME. I suggest closing this bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=858748&group_id=86916 From noreply at sourceforge.net Wed Sep 21 16:31:41 2005 From: noreply at sourceforge.net (SourceForge.net) Date: Wed, 21 Sep 2005 07:31:41 -0700 Subject: [Python-mode] [ python-mode-Bugs-1241188 ] fill-paragraph (M-q) does awful things to python code Message-ID: Bugs item #1241188, was opened at 2005-07-19 21:31 Message generated for change (Comment added) made by hoffmanm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1241188&group_id=86916 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mike Coleman (mkc) Assigned to: Nobody/Anonymous (nobody) Summary: fill-paragraph (M-q) does awful things to python code Initial Comment: It would be nice if fill-paragraph (M-q) did reasonable things to python code. For example, it could wrap all strings and comments in the enclosing function, breaking up strings into adjacent one-line substrings "like" "this". Even better, it would be nice if it would reformat long expressions so that they were nicely wrapped (e.g., arranging split binary expressions so that the operator is at the beginning of a line rather than the end). ---------------------------------------------------------------------- Comment By: Michael Hoffman (hoffmanm) Date: 2005-09-21 14:31 Message: Logged In: YES user_id=987664 NOTABUG. This is really more of a feature request than a bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1241188&group_id=86916 From Peter.Nagy at vexcel.com Thu Sep 29 19:51:49 2005 From: Peter.Nagy at vexcel.com (Pete Nagy) Date: Thu, 29 Sep 2005 11:51:49 -0600 Subject: [Python-mode] byte compile error Message-ID: Hi -> I am trying to byte compile my python-mode.el file, but each time I do I get a 'fatal error' message and emacs (emacs-21.3 windows) crashes. The same thing happens if I just put the uncompiled .el in my lisp/progmodes, add the autoload line, and try to open a .py file with emacs. If I compile the python-mode.el file myself, I get: $ clisp -c python-mode.el -o python-mode.elc i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 1992, 1993 Copyright (c) Bruno Haible, Marcus Daniels 1994-1997 Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998 Copyright (c) Bruno Haible, Sam Steingold 1999-2000 Copyright (c) Sam Steingold, Bruno Haible 2001-2004 Compiling file /cygdrive/c/emacs-21.3/site-lisp/python-mode.el ... WARNING in (DEFCONST PY-VERSION "$Revision: 4.63 $" ...)-1 in lines 1..13 : PY-VERSION is neither declared nor bound, it will be treated as if it were declared SPECIAL. *** - OPEN: file #P"/cygdrive/c/emacs-21.3/site-lisp/comint.lisp" does not exist The following functions were used but not defined: DEFCONST The following special variables were not defined: PY-VERSION 0 errors, 1 warning Bye. 0 errors, but no compiled code. Can someone tell me what I need to do? Thanks in advance, -> Pete -------------------------------------------------------------------- ==================================================================== Pete Nagy tel: (303) 583-0248 Vexcel Corporation fax: (303) 583-0246 http://www.vexcel.com home: (303) 823-2336 ==================================================================== From skip at pobox.com Thu Sep 29 20:17:30 2005 From: skip at pobox.com (skip@pobox.com) Date: Thu, 29 Sep 2005 13:17:30 -0500 Subject: [Python-mode] byte compile error In-Reply-To: References: Message-ID: <17212.12218.300967.503269@montanaro.dyndns.org> Pete> I am trying to byte compile my python-mode.el file, but each time Pete> I do I get a 'fatal error' message and emacs (emacs-21.3 windows) Pete> crashes.... Pete> in my lisp/progmodes, add the autoload line, and try to open a .py Pete> file with emacs. If I compile the python-mode.el file myself, I Pete> get: Pete> $ clisp -c python-mode.el -o python-mode.elc ... Pete> 0 errors, but no compiled code. Pete> Can someone tell me what I need to do? Thanks in advance, Sorry, I see nothing that would suggest I can help. What's "clisp"? Is that somehow different from emacs? -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From Peter.Nagy at vexcel.com Thu Sep 29 20:51:33 2005 From: Peter.Nagy at vexcel.com (Pete Nagy) Date: Thu, 29 Sep 2005 12:51:33 -0600 Subject: [Python-mode] byte compile error In-Reply-To: <17212.12218.300967.503269@montanaro.dyndns.org> References: <17212.12218.300967.503269@montanaro.dyndns.org> Message-ID: Hi -> I tried compiling using byte-compile-file within emacs, which crashes with no helpful error messages, so I tried compiling the lisp code in the python-mode.el file directly using the lisp compiler clisp, which reports some warnings at least. I think my clisp program came with cygwin: $ clisp --version GNU CLISP 2.33.1 (2004-05-22) (built on winsteingoldlap [192.168.1.101]) -> Pete On Thu, 29 Sep 2005 skip at pobox.com wrote: > > Pete> I am trying to byte compile my python-mode.el file, but each time > Pete> I do I get a 'fatal error' message and emacs (emacs-21.3 windows) > Pete> crashes.... > Pete> in my lisp/progmodes, add the autoload line, and try to open a .py > Pete> file with emacs. If I compile the python-mode.el file myself, I > Pete> get: > > Pete> $ clisp -c python-mode.el -o python-mode.elc > ... > > Pete> 0 errors, but no compiled code. > > Pete> Can someone tell me what I need to do? Thanks in advance, > > Sorry, I see nothing that would suggest I can help. What's "clisp"? Is > that somehow different from emacs? > > -- > Skip Montanaro > Katrina Benefit Concerts: http://www.musi-cal.com/katrina > skip at pobox.com > From barry at python.org Thu Sep 29 21:01:44 2005 From: barry at python.org (Barry Warsaw) Date: Thu, 29 Sep 2005 15:01:44 -0400 Subject: [Python-mode] byte compile error In-Reply-To: References: <17212.12218.300967.503269@montanaro.dyndns.org> Message-ID: <1128020504.12634.19.camel@geddy.wooz.org> On Thu, 2005-09-29 at 14:51, Pete Nagy wrote: > I tried compiling using byte-compile-file within emacs, which crashes > with no helpful error messages If byte compiling a .el file can crash Emacs, it is by definition a bug in Emacs. Just as if byte compiling a .py file crashed Python. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-mode/attachments/20050929/496ab377/attachment.pgp