Re: on GNU EMACS's python-mode, loading entire buffer

2022-10-03 Thread Meredith Montgomery
Stephen Berman writes: > On Sun, 04 Sep 2022 16:47:07 -0300 Meredith Montgomery > wrote: > >> Meredith Montgomery writes: >> >>> Meredith Montgomery writes: >>> >>> [...] >>> I would also be interested in a command that restarts the REPL afresh and reloads my buffer --- sort of like

Re: on GNU EMACS's python-mode, loading entire buffer

2022-09-29 Thread Stephen Berman
On Sun, 04 Sep 2022 16:47:07 -0300 Meredith Montgomery wrote: > Meredith Montgomery writes: > >> Meredith Montgomery writes: >> >> [...] >> >>> I would also be interested in a command that restarts the REPL afresh >>> and reloads my buffer --- sort of like keyboard's [F5] of the IDLE. >> >> A

Re: on GNU EMACS's python-mode, loading entire buffer

2022-09-06 Thread Meredith Montgomery
Meredith Montgomery writes: > Meredith Montgomery writes: > > [...] > >> I would also be interested in a command that restarts the REPL afresh >> and reloads my buffer --- sort of like keyboard's [F5] of the IDLE. > > A partial solution for this is the following procedure. > > (defun python-reve

Re: on GNU EMACS's python-mode, loading entire buffer

2022-08-31 Thread Meredith Montgomery
Meredith Montgomery writes: [...] > I would also be interested in a command that restarts the REPL afresh > and reloads my buffer --- sort of like keyboard's [F5] of the IDLE. A partial solution for this is the following procedure. --8<---cut here---start->8

Re: on GNU EMACS's python-mode, loading entire buffer

2022-08-29 Thread Meredith Montgomery
gt; yourself! > > Hmm, I noticed that too, but I thought it was a change in python-mode > itself. I just got used to it. I didn't bother trying to chase it down. These little conveniences are so important. :-) > To start a new process, try C-u C-c C-p . Oh, thank you! -- https://mail.python.org/mailman/listinfo/python-list

on GNU EMACS's python-mode, loading entire buffer

2022-08-29 Thread Meredith Montgomery
Perhaps this isn't the right newsgroup, but I kinda feel I will find more GNU EMACS users running the native python-mode here than in GNU EMACS newsgroups. Not every GNU EMACS user cares about Python. (Right?) A sort of a complaint is that when I used to run GNU EMACS 24.3.1, I'd open

Python mode: make emacs use existing *Python* frame, and not open a new one

2011-06-16 Thread Lars Bungum
Hi, I am using python-mode to write python code in Emacs, and when I use the useful C-c C-c key combination to interpret the buffer, Emacs always opens another window inside the window I am using. I prefer using Emacs split in two windows (one on each physical screen) where I program in one

Re: Emacs Python-mode. Newbie problem.

2009-07-09 Thread Lacrima
On Jul 9, 8:42 pm, Piet van Oostrum wrote: > > Lacrima (L) wrote: > >L> Thank you for really useful and detailed explanation. Now I can test > >L> my code usingEmacs. > >L> But I think it works for me in a little bit different way. > >L> My file contains only the print 'hello world'. > >L> If

Re: Emacs Python-mode. Newbie problem.

2009-07-09 Thread Piet van Oostrum
> Lacrima (L) wrote: >L> Thank you for really useful and detailed explanation. Now I can test >L> my code using Emacs. >L> But I think it works for me in a little bit different way. >L> My file contains only the print 'hello world'. >L> If I have no python shell running, then: >L> a) C-c RET

Re: Emacs Python-mode. Newbie problem.

2009-07-09 Thread Lacrima
and py-execute-import-or-reload > >L>    which is an interactive Lisp function in `python-mode'..." and so > >L> on. > >L> And still when I do C-c RET, I receive "(Shell command succeeded with > >L> no output)" > >L> Any more help would

Re: Emacs Python-mode. Newbie problem.

2009-07-09 Thread Piet van Oostrum
>>>>> Lacrima (L) wrote: >L> Thanks for your reply! >L> My file name is 'trains.py'. >L> When I do C-h k C-c RET, it shows me help from manual: "C-c RET runs >L> the command py-execute-import-or-reload >L>which is an interactiv

Re: Emacs Python-mode. Newbie problem.

2009-07-08 Thread Lacrima
>L> Why in the first case I get no output? > > Can you check in the buffer where you have the python code what command > C-c RET is bound to? > With C-h k C-c RET > > Shell command succeeded with no output suggests that is has a different > binding than the standard one in pyt

Re: Emacs Python-mode. Newbie problem.

2009-07-08 Thread Piet van Oostrum
python code what command C-c RET is bound to? With C-h k C-c RET Shell command succeeded with no output suggests that is has a different binding than the standard one in python-mode. Did you happen to name your file 'test' or 'test.py? C-c RET does an import and 'import test&

Emacs Python-mode. Newbie problem.

2009-07-08 Thread Lacrima
Hello! I have just started using Emacs to write python scripts. I installed python-mode.el Then I just tried this code: print 'hello world' When I press C-c RET, new blank window is opened and emacs says: (Shell command succeeded with no output) So where is my 'hello world'? When I do C-c C-c,

Re: [Python-mode] What text editor is everyone using for Python

2009-05-29 Thread Marcelo de Moraes Serpa
stop! Use the editor you are comfortable with. No flame wars please, even though Emacs is the way to enlightenment :) On Fri, May 29, 2009 at 4:10 PM, Barry Warsaw wrote: > On May 28, 2009, at 7:09 AM, Andreas Roehler wrote: > > python-mode.el was its bloody-minded determination to regard '_' a

Re: [Python-mode] What text editor is everyone using for Python

2009-05-29 Thread Barry Warsaw
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

Re: [Python-mode] special editor support for indentation needed.

2008-11-27 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Nov 27, 2008, at 3:13 AM, Andreas Roehler wrote: Eric S. Johansson wrote: Andreas Roehler wrote: with python-mode.el from http://sourceforge.net/projects/python-mode/ I think there's something wrong with the site because it tells me

Re: python-mode problem, doesnt load whole module?

2008-09-17 Thread Fredrik Lundh
cnb wrote: a = parsing.unserialize("C:/users/saftarn/desktop/twok.txt") Traceback (most recent call last): File "C:\Python25\lib\pickle.py", line 1126, in find_class klass = getattr(mod, name) when reporting a traceback, please include the error message that follows after the stack

python-mode problem, doesnt load whole module?

2008-09-17 Thread cnb
>>> a = parsing.unserialize("C:/users/saftarn/desktop/twok.txt") Traceback (most recent call last): File "", line 1, in File "C:\Python25\Progs\NetflixRecSys\parsing.py", line 91, in unserialize return pickle.load(open(filename, 'r')) File "C:\Python25\lib\pickle.py", line 1370, in load

Re: python-mode errors

2008-08-17 Thread Fredrik Lundh
Rustom Mody wrote: When I start python mode I get the error: idle error: # -Wrong number of arguments : # 2" The Python mode version is 4.78 Is this a known problem? there are plenty of google hits for that message, and they all seem to agree that the problem is caused by using ELC

python-mode errors

2008-08-17 Thread Rustom Mody
When I start python mode I get the error: idle error: # -Wrong number of arguments : # 2" The Python mode version is 4.78 Is this a known problem? Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: python-mode is missing the class browser

2008-08-08 Thread Neal Becker
uot;) >>> (require 'ipython) >>> >>> to your .emacs. It is nice since I get the occasion to try ipython.el >>> which I am >>> sure I will like ;) >> >> So, I'm looking at the .el, but I'm not sure. What else does >> ipyth

Re: python-mode is missing the class browser

2008-08-08 Thread Alexander Schmolck
ince I get the occasion to try ipython.el >> which I am >> sure I will like ;) > > So, I'm looking at the .el, but I'm not sure. What else does > ipython.el give you than just the ipython shell? What else could you possibly want? :) Seriously, ipython.el is a simpl

Re: python-mode is missing the class browser

2008-08-08 Thread Adam Jenkins
On Fri, Aug 8, 2008 at 7:32 AM, Michele Simionato <[EMAIL PROTECTED]> wrote: > On Aug 7, 5:55 pm, Alexander Schmolck <[EMAIL PROTECTED]> wrote: ... > > I have solved by using ipython.el which was already installed. For the > sake of > future googlers using Ubuntu 8.04, emacs and ipython, it is enou

Re: python-mode is missing the class browser

2008-08-08 Thread Michele Simionato
not FSF blessed > python-mode.el (http://sourceforge.net/projects/python-mode/), which should > come with install instructions. If you use ipython you might additionally > want to install ipython.el, which comes with the ipython tar ball. I have solved by using ipython.el which was already

Re: python-mode is missing the class browser

2008-08-07 Thread Diez B. Roggisch
Bruno Desthuilliers wrote: > Michele Simionato a écrit : >> I have noticed that the python-mode for Emacs that comes with the >> latest Ubuntu is missing the class browser. Moreover if works >> differently from the python-mode I was used to (for instance CTRL-c-c >> wor

Re: python-mode is missing the class browser

2008-08-07 Thread Alexander Schmolck
Michele Simionato <[EMAIL PROTECTED]> writes: > I have noticed that the python-mode for Emacs that comes with the > latest Ubuntu is missing the class browser. Moreover if works > differently from the python-mode I was used to (for instance CTRL-c-c > works as CTRL-c-! whereas C

Re: python-mode is missing the class browser

2008-08-07 Thread Bruno Desthuilliers
Michele Simionato a écrit : I have noticed that the python-mode for Emacs that comes with the latest Ubuntu is missing the class browser. Moreover if works differently from the python-mode I was used to (for instance CTRL-c-c works as CTRL-c-! whereas CTRL-c-! is missing, etc). How can I go back

python-mode is missing the class browser

2008-08-07 Thread Michele Simionato
I have noticed that the python-mode for Emacs that comes with the latest Ubuntu is missing the class browser. Moreover if works differently from the python-mode I was used to (for instance CTRL-c-c works as CTRL-c-! whereas CTRL-c-! is missing, etc). How can I go back to the old python-mode or at

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread Carl Banks
or ( v == 2 ) > or ( v == 3 ) ): > pass > > It works great for me in C-mode. Does anyone know how to jimmie up > python-mode so it would know how to do this? Not sure about the python.el that ships with emacs 21, but the python- mode.el that is used in emacs 20, it can&

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread 7stud
On Mar 31, 10:32 am, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > Here's what I want to do: > > if ( ( v == 1 ) >    or ( v == 2 ) >    or ( v == 3 ) ): >      pass > python indenting = 4 spaces -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread Gabriel Genellina
En Mon, 31 Mar 2008 16:36:13 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > On 31 mar, 18:32, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: >> Here's what I want to do: >> >> if ( ( v == 1 ) >>or ( v == 2 ) >>or ( v == 3 ) ): >> pass > > Why the parens ? > > if a == 1 \ >

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread [EMAIL PROTECTED]
On 31 mar, 18:32, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > Here's what I want to do: > > if ( ( v == 1 ) >or ( v == 2 ) >or ( v == 3 ) ): > pass Why the parens ? if a == 1 \ or b == 2 \ or c == 3: pass -- http://mail.python.org/mailman/listinfo/python-list

Looking for indent advice howto in emacs python-mode

2008-03-31 Thread Steven W. Orr
Here's what I want to do: if ( ( v == 1 ) or ( v == 2 ) or ( v == 3 ) ): pass but emacs (left to its own devices, does this. if ( ( v == 1 ) or ( v == 2 ) or ( v == 3 ) ): pass It works great for me in C-mode. Does anyone know how to jimmie up python-mode

Set sys.stdout.encoding to utf8 in emacs/python-mode?

2008-03-27 Thread damonwischik
I use emacs 22 and python-mode. Emacs can display utf8 characters (e.g. when I open a utf8-encoded file with Chinese, those characters show up fine), and I'd like to see utf8-encoded output from my python session. >From googling, I've found references to * locale.getdefaultlocal

Re: emacs python mode problem

2007-12-05 Thread Amackera
On Dec 5, 7:01 pm, Toby <[EMAIL PROTECTED]> wrote: > For some reason, emacs python-mode has stopped working for me. It has > been working without any problems since I installed it on Ubuntu Gutsy > Gibbon, but now the "Start Interpreter" causes emacs to hang requiring

emacs python mode problem

2007-12-05 Thread Toby
For some reason, emacs python-mode has stopped working for me. It has been working without any problems since I installed it on Ubuntu Gutsy Gibbon, but now the "Start Interpreter" causes emacs to hang requiring me to kill emacs. Other parts of python-mode seem to work okay, t

Hide comments in emacs python mode?

2007-10-30 Thread Charles Fox
Hi guys, I'm playing with Python in emacs, with python mode. I'd like to be able to press a key to toggle the code comments on and off -- to switch between beautiful clean Python code, and the full text that tells me what's going in in English. Is this currently possible? I

which python mode to use in emacs

2007-09-21 Thread Emin.shopper Martinian.shopper
ibles which I'd be happy to help fix and improve but the EmacsWiki page about python mode seems to imply that one or both or no longer maintained or acceprting patches. Thanks, -Emin -- http://mail.python.org/mailman/listinfo/python-list

Re: mmm-mode, python-mode and doctest-mode?

2007-08-09 Thread Edward Loper
Edward Loper wrote: >> Anyone testing on xemacs? I tried it, and C-c C-c sent xemacs into an >> infinite loop (apparantly). I may have tracked down the cause of this problem. Please download the most recent version, and try again. And when you do, let me know whether that fixed it. :) -Edwar

Re: mmm-mode, python-mode and doctest-mode?

2007-08-09 Thread Neal Becker
Edward Loper wrote: >> Anyone testing on xemacs? I tried it, and C-c C-c sent xemacs into an >> infinite loop (apparantly). > > It works fine for me in XEmacs 21.4 (patch 17) (i386-debian-linux, > Mule). If you could answer a few questions, it might help me track down > the problem: > > - What

Python mode

2007-08-09 Thread jay
I'm starting to learn how to use emacs (on Mac OS 10.4) and I found that you can load something called python-mode.el which looks like it can help when writing Python code in emacs. I'm hoping it can color python syntax as well as indent it correctly, etc. My problems are: 1. Where should

mmm-mode, python-mode and doctest-mode?

2007-08-08 Thread Edward Loper
> Anyone testing on xemacs? I tried it, and C-c C-c sent xemacs into an > infinite loop (apparantly). It works fine for me in XEmacs 21.4 (patch 17) (i386-debian-linux, Mule). If you could answer a few questions, it might help me track down the problem: - What version of xemacs are you runnin

re: mmm-mode, python-mode and doctest-mode?

2007-08-08 Thread Neal Becker
Anyone testing on xemacs? I tried it, and C-c C-c sent xemacs into an infinite loop (apparantly). -- http://mail.python.org/mailman/listinfo/python-list

re: mmm-mode, python-mode and doctest-mode?

2007-08-07 Thread John J Lee
On Tue, 7 Aug 2007, Edward Loper wrote: > [John J Lee] >> Is it possible to get doctest-mode to work with mmm-mode and python-mode >> nicely so that docstrings containing doctests are editable in doctest-mode? > > I recently released a new version of doctest-mode [1], a

re: mmm-mode, python-mode and doctest-mode?

2007-08-07 Thread Edward Loper
[John J Lee] > Is it possible to get doctest-mode to work with mmm-mode and python-mode > nicely so that docstrings containing doctests are editable in > doctest-mode? I recently released a new version of doctest-mode [1], and I came across your email [2] (it was on the first page

Re: XEmacs python-mode question

2006-01-13 Thread Thomas Heller
[EMAIL PROTECTED] writes: > Thomas> I'm trying to customize the python interpreter that is used to > Thomas> execute my scripts from within WinXP, XEmacs, python-mode > Thomas> version $Revision4.70$, but cannot get it to work. > > Thomas>

Re: XEmacs python-mode question

2006-01-13 Thread skip
Thomas> I'm trying to customize the python interpreter that is used to Thomas> execute my scripts from within WinXP, XEmacs, python-mode Thomas> version $Revision4.70$, but cannot get it to work. Thomas> The only thing that works is M-x customize-group pytho

XEmacs python-mode question

2006-01-13 Thread Thomas Heller
I'm trying to customize the python interpreter that is used to execute my scripts from within WinXP, XEmacs, python-mode version $Revision4.70$, but cannot get it to work. The only thing that works is M-x customize-group python, and change the value of 'Python Command'. However, t

Re: [OT] mmm-mode, python-mode and doctest-mode?

2005-12-01 Thread bruno at modulix
John J. Lee wrote: > bruno at modulix <[EMAIL PROTECTED]> writes: > > >>John J Lee wrote: >> >>>Is it possible to get doctest-mode to work with mmm-mode and python-mode >>>nicely so that docstrings containing doctests are editable in doctest-mode? &g

Re: mmm-mode, python-mode and doctest-mode?

2005-12-01 Thread John J. Lee
bruno at modulix <[EMAIL PROTECTED]> writes: > John J Lee wrote: > > Is it possible to get doctest-mode to work with mmm-mode and python-mode > > nicely so that docstrings containing doctests are editable in doctest-mode? > > I don't know. > >

Re: mmm-mode, python-mode and doctest-mode?

2005-12-01 Thread bruno at modulix
John J Lee wrote: > Is it possible to get doctest-mode to work with mmm-mode and python-mode > nicely so that docstrings containing doctests are editable in doctest-mode? I don't know. (snip) > > Any tips appreciated! > Seems like comp.emacs could be a good pla

mmm-mode, python-mode and doctest-mode?

2005-11-30 Thread John J Lee
Is it possible to get doctest-mode to work with mmm-mode and python-mode nicely so that docstrings containing doctests are editable in doctest-mode? In my utter e-lisp ignorance, I tried this: (require 'mmm-auto) (setq mmm-global-mode 'maybe) (mmm-add-classes '( (doctes

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-10 Thread Jeremy Sanders
vinjvinj wrote: > Unfortunately this in not an options since all the processes share > objects in memory which are about 1gig for each node. Having a copy of > this in each user process is just not an options. I think I'm going to > use RestrictedPython from zope3 svn which should take care of 70-

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-09 Thread vinjvinj
Unfortunately this in not an options since all the processes share objects in memory which are about 1gig for each node. Having a copy of this in each user process is just not an options. I think I'm going to use RestrictedPython from zope3 svn which should take care of 70-80 % of the problem. --

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-09 Thread Jeremy Sanders
vinjvinj wrote: > 2. restrict the amount of memory a module uses as well. For instance > how can I restrict a user from doing a = range(100) or similar > tasks so that my whole compute farm does not come down. The safest way to do this in unix is to run the model in a separate process, a

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-08 Thread Magnus Lycka
vinjvinj wrote: > I have an application which allows multiple users to write models. > These models get distributed on a grid of compute engines. users submit > their models through a web interface. I want to > > 1. restrict the user from doing any file io, exec, import, eval, etc. I > was thinkin

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread vinjvinj
This can not be done at compile time but can be cought at execution time on linux by the following recipe: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/307871 vinjvinj -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Paul Rubin
"vinjvinj" <[EMAIL PROTECTED]> writes: > No. I was hoping to leverage the work done for restricted pythonscript > by zope at: > > http://www.zope.org/Control_Panel/Products/PythonScripts/Help/PythonScript.py How does Pythonscript deal with xxx = 'x' * 10 as a memory DOS attack? -- htt

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread vinjvinj
No. I was hoping to leverage the work done for restricted pythonscript by zope at: http://www.zope.org/Control_Panel/Products/PythonScripts/Help/PythonScript.py which is similar to what I want to do as well. vinjvinj -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Jeffrey Schwab
vinjvinj wrote: > I have so many things to do to get this to production and writing a > mini language would be a full project in itself. :-<. > > Is there an easy way to do this? If not, I'll go with the steps > outlined in my other post. Do you really think it will be faster to start parsing Pyt

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread vinjvinj
I have so many things to do to get this to production and writing a mini language would be a full project in itself. :-<. Is there an easy way to do this? If not, I'll go with the steps outlined in my other post. vinjvinj -- http://mail.python.org/mailman/listinfo/python-list

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread vinjvinj
I'm more worried about incompetent users then malicious users. I'm going to take the following steps: 1. My users will be paying a decent amount of money to run models on the compute grid. If they are intentionaly writing malicious code then their account will be disabled. 2. Since their models w

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Paul Rubin
Steven D'Aprano <[EMAIL PROTECTED]> writes: > I suspect your best bet might be to write a mini-language using > Python, and get your users to use that. You will take a small > performance hit, but security will be very much improved. > > What do others think? That is the only approach that makes

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Steven D'Aprano
vinjvinj wrote: > While I understand 2 is very hard (if not impossible) to do in single > unix process. I'm not sure why 1 would be hard to do. Since I have > complete control to what code I can allow or not allow on my grid. Can > i not just search for certain strings and disallow the model if it

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Mike Meyer
"vinjvinj" <[EMAIL PROTECTED]> writes: > While I understand 2 is very hard (if not impossible) to do in single > unix process. I'm not sure why 1 would be hard to do. Since I have > complete control to what code I can allow or not allow on my grid. Can > i not just search for certain strings and d

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread vinjvinj
While I understand 2 is very hard (if not impossible) to do in single unix process. I'm not sure why 1 would be hard to do. Since I have complete control to what code I can allow or not allow on my grid. Can i not just search for certain strings and disallow the model if it fails certain conditions

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Mike Meyer
"vinjvinj" <[EMAIL PROTECTED]> writes: > 1. restrict the user from doing any file io, exec, import, eval, etc. I > was thinking of writing a plugin for pylint to do all the checks? Is > this is a good way given that there is no restricted python. What are > the things I should serach for in python

Re: Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread Jean-Paul Calderone
On 7 Nov 2005 12:54:40 -0800, vinjvinj <[EMAIL PROTECTED]> wrote: >I have an application which allows multiple users to write models. >These models get distributed on a grid of compute engines. users submit >their models through a web interface. I want to > >1. restrict the user from doing any file

Using python for writing models: How to run models in restricted python mode?

2005-11-07 Thread vinjvinj
I have an application which allows multiple users to write models. These models get distributed on a grid of compute engines. users submit their models through a web interface. I want to 1. restrict the user from doing any file io, exec, import, eval, etc. I was thinking of writing a plugin for py

Re: Where can I get the new version of python-mode for emacs?

2005-07-04 Thread Skip Montanaro
he `Emacs goodies`_ page at python.org Marcio> .. _`Emacs goodies`: http://www.python.org/emacs/ Marcio> where I was redirected to the `python-mode`_ page at Marcio> SourceForge. There I could only find version 1.0alpha (4.6) (the Marcio> one said too old in the thread_) I

Where can I get the new version of python-mode for emacs?

2005-07-04 Thread Marcio Rosa da Silva
Hi all, My first try on using RST to write an email. so I can (will) make mistakes :-) I am experiencing the problem shown in this thread_ of the `python-mode`_ discussion list hosted at SourceForge. .. _thread: https://sourceforge.net/tracker/?func=detail&atid=581349&aid=1215039&

Re: Looking for help with a python-mode/pdbtrack/gdb patch

2005-06-04 Thread =?ISO-8859-1?Q?Tiago_St=FCrmer_Daitx?=
Unfortunatly the only tip I can give you is that there's a list for mode-python in http://mail.python.org/mailman/listinfo/python-mode, but you probably already know about it. Regards, Tiago S DaitxOn 6/4/05, Skip Montanaro <[EMAIL PROTECTED]> wrote: Can someone who uses Emacs&#x

Looking for help with a python-mode/pdbtrack/gdb patch

2005-06-04 Thread Skip Montanaro
Can someone who uses Emacs's python-mode, pdbtrack and gdb take a look at this simple but ancient patch: http://sourceforge.net/tracker/index.php?func=detail&aid=785816&group_id=86916&atid=581351 As you'll see from the discussion, Barry had problems with it from XEma

Re: python-mode tab completion problem

2005-02-03 Thread Fernando Perez
Skip Montanaro wrote: > > test1dellboy3> I am exploring python-mode on emacs. When I open foo.py > test1dellboy3> in emacs and hit C-!, it starts the python interpreter in > test1dellboy3> another window. Next, I execute - > > ... > > That'

Re: python-mode tab completion problem

2005-02-03 Thread Skip Montanaro
test1dellboy3> I am exploring python-mode on emacs. When I open foo.py test1dellboy3> in emacs and hit C-!, it starts the python interpreter in test1dellboy3> another window. Next, I execute - ... That's not really intended to be used as an interactive session wit

python-mode tab completion problem

2005-02-03 Thread test1dellboy3
Hi, I am exploring python-mode on emacs. When I open foo.py in emacs and hit C-!, it starts the python interpreter in another window. Next, I execute - import rlcompleter, readline readline.parse_and_bind('tab: complete') Now I will test the completion by trying to complete sys.v (w

Re: python mode indentation problem

2005-01-16 Thread Bob Smith
4 spaces © # 4 level, 2 tabs. © © who the fuck coded the python mode in emacs? fuckhead please peruse: © http://xahlee.org/UnixResource_dir/writ/responsible_license.html I hope you never need a favor or interview for a job with someone who reads news groups. You're committing eSuicide by posting i

Re: python mode indentation problem

2005-01-15 Thread Tim Peters
[Xah Lee] ... > © who the fuck coded the python mode in emacs? The major contributors are listed at the top of python-mode.el. > fuckhead please peruse: > © http://xahlee.org/UnixResource_dir/writ/responsible_license.html OK, I read it, but have no idea what point you're tryin

Re: python mode indentation problem

2005-01-15 Thread Steve Holden
Xah Lee wrote: [...] © © who the fuck coded the python mode in emacs? fuckhead please peruse: © http://xahlee.org/UnixResource_dir/writ/responsible_license.html © Pure egotism. Not to mention bad language. regards Steve -- Steve Holden http://www.holdenweb.com/ Python Web

Re: python mode indentation problem

2005-01-15 Thread Xah Lee
el, 2 tabs. © © who the fuck coded the python mode in emacs? fuckhead please peruse: © http://xahlee.org/UnixResource_dir/writ/responsible_license.html © © PS Thanks for the tip on (setq-default indent-tabs-mode nil). © © Xah © [EMAIL PROTECTED] © http://xahlee.org/PageTwo_dir/mor

Re: python mode indentation problem

2005-01-15 Thread M Jared Finder
Xah Lee wrote: does anyone know why the Python mode in emacs uses spaces for first level indentation but one tab for second level? i'm using emacs 21.3.50.1. You probably have tab-width set to 8 spaces, but indentation in python set to 4 spaces. -- MJF -- http://mail.python.org/ma

Re: python mode indentation problem

2005-01-15 Thread Jorge Luiz Godoy Filho
Xah Lee, SÃbado 15 Janeiro 2005 13:24, wrote: > does anyone know why the Python mode in emacs uses spaces for first > level indentation but one tab for second level? > > i'm using emacs 21.3.50.1. > Xah > [EMAIL PROTECTED] > http://xahlee.org/PageTwo_dir/more.html I

python mode indentation problem

2005-01-15 Thread Xah Lee
does anyone know why the Python mode in emacs uses spaces for first level indentation but one tab for second level? i'm using emacs 21.3.50.1. Xah [EMAIL PROTECTED] http://xahlee.org/PageTwo_dir/more.html -- http://mail.python.org/mailman/listinfo/python-list

Re: python-mode question

2004-12-06 Thread Skip Montanaro
Thomas> I assume you meant the python-mode project? Whoops. Yeah. Thanks. Skip -- http://mail.python.org/mailman/listinfo/python-list

Re: python-mode question

2004-12-06 Thread Thomas Heller
Thomas> How can I change the behaviour so that the cursor stays where it > Thomas> was before? I'm using Revision 4.29, if it matters. > > I'd class this behavior as a bug. It's not fixed in the latest version. > Can you file a bug report on SF <http://sf

Re: python-mode question

2004-12-04 Thread Skip Montanaro
Thomas> When I edit a Python script with XEmacs, then hit C-c C-c, the Thomas> script is executed, the output is shown in a *Python Output* Thomas> buffer, and the cursor is moved into this buffer. Thomas> How can I change the behaviour so that the cursor stays where it Thomas

python-mode question

2004-12-03 Thread Thomas Heller
When I edit a Python script with XEmacs, then hit C-c C-c, the script is executed, the output is shown in a *Python Output* buffer, and the cursor is moved into this buffer. How can I change the behaviour so that the cursor stays where it was before? I'm using Revision 4.29, if it matters. Thank