In python-mode.el 4.77, I added a new face, called py-XXX-tag-face.
This will let you highlight the comment tags XXX, TODO, and FIXME. A
friend of mine who was a VIM user suggested I add this.
-Barry
signature.asc
Description: This is a digitally signed message part
On Mon, 2006-04-24 at 13:43 -0400, Moyer, Todd [IT] wrote:
> I had the same problem under similar circumstances (Xemacs, Win
> 2000). Rolling back complile.el from version 1.36 to 1.35 fixed it
> for me.
Who byte-compiles their .el files anymore? :)
-Barry
signature.asc
Description: This is
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
On Tue, 2005-11-15 at 12:57 -0500, Joseph S D Yao wrote:
> aliases-xemacs:python-mode-bugs: python-mode@python.org
> aliases-xemacs:python-mode-discuss: python-mode@python.org
> aliases-xemacs:python-mode-patches: python-mode@python.org
> aliases-xemacs:python-mode
On Tue, 2005-12-06 at 18:00 +0900, Stephen J. Turnbull wrote:
> Sorry about the premature send.
>
> > "Ben" == Ben Wing <[EMAIL PROTECTED]> writes:
>
> Ben> btw is anyone maintaining python-mode?
>
> Yes. Skip Montanaro <[EMAIL PROTECTED]>, as it says in MAINTAINERS.
Others on the pyth
On Tue, 2005-12-06 at 11:01 -0600, [EMAIL PROTECTED] wrote:
> "Ah.. M-f g, that's the
> ticket", only to wind up at the end of "really_lon_identg".
From my python-mode-hook:
(define-key py-mode-map [(meta f)] 'py-forward-into-nomenclature)
(define-key py-mode-map [(meta b)] 'py-backward-into
On Tue, 2005-12-06 at 12:34 -0600, [EMAIL PROTECTED] wrote:
> Barry> From my python-mode-hook:
>
> Barry> (define-key py-mode-map [(meta f)] 'py-forward-into-nomenclature)
> Barry> (define-key py-mode-map [(meta b)]
> 'py-backward-into-nomenclature))
>
> So maybe we can solve thi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have a patch to implement font-locking for Python 2.5's "with"
statement, including the optional "as" keyword. However, I can't
check it in because I keep getting prompted for a cvs password, which
I don't have. What's odd is that I have ever
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mar 16, 2007, at 1:55 PM, [EMAIL PROTECTED] wrote:
>
> 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.
Done, and it does help.
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mar 16, 2007, at 6:35 PM, Barry Warsaw wrote:
> I've unchecked the CVS flag on the project page, but I don't think
> that actually removes any CVS data. It just disables the menu item.
I realized that I can turn off CVS write acc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mar 17, 2007, at 3:35 PM, [EMAIL PROTECTED] wrote:
> I successfully checked the code out via svn. I tried to do a cvs
> diff in my
> old repository to see if I had any pending changes and got this error:
>
> % cvs diff
> ? python-mode-fa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mar 18, 2007, at 11:24 AM, gary ball wrote:
> ive had enought of u twats talkin shit on my e . mails .piss off
Thanks for your kind words. We appreciate your intelligent
contributions to the development of python-mode, but we respect your
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 22, 2007, at 10:03 PM, [EMAIL PROTECTED] wrote:
>
> Kelvie> Looking at the complete lack of documentation and
> updates, I'm
> Kelvie> wondering, is python-mode still being developed? Or
> perhaps
> Kelvie> it's being merged in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 23, 2007, at 9:00 AM, thomas knoll wrote:
>> PS. Any recommended reading material?
>
> Every time I've asked this question in #emacs, the majority swear by
> the info pages in emacs. Apparently it is the best intro to elisp
> anywhere. (I would
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 26, 2007, at 11:46 PM, Ian Zimmerman wrote:
> This has the feel of a faq.
If there was a FAQ, it would be. ;)
> Forgive, I am a python newbie, and this
> issue, as strange as it may seem to you, could stop me from studying
> python further.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ian,
On May 2, 2007, at 10:57 AM, Ian Zimmerman wrote:
> Barry> A question, are you an FSF Emacs user or a XEmacs user? I ask
> Barry> because my understanding is that FSF Emacs has its own
> Barry> python-mode these days that's different than ou
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On May 18, 2007, at 2:56 PM, Paul Rudin wrote:
> I'm running a recent verion emacs 22, and I'm trying to get the
> breakpoint indicators and setting in the fringe work with pdb. Should
> this work out of the box? If not can anyone suggest incantation
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sep 4, 2007, at 2:10 PM, Edward O'Connor wrote:
>> I'm not entirely sure why the GNU Emacs folks rolled their own
>> python-mode from scratch[...]
>
> My understanding is that they wanted to include your python mode, but
> were unable to, for copyr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Oct 2, 2007, at 11:28 AM, Adam Hupp wrote:
> On 10/2/07, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>>
>> Just curious -- how do python.el and python-mode.el differ?
>
> Off the top of my head:
>
> * python-mode.el did not play well with transien
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Mar 12, 2008, at 9:49 AM, Diez B. Roggisch wrote:
>
> I hacked that into my pythonmode.el - well, I added "with" at two
> points in
> the source..
>
> Still, are there any plans to release such an enhanced mode?
There are two Python modes out the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Martin has a need idea...
Begin forwarded message:
> From: Martin Blais <[EMAIL PROTECTED]>
> Date: March 31, 2008 12:49:23 PM EDT
> Subject: Idea for python-mode
>
> Here is an idea I've had for emacs python-mode: something
> like (find-library) in E
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As previously threatened, er, promised, I've finally moved the
official python-mode.el source code repository to Launchpad, to be
managed under the Bazaar revision control system. I cannot remove the
old SourceForge Subversion repository, but I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Apr 29, 2008, at 1:57 PM, Rodrigo Ventura wrote:
I'm sending this this tiny patch to python-mode.el so that py-shell
supports file completion after hiting the TAB key (and M-TAB lists
possible completions):
- cut here ---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 20, 2008, at 1:00 PM, James Hartley wrote:
I have probably overlooked something obvious, but after installing
Emacs 22.2, I am not getting code to automatically indent as I
expected in Python mode. Instead, pressing Enter merely takes me bac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Begin forwarded message:
From: "Yongsub Chung" <[EMAIL PROTECTED]>
Date: November 19, 2008 3:07:27 PM EST
To: [EMAIL PROTECTED]
Subject: Python mode function that I use
Message-Id: <[EMAIL PROTECTED]>
Message body follows:
Hi. I have two python
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I think it's long overdue that we officially release a new version of
python-mode.el. I just added py-sort-imports (bound to C-c C-f for
"from") which is really handing in lexicographically sorting multiline
imports.
It's been ages since we d
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 26, 2008, at 11:39 AM, [EMAIL PROTECTED] wrote:
>
>Barry> I think it's long overdue that we officially release a new
>Barry> version of python-mode.el. I just added py-sort-imports (bound
>Barry> to C-c C-f for "from") which is rea
it's version
1.0 from year 2005.
You are right, sorry. I should tell you the present place.
Barry Warsaw, the maintainer, took it to
https://launchpad.net/python-mode
Please look there for last version.
Maybe subscribe the mailing list at
python-mode@python.org
I've tried as best
there's something wrong with the site because it tells me
it's
version 1.0 from year 2005.
You are right, sorry. I should tell you the present place.
Barry Warsaw, the maintainer, took it to
https://launchpad.net/python-mode
Can you redirect users to that from the SF-site? I wante
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 27, 2008, at 4:54 AM, Diez B. Roggisch wrote:
just read the message regarding the "floating patches".
This one has been provided by Sebastian Wiesner. Just wanted to make
sure you
guys have it.
Diez, if possible, could you please submit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 28, 2008, at 5:14 AM, Andreas Roehler wrote:
bzr checkout of today delivered
;; Author: 2003-2008 http://sf.net/projects/python-mode
probably it should be updated?
No mention of launchpad so far.
Thanks, fixed in r344.
- -Barry
-BE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
It's been ages since we did a formal python-mode.el release, so I took
the opportunity to embrace my tryptophan induced hallucinations and
release a new version. Skip was suggesting we try to include better
triple quoted string support, but my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 28, 2008, at 12:08 PM, Diez B. Roggisch wrote:
On Friday 28 November 2008 17:54:08 Barry Warsaw wrote:
It's been ages since we did a formal python-mode.el release, so I
took
the opportunity to embrace my tryptophan induced hallucina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 28, 2008, at 12:22 PM, [EMAIL PROTECTED] wrote:
Barry> It's been ages since we did a formal python-mode.el
release, so I
Barry> took the opportunity to embrace my tryptophan induced
Barry> hallucinations and release a new version
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 28, 2008, at 9:51 PM, Jeff Bauer wrote:
Did the behavior python-mode change with respect to the
syntax of vars_with_underscores? Keying M-f or M-b
now stops the cursor at the underscores rather than
grabbing the entire variable. Prior, in G
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 29, 2008, at 12:51 PM, Jeff Bauer wrote:
Diez B. Roggisch wrote:
Jeff Bauer schrieb:
Did the behavior python-mode change with respect to the
syntax of vars_with_underscores? Keying M-f or M-b
now stops the cursor at the underscores rather
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 29, 2008, at 12:02 PM, Andreas Roehler wrote:
`beginning-of-defun-raw' in GNU Emacs has a nice
feature, enabling functions instead of regexps to
determine beginning and end of defun, i.e. function or form.
In python-mode.el I see you solved
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Nov 29, 2008, at 2:10 PM, [EMAIL PROTECTED] wrote:
From a comment in python-mode.el:
;; For historical reasons, underscore is word class instead of
;; symbol class. GNU conventions say it should be symbol class, but
;; there's a natural con
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Dec 2, 2008, at 12:46 AM, Eric S. Johansson wrote:
Andreas Roehler wrote:
Hi,
herewith a first solution to requests posted at python-list
thank you so very much. I need to find the current Pythonesta
python mode lisp.
The source Forge vers
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Dec 4, 2008, at 1:53 PM, Andreas Roehler wrote:
seeing your announcement of "Python 3.0 final" I imagine
you being busy with other stuff...
Let's see if we can figure out how to contribute here
nonetheless.
Probably I got rights to check in alr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Dec 8, 2008, at 6:15 PM, Gerard Brunick wrote:
Would it possibly be a good idea to change the name of the python
editing mode in python-mode so that it does not conflict with the
FSF python editing mode name? In particular, it seems that "py-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 1, 2009, at 9:56 PM, Beverley Eyre wrote:
I'm writing because I am interested in helping merge python.el with
python-mode.el and your website suggested that I contact you. I'm
happy that there is someone on Earth besides me who uses emacs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 8, 2009, at 2:50 AM, Andreas Roehler wrote:
IMO exists no easy way to merge at all here in general.
Proceeding differs occasionally profoundly; results and
chances are only seen partly (at least for me). So I
wouldn't want to say: drop this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 12, 2009, at 12:01 PM, Beverley Eyre wrote:
Thanks for the offer. I'll definitely send my code along to you (or
post is where everyone can get it).
If possible, all code should be uploaded as a Launchpad branch.
- -Barry
-BEGIN PGP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 18, 2009, at 11:47 AM, s...@pobox.com wrote:
I'm going to stop pretending I'm contributing anything to python-mode
development. I simply don't have the time or the Emacs Lisp
expertise to do
any of what needs doing these days.
I not too
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 18, 2009, at 4:29 PM, Dave Love wrote:
There is talk in the python-mode.el and on the web site of merging it
with python.el. I hope people realize that can only be done in
accordance with the GPL licence of python.el -- i.e. one way --
alt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 19, 2009, at 4:48 AM, Andreas Roehler wrote:
I didn't sign code to FSF and probably will not. The reasons I
already declared on
FSF-list and towards RMS.
Do you have a pointer to that discussion?
Will not make it up here, unless you ask
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 20, 2009, at 2:08 AM, Beverley Eyre wrote:
I haven't even looked at 3.0 yet. I have no idea what would be
involved, Andreas. Are there any changes that would cause massive
alterations in the way a person using it would want it to look and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 19, 2009, at 9:24 PM, Stephen J. Turnbull wrote:
Speaking of folks that move on, in the process of checking on mail
aliases for the package I noticed that a certain bwar...@python.org
was receiving mail for supercite. Fixed (but you're alway
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 21, 2009, at 11:02 AM, Kaarthik Sivakumar wrote:
On Tue, Jan 20, 2009 at 8:17 AM, Barry Warsaw
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[...]
Wow, Supercite. Someday I'll port that to Mail.app and make a whole
new li
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 22, 2009, at 8:43 AM, Jeff Bauer wrote:
s...@pobox.com wrote:
My preference would be to leave it as-is.
+1. While not up to lisp-y levels, I also find it useful with
nested tuples/functions, esp. if they span multiple lines.
I'll add my
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 22, 2009, at 1:16 PM, Gary Foster wrote:
Not only will you get a beer, I'll invite you over to my place,
serve you
some of my award-winning homebrew and smoked ribs with homemade rub
and my
wife's homemade BBQ sauce.
Oh man, you really
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 26, 2009, at 9:56 AM, Andreas Roehler wrote:
some new functions are available:
py-beginning-of-def-or-class
py-class-at-point
py-function-at-point
py-beginning-of-function
py-beginning-of-class
py-end-of-function
py-end-of-class
py-end-of-de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 27, 2009, at 4:08 AM, Andreas Roehler wrote:
as FSF assignment policy was raised again at
python-mode@python.org, please permit to ask you a
thing I never understood:
AFAIS every Emacs-file is inspired by many, many others
from the very begi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 27, 2009, at 9:51 AM, Andreas Roehler wrote:
Well, that not so easy. Things are much more serious IMO. In any
case programs
published here will be GPL as far as it concerns me, so it shouldn't
matter for
the user if its assigned to FSF or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 27, 2009, at 8:17 PM, Dave Love wrote:
I'm sorry I'm not in your club, but I think understanding Emacs is
most
important thing for contributing language support (assuming the
language
is sufficiently well-defined and it doesn't require la
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 27, 2009, at 2:32 AM, Andreas Roehler wrote:
If you don't change existing default behavior, you're cool.
Always have that in mind. Until now there is one changing concerning
py-beginning-of-def-or-class really "or"
So far I see no other n
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've just released python-mode.el 5.1.0:
https://launchpad.net/python-mode/trunk/5.1.0
Since 5.0.0, this fixes a problem with syntax highlighting None, and
places the file under the GPLv3.
Barry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 29, 2009, at 3:24 PM, s...@pobox.com wrote:
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 majo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 1, 2009, at 2:00 AM, Glenn Morris wrote:
Since Andreas Röhler is unwilling to sign legal papers for his
code in python.el, we cannot use it in Emacs.
Would anyone like to implement for python-mode.el whatever
nice features python.el may have
2003-2009 https://launchpad.net/python-mode
| ;; 1995-2002 Barry A. Warsaw
| ;; 1992-1994 Tim Peters
`---
so, there is no copyright statements since 1994... I see that multiple
people contributed:
$> git shortlog -n -s python-mode.el
247 bwarsaw
32 montanaro
9 Barry Warsaw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 2, 2009, at 10:47 AM, Yaroslav Halchenko wrote:
Kids and wives will do that to you. I have one of each, which is
probably why I use Python and Emacs too. I don't look at human
brains
on a /daily/ basis, but just whenever the opportunity
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 1, 2009, at 4:57 PM, Stefan Monnier wrote:
It seems like python-mode.el will never be included in Emacs.
Why is that? Too many contributors? Can't be tracked down?
Won't sign papers?
Just pessimistic we can work out the legal details.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 2, 2009, at 12:03 AM, Beverley Eyre wrote:
Also, if I can make a suggestion, Barry, I think it would be a good
idea to ask Dave, or rms, or someone at GNU, to remove
the derogatory comments about python-mode.el that are gratuitously
includ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
In the meantime, can you fix a few small inaccuracies in python.el?
;; There is another Python mode, python-mode.el, used by XEmacs and
;; maintained with Python. That isn't covered by an FSF copyright
;; assignment, unlike this code, and seems not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 1, 2009, at 1:26 PM, Dave Love wrote:
Doubtless, but Emacs isn't just for Python programmers, and surely
modes
should be consistent.
That's pretty much a universal design decision across all of software,
isn't it? python.el takes one a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 29, 2009, at 2:54 PM, Andreas Roehler wrote:
Goal was: commands should
- speak for themselves
- need no docu reading
- be easily to put at a key or alias.
Therefor, if we have a compound command, which with an
option changes its behaviour,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 1, 2009, at 10:37 PM, Chong Yidong wrote:
Beverley Eyre writes:
From my understanding, no one suggesting cutting and pasting your
code.
Dave's objection, if I understand it correctly, is precisely the
cutting
and pasting of his code:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 1, 2009, at 10:42 AM, Jeff Kowalczyk wrote:
On Sun, 01 Feb 2009 07:33:15 -0500, Barry Warsaw wrote:
As Andreas pointed out, we have not yet merged his changes into
python-
mode.el.
I had hoped that it would be possible to merge python
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My colleague Graham Binns has completed the test import of the old
python-mode SourceForge tracker into Launchpad. Please take a look
here:
https://bugs.staging.launchpad.net/python-mode
Note that this is on the staging server, which means cha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 4, 2009, at 11:05 AM, Yaroslav Halchenko wrote:
I myself (since new to python-mode list and development in general)
can't provide any objective information, besides that imported list
looks great to me ;)
unfortunately that bugs.staging.laun
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 6, 2009, at 10:20 PM, Eric M. Ludlam wrote:
Thanks for the info. I saw posts on emacs-devel about various issues
with python-mode.el integration. CEDET is also due to be integrated
Emacs at some future date.
This is the first I've heard o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Okay folks, all the python-mode issues should now be imported into
Launchpad. Let us know if you notice any problems!
Barry
Begin forwarded message:
From: Graham Binns
Date: February 12, 2009 6:12:20 PM EST
To: ba...@canonical.com
Subject: Re
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 19, 2009, at 3:21 PM, ken manheimer wrote:
this is all the more worrisome since i spent some time porting
pdbtrack to python.el. it's currently there in emacs 23.0.90, but i
see it's not in the emacs that comes w/recent ubuntu, emacs 22.2.
On Apr 25, 2009, at 3:44 AM, Andreas Roehler wrote:
thanks a lot writing `pdbtrack'.
AFAIU it starts, if `py-pdbtrack-do-tracking-p' is set
to `t' and an error occurs.
I'm not quite sure what you mean here. It always just starts for me
when I hit a pdb prompt.
Would prefer to have it s
On Apr 27, 2009, at 8:41 AM, Andreas Röhler wrote:
as some questions about Emacs and python are raised, I forward that
here.
Tend to delete all files beside python-mode.el from my branch.
Good idea? Agreed?
I generally leave the other files there, but only use python-mode.el.
-Barry
PG
On Apr 27, 2009, at 10:34 AM, Andreas Röhler wrote:
Barry Warsaw wrote:
On Apr 27, 2009, at 8:41 AM, Andreas Röhler wrote:
as some questions about Emacs and python are raised, I forward that
here.
Tend to delete all files beside python-mode.el from my branch.
Good idea? Agreed?
I
On Apr 30, 2009, at 3:25 AM, Andreas Röhler wrote:
With python-mode.el, people may have good reasons, to
use it as it is - and me to leave it as it is. Thats
fine with bazaar and other DVCs, we can do that. My
branch doesn't hamper the origin and any further branch
will not. Its just freedom to
On Apr 30, 2009, at 4:07 PM, Andreas Roehler wrote:
I'll send you two screenshots offlist. Please feel
free to forward them to interested persons, just didn't
want to publish my path at the list.
20090428_pdbtrack3.png displays pdbtrack opened second
windows, cursor displayed at line 4 "import
On May 1, 2009, at 4:50 PM, Andreas Roehler wrote:
Hhm. Could you give me an example, how you run script activating
pdbtrace, reaching
the standard (pdb) prompt from Emacs?
I almost always just add the following line to the source code at the
point I want to start debugging:
import p
On May 4, 2009, at 3:59 PM, Andreas Röhler wrote:
IMO any new "obviously useful" features should be enabled by
default. Old Timers should have no problem reverting to older
configurations via settings. A point which generates much
contention I
know. As it is, Python set up is/was a minefield.
On May 28, 2009, at 7:09 AM, Andreas Roehler wrote:
python-mode.el was its bloody-minded determination to regard '_' as
a word
character, something which caused me more typing that it ever saved.
Its just one line to comment in python-mode.el, like this:
;; (modify-syntax-entry ?\_ "w" p
On Sep 8, 2009, at 4:43 AM, Rohan Nicholls wrote:
I checked out the python-mode launchpad project, and am now sending an
email. Do I need to sign up to the python mailing list to see any
discussions? Or does this email get me added to some secret list? ;)
While I approved your message, you s
On Sep 9, 2009, at 5:56 AM, Andreas Roehler wrote:
checking for the triple-quoted-bug:
with python.el,
(nth 8 (syntax-ppss)) shows the correct result.
Unfortunately with python-mode.el (nth 8 (syntax-ppss)) fails.
From there I assume, setting the syntax-table properly
might solve the bug
I
On Sep 10, 2009, at 7:54 AM, Andreas Roehler wrote:
Hi Barry,
diff attached against latest python-mode.el solves bug
328790, the triple string bug for me - checked
with X- and GNU Emacs.
Took some stuff from python.el, thanks towards its
excellent author BTW.
Did create a branch for it. Log n
On Sep 11, 2009, at 3:55 PM, Andreas Roehler wrote:
as it turns out, assumed fix was wrong
as far it concerns XEmacs.
Change only works for GNU Emacs.
Will see.
Cool, thanks.
-Barry
PGP.sig
Description: This is a digitally signed message part
__
On Sep 13, 2009, at 6:29 AM, Andreas Roehler wrote:
as mentioned, several modes like C++ or python-mode
need a more sophisticated determination of beginning-
or end-of-defun than a regexp may provide.
A additional function-call will be possible with patch
attached. It allows use of `M-x end-of-
On Sep 14, 2009, at 2:22 AM, Andreas Roehler wrote:
Not this time. :)
Sorry. Note to self: first sleep, /then/ reply.
-B
PGP.sig
Description: This is a digitally signed message part
___
Python-mode mailing list
Python-mode@python.org
http://mail
On Sep 16, 2009, at 10:51 AM, Vincenzo Forgetta wrote:
I've am currently attempting to "master" Emacs and python-mode. I've
noticed that http://refcards.com has a nice Emacs card, but not a
python-mode reference card. Apart from websites that list keyboard
shortcuts for python mode (e.g. ht
I'm not a fan of git, especially when there are two viable Python-
based DVCS's (and I'm biased about which one of those I prefer of
course :).
On Sep 29, 2009, at 1:29 PM, s...@pobox.com wrote:
Andreas> What about to include these and some other useful stuff
into
Andreas> XEmacs p
On Oct 17, 2009, at 11:54 AM, Andreas Roehler wrote:
(defcustom py-adressed-python-version ""
"*With different Python versions, changes have been made, which
affect python execution as editing likewise.
If a version is specified here, python-mode will adapt its
proceeding to it.
Otherwise
On Dec 11, 2009, at 8:50 AM, s...@pobox.com wrote:
>
>Kent> Am I misunderstanding something?
>
> Perhaps. There is definitely a deficiency in the Emacs syntax table stuff,
> at least the way python-mode uses it. I believe the other Python mode (the
> one delivered with recent versions of G
On Dec 11, 2009, at 9:25 AM, Kent Borg wrote:
> Dropping the new one in place doesn't fix it, but I think I need to
> compile something...
FWIW, I run python-mode.el right out of a bzr checkout. I never byte compile
my personal elisp files any more. :)
-Barry
_
On Dec 11, 2009, at 1:13 PM, Andreas Roehler wrote:
> Already tried to tackle the issue. Works with GNU Emacs for me, not with
> XEmacs until now.
> Introduced some stuff from python.el - defconst
> python-font-lock-syntactic-keywords etc.
>
> Patch attached - not polished yet, but works here s
On Jan 17, 2010, at 11:03 AM, Andreas Roehler wrote:
> Skip Montanaro wrote:
>>Barry> Skip, do you still want to review this or should we just approve
>>Barry> it and let Andreas land it?
>>
>> I say turn Andreas loose on it. I haven't looked at any python-mode code
>> for a couple years
On Jan 18, 2010, at 02:25 PM, Andreas Roehler wrote:
>Don't see a bug number here - it's just an extension. Going to commit
>without...(?)
Ah, then you don't need --fixes. It's generally good practice in the future
to open a bug first, and link the branch to the bug. Plus you get more karma
tha
On Jan 18, 2010, at 06:27 PM, m h wrote:
>I'm using pdb (from gud.el) with emacs, which is working pretty good.
>I've got two gripes.
>
> * After I run pdb on a testfile, the point goes to the top of the buffer
> * I'd like to be able to click on files in the stacktrace (on
>unittest failures) a
On Jan 19, 2010, at 12:18 PM, m h wrote:
>Wow, didn't you add python support to gud?
If I did, it was a million years ago and I don't remember it ;).
>Would you (or anyone else) care to mention their workflow? I've just
>been trying to get python-mode C-c C-c to allow me to use pdb. But I
>get
On Jan 19, 2010, at 03:06 PM, m h wrote:
>So just to be explicit about what 'run your code from a shell buffer'. I
>tried:
>
>1- C-c !
>2- type `execfile('filename.py')` into python shell
>3- hit breakpoint/nirvana
Actually, no! Seriously, run it in a shell buffer. :)
M-x shell RET
% python f
On Jan 19, 2010, at 06:12 PM, Jeff Bauer wrote:
>> "clickable"? Is that like using that mouse thing? To
>> paraphrase a wise man, "There's no clicking in Emacs!" :)
>
>But the track ball scroll wheel is AWESOME.
Hi Jeff! Yes, I completely agree. :)
-Barry
signature.asc
Description: PGP sign
1 - 100 of 275 matches
Mail list logo