Re: Python and Emacs

2002-05-22 Thread Ron Johnson
On Wed, 2002-05-22 at 01:40, Jonne Itkonen wrote: On 21 May 2002, Ron Johnson wrote: On Tue, 2002-05-21 at 15:27, Jérôme Marant wrote: [snip] And now something useful: less has an option '-x' which tells less how many spaces to use when rendering tabs. The correct and the default value is

Re: Python and Emacs

2002-05-22 Thread Florent Rougon
Jonne Itkonen [EMAIL PROTECTED] wrote: And I again opposite to your opinion. If everybody uses tab to indent, then everyone can set his or her environment to render that tab with as many spaces as necessary, _or_ when using proportional fonts, as long an empty space as needed. I really don't

Re: Python and Emacs

2002-05-22 Thread dman
On Wed, May 22, 2002 at 10:46:59AM +0200, Luca - De Whiskey's - De Vitis wrote: | On Tue, May 21, 2002 at 11:21:44PM +0200, J?r?me Marant wrote: | Of course, we all know that using tabs in Python code is Evil. :-) | |Sure. Now, you make me think that sharing code with Vimers is |Evil

Re: Python and Emacs

2002-05-22 Thread Luca - De Whiskey's - De Vitis
On Wed, May 22, 2002 at 08:38:26AM -0500, dman wrote: | --- cut --- | augroup Python | au! | autocmd BufRead *.py set expandtab softtabstop=4 shiftwidth=4 tabstop=4 | augroup END | --- /cut --- It will work, but I disagree with changing the 'tabstop' variable. Try catting your

Re: Python and Emacs

2002-05-22 Thread dman
On Wed, May 22, 2002 at 05:50:10PM +0200, Luca - De Whiskey's - De Vitis wrote: | On Wed, May 22, 2002 at 08:38:26AM -0500, dman wrote: | | --- cut --- | | augroup Python | | au! | | autocmd BufRead *.py set expandtab softtabstop=4 shiftwidth=4 tabstop=4 | | augroup END | | --- /cut

Re: Python and Emacs

2002-05-22 Thread Juha Autero
Jonne Itkonen [EMAIL PROTECTED] writes: On 21 May 2002, Ron Johnson wrote: This is amusing: I think exactly the opposite, since I indent every 4 columns, and if \t were set to 4, then when less'ing the file, it would look differently that it does in the editor... (Skip the next chapter to

Python and Emacs

2002-05-21 Thread Jérôme Marant
Hi, I'm sorry, this may be a bit off topic but I don't really know where I can post this question. I'm a bit annoyed with Emacs when editing Python programs because Emacs always replaces TABs with spaces ; this wouldn't bother me if Emacs was the only editor in the world. But when you

Re: Python and Emacs

2002-05-21 Thread Jérôme Marant
Ron Johnson [EMAIL PROTECTED] writes: On Tue, 2002-05-21 at 15:27, Jérôme Marant wrote: [snip] I'm a bit annoyed with Emacs when editing Python programs because Emacs always replaces TABs with spaces ; this wouldn't bother me if Emacs was the only editor in the world. But when you

Re: Python and Emacs

2002-05-21 Thread Chris Lawrence
On May 21, Jérôme Marant wrote: I'm sorry, this may be a bit off topic but I don't really know where I can post this question. I'm a bit annoyed with Emacs when editing Python programs because Emacs always replaces TABs with spaces ; this wouldn't bother me if Emacs was the only

Re: Python and Emacs

2002-05-21 Thread Jérôme Marant
Ron Johnson [EMAIL PROTECTED] writes: Do you have a solution? Yeah: use vim! However, if you insist on using emacsOS, sorry, can't help... Using Vim? Emacs modes are not just syntax highlightings you know ;-) I would call it a functional regression :-) You're a troll! Cheers,

Re: Python and Emacs

2002-05-21 Thread Federico Di Gregorio
Il mar, 2002-05-21 alle 22:27, Jérôme Marant ha scritto: Hi, I'm sorry, this may be a bit off topic but I don't really know where I can post this question. I'm a bit annoyed with Emacs when editing Python programs because Emacs always replaces TABs with spaces ; this wouldn't

Re: Python and Emacs

2002-05-21 Thread Jérôme Marant
Chris Lawrence [EMAIL PROTECTED] writes: On May 21, Jérôme Marant wrote: I'm sorry, this may be a bit off topic but I don't really know where I can post this question. I'm a bit annoyed with Emacs when editing Python programs because Emacs always replaces TABs with spaces

Re: Python and Emacs

2002-05-21 Thread Florent Rougon
[EMAIL PROTECTED] (Jérôme Marant) wrote: Hi, Hi, I'm sorry, this may be a bit off topic but I don't really know where I can post this question. fr.comp.applications.emacs would be quite OK. ;-) I'm a bit annoyed with Emacs when editing Python programs because Emacs always