[Python-mode] Python Developers Emacs Environment - PDEE

2011-11-08 Thread Andreas Röhler
Hi Gabriele, https://github.com/pdee should be mirrored soon at lp:python-mode updated the README A remark to the python-el question, as it's no longer mentioned: Think we should deliver a choice of all known workable basic modes, i.e. python-mode.el and all flavors of python.el, ipython.el -

Re: [Python-mode] Setting up pycomplete.el

2011-11-07 Thread Andreas Röhler
Am 07.11.2011 22:13, schrieb Jeffrey Spencer: I am trying to setup pycomplete.el on my system. I had two questions about it: 1) Can it be integrated with auto-complete and has anyone done this before and has some tips?? Hi, AFAIK it should not interfere with auto-complete.el However, these wi

[Python-mode] trunk should work again

2011-11-05 Thread Andreas Röhler
Hi, completion presently not usable, the other stuff should work again. ___ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode

[Python-mode] current trunk broken

2011-11-05 Thread Andreas Röhler
Hi folks, when checking out current trunk, please branch from a previous commit. Last one is broken. Strange enough not on all machines... Will fix it as soon a possible. Cheers, Andreas ___ Python-mode mailing list Python-mode@python.org http://mai

[Python-mode] completion in python-mode

2011-11-05 Thread Andreas Röhler
Hi Fabian, while hunting https://bugs.launchpad.net/python-mode/+bug/886227 consider a merge of some parts of your python.el Completion feels faster than the stand-alone solution used several commits before. Curious to know the reasons, should you can tell. Just to drop you a notice so fa

Re: [Python-mode] workflow PDEE - emacs-for-python

2011-11-04 Thread Andreas Röhler
Am 04.11.2011 14:32, schrieb Gabriele Lanaro: I believe this is a great idea! I'd like to host the project on github, we can make an organization account (pdee/pdee) but if you like other websites it's fine (launchpad, bitbucket or others). for me it's all good. As for the start, just need wri

[Python-mode] workflow PDEE - emacs-for-python

2011-11-04 Thread Andreas Röhler
Hi Gabriele, hi Barry, some ideas how to start. see last year we had some related discussion http://mail.python.org/pipermail/python-mode/2010-March/000770.html What about the name PDEE - Python Development Emacs Environment - for the joint project? Could stay also with your and make a bran

Re: [Python-mode] emacs-for-python

2011-11-03 Thread Andreas Röhler
Am 03.11.2011 19:05, schrieb Gabriele Lanaro: Ok, in the meantime I'll look at the reports and blueprints on the website and start working on something. Great. What about to start with new Blueprint, a kind of specification, listing all the goals? Maybe you have something suitable for copy-

Re: [Python-mode] emacs-for-python

2011-11-03 Thread Andreas Röhler
Am 03.11.2011 18:23, schrieb Gabriele Lanaro: Hi! emacs-for-python is mostly a big bundle that configures various existent python packages, the problem it is trying to solve is to pack all the features (syntax check, autocompletion, snippets etc.) in a single place (it's very symilar to emacs-sta

[Python-mode] emacs-for-python

2011-11-03 Thread Andreas Röhler
Hi Gabriele, as your mode was been mentioned lately at python-mode@python.org, had a look again. That's cool stuff indeed. You introduced a lot we are heading to. As for python-mode.el, focus was on Emacs as Editor lately: addressing python forms from definitions down to statements, py-expre

Re: [Python-mode] py-execute-buffer and CWD

2011-11-01 Thread Andreas Röhler
Am 01.11.2011 23:33, schrieb Andrea Crotti: [ ... ] Another partially unrelated thing, I noticed the two following: (defun py-execute-buffer-no-switch (&optional async) "Like `py-execute-buffer', but ignores setting of `py-shell-switch-buffers-on-execute', output-buffer will being switched to."

Re: [Python-mode] py-execute-buffer and CWD

2011-11-01 Thread Andreas Röhler
Am 01.11.2011 22:51, schrieb Georg Brandl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.11.2011 22:50, schrieb Andrea Crotti: On 11/01/2011 08:53 PM, Andreas Röhler wrote: cd is a shell command you can't mix that into Emacs Lisp. BTW ipython shell would understand "cd"

Re: [Python-mode] py-execute-buffer and CWD

2011-11-01 Thread Andreas Röhler
Am 01.11.2011 12:33, schrieb Andrea Crotti: While trying to run a script and there is already another *Python* buffer open for another directory, running the script normally fails if there are some relative file paths. Apparently the CWD in the *Python* buffer remains the old one, and thus it ma

Re: [Python-mode] py-execute-buffer and CWD

2011-11-01 Thread Andreas Röhler
Am 01.11.2011 12:33, schrieb Andrea Crotti: While trying to run a script and there is already another *Python* buffer open for another directory, running the script normally fails if there are some relative file paths. Apparently the CWD in the *Python* buffer remains the old one, and thus it ma

Re: [Python-mode] python.el (from gnu emacs) vs python-mode.el

2011-10-23 Thread Andreas Röhler
Am 22.10.2011 22:24, schrieb Brendan Miller: What features does python-mode.el have above the version of python.el that is included in GNU emacs? How do they compare? "M-x py- TAB" displays a buffer with commands implemented by python-mode.el resp. "M-x python-" TAB for python.el As command

Re: [Python-mode] New to python mode, help!

2011-10-21 Thread Andreas Röhler
Am 22.10.2011 04:03, schrieb Gene Horodecki: At the risk of being a pest, I thought I would explain how far I have gotten and what doesn't work for me. Basically the code-completion doesn't seem to be working. For example: import time mytime = time.cl and I get nothing. Also, I have read I sh

Re: [Python-mode] New to python mode, help!

2011-10-21 Thread Andreas Röhler
[ ... ] Question: I'm not really clear on exactly what python-mode includes. Writing an info is a task to be done still - an entry in the bug tracker exists already. Does it include all the ropemacs type stuff or do I need to load that as well? Yes. BTW, think rope-integration should be

[Python-mode] XEmacs branch

2011-10-21 Thread Andreas Röhler
Hi Barry, hi all, as XEmacs branch resolves an incompatibility - should we create a serie from it and make a separate XEmacs release next time? Mentioned the branch at the entry page for the moment, cheers, Andreas -- https://launchpad.net/python-mode https://launchpad.net/s-x-emacs-werksta

Re: [Python-mode] New to python mode, help!

2011-10-21 Thread Andreas Röhler
Am 21.10.2011 17:21, schrieb Gene Horodecki: On 10/21/2011 8:43 AM, Tom Roche wrote: Gene Horodecki Fri, 21 Oct 2011 08:21:02 -0500 [ ... ] IN the messages buffer, I did see a complaint about the (global-font-lock-mode t) which I removed and then no errors except for usual X11 font complaints

Re: [Python-mode] [Bug 873372] [NEW] Comment indented incorrectly after inline comment

2011-10-13 Thread Andreas Röhler
Am 13.10.2011 19:32, schrieb Barry Warsaw: On Oct 13, 2011, at 06:41 PM, Andreas Röhler wrote: Am 13.10.2011 16:37, schrieb Barry Warsaw: On Oct 13, 2011, at 02:18 PM, Ryan Kaskel wrote: Another little comment bug: - foo = True # the next line is indented incorrectly

Re: [Python-mode] [Bug 873372] [NEW] Comment indented incorrectly after inline comment

2011-10-13 Thread Andreas Röhler
Am 13.10.2011 16:37, schrieb Barry Warsaw: On Oct 13, 2011, at 02:18 PM, Ryan Kaskel wrote: Another little comment bug: - foo = True # the next line is indented incorrectly # to here -- I think it should line up with 'f' in 'foo'. I'm not

Re: [Python-mode] problem with byte-code

2011-10-10 Thread Andreas Röhler
Am 10.10.2011 14:00, schrieb Andrea Crotti: I pulled revision 633 and byte-compiled it, but if I call python-mode I get: "byte-code: Don't know how to make a localized variable an alias" and no stacktrace even if I set debug-on-error to true. Any idea of what it could be? just asked at emac

Re: [Python-mode] [Bug 869854] Re: Comment indentation level isn't factored into next line's indendation level

2011-10-10 Thread Andreas Röhler
Am 10.10.2011 12:44, schrieb Ryan Kaskel: By the way... I know this isn't the right place to ask but CC to python-mode@python.org as other may have that question too how do I update my bzr branch to track trunk? I've tried: $ bzr update lp:python-mode bzr: ERROR: No WorkingTree exists for

Re: [Python-mode] what to (not) use with python-mode?

2011-10-08 Thread Andreas Röhler
Am 09.10.2011 05:27, schrieb Tom Roche: Andreas Röhler Fri, 07 Oct 2011 19:53:00 +0200 BTW we just started delivering Pymacs. This is good. (Hoffentlich :-) It might help if you check one by one how far the requirements are served already Perhaps I should know this, but, since I don&#

Re: [Python-mode] what to (not) use with python-mode?

2011-10-07 Thread Andreas Röhler
[ ... ] Hi Tom, pasted your questions onto the Blueprint https://blueprints.launchpad.net/python-mode/+spec/python-mode-pymacs so it don't get lost. BTW we just started delivering Pymacs. It might help if you check one by one how far the requirements are served already resp. not - please sen

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

2011-10-06 Thread Andreas Röhler
Hi all, gladly announcing the release of python-mode.el-6.0.3. Thanks Barry, Georg and all people assisting with reports. Special thanks to Thomas Caswell and Tavis Rudd, whose branches have been merged. New in version 6.0.3: - commands `ipython', `python2', `python3', `jython', `python' ope

[Python-mode] column-marker.el

2011-10-05 Thread Andreas Röhler
Hi, thanks writing resp. maintaining column-marker.el http://www.emacswiki.org/emacs/column-marker.el Find it useful when editing Python code. Considering to ship it with upcoming release. Just to drop you a note so far, best regards Andreas -- https://launchpad.net/python-mode https://laun

Re: [Python-mode] Welcome Thomas Caswell

2011-09-29 Thread Andreas Röhler
BTW introduced yesterday a `py-execute-region-ipython' but had to comment it out, as it's buggy. turns out as an error in my .ipythonrc so gladly re-activating it. Cheers, Andreas ___ Python-mode mailing list Python-mode@python.org http://mail.p

[Python-mode] Welcome Thomas Caswell

2011-09-29 Thread Andreas Röhler
Hi Thomas, good news you joint the team, welcome! With resp. to your recent contribution: would be great, if python-mode would serve IPython in the way, Emacs does with other modes. BTW introduced yesterday a `py-execute-region-ipython' but had to comment it out, as it's buggy. Maybe have

Re: [Python-mode] py-python-command default

2011-09-28 Thread Andreas Röhler
Am 28.09.2011 14:15, schrieb David Miller: Yes, please. :) ipython is a separate program that doesn't come with stock Python. How about conditionally setting it - this is essentially what Django does with it's shell (defcustom py-python-command (if (executable-find "ipython") "ipython" "pyth

[Python-mode] py-python-command default

2011-09-28 Thread Andreas Röhler
Hi Barry, hi all, FYI: when patch by Thomas --thanks again BTW-- was merged, py-python-command default changed 164 (defcustom py-python-command "python" 164 (defcustom py-python-command "ipython" Please tell if you want back the default "python". BTW consider to deliver a couple of commands

Re: [Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Andreas Röhler
Am 25.09.2011 22:31, schrieb Barry Warsaw: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sep 25, 2011, at 06:58 PM, Georg Brandl wrote: if anything is highlighted, then it should be only locals at assignment. Highlighting other assignments gets much too messy on the eyes (and if you start

Re: [Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Andreas Röhler
Am 25.09.2011 18:58, schrieb Georg Brandl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andreas, if anything is highlighted, then it should be only locals at assignment. Highlighting other assignments gets much too messy on the eyes (and if you start highlighting "variable" (no such thing i

[Python-mode] Poll - Fwd: [Bug 858304] [NEW] variable name is highighted on LHS of equality (==) test, but shouldn't be

2011-09-25 Thread Andreas Röhler
Hi folks, possibility of highlighting variable name is a new feature in the trunk. It's not clear however, in which circumstances variable should get highlighted -if at all. Also might drop that, should it not be considered useful. Would be nice to get some comments before a release. Thanks

Re: [Python-mode] Debug technique for comint, need stdin/stdout logger.

2011-09-22 Thread Andreas Röhler
Hi Oleksandr, thanks for your contributions. CC this to python-mode.el list. Andreas -- https://launchpad.net/python-mode https://launchpad.net/s-x-emacs-werkstatt/ Am 22.09.2011 00:12, schrieb Oleksandr Gavenko: 07.09.2011 17:32, Oleksandr Gavenko пишет: When work with Emacs comint I ne

[Python-mode] asynchron call, Bug #328799

2011-09-15 Thread Andreas Röhler
Hi Barry, hi folks, some question exists around "async" option of py-execute-... In earlier times tasks have been queued. As it's broken, whilst we have no bug report, seems not much used. Nonetheless, seeing the danger Emacs hangs when large jobs have been started. Would `async' understan

Re: [Python-mode] version number in trunk

2011-09-12 Thread Andreas Röhler
Am 12.09.2011 16:39, schrieb Barry Warsaw: On Sep 12, 2011, at 10:17 AM, Andreas Röhler wrote: intend to write (defconst py-version "6.0.3") in trunk, ie having py-version expressed number of upcoming release instead of the last one. There are lots of ways projects designate vers

[Python-mode] version number in trunk

2011-09-12 Thread Andreas Röhler
Hi Barry, intend to write (defconst py-version "6.0.3") in trunk, ie having py-version expressed number of upcoming release instead of the last one. Think if user has opened two python-mode.el from trunk and release, it's visible that way from the number, what's the trunk. Just FYI, cheer

Re: [Python-mode] Now testing latest version

2011-09-12 Thread Andreas Röhler
Am 12.09.2011 09:09, schrieb Georg Brandl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I've finally updated to the latest bzr version, and so far everything seems smooth. Some of the new customizables are really useful. One question: what does py-backslashed-continuation-indent do? Whe

Re: [Python-mode] pymacs integration/support

2011-09-07 Thread Andreas Röhler
Am 08.09.2011 03:45, schrieb Tom Roche: Dunno if this is relevant or helpful, but here goes: I decided to install pymacs to enable me to use python-mode, as I'm preparing to do more serious work with python (via PyNIO). I encountered a minor problem installing pymacs, about which I posted the

Re: [Python-mode] [Bug 821986] Re: feature request: byte-compile from commandline

2011-08-28 Thread Andreas Röhler
2 Working with ESS makes me wish Emacs provided the same level of support (and unified level of support) for Python as it does for R. Definitely. If you could list the features missed, that would help. Listing together with a short description still more. All this into a Blueprint starts

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

2011-08-23 Thread Andreas Röhler
Hi folks, with the help of Glenn and Gennady a couple of bugs could be fixed. Thanks Barry constantly assisting. Get the new tarball at http://launchpad.net/python-mode/trunk/6.0.2/+download/python-mode.el-6.0.2.tar.gz Also some new features resp. commands are available: - `py-electric-commen

Re: [Python-mode] xemacs Potential problem

2011-08-19 Thread Andreas Röhler
Am 19.08.2011 09:18, schrieb Eric S. Johansson: On 8/9/2011 1:35 AM, Andreas Röhler wrote: For the moment put a semicolon before (require 'highlight-indentation) in python-mode.el, that's all. ;; (when (featurep 'xemacs) ;; (require 'highlight-indentation)) yields

Re: [Python-mode] python-mode modifies load-path emacs-wide.

2011-08-17 Thread Andreas Röhler
[ ... ] On the other hand if pycomplete should be able to exist alone from python this is not necessary. However I cannot imagine why this should be the case: pycomplete requires python-mode and cannot exist separately... There is also a blueprint to deliver a ready to use pymacs. In the perspec

[Python-mode] Welcome Gennady N. Uraltsev

2011-08-14 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 occas

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 presume

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-08 Thread Andreas Röhler
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 behavior For me that cycling was bad, as if you hit it once too much, you have to cycle agai

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 alread

Re: [Python-mode] 6.0.1 errors

2011-08-05 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 XE

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

2011-08-05 Thread Andreas Röhler
Hi, gladly announce release of python-mode.el-6.0.1 New group of commands `py-expression' addresses parts of a statement, for example which would be concatenated by "."-operator. See py-copy-expression py-mark-expression py-beginning-of-expression py-end-of-expression py-kill-expression Comme

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

2011-08-02 Thread Andreas Röhler
Am 30.07.2011 12:09, schrieb Andrea Crotti: On Fri 29 Jul 2011 11:01:45 AM CEST, Andreas Röhler wrote: Hi Andrea. could you make an entry into the bug tracker? That helps maintenance a lot, for example as usually tests will be written after fixing it, which should address the bug number

Re: [Python-mode] [Bug 818665] Re: colon causes error

2011-07-31 Thread Andreas Röhler
Am 31.07.2011 23:22, schrieb Glenn Linderman: Thanks for the quick response, Andreas. I haven't figured out how to do checkouts here, Hi Glenn, will make a bug-fix release pretty soon, as typing ":" should work :) BTW getting the trunk is quite easy Make sure you have bazaar installed at yo

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 t

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] 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

[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 rel

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

2011-07-24 Thread Andreas Röhler
Sure, it's a great program. I've been using it for at least 20 years! Unicode didn't exist back then. This is the first time they've delivered a new feature that doesn't work... sadly. But I can understand that converting a program that didn't use Unicode, to use Unicode, is a huge effort. On t

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

2011-07-23 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 proce

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-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

[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 py-mark

[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 (save-excursion

[Python-mode] upcoming release

2011-07-19 Thread Andreas Röhler
Hi Barry, what about that draft below of a NEWS file section. Or better to number 6.0? Cheers, Andreas : New in version 5.3.0 Finer grained commands. As shown below for the `mark'-command, you may delete, copy, jump to beginning and end of the

Re: [Python-mode] ECB not Working Correctly with Python Files

2011-07-17 Thread Andreas Röhler
Am 09.07.2011 10:36, schrieb Lorenzo Isella: Dear All, I have not used ECB in a while, so I cannot tell exactly when the problem arose. However, now ECB seems to work OK with R and Latex files (and pretty much with all the files I have) apart from with Python files (I do not see anything at all i

[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 - a

Re: [Python-mode] edit or navigate code by feature

2011-06-30 Thread Andreas Röhler
When I said something like "get method", I'm using a shorthand that I think you would call "get method name". that's starting with `which' - which-function-mode works with current trunk. BTW have made the imenu index working. Maybe try it and tell if that's of some use or not in your case.

[Python-mode] wiki

2011-06-27 Thread Andreas Röhler
Hi Barry, suggest to change the remark at http://wiki.python.org/moin/EmacsEditor saying: "Work is underway to unify the two modes." into something like: "Ideas, features and code is exchanged between these modes. " While unifying remains an option, current development at GNU's makes endin

Re: [Python-mode] edit or navigate code by feature

2011-06-27 Thread Andreas Röhler
Am 26.06.2011 21:44, schrieb Andreas Röhler: [ ... ] notation: Spoken -- Emacs -- results given a line like: self.calories = self.calories + food_record["calories"]*grams ^ ^ = cursor position "get method" -- (result-to-knp(ar-method-copy-apt)) -- returns copy of method n

[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 mo

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 separately

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 pre

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] 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 as

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 = Emacs

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

2011-06-18 Thread Andreas Röhler
Am 17.06.2011 19:41, schrieb Eric S. Johansson: On 6/17/2011 12:18 PM, Andreas Röhler wrote: 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

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 that

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

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

2011-06-16 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 Monnier: So long story short: isn't a good idea to add a standard font-lock-number-face in order to have fine grained control on font-lock

Re: [Python-mode] execfile

2011-06-14 Thread Andreas Röhler
Am 13.06.2011 23:07, schrieb Barry Warsaw: On May 20, 2011, at 01:41 PM, Andreas Röhler wrote: think we should get the execfile issue fixed with next release too. Definitely. Sorry for letting this one get buried in my inbox, but I've now commented on the issue. What about introduc

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

2011-06-08 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 repor

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 ord

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 ord

[Python-mode] execfile

2011-05-20 Thread Andreas Röhler
Hi Barry, think we should get the execfile issue fixed with next release too. patch at https://bugs.launchpad.net/python-mode/+bug/310354 reads good for me. Remaining question: Exists a danger it may break something backward? If yes: What about introducing a var indicating the python versio

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

2011-05-11 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 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 I'm looking f

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

2011-05-10 Thread Andreas Röhler
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 I'm looking for is reformatting long lines. I'd like to convert something like (assume the k of junk is around 78): my_s

Re: [Python-mode] Else indentation problem

2011-04-29 Thread Andreas Röhler
Am 28.04.2011 16:31, schrieb Barry Warsaw: On Apr 28, 2011, at 01:44 PM, Andrea Crotti wrote: I have some indentation problems with the version 411 of python-mode I also tried on "emacs-24.0.50 -Q" on the scratch buffer and this: if True: pass else: !! after the else it doesn't indent. An

Re: [Python-mode] which mode to use out of 3

2011-04-27 Thread Andreas Röhler
Am 27.04.2011 07:57, schrieb Gour-Gadadhara Dasa: Hello, I'm starting with Python and plan to write GUI application using Qt as well as using Cython extensions. Now I see that besides 'standard' python-el& python-mode.el there is another python.el (https://github.com/fgallina/python.el) mode m

Re: [Python-mode] lp:python-mode ugrade

2011-04-25 Thread Andreas Röhler
Am 25.04.2011 22:57, schrieb Barry Warsaw: On Apr 25, 2011, at 09:52 PM, Andreas Röhler wrote: BTW, can you point me to a docu for this version? I don't think so. ;/ I don't have a reference off-hand, though I'm sure it can be dug up either in the Bazaar code, in the w

Re: [Python-mode] lp:python-mode ugrade

2011-04-25 Thread Andreas Röhler
Am 23.04.2011 04:40, schrieb Barry Warsaw: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Apr 23, 2011, at 10:13 PM, Georg Brandl wrote: BTW, "bzr upgrade" does the trick. (Right Barry?) Georg to be complete: bzr upgrade --2a seems to work Hmm, --2a wasn't necessary here. Correct

Re: [Python-mode] speech recognition/Emacs match up

2011-04-24 Thread Andreas Röhler
Am 24.04.2011 08:54, schrieb Eric S. Johansson: Many moons ago, I mentioned the need for some special features so that one can more easily create Python using speech recognition. I've got a fair start on some of the symbol manipulation techniques (http://blog.esjworks.com) but it counts on the ab

Re: [Python-mode] lp:python-mode ugrade

2011-04-23 Thread Andreas Röhler
Am 23.04.2011 20:28, schrieb Georg Brandl: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 23.04.2011 19:58, schrieb Barry Warsaw: Quick note: Now that Andreas has merged his Myrkwid branch to trunk, I went ahead and upgraded the lp:python-mode to 2a format. You will have to check it out agai

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 t

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

[Python-mode] dropping py-emacs-features

2011-04-18 Thread Andreas Röhler
Hi, while hunting bug #691542 --SyntaxError on py-execute-region-- consider to drop const `py-execute-region'. Assume, if used at all, things should rather be fixed at the source than dealt with here. Should somebody use it, please send a note. Thanks Andreas -- https://code.launchpad.ne

Re: [Python-mode] more indentation problems (I think)

2011-04-17 Thread Andreas Röhler
Am 17.04.2011 19:19, schrieb Eric S. Johansson: On 4/17/2011 5:48 AM, Andreas Röhler wrote: Would it be possible to make an entry into the bug tracker? I was going to enter Bug #763756 as soon as I woke up, honest! :-) Granted! :) Fix should be checked in during next hour. Cheers and

Re: [Python-mode] more indentation problems (I think)

2011-04-17 Thread Andreas Röhler
Am 17.04.2011 07:54, schrieb Eric S. Johansson: I was creating a grammar for speech commands for Emacs and while building a two-dimensional matrix, i.e. found indentation that wasn't right: here's the code feature_operation_matrix = { "character": { "kill": "{ctrl+k}", "delete": "{esc}xdelete-ba

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 b

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 void:

Re: [Python-mode] one more myrkwid bug

2011-04-16 Thread Andreas Röhler
Am 16.04.2011 16:38, schrieb Eric S. Johansson: On 4/16/2011 10:00 AM, Georg Brandl wrote: what about `py-indent-honor-multiline-listing' ? I think the "listing" is the strange word here. For me, a listing is a snippet of code printed in a book. I agree. Wouldn't it make sense to say someth

<    1   2   3   4   5   >