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

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 | > | ---

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 cattin

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 | > Ev

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 d

Re: Python and Emacs

2002-05-22 Thread Luca - De Whiskey's - De Vitis
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 too. I wouldn't need such a trick ;-) If the problem is that `Vimers' do not use space

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 valu

Re: Python and Emacs

2002-05-22 Thread Jonne Itkonen
On 21 May 2002, Ron Johnson wrote: > 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 y

Re: Python and Emacs

2002-05-21 Thread Jérôme Marant
Florent Rougon <[EMAIL PROTECTED]> writes: > [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. ;-) Sorry, I'm not using Usenet at

Re: Python and Emacs

2002-05-21 Thread Jérôme Marant
Federico Di Gregorio <[EMAIL PROTECTED]> writes: >> Does anyone know how to achieve this? > > from the emacs manual: > >Emacs normally uses both tabs and spaces to indent lines. If you > prefer, all indentation can be made from spaces only. To request this, > set `indent-tabs-mode' to `nil

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 rep

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 spac

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 woul

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! Chee

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 o

Re: Python and Emacs

2002-05-21 Thread Ron Johnson
On Tue, 2002-05-21 at 16:09, Jérôme Marant wrote: > 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 both

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

Re: Python and Emacs

2002-05-21 Thread Ron Johnson
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 share programs > with others, it is bette