[sage-support] Re: Cython editor

2008-10-10 Thread Pierre
Do you have these changes posted somewhere? I'd like to try it out, if possible. er, no, but here are a few hints. First try sage -grep def | grep def ~/.sage/sage_doc so you have a file in your .sage folder containing all the lines in SAGE's code containing the word def (i don't know why

[sage-support] Re: Cython editor

2008-10-10 Thread Pierre
alright, here's how you do the completion with gedit. It's not that it stopped working, it's just a bug i hadn't noticed before. There a quite a few flaws -- help appreciated if you know a way to improve on this ! so currently: -- only the last word on the line can be completed (true, it's

[sage-support] Re: Cython editor

2008-10-09 Thread Pierre
the gedit editor, shipped with ubuntu and most gnome-based systems, is much underrated, it is in fact a very good choice. It is highly configurable, comparable to emacs i dare say, and you use python instead of lisp to configure it ! for example i have easily added to gedit a couple of tools to

[sage-support] Re: Cython editor

2008-10-09 Thread Jason Grout
Pierre wrote: the gedit editor, shipped with ubuntu and most gnome-based systems, is much underrated, it is in fact a very good choice. It is highly configurable, comparable to emacs i dare say, and you use python instead of lisp to configure it ! for example i have easily added to gedit a

[sage-support] Re: Cython editor

2008-10-09 Thread Robert Bradshaw
I use xcode (OS X) and emacs. Both can be configured to recognize .pyx files as Python files, and if you can configure your Eclipse plugin to do the same that would probably be ideal for you (or, even better, modify the plugin to recognize cdef methods, etc.) On Oct 8, 2008, at 10:04 PM,

[sage-support] Re: Cython editor

2008-10-08 Thread Simon King
Dear Cesar, On Oct 8, 1:22 pm, cesarnda [EMAIL PROTECTED] wrote: what do you usually use as a cython editor? I'm using XEmacs in Python mode. Indentation is then automatic. Cheers Simon --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Cython editor

2008-10-08 Thread Carlo Hamalainen
On Wed, Oct 8, 2008 at 7:31 PM, Simon King [EMAIL PROTECTED] wrote: I'm using XEmacs in Python mode. Indentation is then automatic. I think the question is about changing the indenting of a large block of existing Python code. In gvim I select text using the visual mode (V) and then use or to

[sage-support] Re: Cython editor

2008-10-08 Thread cesarnda
actually for python, there is a plugin for eclipse, but if you open a pyx file it does not work On 8 oct, 12:37, Carlo Hamalainen [EMAIL PROTECTED] wrote: On Wed, Oct 8, 2008 at 7:31 PM, Simon King [EMAIL PROTECTED] wrote: I'm using XEmacs in Python mode. Indentation is then automatic. I

[sage-support] Re: Cython editor

2008-10-08 Thread Jason Grout
cesarnda wrote: what do you usually use as a cython editor? I have a problem, if I have a very long function, and later I want this function in a class, I will have to indent every line, is there a way to avoid doing this? I use the sage notebook. I can then very easily compile the code

[sage-support] Re: Cython editor

2008-10-08 Thread cesarnda
I have vim for mac os, what do you mean by and ? On 8 oct, 12:37, Carlo Hamalainen [EMAIL PROTECTED] wrote: On Wed, Oct 8, 2008 at 7:31 PM, Simon King [EMAIL PROTECTED] wrote: I'm using XEmacs in Python mode. Indentation is then automatic. I think the question is about changing the

[sage-support] Re: Cython editor

2008-10-08 Thread cesarnda
Nevermind, I have already found out On 8 oct, 16:44, cesarnda [EMAIL PROTECTED] wrote: I have vim for mac os, what do you mean by and ? On 8 oct, 12:37, Carlo Hamalainen [EMAIL PROTECTED] wrote: On Wed, Oct 8, 2008 at 7:31 PM, Simon King [EMAIL PROTECTED] wrote: I'm using XEmacs in

[sage-support] Re: Cython editor

2008-10-08 Thread Joel B. Mohler
On Wednesday 08 October 2008 01:37:40 pm Carlo Hamalainen wrote: On Wed, Oct 8, 2008 at 7:31 PM, Simon King [EMAIL PROTECTED] wrote: I'm using XEmacs in Python mode. Indentation is then automatic. I think the question is about changing the indenting of a large block of existing Python

[sage-support] Re: Cython editor

2008-10-08 Thread cesarnda
but usually they give 5 spaces instead of 4 On 8 oct, 17:06, Joel B. Mohler [EMAIL PROTECTED] wrote: On Wednesday 08 October 2008 01:37:40 pm Carlo Hamalainen wrote: On Wed, Oct 8, 2008 at 7:31 PM, Simon King [EMAIL PROTECTED] wrote: I'm using XEmacs in Python mode. Indentation is then

[sage-support] Re: Cython editor

2008-10-08 Thread Joel B. Mohler
On Wednesday 08 October 2008 06:10:16 pm cesarnda wrote: but usually they give 5 spaces instead of 4 That's not the usually that I experience. But, even if it is what your editor does, it is almost certainly configurable. -- Joel --~--~-~--~~~---~--~~ To post

[sage-support] Re: Cython editor

2008-10-08 Thread cesarnda
yes I know, but If I use that same editor for Java or C and I want it to indent with 5 spaces when I program with those lenguage I will have to reconfigure it. In Eclipse, with the python plugin I don't have to do this, also vi can do that. The reason I asked this question was just to know