From andreas.roehler at easy-emacs.de Tue Jun 5 08:26:59 2012 From: andreas.roehler at easy-emacs.de (=?ISO-8859-1?Q?Andreas_R=F6hler?=) Date: Tue, 05 Jun 2012 08:26:59 +0200 Subject: [Python-mode] Emacs Remote Python Interpreters In-Reply-To: References: Message-ID: <4FCDA6B3.6070407@easy-emacs.de> 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 From andreas.roehler at online.de Sat Jun 16 09:35:09 2012 From: andreas.roehler at online.de (=?ISO-8859-15?Q?Andreas_R=F6hler?=) Date: Sat, 16 Jun 2012 09:35:09 +0200 Subject: [Python-mode] modeline "Py" or "Python" Message-ID: <4FDC372D.5010700@online.de> Hi Barry, hi all, presently modeline displays "Python" if Python-mode is on. As space is precious in modeline, what about offering "Py" as default instead? Cheers, Andreas From barry at python.org Sun Jun 17 00:13:18 2012 From: barry at python.org (Barry Warsaw) Date: Sat, 16 Jun 2012 18:13:18 -0400 Subject: [Python-mode] modeline "Py" or "Python" In-Reply-To: <4FDC372D.5010700@online.de> References: <4FDC372D.5010700@online.de> Message-ID: <20120616181318.6d2bcc0a@limelight.wooz.org> On Jun 16, 2012, at 09:35 AM, Andreas R?hler wrote: >As space is precious in modeline, what about offering "Py" as default >instead? From my .emacs files: (defun baw-python-mode-hook () (setq comment-column 50 fill-column 78) (setq mode-name "Py") (flyspell-prog-mode) (define-key python-mode-map [(meta f)] 'py-forward-into-nomenclature) (define-key python-mode-map [(meta b)] 'py-backward-into-nomenclature)) (add-hook 'python-mode-hook 'baw-python-mode-hook) time-machine-ly y'rs, -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From pinard at iro.umontreal.ca Sun Jun 17 00:51:47 2012 From: pinard at iro.umontreal.ca (=?utf-8?Q?Fran=C3=A7ois_Pinard?=) Date: Sat, 16 Jun 2012 18:51:47 -0400 Subject: [Python-mode] modeline "Py" or "Python" In-Reply-To: <4FDC372D.5010700@online.de> ("Andreas =?utf-8?Q?R=C3=B6hler?= =?utf-8?Q?=22's?= message of "Sat, 16 Jun 2012 09:35:09 +0200") References: <4FDC372D.5010700@online.de> Message-ID: <86aa02uayk.fsf@mercure.progiciels-bpi.ca> Andreas R?hler writes: > presently modeline displays "Python" if Python-mode is on. As space > is precious in modeline, what about offering "Py" as default instead? +1 Fran?ois