From noreply at sourceforge.net Tue Aug 2 22:08:12 2005 From: noreply at sourceforge.net (SourceForge.net) Date: Tue, 02 Aug 2005 13:08:12 -0700 Subject: [Python-mode] [ python-mode-Bugs-1250516 ] strange tab key behavior for newer python constructs Message-ID: Bugs item #1250516, was opened at 2005-08-02 15:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1250516&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: strange tab key behavior for newer python constructs Initial Comment: If you paste this into a python-mode buffer and then put the cursor on the second line and hit tab repeatedly, you'll get strange (non-idempotent) behavior. print >> log, '\t'.join([ form[x].value for x in ('name', 'institution', 'email') ]) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1250516&group_id=86916 From noreply at sourceforge.net Tue Aug 2 22:18:22 2005 From: noreply at sourceforge.net (SourceForge.net) Date: Tue, 02 Aug 2005 13:18:22 -0700 Subject: [Python-mode] [ python-mode-Bugs-1250516 ] strange tab key behavior for newer python constructs Message-ID: Bugs item #1250516, was opened at 2005-08-02 15:08 Message generated for change (Comment added) made by montanaro You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1250516&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: Closed >Resolution: Invalid Priority: 5 Submitted By: Mike Coleman (mkc) Assigned to: Nobody/Anonymous (nobody) Summary: strange tab key behavior for newer python constructs Initial Comment: If you paste this into a python-mode buffer and then put the cursor on the second line and hit tab repeatedly, you'll get strange (non-idempotent) behavior. print >> log, '\t'.join([ form[x].value for x in ('name', 'institution', 'email') ]) ---------------------------------------------------------------------- >Comment By: Skip Montanaro (montanaro) Date: 2005-08-02 15:18 Message: Logged In: YES user_id=44345 That is by design. It's supposed to cycle back through the tab stops until you reach column 1, after which the next TAB press reindents the line. This allows you to adjust the indentation of nested lines a bit easier. If this is a problem and you can suggest better behavior, feel free to reopen the ticket. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1250516&group_id=86916 From seojiwon at gmail.com Thu Aug 11 08:07:21 2005 From: seojiwon at gmail.com (Jiwon Seo) Date: Thu, 11 Aug 2005 15:07:21 +0900 Subject: [Python-mode] Some bugs in jython mode Message-ID: Hello. While using python-mode.el (version 4.75 which is latest cvs version) on Windows XP, I got some problems related to jython stuff. (I'm using jython 2.1, FYI) When I try to py-execute-buffer without jython shell(that is, by ctrl-c!) emacs gives me an error that it cannot launch the executable. (Same problem when I try to run py-execute-buffer with async=t while jython shell is running.) I found out that the problem is somewhat related to the fact that jython executable is a batch file, and windows(or emacs) handles batch file differently from ".exe" file. Although I added a work-around patch I'm sure it's a horribly-ugly code to go into cvs. But it might work as a start-up for fixing it. I hope someone who knows elisp more would fix it nicely. Yours, jiwon. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: python-mode.patch Url: http://mail.python.org/pipermail/python-mode/attachments/20050811/f9247eb3/python-mode.diff