Re: [Python-mode] Emacs python-mode.el bug #1207470

2014-02-17 Thread Andreas Röhler

Am 15.02.2014 22:18, schrieb Frank Stutzman:

This has been resolved and I want to publically thank Andreas for finding
and fixing this bug so quick.  I'm fairly new to open source development and
the rapidity that this was fix was gratifying.




You are welcome!
___
Python-mode mailing list
Python-mode@python.org
https://mail.python.org/mailman/listinfo/python-mode


Re: [Python-mode] Emacs Remote Python Interpreters

2012-06-05 Thread Andreas Röhler

Am 04.06.2012 22:57, schrieb Matt McClure:

I'd like to use Emacs as my IDE for a Python project as follows:

1. Emacs running on a Mac host machine.
2. Python running on a Linux guest VM.
3. A single copy of the code shared between the host and guest
machines via NFS or VirtualBox shared folder.

Emacs on the host machine would use the guest VM's Python interpreter
for all execution, including code completion and debugging. I imagine
using directory-local variables to configure a remote Python
interpreter and a mapping between the respective host and guest
filesystem path prefixes.

What I'm looking for is pretty similar to [PyCharm's remote python
interpreters][1]. Has anyone built something similar for Emacs, for
Python environments or for any other language? I built a little
[prototype][2], but it's just a toy so far.

[1]: 
http://www.jetbrains.com/pycharm/webhelp/configuring-remote-python-interpreters.html
[2]: https://github.com/matthewlmcclure/emacs-remote-python



noted at

https://blueprints.launchpad.net/python-mode/+spec/remote

thanks,

Andreas
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


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

2011-11-04 Thread 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-starter-kit in this respect). The default
python-mode I use is fgallina's python.el because I heard that it's the
candidate python mode in emacs24 and it plays nice with the other packages.
Asking him (fgallina) would be a really good move imho.

There are original features as well, for example the virtualenv extension
that integrates well with virtualenvwrapper and modifies directly the emacs
environmental variables instead of just modifying the python shell. There
is also a nice helper to configure flymake (on-the-fly syntax checking) but
not much more than that. I wanted to work also on other stuff, especially
some testing-helper extension.

That said I would be very happy to help you but do you have a specific
feature in mind that you want to see? I'm not sure how can I help, mostly
because the favourite features of emacs for python are completion and
ropemacs (that don't fit in a python-mode.el I guess).

Bye!

- Gabriele


2011/11/3 Andreas Röhler andreas.roeh...@online.de

 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-expressions and still finer tools.

 Whilst exist some environement stuff already, a lot remains to be done.

 So why not join forces, take the suitable stuff from all sides into
 something new? Or into several new, with resp. to different tastes?

 Would start with a merge of your stuff with python-mode.el

 Also would consider Fabián's python.el, so python-mode.el, which already
 owes a lot to Dave Love's work BTW, would change with it again.

 We may test, what are DVCs are for...

 Best regards,

 Andreas

 --
 https://launchpad.net/python-**mode https://launchpad.net/python-mode
 https://launchpad.net/s-x-**emacs-werkstatt/https://launchpad.net/s-x-emacs-werkstatt/



___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


[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-expressions and still finer tools.


Whilst exist some environement stuff already, a lot remains to be done.

So why not join forces, take the suitable stuff from all sides into 
something new? Or into several new, with resp. to different tastes?


Would start with a merge of your stuff with python-mode.el

Also would consider Fabián's python.el, so python-mode.el, which already 
owes a lot to Dave Love's work BTW, would change with it again.


We may test, what are DVCs are for...

Best regards,

Andreas

--
https://launchpad.net/python-mode
https://launchpad.net/s-x-emacs-werkstatt/


___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


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-and-paste already.


___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


[Python-mode] emacs

2011-11-02 Thread Rinu Boney
I Would Love to Know How To Set Up Emacs As A Python Code Editing
Environment Using python-mode.el.
I Have No Experience in Emacs.
Can U Help or Point Out Something That Can Help Me ?
Thanks.
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


Re: [Python-mode] emacs

2011-11-02 Thread Andrea Crotti

On 10/28/2011 03:25 AM, Rinu Boney wrote:
I Would Love to Know How To Set Up Emacs As A Python Code Editing 
Environment Using python-mode.el.

I Have No Experience in Emacs.
Can U Help or Point Out Something That Can Help Me ?
Thanks.



I've never seem someone capitalising every word :D
In German they capitalise every noun, that I thought was the maximum,
or maybe is your current editor?

To start
- download emacs
- fire up and follow the tutorial
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


Re: [Python-mode] emacs

2011-11-02 Thread Jeff Bauer
Rinu,

Just follow the instructions in python-mode.el:

To install, just drop this file into a directory on your load-path
and byte-compile it.  To set up Emacs to automatically edit files
ending in .py using python-mode, add to your emacs init file
(~/.emacs, ~/.emacs.el, or ~/.emacs.d/init.el) the following code:

(setq auto-mode-alist (cons '(\\.py$ . python-mode) auto-mode-alist))
  (setq interpreter-mode-alist (cons '(python . python-mode)
   interpreter-mode-alist))
(autoload 'python-mode python-mode Python editing mode. t)

Alternatively, if you want an out-of-the box emacs python
experience, you can try:

  http://gabrielelanaro.github.com/emacs-for-python/

But it's using a home brew python.el version rather than
python-mode.el:

  https://github.com/fgallina/python.el

Jeff Bauer
Rubicon, Inc.


On Fri, Oct 28, 2011 at 07:55:51AM +0530, Rinu Boney wrote:
 I Would Love to Know How To Set Up Emacs As A Python Code Editing Environment
 Using python-mode.el.
 I Have No Experience in Emacs.
 Can U Help or Point Out Something That Can Help Me ?
 Thanks.

___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


Re: [Python-mode] emacs

2011-11-02 Thread akira

On 10/28/2011 06:25 AM, Rinu Boney wrote:
I Would Love to Know How To Set Up Emacs As A Python Code Editing 
Environment Using python-mode.el.

I Have No Experience in Emacs.
Can U Help or Point Out Something That Can Help Me ?


See https://github.com/eschulte/emacs24-starter-kit/


--
akira.
___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode


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 then deselect the
 block. What if i want to indent multiple times on the same code block do I
 have to repeated this key sequence from selecting the block to indent.
   

Commit message of latest revision of python-mode.el (note: not
python.el) says:

When shifting regions right and left, keep the region active in Emacs.

This might solve your problem.

Get it at

https://code.launchpad.net/~python-mode-devs/python-mode/python-mode

or with
 
bzr branch lp:python-mode

HTH

Andreas

--
https://code.launchpad.net/s-x-emacs-werkstatt/






___
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode