From noreply at sourceforge.net Tue Jul 18 17:51:31 2006 From: noreply at sourceforge.net (SourceForge.net) Date: Tue, 18 Jul 2006 08:51:31 -0700 Subject: [Python-mode] [ python-mode-Bugs-1088621 ] py-help-at-point doesn't work any longer Message-ID: Bugs item #1088621, was opened at 2004-12-20 19:58 Message generated for change (Comment added) made by chobbs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1088621&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: Thomas Heller (theller) Assigned to: Nobody/Anonymous (nobody) Summary: py-help-at-point doesn't work any longer Initial Comment: C-c C-h py-help-at-point gives 'Selecting deleted or non-existant buffer'. XEmacs 21.4 (patch 13) "Rational FORTRAN" [Lucid] (i586-py-win32) of Sun May 25 2003 on TSUNAMI Using `python-mode' version $Revision: 4.69 $ WinXP Pro, SP2. ---------------------------------------------------------------------- Comment By: Craig Hobbs (chobbs) Date: 2006-07-18 15:51 Message: Logged In: YES user_id=1557659 In py-execute-region on line 1759 (v. 4.75) change "py-which-shell" to "shell". ---------------------------------------------------------------------- Comment By: Thomas Heller (theller) Date: 2004-12-22 20:39 Message: Logged In: YES user_id=11105 I have no idea, but I'm quite sure you will get usefull answers on the (x)emacs mailing lists. ---------------------------------------------------------------------- Comment By: Skip Montanaro (montanaro) Date: 2004-12-21 14:58 Message: Logged In: YES user_id=44345 Thanks. I started working on this last night and think I have a fix. Worrying that fixing this problem in the obvious way might lead to other problems elsewhere leads me to wonder if there's a unit test package for Emacs Lisp that's similar to Python's unittest module. ---------------------------------------------------------------------- Comment By: Thomas Heller (theller) Date: 2004-12-21 12:39 Message: Logged In: YES user_id=11105 This problem only occurrs when there is no *Python* shell buffer. Hitting C-c ! makes the problem disappear. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1088621&group_id=86916 From avivh at cs.huji.ac.il Tue Jul 18 14:42:20 2006 From: avivh at cs.huji.ac.il (Aviv Hurvitz) Date: Tue, 18 Jul 2006 15:42:20 +0300 (IDT) Subject: [Python-mode] Error in string-literal pattern Message-ID: It appers that single quoted triple quoted string literals end prematurely by a single quote inside them. Similarly, double quoted triple quoted strings end prematurely by a double quote inside them. For example: a = ''' It's tea time ''' won't highlight correctly. I looked at the python-mode.el source code, and I saw that you do attempt to handle these cases, but I couldn't see the error in the RE pattern. I'm using GNU Emacs version 24.4.1 on GNU/Linux and python-mode revision 4.75. Thanks for your help. - Aviv Hurvitz The Hebrew University, Jerusalem, Israel