Re: [Python-mode] python.el cleanup

2011-04-04 Thread skip
>> The problem was with some of the other contributors, from what I >> remember. Barry> Is there a way to check specifically? I'm sure we could get Barry> Skip, Tim, and Ken to sign papers if necessary. I have also volunteered relatively recently (within

Re: [Python-mode] bug lp:328842, flexible-indentation of multiline assignements

2011-03-25 Thread skip
Andreas> As it's a different thing though than indenting inside tuples, Andreas> lists etc., would you mind making a bug entry giving your last Andreas> examples? This bug is close enough: https://bugs.launchpad.net/python-mode/+bug/629916 I just added a

Re: [Python-mode] highlight-indentation

2011-03-25 Thread skip
dog while I've flown off to the Caribbean with some floozy (or gone "hiking in the Appalachians" as a certain former politician from South Carolina did). Still, as I head out the door, I let her know that Lily and I will be back in a few minutes. It'

Re: [Python-mode] bug lp:328842, flexible-indentation of multiline assignements

2011-03-25 Thread skip
t to simply indent by the normal block indent. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Announcement of a new python major-mode on emacs-devel

2011-02-16 Thread skip
mh> WRT switching from XEmacs, what is your reason for using it? mh> Curious minds want to know. :) History. Moving is hard. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Announcement of a new python major-mode on emacs-devel

2011-02-16 Thread skip
Barry> I agree that I see no reason why python-mode.el can't borrow Barry> liberally from it. :) >> >> OTOH, if it works with XEmacs, why not just declare victory and go >> home? Barry> Have you tried it? I'd be pretty surprised if it worked better, Barry> since the E

Re: [Python-mode] paragraph-fill-warts

2011-02-16 Thread skip
some way to (easily) just update my paragraph-fill-warts branch to the python-mode-components branch? I feel like I'm starting to play whack-a-mole. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Announcement of a new python major-mode on emacs-devel

2011-02-15 Thread skip
>> IIUC he borrowed from GNU's python.el and wrote all the rest himself. Barry> Yep, that's what his announcement said. Barry> I agree that I see no reason why python-mode.el can't borrow Barry> liberally from it. :) OTOH, if it works with XEmacs, why not just declare victory an

Re: [Python-mode] Announcement of a new python major-mode on emacs-devel

2011-02-15 Thread skip
; stuff better than we do, we could look at it and steal^Wlearn Georg> from it... If he borrowed from python-mode.el I suspect the GNU folks might not accept it since they have so far not been happy with our contribution signatures, right? Skip

[Python-mode] Latest paragraph-fill-warts branch

2011-02-13 Thread skip
triple-quoted string containing "quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing

Re: [Python-mode] python.el

2011-02-05 Thread skip
Eric> in all seriousness, please don't waste any more time on the free Eric> software foundation. I have decided to not support them anymore Eric> since Stallman told me that the needs of free software come before Eric> the needs of disabled people. +1. S ___

Re: [Python-mode] python.el

2011-02-03 Thread skip
on-mode. I wouldn't mind repeating myself on that subject. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] python.el

2011-02-03 Thread skip
livered with GNU Emacs? He must have a big bee in his bonnet. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] python.el

2011-02-03 Thread skip
fferent python modes for Emacs... :| I'm not sure I understand. Someone forked python.el but won't allow the changes to go back into the GNU version? Wouldn't that violate the GPL or LGPL. Who did this? Skip ___ Python-mode maili

Re: [Python-mode] paragraph-fill-warts branch

2011-01-30 Thread skip
s, let me know. I suspect you will converge on working code more quickly if you don't have to wait for me to complain. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] paragraph-fill-warts branch

2011-01-29 Thread skip
ning "quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing "quotation" marks. """ no matter where I place the cursor. Thanks, Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Latest error

2011-01-29 Thread skip
uot;quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing "quotation" marks. triple-quoted string containing"quotation" marks. triple-quoted string containing"quotation" marks. """ I can proceed to do this until I'm left with a single line in the docstring. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] Latest error

2011-01-29 Thread skip
-beg-end) (require 'sh-script) (require 'string-strip) (require 'thingatpt-utils-base) (require 'overlay) (require 'imenu) (require 'thing-at-point-utils) (require 'thingatpt-highlight) (require 'python-mode) ) thingatpt-highlight w

Re: [Python-mode] upcoming release

2011-01-29 Thread skip
Latest error: File mode specification error: (file-error "Cannot open load file: %s" sh-beg-end) Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] upcoming release

2011-01-29 Thread skip
Andreas> Ok, so let's have it. Pushed just now. File mode specification error: (file-error "Cannot open load file: %s" string-strip) load-path: `load-path' is a simple built-in variable. Value: ("/Users/skip/src/para

Re: [Python-mode] upcoming release

2011-01-29 Thread skip
Andreas> Could you pull again and check? I get failures when I visit a .py file. load-path includes your version at the front: ("/Users/skip/src/paragraph-fill-warts" "/Users/skip/emacs/sql" "/Users/skip/emacs/url" "/Users/skip/emacs"

[Python-mode] Still broken

2011-01-17 Thread skip
ion): Compiling file /Users/skip/src/python-mode/python-mode.el at Mon Jan 17 13:50:21 2011 !! Symbol's function definition is void ((string-to-syntax)) Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Version?

2011-01-17 Thread skip
or more complex projects though, I should be able to switch between branches. I want the equivalent of the cvs and svn commands cvs up -r some-other-branch svn up -r some-other-branch Is this not possible with bazaar? Skip ___ Python-mode

[Python-mode] Version?

2011-01-17 Thread skip
yte compile for me in XEmacs: Compiling file /Users/skip/src/python-mode/python-mode.el at Mon Jan 17 06:55:12 2011 !! Symbol's function definition is void ((string-to-syntax)) What version am I suppose to be using to test to see if it works under XEmacs? S __

[Python-mode] Version?

2011-01-17 Thread skip
;; 1992-1994 Tim Peters ;; Maintainer: python-mode@python.org ;; Created:Feb 1992 ;; Keywords: python languages oop What am I missing? Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] confusion about py-string-to-syntax def

2011-01-14 Thread skip
FAIS? For example introducing some defvars to Andreas> silence the compiler in these cases. I have no idea how to do that. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] confusion about py-string-to-syntax def

2011-01-13 Thread skip
((equal s "|") '(15)) ((equal s "_") '(3)) (t (error "Unhandled string: %s" s ) and get this output from byte-compile-file: Compiling file /Users/skip/src/python-mode/python-mode.el at Thu Jan 13 14:03:29 2011 **

Re: [Python-mode] [Merge] lp:~a-roehler/python-mode/string-to-syntax into lp:python-mode

2011-01-12 Thread skip
anced python-mode. Why not just refer to the last version which was XEmacs-friendly on the Launchpad download site? I think 5.1.0. Modify 5.2.0 and greater if it's loaded in an XEmacs session that certain stuff won't work until such time in the future

Re: [Python-mode] string-to-syntax for XEmacs 21.4? (fwd)

2011-01-12 Thread skip
Passing this along from Stephen Turnbull on the XEmacs list... Skip --- Begin Message --- s...@pobox.com writes: > string-to-syntax is a built-in function in `C source code'. > (string-to-syntax STRING) > > Convert a syntax specification STRING into syntax c

Re: [Python-mode] [Merge] lp:~a-roehler/python-mode/string-to-syntax into lp:python-mode

2011-01-11 Thread skip
dreas> < (unless (eq 'string (syntax-ppss-context (parse-partial-sexp Andreas> (point-min) (point The call to syntax-ppss-context probably has to be replaced by something XEmacs-compatible too. Apologies if I'

Re: [Python-mode] Triple quoted string problem

2011-01-10 Thread skip
Barry> I can confirm both of these on Emacs 23.2.1. Please file a bug. :( https://bugs.launchpad.net/python-mode/+bug/701175 S ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Triple quoted string problem

2011-01-09 Thread skip
When I attempt to fill the docstring's paragraph with the cursor positioned in front of Maintain it zaps the space before '"best"' and fails to actually fill the paragraph: #!/usr/bin/env python """ Maintain the recent"best" price and alert when it remains

[Python-mode] Triple quoted string problem

2011-01-09 Thread skip
n """ Maintain the recent"best" price and alert when it remains the best price for a user-defined time. """ In short, I'm not sure that paragraph filling inside triple-quoted strings is any better now than before the release. In fact, it might even be worse overall. :-( Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Time for a new release?

2011-01-05 Thread skip
launchpad stuff. I could, however, download and install from a tarball and test it a bit. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] Does the reply bot need updating?

2010-12-15 Thread skip
report it? Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Don't bind C-c C-h

2010-03-19 Thread skip
>> The C-h binding is very important for discoverability, and I think it >> is a very, very bad idea to bind it to anything. Barry> If we /do/ change it, may I suggest C-c C-e? 'e' being a Barry> mnemonic for 'explain', and C-c C-e is currently unused in Barry> python-mode.

Re: [Python-mode] Don't bind C-c C-h

2010-03-19 Thread skip
> "Deniz" == Deniz Dogan writes: Deniz> Maybe C-c C-? would work, but I'm not sure how that is recognized Deniz> by terminals. Not at all on my Sun (Intel) box running Solaris 10 with a Dell keyboard. It maps to C-c ?... S ___ Python-mode

Re: [Python-mode] Don't bind C-c C-h

2010-03-19 Thread skip
Deniz> In python-mode.el with py-version "5.1.0+" whatever that means: Deniz> Line 692: Deniz> (define-key py-mode-map "\C-c\C-h" 'py-help-at-point) Yeah, that was probably my doing a long time ago. Skip __

Re: [Python-mode] Problem with Multi-Line Comments

2009-12-11 Thread skip
any cases you can avoid the problem by using """...""" to surround strings containing apostrophes and '''...''' to surround strings containing quotation marks. The only problem you encounter there is the situation where your

Re: [Python-mode] Pymacs on GitHub (fwd)

2009-09-29 Thread skip
Andreas> What about to include these and some other useful stuff into Andreas> XEmacs python-modes? What about rewriting python-mode using Pymacs? Sorry, I don't know how to answer your other questions. Skip ___ Python-mode m

[Python-mode] Pymacs on GitHub (fwd)

2009-09-28 Thread skip
Thought python-mode folks might find this announcement at least peripherally interesting since it involves Python/Emacs integration. Skip --- Begin Message --- Hi, people. This quick hello to say I pushed the Pymacs repository to GitHub. See http://github.com/pinard/Pymacs I would like to

Re: [Python-mode] [Branch ~python-mode-devs/python-mode/python-mode] Rev 348: Place this file under the GPLv3 and bump the version number.

2009-01-29 Thread skip
Barry> -(defconst py-version "5.0.0+" Barry> +(defconst py-version "5.1.0" Given that there is a license change and that many people are sensitive to GPL issues maybe this should be a major version change? Skip __

Re: [Python-mode] py-next-statement, py-previous-statement

2009-01-22 Thread skip
e changed behavior would be fine. If, however, I am on a line with an elif it might be useful to have it back up to the preceeding elif or if clause instead of moving up one simple statement or clause at a time. (Just a thought.) Skip ___ Python-mo

Re: [Python-mode] paren-deactivate

2009-01-22 Thread skip
ew up paren balancing. The visual feedback is quite useful, at least to me. My preference would be to leave it as-is. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Unadmin myself

2009-01-19 Thread skip
ead.html I imagine the XEmacs maintainers are more familiar with issues of merging GNU code with non-GNU code and may be able to offer the active python-mode people advice. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] merging python-mode.el and python.el

2009-01-18 Thread skip
what's in python-mode.el that would be useful Dave> to put in python.el... A lot of people like pdbtrack. The python-mode project also includes bits Emacs Lisp and Python code to interface with Pymacs. I believe both are unique to the python-mode project. Skip _

[Python-mode] Unadmin myself

2009-01-18 Thread skip
up-to-date, but I'm sure with the current thrust to see where python.el and python-mode.el can be merged there will be changes to be made there in the near future. All the best, -- Skip Montanaro - s...@pobox.com - http://smontanaro.dyndns.org/ ___

Re: [Python-mode] [Novice]enabling python-mode

2008-12-06 Thread skip
ython mode. Executing C-h a ^py- RET will distinguish the two. I could go on, but I won't belabor the point any more. ;-) -- Skip Montanaro - [EMAIL PROTECTED] - http://smontanaro.dyndns.org/ ___ Python-mode mailing list Python-

Re: [Python-mode] [Novice]enabling python-mode

2008-12-05 Thread skip
;> your load-path. Either move it or extend load-path Saurabh> This shows "Loading python-mode...done". But there is no change Saurabh> in the mode line. :( Have you tried reloading the file? C-x C-v RET What about if you do this in a fresh Emacs session before l

Re: [Python-mode] [Novice]enabling python-mode

2008-12-05 Thread skip
lly. Try: C-h f python-mode RET or while visiting a Python file (and the python-mode you desire is active), try: C-h m -- Skip Montanaro - [EMAIL PROTECTED] - http://smontanaro.dyndns.org/ ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] underscore syntax

2008-11-29 Thread skip
nt behavior ;; (e.g. backward-kill-word). I don't know if the "I" referenced here is Barry or Tim. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] ANNOUNCE python-mode.el 5.0.0 (Molluscs)

2008-11-28 Thread skip
e/ Am I maybe pointing at the wrong branch? Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] special editor support for indentation needed.

2008-11-27 Thread skip
he tried to put up some information about the project moving to Launchpad but that SF undid his change or something. I'm pretty sure an HTTP redirect wouldn't be possible. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] triple quote patch

2008-11-27 Thread skip
Diez> The problem is that the patch doesn't apply clean for me. So it Diez> might not be of to much use :( I got the rejects to apply. I can't test it under XEmacs, but I attached it to your bug report. Skip ___ Python-m

Re: [Python-mode] triple quote patch

2008-11-27 Thread skip
m python.el): Barry, should we accept big chunks of code from python.el? Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Time for a new release?

2008-11-26 Thread skip
eason. I believe we are in the 4.7x range right now. I suppose 4.80 or 5.00 would be reasonable. Any idea how far reaching the current changes are? Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Emacs 22.2 & automatic indentation in Python mode?

2008-11-20 Thread skip
t's a common complaint about the python.el which comes with GNU Emacs. Barry> However, there have been grumblings about merging the two. Nothing very loud as far as I can tell. Skip ___ Python-mode mailing list Python-mode@python.org htt

Re: [Python-mode] python-mode.el checkout

2008-05-08 Thread skip
rch failed: couldn't find another interesting colon Andreas> (setq searching nil))) Andreas>answer))) Exactly what problem does that additional check solve? I admit freely that my Lisp-ish knowledge ain't what it used to be,

[Python-mode] cython-mode.el (fwd)

2008-02-29 Thread skip
Saw this on the xemacs-beta mailing list. Thought I might see if someone here knows the answer. Skip --- Begin Message --- This one works with gnu-emacs, but not xemacs. Anyone know why? It's supposed to just add some font-lock keywords to python mode, but it seems to override the p

Re: [Python-mode] Python 3 syntax highlighting issues

2008-02-04 Thread skip
programming in Python 3.x. Skip python-mode.diff Description: Binary data ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] Python 3 syntax highlighting issues

2008-02-04 Thread skip
;exec" to the builtins section, make "as", "True", "False" and "None" true keywords. (Things are already too complex for my feeble Lisp neuron.) Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] pycomplete developing

2008-01-03 Thread skip
;t know if pycomplete would still work or not. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] python-mode & emacs22

2007-09-04 Thread skip
acs folks rolled their own python-mode from scratch, but you might give it a try and see how it works for you. If it's better (for some unspecified definition of "better") maybe it would make sense to port it to XEmacs. Skip ___ Pyth

Re: [Python-mode] color syntax highlighting?

2007-06-08 Thread skip
old font for various things. If I set TERM to "color_xterm" or "xterm-256color" I get two colors, black and medium blue (but lose the bold font). That's nowhere near as much as I get when I run an X-aware XEmacs. -- Skip Montanar

Re: [Python-mode] Still active?

2007-04-23 Thread skip
; auto-completion method, or would you guys have any ideas on Kelvie> something I can embark on? I can put about 12-20 hours on it a Kelvie> week for about 3 months, twice that if I can find a partner :P Check the code out of CVS^H^H^HSubversion and look at pycomplete.{el,py}.

Re: [Python-mode] Still active?

2007-04-22 Thread skip
ess with it either. The longer I'm away from it the worse my Emacs Lisp skills get and the more complex the APIs get. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] cvs -> svn?

2007-03-17 Thread skip
ange or not. If not, we should ask SF to fix the problem. If so, it would be nice if they at least retained read access to the repository for diffing. I'll just diff my CVS and SVN sandboxes. Can I assume r425 is the version at the point where you switched? Skip __

Re: [Python-mode] cvs -> svn?

2007-03-16 Thread skip
Barry> So, I'm wondering if moving python-mode's repository over to svn Barry> would help, and whether anybody would mind if I did this. Go for it. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.py

Re: [Python-mode] Tutorial on Python-Mode

2007-03-09 Thread skip
ld has plenty of very specialized wheels. I would be best if you could avoid reinventing them. You might want to plug into the SciPy community (http://www.scipy.org/). Also, I think Andrew Dalke (http://www.dalkescientific.com/) does a fair amount of computational chemistry and bioinform

Re: [Python-mode] How to Install

2006-08-03 Thread skip
Steve> I am unable to locate documentation for how to install Steve> python-mode with Xemacs for windows XP. I don't use XEmacs on Windows, but you should be able to just drop python-mode.el and doctest-mode.el into a folder somewhere on your load-path. -- Skip Montana

Re: [Python-mode] Site is broken

2006-02-04 Thread skip
7;ve at least corrected that particular deficiency now. Anybody out there want to take on the task? Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] Site is broken

2006-02-03 Thread skip
; (Looking for syntax hilighting.) Syntax highlighting of Python within GNU Emacs or XEmacs? Try here: http://sourceforge.net/project/showfiles.php?group_id=86916 -- Skip Montanaro http://www.musi-cal.com/ [EMAIL PROTECTED] ___ Python-mode mailing list Pyt

Re: [Python-mode] trouble with python-mode on Win 2000

2005-12-22 Thread skip
rgs program isn't available on Windows. "xargs" isn't mentioned anywhere in the python-mode source. I imagine some other bit of the system is to blame. Can you try setting debug-on-error to t and then send the resulting backtrace to the

Re: [Python-mode] evil underscore as word

2005-12-06 Thread skip
ot;_" alone and add (yet another) flag that rebinds M-f and M-b accordingly. Skip ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] evil underscore as word

2005-12-06 Thread skip
cket", only to wind up at the end of "really_lon_identg". I believe it was Guido who lobbied Barry pretty hard to make it so. Since Barry probably worked for Guido at the time, I can understand his acquiescence. ;-) Skip ___ Python-mode

Re: [Python-mode] Which @xemacs.org e-mail addresses are being used?

2005-11-11 Thread skip
esses. I'm pretty sure Norbert Koch will know. -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina [EMAIL PROTECTED] ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

Re: [Python-mode] byte compile error

2005-09-29 Thread skip
I can help. What's "clisp"? Is that somehow different from emacs? -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina [EMAIL PROTECTED] ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

RE: [Python-mode] how to enable auto-complete in the mode

2005-04-27 Thread Skip Montanaro
you to generate TAGS files, typically from a Makefile. -- Skip Montanaro [EMAIL PROTECTED] ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

RE: [Python-mode] how to enable auto-complete in the mode

2005-04-26 Thread Skip Montanaro
(please include the list when looking for help - you get more brains working on your problem) Skip> auto-complete of what? Heap> Auto-complete in xemacs mode I meant. I'm sorry. This still doesn't ring any bells for me. Can you be more specific? -- Skip Montanaro

Re: [Python-mode] how to enable auto-complete in the mode

2005-04-26 Thread Skip Montanaro
Heap> Does anyone knows how to enable auto-complete in python mode? auto-complete of what? If you have access to the CVS version of python-mode and also have Francois Pinard's Pymacs installed, you can check out pycomplete.el and pycomplete.py and see if that is what you're aft