>> 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
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
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'
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
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
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
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
>> 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
; 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
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
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
___
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
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
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
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
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
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
-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
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
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
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"
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
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
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
__
;; 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
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
((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
**
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
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
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'
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
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
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
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
report
it?
Skip
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode
>> 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.
> "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
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
__
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
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
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
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
__
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
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
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
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
_
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/
___
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-
;> 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
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
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
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
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
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
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
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
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
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,
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
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
;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
;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
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
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
; 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}.
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
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
__
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
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
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
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
; (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
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
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
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
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
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
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
(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
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
80 matches
Mail list logo