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

2008-05-08 Thread Andreas Röhler
Andreas Röhler diff -u -b /old/python-mode.el /new/python-mode.el --- /old/python-mode.el 2008-05-07 08:05:55.0 +0200 +++ /new/python-mode.el 2008-05-08 15:28:35.0 +0200 @@ -3522,7 +3522,7 @@ (setq searching nil) ; search is done either way (setq state (parse-partial-sexp start

Re: [Python-mode] Moved to Launchpad and Bazaar

2008-05-10 Thread Andreas Röhler
Hi Barry, I asked for join with my adress already registered at launchpad: [EMAIL PROTECTED] Baazar seems interesting, the rather childish atmosphere of launchpad I hope to bear for Emacs's sake. :) Thanks for python-mode BTW. Andreas Röhler Am Freitag, 9. Mai 2008 17:23 schrieb Barry

Re: [Python-mode] [CEDET-devel] python

2009-02-06 Thread Andreas Röhler
. Thanks Andreas Röhler -- http://bazaar.launchpad.net/~a-roehler/python-mode/python-mode.el/files https://code.launchpad.net/s-x-emacs-werkstatt/ ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] [Fwd: Re: python setup ?]

2009-04-27 Thread Andreas Röhler
Hi Barry, 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? Andreas ---BeginMessage--- Andreas Röhler andreas.roeh...@easy-emacs.de writes: Richard Riley wrote: Andreas Röhler

Re: [Python-mode] [Fwd: Re: python setup ?]

2009-04-27 Thread Andreas Röhler
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 generally leave the other files there, but only use python

[Python-mode] [Fwd: Re: python setup ?]

2009-04-27 Thread Andreas Röhler
rileyrg...@googlemail.com writes: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Richard Riley wrote: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Richard Riley wrote: Richard Riley rileyrg...@googlemail.com writes: Xavier Maillard x...@gnu.org writes

Re: [Python-mode] python setup ?

2009-04-30 Thread Andreas Röhler
-of-class py-end-of-function py-end-of-class py-end-of-def-or-class py-line-at-point py-block-at-point py-beginning-of-block py-end-of-block py-whats-at-point py-beginning-of-def-or-class (really or) py-beginning-of-def-or-class-if-arg So far Andreas Röhler

[Python-mode] [Fwd: Re: python setup ?]

2009-05-03 Thread Andreas Röhler
---BeginMessage--- Actually, as an aside, what sort of workflows do people have when using emacs with something like python? Being relatively new to emacs I've been struggling slightly with finding an optimal workflow. For example, in other editors/IDEs my workflow would be something along the

Re: [Python-mode] python setup ?

2009-05-04 Thread Andreas Röhler
Richard Riley wrote: Barry Warsaw ba...@python.org writes: 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

Re: [Python-mode] python setup ?

2009-05-05 Thread Andreas Röhler
Barry Warsaw wrote: 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

Re: [Python-mode] python setup ?

2009-05-08 Thread Andreas Röhler
Richard Riley wrote: hi Andreas, but can one list breakpoints in pydb? Cant see how. r. info breakpoints http://bashdb.sourceforge.net/pydb/pydb/lib/subsubsection-info.html Grüße Andreas ___ Python-mode mailing list Python-mode@python.org

Re: [Python-mode] python-mode not working in Ubuntu

2009-08-23 Thread Andreas Röhler
travis+ml-em...@subspacefield.org wrote: Hello, I am an EMACS user and I know scheme, but I don't know EMACS lisp and I've run into a problem where I could use some help. I installed the following packages on Ubuntu intrepid: bash$ dpkg -l | grep -E 'emacs|python-mode' ii emacs

[Python-mode] hide-show support enabled with python-mode.el

2009-09-29 Thread Andreas Röhler
Thanks for contribution! Andreas ---BeginMessage--- User: aroehler Date: 09/09/29 12:18:50 Modified:packages/xemacs-packages/python-modes python-mode.el Log: Add support for HideShow Mikhail Novikov freikse...@gmail.com delivered this patch at

Re: [Python-mode] Emacs block indentation

2009-09-30 Thread Andreas Röhler
Jaideep Das wrote: I am using emacs 2.2 at work and 2.3 at home for python coding. I want to know how can I indent or outdent a block of code multiple times. What I mean is when I select a code part using C-space and then use C-x tab / C-c- / C-c- to indent or outdent, this only works once and

Re: [Python-mode] More interactive python

2010-02-03 Thread Andreas Röhler
Andrea Crotti wrote: For some reasons I've never been able to write to python-mode (via gmane+gnus) so I'll write it here... Hi Andrea, you should not encounter difficulties posting to this list: Python-mode@python.org You can also join the mailing list at

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

2011-01-05 Thread Andreas Röhler
Am 05.01.2011 19:45, schrieb Barry Warsaw: Thanks Andreas and Georg for your recent commits to python-mode.el. I wonder if it isn't time to start thinking about an official release, probably of 5.2? Is there anything else anybody would like to get in, say over the next couple of days? If not,

[Python-mode] avoiding edit wars

2011-01-09 Thread Andreas Röhler
Hi Barry, with respect to bug-fixing discussions last days it might be useful to reflect some rules in order to avoid edit wars. If several developers join interest in a solution, it's fine. However, different persons tend to harbour different opinions, that's normal. So how to make decisions

[Python-mode] simplified procedure

2011-01-11 Thread Andreas Röhler
Hi Barry, thanks for the merges. With respect to the still considerable amount of reports and a possible speed up of it's treatment, please permit some reflexions, how ease the process: - as for pure typos, whitespace, indent-matters IMHO developers should be permitted to push into the

Re: [Python-mode] c/c++ project management and debugging

2011-01-11 Thread Andreas Röhler
Am 10.01.2011 17:18, schrieb Richard Riley: Garyhelp-gnu-em...@garydjones.name writes: Le Wang wrote: My opinion of Eclipse aside, generally, when someone arguesnoun is adjective because Google results count is xxx, you should seriously question that side of the argument. I didn't claim

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

2011-01-13 Thread Andreas Röhler
Am 13.01.2011 21:05, schrieb s...@pobox.com: I'm trying to get the latest python-mode.el to compile cleanly. I have this definition: ;; Skip's XE workaround (if (fboundp 'string-to-syntax) (defalias 'py-string-to-syntax string-to-syntax) (defun py-string-to-syntax (s)

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

2011-01-13 Thread Andreas Röhler
Am 13.01.2011 22:16, schrieb s...@pobox.com: I'm trying to get the latest python-mode.el to compile cleanly. Neither of you answered this question. :-) How do I get those warnings to go away? Skip Hi Skip, seems you introduced a bug. Why not use the trunk? BTW all the py--prefix

Re: [Python-mode] upcoming release

2011-01-29 Thread Andreas Röhler
Am 28.01.2011 23:09, schrieb Barry Warsaw: On Jan 28, 2011, at 10:56 PM, Andreas Röhler wrote: enabling XEmacs' handling of triple-quoted-strings fixing bugs known for now seems an interesting item from my perspective. paragraph-fill-warts branch should enable this. https://code.launchpad.net

Re: [Python-mode] upcoming release

2011-01-29 Thread Andreas Röhler
Am 29.01.2011 17:12, schrieb s...@pobox.com: Andreas Ok, so let's have it. Pushed just now. File mode specification error: (file-error Cannot open load file: %s string-strip) ehm... pushed load-path: `load-path' is a simple built-in variable. Value:

Re: [Python-mode] Latest error

2011-01-29 Thread Andreas Röhler
Am 29.01.2011 18:16, schrieb s...@pobox.com: Looks like thingatpt-utils-base requires thingatpt-highlight which doesn't exist in the checkout. I evaled all the (require) statements from the .el files in a (progn) block: (progn (require 'easymenu) (require 'ansi-color)

Re: [Python-mode] Latest error

2011-01-29 Thread Andreas Röhler
Am 29.01.2011 18:52, schrieb s...@pobox.com: thingatpt-highlight was the only one it complained about. Andreas Hmm, seems I underestimated the issue. Andreas added and pushed. I'm getting farther. Looks like thingatpt-highlight was missing (when (featurep 'xemacs)

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

2011-01-30 Thread Andreas Röhler
Am 29.01.2011 22:34, schrieb g.bra...@gmx.net: Original-Nachricht Datum: Sat, 29 Jan 2011 15:20:56 -0600 Von: s...@pobox.com An: Andreas Röhlerandreas.roeh...@online.de CC: python-mode@python.org Betreff: Re: [Python-mode] paragraph-fill-warts branch Andreas the old

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

2011-01-30 Thread Andreas Röhler
Am 30.01.2011 23:16, schrieb s...@pobox.com: Andreas When reporting the remaining bugs, please make an entry in the Andreas tracker and mention the kind of Emacs/version. Done: https://bugs.launchpad.net/python-mode/+bug/710373 Andreas, if you would like a login on my Mac

Re: [Python-mode] python.el

2011-02-04 Thread Andreas Röhler
Am 03.02.2011 22:48, schrieb Aaron Culich: On Thu, Feb 3, 2011 at 1:13 PM,s...@pobox.com wrote: Georg - From reading emacs-devel, it seems that the python.el has made Georg changes to the mode and explicitly taken them out of the Georg copyright assignment for the FSF, so

Re: [Python-mode] python.el

2011-02-04 Thread Andreas Röhler
[ ... ] He must have a big bee in his bonnet. Always being patient with the genial. Which permits being patient with the common one, including myself. :-) Cheers Andreas ___ Python-mode mailing list Python-mode@python.org

Re: [Python-mode] python.el

2011-02-04 Thread Andreas Röhler
Am 04.02.2011 16:30, schrieb Barry Warsaw: On Feb 04, 2011, at 09:16 AM, Andreas Röhler wrote: However, let me clarify: Emacs _can_ include, as long it is GPL and it is. But they won't. And so we can. Yes, we're not bound by the same copyright assignment policy. It's just to give up

[Python-mode] py-match-paren

2011-02-05 Thread Andreas Röhler
Hi Barry, herewith a function I'm used to when editing and didn't want miss it in python-mode. Maybe have a look, if it seems useful for others too. Needs (require 'beg-end) (require 'thing-at-point-utils) (require 'thingatpt-utils-base) from https://code.launchpad.net/s-x-emacs-werkstatt/

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

2011-02-14 Thread Andreas Röhler
Am 13.02.2011 22:50, schrieb s...@pobox.com: I don't know where we left things w.r.t. the Andreas's paragraph-fill-warts branch, but I just updated and fired up a new copy of XEmacs. Then edited my current small test file. After filling the doc string I see the same issue reported before by (I

Re: [Python-mode] release?

2011-02-17 Thread Andreas Röhler
Am 15.02.2011 20:54, schrieb Barry Warsaw: On Feb 15, 2011, at 08:52 PM, Andreas Röhler wrote: from my perspective a release is feasible, after triple quoted string bugs should be gone. Sorry, I don't quite understand. Do you mean that we should release r396 or that you have a few more

Re: [Python-mode] release?

2011-02-18 Thread Andreas Röhler
Am 17.02.2011 22:44, schrieb Barry Warsaw: On Feb 17, 2011, at 04:39 PM, Andreas Röhler wrote: Hmm, the bugs exists only for XEmacs now AFAIS. But fixing it there will open more bugs then closing that way probably. Which doesn't mean it's a bad thing, because it should open some route to much

Re: [Python-mode] highlight bug?

2011-02-25 Thread Andreas Röhler
Am 25.02.2011 12:18, schrieb andrea crotti: Before I wasn't sure if it was an old bug, but today I got the last revision from bzr and I see the same. Function and variable names containing reserved keywords are not highlighted correctly. For example in def generate_random_tuple() tuple is

Re: [Python-mode] highlight bug?

2011-02-25 Thread Andreas Röhler
Am 25.02.2011 13:32, schrieb andrea crotti: Ok first I need to be sure I'm up to date. I'm at revision 396, and also here https://code.launchpad.net/~python-mode-devs/+ownedbranches I see the same as last commit done... Are there any more advanced branches? usually I start here:

Re: [Python-mode] highlight bug?

2011-02-25 Thread Andreas Röhler
Am 25.02.2011 16:30, schrieb andrea crotti: 2011/2/25 Andreas Röhlerandreas.roeh...@online.de: usually I start here: https://code.launchpad.net/python-mode BTW my components branch is still heavily changed, major changes underway... Have a look at the thing-at-point utils stuff nonetheless,

Re: [Python-mode] highlight bug?

2011-02-25 Thread Andreas Röhler
Am 25.02.2011 16:35, schrieb andrea crotti: Uhm even forcing the load of the file python-mode.el doesn't work. But I think I found it, in wisent-python.el there is ;; Try to load python support, but fail silently since it is only used ;; for optional functionality (require 'python nil t) Which

[Python-mode] highlight-indentation

2011-03-09 Thread Andreas Röhler
Hi Barry, just seeing highlight-indentation by Anton Johansson - thanks a lot to him BTW - which I suggest to include into next release. It delivers graphical bars indicating the indent-level, makes em more impressive. Might be useful in certain circumstances. Source:

Re: [Python-mode] highlight-indentation

2011-03-11 Thread Andreas Röhler
Am 11.03.2011 13:47, schrieb Barry Warsaw: On Mar 09, 2011, at 10:24 PM, Andreas Röhler wrote: just seeing highlight-indentation by Anton Johansson - thanks a lot to him BTW - which I suggest to include into next release. It delivers graphical bars indicating the indent-level, makes em more

Re: [Python-mode] highlight-indentation

2011-03-12 Thread Andreas Röhler
Am 12.03.2011 04:28, schrieb Barry Warsaw: Hi Andreas, I noticed that you committed this file to our bzr tree. Hi Barry, took preceding exchange for an approval. Will be more carful next time. I'm concerned about doing this without Anton's approval (and maybe even with it). Anton

Re: [Python-mode] Error during indentation

2011-03-13 Thread Andreas Röhler
Am 13.03.2011 12:49, schrieb Andrea Crotti: I get a strange error when I have a situation like this: --8---cut here---start-8--- 1 class Foo(object): 2 3 Some doc 4 5 --8---cut

Re: [Python-mode] Error during indentation

2011-03-14 Thread Andreas Röhler
Am 13.03.2011 21:09, schrieb Andrea Crotti: Barry Warsawba...@python.org writes: On Mar 13, 2011, at 12:49 PM, Andrea Crotti wrote: I get a strange error when I have a situation like this: --8---cut here---start-8--- 1 class Foo(object): 2

Re: [Python-mode] Fw: [Branch ~python-mode-devs/python-mode/python-mode] Rev 402: py-goto-beginning-of-tqs-lp:735328-test with py-bug-numbered-tests.el added

2011-03-15 Thread Andreas Röhler
Am 15.03.2011 17:23, schrieb Barry Warsaw: Hi Andreas. Did you really mean to commit a directory listing as a .el file? ;) -Barry OMG, seems something swapped over... Sorry and thanks. It's okay at my home board BTW, no magic. Just got the wrong buffer when saving. Andreas Begin

[Python-mode] apropos py-bug-numbered-tests

2011-03-15 Thread Andreas Röhler
Hi Barry, test concerning last bug report `goto-beginning-of-tqs-lp:735328-test' should go through with python-mode.el, some others too, but not all. To tackle remaining bugs, would change some lisp of python-mode.el towards more common forms. For example `py-save' now is as macro

Re: [Python-mode] r401 is broken

2011-03-15 Thread Andreas Röhler
Am 15.03.2011 22:21, schrieb Barry Warsaw: Hi Andreas, r401 broke TAB indentation in Emacs 23. In the attached file, set the cursor at the end of line 48, then hit return and tab. Point does not indent. Cheers, -Barry there was a typo, done now. Will see again tomorrow.

Re: [Python-mode] highlight-indentation

2011-03-17 Thread Andreas Röhler
-indent-offset 1)) (1 'highlight-indent-face so if you find a better place to extract that to syntax highlighting code it might be better... Cheers -- Anton On Mar 13, 2011, at 09:15 , Andreas Röhler wrote: Hi Anton, thanks a lot BTW. Added a link onto your repo into the header. In order

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

2011-03-25 Thread Andreas Röhler
Am 25.03.2011 14:07, schrieb s...@pobox.com: Andreas What about indenting it to the end of first element of previous Andreas line? That is precisely the problem. That's what it does today, and if the lhs of the assignment is a complex expression, the continuation is indented way

Re: [Python-mode] highlight-indentation

2011-03-25 Thread Andreas Röhler
Am 25.03.2011 16:08, schrieb Barry Warsaw: Hi Andreas, I don't disagree with anything you wrote, and of course we're allowed to use anything GPL'd. I don't think even politeness mandates pre-approval in order to *use* GPL code. The let's be nice comment wasn't directed at you personally, or

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

2011-03-25 Thread Andreas Röhler
Am 25.03.2011 16:54, schrieb Barry Warsaw: On Mar 25, 2011, at 09:51 AM, Andreas Röhler wrote: while considering the request valid, even if the current non-indent is an option, what's the recommendable indent? Would not choose the block-indent step, rather signal it's something different

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

2011-03-25 Thread Andreas Röhler
Am 25.03.2011 19:32, schrieb s...@pobox.com: I find this indentation truly grating: self.last_abc_attr = self.last_xyz_attr = \ self.last_abc_other = \ self.last_xyz_other = None Now, I can move self.last_xyz_attr to a

[Python-mode] myrkwid ready to merge?

2011-03-26 Thread Andreas Röhler
Hi Barry, AFAIS all indent-bugs reported are done with Myrkwid branch. Provided tests from inside Emacs for it: py-bug-numbered-tests.el Also tests may be run in batch-mode: python-mode-tests.sh Please have a look if it's ready: https://code.launchpad.net/~a-roehler/python-mode/myrkwid The

Re: [Python-mode] myrkwid ready to merge?

2011-03-28 Thread Andreas Röhler
Am 28.03.2011 16:55, schrieb Barry Warsaw: On Mar 26, 2011, at 07:08 PM, Andreas Röhler wrote: AFAIS all indent-bugs reported are done with Myrkwid branch. Provided tests from inside Emacs for it: py-bug-numbered-tests.el Also tests may be run in batch-mode: python-mode-tests.sh Please have

Re: [Python-mode] python.el cleanup

2011-03-30 Thread Andreas Röhler
Am 30.03.2011 04:58, schrieb Christoph Scholtes: Stefan Monniermonn...@iro.umontreal.ca writes: Could you just clarify why they're considered obsolete (e.g. what would the user use instead)? `python-shell' is not needed since Dave's mode already had 'run-python' to invoke the python

Re: [Python-mode] myrkwid bug with backspace/delete

2011-04-01 Thread Andreas Röhler
Am 31.03.2011 17:36, schrieb Barry Warsaw: Hi Andreas, myrkwid branch still has a minor problem. -snip snip- class Foo: def foo(self): pass -snip snip- Put point at the end of the 'pass' line. Hit return. Indentation is correct. However backspace/delete never

Re: [Python-mode] myrkwid bug with backspace/delete

2011-04-01 Thread Andreas Röhler
Am 01.04.2011 21:58, schrieb Barry Warsaw: On Apr 01, 2011, at 12:31 PM, Andreas Röhler wrote: checked in fixes. Also cured a mistake of 745208'-fix, where python- and emacs-lisp logic has been came across... Thanks Andreas! Things are looking better, but still not quite perfect

Re: [Python-mode] myrkwid branch indentation bug

2011-04-06 Thread Andreas Röhler
Am 06.04.2011 00:51, schrieb Barry Warsaw: Here's another myrkwid branch bug. I've updated to r474 of the branch. Great, thanks. BTW I'm not sure how to proceed here. Shall I push further into myrkwid, or rather freeze it, opening a new branch for any progress? -snip snip- def

Re: [Python-mode] myrkwid branch indentation bug

2011-04-06 Thread Andreas Röhler
Am 06.04.2011 16:14, schrieb Barry Warsaw: On Apr 06, 2011, at 08:18 AM, Andreas Röhler wrote: BTW I'm not sure how to proceed here. Shall I push further into myrkwid, or rather freeze it, opening a new branch for any progress? I think myrkwid is coming along, and I'm happy to keep running

[Python-mode] beginning-of-defun-function

2011-04-07 Thread Andreas Röhler
Hi Barry, facing several difficulties with beginning-of-defun-function, like to normalize `py-beginning-of-def-or-class' taking just one argument C-u. That would help in many respects. I'm aware it entangles precious heritages :-) Default would be def-or-class, while C-u would mean

Re: [Python-mode] beginning-of-defun-function

2011-04-07 Thread Andreas Röhler
Am 07.04.2011 20:40, schrieb Barry Warsaw: On Apr 07, 2011, at 01:26 PM, Andreas Röhler wrote: facing several difficulties with beginning-of-defun-function, like to normalize `py-beginning-of-def-or-class' taking just one argument C-u. That would help in many respects. I'm aware it entangles

Re: [Python-mode] python-mode for cython/pyrex?

2011-04-08 Thread Andreas Röhler
Am 08.04.2011 17:21, schrieb Mihai Badoiu: is there a python equivalent emacs mode for cython/pyrex? thanks, --mihai ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode Hi, see for example

[Python-mode] [Bug 328786] Re: python-mode kills arrow in gdb (gud.el)

2011-04-10 Thread Andreas Röhler
Hi, these bug seems not to exist any more with GNU Emacs 23. Here at the breakpoint a red point is left, while a yellow arrow walks down at the fringe. Does anybody notice this bug still? If yes, please send a complete bug report again. Thanks Andreas

Re: [Python-mode] python-mode for cython/pyrex?

2011-04-11 Thread Andreas Röhler
Am 11.04.2011 10:22, schrieb Georg Brandl: On 08.04.2011 17:21, Mihai Badoiu wrote: is there a python equivalent emacs mode for cython/pyrex? thanks, --mihai I've hacked together something once: https://bitbucket.org/birkenfeld/dotemacs/src/9cea541dda89/cython-mode.el Georg

[Python-mode] revno and releases

2011-04-13 Thread Andreas Röhler
Hi Barry, when closing [Bug 531034] Re: Add py-class-name-face? the question arised, if flag should be set to fixed or released. Assume the latter. Is there a way to determine at which revno/branch the last release is done? Thanks Andreas --

Re: [Python-mode] one more myrkwid bug

2011-04-15 Thread Andreas Röhler
Am 15.04.2011 13:49, schrieb Barry Warsaw: Hi Andreas, On Apr 15, 2011, at 08:59 AM, Andreas Röhler wrote: def foo(): x = dict( a=1, b=2, c=3, ) which looks okay for me. Except it's a regression from the trunk. Hi Barry

Re: [Python-mode] one more myrkwid bug

2011-04-15 Thread Andreas Röhler
Am 15.04.2011 22:24, schrieb Barry Warsaw: On Apr 15, 2011, at 10:28 PM, Andreas Röhler wrote: Am 15.04.2011 22:09, schrieb Barry Warsaw: On Apr 15, 2011, at 10:01 PM, Andreas Röhler wrote: checked in the fix meanwhile. Behavior of trunk now default again. I just grabbed the update

Re: [Python-mode] Control-L's break myrkwid

2011-04-15 Thread Andreas Röhler
Am 15.04.2011 23:20, schrieb Barry Warsaw: Oh you're going to love this one Andreas. ;) -snip snip- class Foo: def baz(self): ^L -snip snip- I'm not sure this will come through on the email, but there is a control-L in column zero of the last line. Now put point the

Re: [Python-mode] one more myrkwid bug

2011-04-16 Thread Andreas Röhler
Am 16.04.2011 13:01, schrieb Georg Brandl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 15.04.2011 23:41, schrieb Andreas Röhler: Am 15.04.2011 22:24, schrieb Barry Warsaw: On Apr 15, 2011, at 10:28 PM, Andreas Röhler wrote: Am 15.04.2011 22:09, schrieb Barry Warsaw: On Apr 15, 2011

Re: [Python-mode] xemacs or Python mode

2011-04-16 Thread Andreas Röhler
Am 16.04.2011 18:11, schrieb Eric S. Johansson: (I originally sent this to the xemacs list and forgot to send it here) Only Your friendly list mates can tell for sure In some buffers of Python code and not others when I press the backspace key, it tells me: symbols function definition is

Re: [Python-mode] xemacs or Python mode

2011-04-16 Thread Andreas Röhler
Am 16.04.2011 21:44, schrieb Eric S. Johansson: On 4/16/2011 1:31 PM, Andreas Röhler wrote: Am 16.04.2011 18:11, schrieb Eric S. Johansson: XEmacs should implement it. it should but I'm getting the exception. Here it is for the moment: hmm could not find this code in the myrkid branch

Re: [Python-mode] dropping py-emacs-features

2011-04-18 Thread Andreas Röhler
Am 18.04.2011 11:32, schrieb Andreas Röhler: Hi, while hunting bug #691542 --SyntaxError on py-execute-region-- consider to drop const `py-execute-region'. Typo: py-emacs-features is at stake Assume, if used at all, things should rather be fixed at the source than dealt with here

Re: [Python-mode] I think myrkwid branch is ready to go

2011-04-20 Thread Andreas Röhler
Am 20.04.2011 12:47, schrieb Barry Warsaw: Hi Andreas, After a few days of using the latest rev, myrkwid seems pretty good to me. I think it's time to merge it into trunk and address any remaining issues there. I'd like to update the trunk to bzr format 2a after myrkwid is merged. Feel free

Re: [Python-mode] code/macros to reformat code

2011-05-12 Thread Andreas Röhler
Am 11.05.2011 18:24, schrieb m h: On Wed, May 11, 2011 at 12:20 AM, Andreas Röhler andreas.roeh...@online.de wrote: Am 11.05.2011 00:44, schrieb m h: Folks- I was wondering if anyone has some code floating around to reformat code after the code passes a certain column (say 79 or 80). What

Re: [Python-mode] What is the current status of python-mode?

2011-05-25 Thread Andreas Röhler
Am 25.05.2011 16:51, schrieb Donald Ephraim Curtis: when I try to insert an if statement emacs throws an exception that python-skeleton-if cannot be found. is the repo in a bad state and something people can contribute to? reviewing the mailing list didn't indicate anything out of the

Re: [Python-mode] What is the current status of python-mode?

2011-05-25 Thread Andreas Röhler
Am 25.05.2011 16:51, schrieb Donald Ephraim Curtis: when I try to insert an if statement emacs throws an exception that python-skeleton-if cannot be found. is the repo in a bad state and something people can contribute to? reviewing the mailing list didn't indicate anything out of the

Re: [Python-mode] py-master-file behavior doesn't work

2011-06-09 Thread Andreas Röhler
Am 08.06.2011 16:16, schrieb Roman Dzvinkovsky: Hi, even when I set py-master-file variable locally in python buffer, py-execute-buffer and others still use temporary file, so I can't see context in IPython. Is it broken or I do something wrong? Thanks in advance, Roman. Thanks for the

[Python-mode] Fwd: Re: adding a standard font-lock-number-face

2011-06-17 Thread Andreas Röhler
Hi, would make a bug report/feature request for that. Opinions? Cheers, Andreas Am 17.06.2011 05:54, schrieb Fabian Ezequiel Gallina: 2011/6/17 Stefan Monniermonn...@iro.umontreal.ca: So long story short: isn't a good idea to add a standard font-lock-number-face in order to have fine

Re: [Python-mode] adding a standard font-lock-number-face

2011-06-17 Thread Andreas Röhler
Am 17.06.2011 14:17, schrieb Barry Warsaw: On Jun 17, 2011, at 08:34 AM, Andreas Röhler wrote: would make a bug report/feature request for that. Opinions? Personally, I think it's overkill. Agreed, will not use that. However, as the OP pointed at, users switching from other editors asked

Re: [Python-mode] more speech driven how twos

2011-06-17 Thread Andreas Röhler
Am 17.06.2011 16:02, schrieb Eric S. Johansson: making more progress on some of the tools I need for speech or programming. [ ... ] Hi Eric, thanks reminding at that. Seeing you introduced a blueprint. Your previous text went into the `second-level-commands'. As said, would like to do

Re: [Python-mode] more speech driven how twos

2011-06-18 Thread Andreas Röhler
Am 18.06.2011 15:00, schrieb Eric S. Johansson: BTW what are suitable returns from Emacs report functions for you. As choices coming into my mind for the moment are: - simple get it returned yes as in position = Emacs_fetch (current character position, buffer = focus) buffer_list =

Re: [Python-mode] more speech driven how twos

2011-06-19 Thread Andreas Röhler
Am 19.06.2011 19:28, schrieb Eric S. Johansson: On 6/18/2011 3:41 PM, Andreas Röhler wrote: Am 18.06.2011 15:00, schrieb Eric S. Johansson: BTW what are suitable returns from Emacs report functions for you. As choices coming into my mind for the moment are: - simple get it returned yes

Re: [Python-mode] more speech driven how twos

2011-06-19 Thread Andreas Röhler
Am 19.06.2011 20:21, schrieb Eric S. Johansson: On 6/19/2011 2:00 PM, Andreas Röhler wrote: Inside the python-mode archiv exists a pars-part-output.el it provides a function called parse-partial-sexp-iac which displays the output of parse-partial-sexp together with its explanation er. I

Re: [Python-mode] execfile

2011-06-20 Thread Andreas Röhler
[ ... ] Just a thought in context: as people my run parallel different versions of python --locally or send something to remote machines-- there should be a way to specify the version to run. This would override the default version-check. That would certainly be useful for *me* :). It's

Re: [Python-mode] [Bug 310354] Re: 3.0 execute into python session

2011-06-23 Thread Andreas Röhler
Am 13.06.2011 23:02, schrieb Barry Warsaw: There are a couple of issues here. I'd like to see python-mode eventually grow better support for Python 3 and Python 2 at the same time. Probably Python 3 support should be a derived major-mode so things that are unique to it can be handled

[Python-mode] edit or navigate code by feature

2011-06-26 Thread Andreas Röhler
Hi Eric, what about implementing a simplified navigation mode like such: just call an object: for example method, string, list etc. Emacs will look if inside such a thing. If yes, it marks it as region. If not, go forward to the next in buffer. Should take the common numeric arguments moving

[Python-mode] dropping electric-colon

2011-07-06 Thread Andreas Röhler
Hi Barry, stumbling over a bug from `py-electric-colon' it looks there is nothing left to do for the command. Every C-j does py-newline-and-indent. Also if a deliberated indent is set, nothing left for electrics. Setting a colon is no magic moment so far. As it's a well known ancient thing -

[Python-mode] diff displays identical lines

2011-07-20 Thread Andreas Röhler
Hi Barry, hi all, encountering a nuisance with diffs, getting displayed several identical lines while for example the only lines changed in recent commit r449 are: 2731 (setq erg (py-go-to-keyword py-block-or-clause-re -1))) 2731

[Python-mode] python-mode.el 6.0 released

2011-07-23 Thread Andreas Röhler
Hi all, proudly announcing the release of python-mode.el 6.0 at http://launchpad.net/python-mode/trunk/6.0/+download/python-mode-6.0.tgz It comes with some new commands, as shown below for `mark': py-mark-statement py-mark-block py-mark-block-or-clause py-mark-def py-mark-def-or-class

Re: [Python-mode] python-mode.el 6.0 released

2011-07-23 Thread Andreas Röhler
Am 23.07.2011 20:30, schrieb Glenn Linderman: On 7/23/2011 9:48 AM, Andreas Röhler wrote: Hi all, proudly announcing the release of python-mode.el 6.0 at http://launchpad.net/python-mode/trunk/6.0/+download/python-mode-6.0.tgz Installation instructions? nothing changed in this respect

Re: [Python-mode] python-mode.el 6.0 released

2011-07-23 Thread Andreas Röhler
Seems like the prior python-mode was just a single file, so pretty straightforward, unpack to d:\somewhere, and then in the emacs rc: (add-to-list 'load-path d:/somewhere) (autoload 'python-mode python-mode Python Mode. t) make sure python-mode.el is earlier in path than python.el

Re: [Python-mode] python-mode.el 6.0 released

2011-07-24 Thread Andreas Röhler
Please write a bug report. Also posting on the emacs-help might be useful. Thanks for your suggestions here, I know it is out of scope for python-mode. But reporting the bug in emacs 3 years ago, and the deficiencies of that process from a user perspective, do not encourage following the

[Python-mode] branch lp:~handrake/python-mode/devel-0.1

2011-07-28 Thread Andreas Röhler
Hi, had a look at your branch this morning which looks quit reasonable for me. When checking for a possible merge however detected, python-mode now don't make use of `py-shell-list' any more. Which doesn't mean it can't be re-introduced if needed. Could you check out the current trunk or

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

2011-07-28 Thread Andreas Röhler
Am 28.07.2011 10:33, schrieb David Miller: Nice work on this ! Just got around to upgrading to 6.0 and discovered that the python menu has the option Switch to interpreter which maps to the function py-switch-to-python This function is undefined in the python-mode source AFAICT (e.g. based on

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

2011-07-28 Thread Andreas Röhler
Am 28.07.2011 10:33, schrieb David Miller: Nice work on this ! Just got around to upgrading to 6.0 and discovered that the python menu has the option Switch to interpreter which maps to the function py-switch-to-python [ ... ] Hi David, it turned out having two labels pointing at the same,

Re: [Python-mode] py-execute-buffer and swap buffers

2011-07-29 Thread Andreas Röhler
Am 28.07.2011 22:16, schrieb Andrea Crotti: This is something I noticed since some time. I have the latest bzr python-mode (but also before it was like this) and emacs GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.5) When I have only two buffers open, one with the source and

Re: [Python-mode] 6.0.1 errors

2011-08-06 Thread Andreas Röhler
Am 06.08.2011 02:22, schrieb Eric S. Johansson: running 6.0.1 on xemacs 21.4.22 (cygwin) I get these two warnings (1) (warning/warning) Unknown req `min-colors' with options `(88)' (2) (warning/warning) Unknown req `min-colors' with options `(88)' ideas? Hi Eric, AFAIS your version of

Re: [Python-mode] xemacs Potential problem

2011-08-08 Thread Andreas Röhler
Am 09.08.2011 02:43, schrieb Eric S. Johansson: I'm experimenting with the latest beta and try to figure out what's the right set of options for configure for production version and I got this error. Any ideas? Hi Eric, think that's related to XEmacs compatibility problem you reported

Re: [Python-mode] script with indentation problems - Bug 818669

2011-08-10 Thread Andreas Röhler
Am 09.08.2011 10:18, schrieb Glenn Linderman: On 8/8/2011 10:59 PM, Andreas Röhler wrote: Hi, 3) Line 1266 (authlist = None). Point in column 1. Hit TAB. ... Hit TAB again, and it gets indented 8 spaces instead 4. at my machine it stays at current-indentation with TAB, which is a new

Re: [Python-mode] script with indentation problems - Bug 818669

2011-08-10 Thread Andreas Röhler
Am 10.08.2011 10:52, schrieb Glenn Linderman: On 8/10/2011 1:11 AM, Andreas Röhler wrote: restored the good old cycling behavior. New design remains available as py-indent-line-new. I'm not sure what cycling behavior means? Is that documented somewhere? Now, and presumely earlier also

[Python-mode] Welcome Gennady N. Uraltsev

2011-08-15 Thread Andreas Röhler
Dear Gennady, being very pleased you joined the team. As your hints already turned out helpful chasing bugs, I'm looking forward. Think that place at the crossing of Emacs and Python is right to get some suspense, to perform some nice things. A remark concerning future developing at the

  1   2   3   >