Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Henner Zeller
Hi, two short remarks; I usually put these lines in every file I write /* Emacs: * Local variables: * c-basic-offset: 8 * End: * vi:set tabstop=8 shiftwidth=8 nowrap: */ which is understood by emacs and vim so these editors are switched to the 'correct' indentation style automatically

Re: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Lars Gullik Bjønnes
Henner Zeller [EMAIL PROTECTED] writes: | Hi, | two short remarks; I usually put these lines in every file I write | | /* Emacs: | * Local variables: | * c-basic-offset: 8 | * End: | * vi:set tabstop=8 shiftwidth=8 nowrap: | */ the problem is that is not enough... I have: in my .emacs

RE: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Juergen Vigna
On 04-Apr-2001 Henner Zeller wrote: /* Emacs: * Local variables: * c-basic-offset: 8 * End: * vi:set tabstop=8 shiftwidth=8 nowrap: */ Where at the very beginning or at the end? (I've read you have to put this in the first line of the file is that true?) Ciao, Jrgen --

Re: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Stephan Witt
Henner Zeller wrote: Hi, two short remarks; I usually put these lines in every file I write /* Emacs: * Local variables: * c-basic-offset: 8 * End: * vi:set tabstop=8 shiftwidth=8 nowrap: */ which is understood by emacs and vim so these editors are switched to the 'correct'

Re: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Henner Zeller
HI, LGBn| [ Emacs - .. Lots Of Irritating Single Parenthesis [LISP]] LGBn| and since this is my setup it is also defining the coding style we use LGBn| in LyX. (more or less) LGBn| LGBn| c-basic-offset is only part of it. .. but the most annoying if there are mixed indentation styles. I

RE: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Henner Zeller
Hi, On Wed, 4 Apr 2001, Juergen Vigna wrote: JV| /* Emacs: JV| * Local variables: JV| * c-basic-offset: 8 JV| * End: JV| * vi:set tabstop=8 shiftwidth=8 nowrap: JV| */ JV| JV| Where at the very beginning or at the end? (I've read you have to JV| put this in the first line of the file

Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Henner Zeller
Hi, two short remarks; I usually put these lines in every file I write /* Emacs: * Local variables: * c-basic-offset: 8 * End: * vi:set tabstop=8 shiftwidth=8 nowrap: */ which is understood by emacs and vim so these editors are switched to the 'correct' indentation style automatically

Re: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Lars Gullik Bjønnes
Henner Zeller <[EMAIL PROTECTED]> writes: | Hi, | two short remarks; I usually put these lines in every file I write | | /* Emacs: | * Local variables: | * c-basic-offset: 8 | * End: | * vi:set tabstop=8 shiftwidth=8 nowrap: | */ the problem is that is not enough... I have: in my .emacs

RE: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Juergen Vigna
On 04-Apr-2001 Henner Zeller wrote: > /* Emacs: > * Local variables: > * c-basic-offset: 8 > * End: > * vi:set tabstop=8 shiftwidth=8 nowrap: > */ Where at the very beginning or at the end? (I've read you have to put this in the first line of the file is that true?) Ciao, Jürgen

Re: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Stephan Witt
Henner Zeller wrote: > > Hi, > two short remarks; I usually put these lines in every file I write > > /* Emacs: > * Local variables: > * c-basic-offset: 8 > * End: > * vi:set tabstop=8 shiftwidth=8 nowrap: > */ > > which is understood by emacs and vim so these editors are switched to the

Re: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Henner Zeller
HI, LGBn| [ Emacs - .. Lots Of Irritating Single Parenthesis [LISP]] LGBn| and since this is my setup it is also defining the coding style we use LGBn| in LyX. (more or less) LGBn| LGBn| c-basic-offset is only part of it. .. but the most annoying if there are mixed indentation styles. I

RE: Indentation (was: [PATCH] Fix memory leaks)

2001-04-04 Thread Henner Zeller
Hi, On Wed, 4 Apr 2001, Juergen Vigna wrote: JV| > /* Emacs: JV| > * Local variables: JV| > * c-basic-offset: 8 JV| > * End: JV| > * vi:set tabstop=8 shiftwidth=8 nowrap: JV| > */ JV| JV| Where at the very beginning or at the end? (I've read you have to JV| put this in the first line of