Re: [PATCH] Fix memory leaks

2001-04-04 Thread Asger K. Alstrup Nielsen
On Wed, 4 Apr 2001, Juergen Vigna wrote: > Well IMO there's no problem having enough PC's I'm just thinking that not > all partecipants should have one so that: I agree that it's ok to be one, two or even three PCs short. There is always something else to do, such as drink beer, drink fresh bee

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

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 persona

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

2001-04-04 Thread Juergen Vigna
On 04-Apr-2001 Lars Gullik Bjønnes wrote: > the problem is that is not enough... I have: Well but it would at least help for the tab-stop having it at 4 or 8, wouldn't it? (And that's really the only thing we have different defaults and we have different opinions!) Jürgen -- -._-._-._-._

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

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

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Jose Abilio Oliveira Matos
On Wed, Apr 04, 2001 at 11:36:36AM +0200, Juergen Vigna wrote: > > On 04-Apr-2001 Andre Poenitz wrote: > >> And myself too as I have to know how much people will come to see if they > >> fit all in (and organize enough PC's so that at least n-x people can work > >> at the same time [ you probably

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > I want an assert on x != n | | And crash if it fails? jupp... but as said I'll bring the laptop so it should never fail. -- Lgb

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Andre Poenitz
> I want an assert on x != n And crash if it fails? Andre' -- André Pönitz . [EMAIL PROTECTED] C++-Programmierer gesucht ... Naeheres unter http://mathematik.htwm.de/job

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | Well IMO there's no problem having enough PC's I'm just thinking that not | all partecipants should have one so that: I'll bring the laptop. -- Lgb

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Juergen Vigna
On 04-Apr-2001 Andre Poenitz wrote: >> And myself too as I have to know how much people will come to see if they >> fit all in (and organize enough PC's so that at least n-x people can work >> at the same time [ you probably ask what is 'n' and what is 'x', but that's >> a secret ;]) Lars > I wa

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Andre Poenitz
> And myself too as I have to know how much people will come to see if they > fit all in (and organize enough PC's so that at least n-x people can work > at the same time [ you probably ask what is 'n' and what is 'x', but that's > a secret ;]) Would delta_n - delta_x = 1 and delta_x = 1 fit in y

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | And myself too as I have to know how much people will come to see if they | fit all in (and organize enough PC's so that at least n-x people can work | at the same time [ you probably ask what is 'n' and what is 'x', but that's | a secret ;]) I want an

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Juergen Vigna
On 04-Apr-2001 Andre Poenitz wrote: >> P.S.: I would like to hear from developers interested in attending this >> years LyX Meeting if the date proposed 21-26 June is acceptable! > > I usually don't plan _that far_ in advance but Bozen lies well within the > reach of my occasional hit-and-

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Andre Poenitz
> P.S.: I would like to hear from developers interested in attending this > years LyX Meeting if the date proposed 21-26 June is acceptable! I usually don't plan _that far_ in advance but Bozen lies well within the reach of my occasional hit-and-run attacks... Andre' -- André Pönitz

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> P.S.: I would like to hear from developers interested in Juergen> attending this years LyX Meeting if the date proposed 21-26 Juergen> June is acceptable! That's fine with me. JMarc

Re: [PATCH] Fix memory leaks

2001-04-04 Thread Juergen Vigna
On 04-Apr-2001 Allan Rae wrote: > Even if you use compression to push stuff to and from cvs all those spaces > still add up even if they are only bits now instead of bytes. That plus > the fact they unbalance the key table unnecessarily so you still get > greater download sizes, longer compress

Re: [PATCH] Fix memory leaks

2001-04-03 Thread Allan Rae
On Tue, 3 Apr 2001, Juergen Vigna wrote: [...] > But ok, I'm not happy with it, but if most of the developers are happy with > a tab indent I'll adapt! > > I for myself will still use 4 spaces on NON-LyX files as IMO that is the > best way to have sourcefiles written (NO TAB INSIDE FILES!) But th

Re: [PATCH] Fix memory leaks

2001-04-03 Thread Juergen Vigna
On 03-Apr-2001 Jules Bean wrote: > > http://www.jwz.org/doc/tabs-vs-spaces.html Yes! That's exactly what I do for my files! 4 'spaces' indent per level and have emacs fill in spaces and not tabs or misced stuff like: 4 spaces == 4 spaces 8 spaces == tab 12 spaces == tab 4 spaces (this is what h

Re: [PATCH] Fix memory leaks

2001-04-03 Thread Jules Bean
On Mon, Apr 02, 2001 at 12:14:13PM +0200, Andre Poenitz wrote: > > function(param1 p1, param2 p2, ... > > paramx px, paramy py) > > { > > ... > > } > > > > Try to indent this with tabs and set tab-width to 4 or to 8! > > In my own stuff I use in such cases real spaces starting from the

RE: [PATCH] Fix memory leaks

2001-04-02 Thread Juergen Vigna
On 30-Mar-2001 Baruch Even wrote: > Since the indentation is really horrendous in InsetText I'll > leave it to you to fix it. It's really a nightmare for me to read through > this unindentded code. I have to admit that you're right! I redo my files to have a tab indentation and have seen now wha

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Andre Poenitz
> function(param1 p1, param2 p2, ... > paramx px, paramy py) > { > ... > } > > Try to indent this with tabs and set tab-width to 4 or to 8! In my own stuff I use in such cases real spaces starting from the position below the 'f' in function to the 'p' in paramx. If the block is intende

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Juergen Vigna
On 02-Apr-2001 Lars Gullik Bjønnes wrote: >| Try to indent this with tabs and set tab-width to 4 or to 8! > > Yes, just use 8. #:O) > Are you giving in :-) Well you see we're all getting older and wiser ;) Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 02-Apr-2001 Juergen Vigna wrote: | | One more reson I use 4 spaced (for my personal files) is that using just | a tabwith=4 gives you really bad results on stuff like: | | function(param1 p1, param2 p2, ... | paramx px, paramy py) | { | ..

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Juergen Vigna
On 02-Apr-2001 Juergen Vigna wrote: One more reson I use 4 spaced (for my personal files) is that using just a tabwith=4 gives you really bad results on stuff like: function(param1 p1, param2 p2, ... paramx px, paramy py) { ... } Try to indent this with tabs and set tab-width to 4 or

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Juergen Vigna
On 02-Apr-2001 Lars Gullik Bjønnes wrote: > Well no, I don't think so. If I remember right I added InsetFoot and > InsetMinipage when I began the new_inset stuff. Well the cvs log tells us that we're both wrong, I added InsetFoot/ERT (more or less 13 moth ago) and you added insetminipage (9 mot

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 02-Apr-2001 Lars Gullik Bjønnes wrote: | | > I think I saw some "4 spaces" in insetminibuffer :-) | | You surely are talking about insetminipage! And isn't that a file | I created when making InsetCollapsable and InsetFoot? Well no, I don't think

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Juergen Vigna
On 02-Apr-2001 Lars Gullik Bjønnes wrote: > I think I saw some "4 spaces" in insetminibuffer :-) You surely are talking about insetminipage! And isn't that a file I created when making InsetCollapsable and InsetFoot? Well for the sake I'm really thinking of changing the tab-size of my emacs-ins

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 30-Mar-2001 Lars Gullik Bjønnes wrote: | | > and I only allow that "4 spaces" thing for files that you "own". I | > have no qualms of changing others indentation to "one tab/8 chars" | | I know and you know that I never ever changed intentation in

Re: [PATCH] Fix memory leaks

2001-04-02 Thread Juergen Vigna
On 30-Mar-2001 Lars Gullik Bjønnes wrote: > and I only allow that "4 spaces" thing for files that you "own". I > have no qualms of changing others indentation to "one tab/8 chars" I know and you know that I never ever changed intentation in another file to other that tab/8 chars! Jürgen

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Martin Vermeer
m: Juergen Vigna <[EMAIL PROTECTED]> > To: LyXperts <[EMAIL PROTECTED]> > Subject: Re: [PATCH] Fix memory leaks > > > On 30-Mar-2001 John Levon wrote: > > > The fact he doesn't even mention the name of them says a lot about > > their quality ! >

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 30-Mar-2001 Andre Poenitz wrote: | >> IMO the only differences in indentation we have is: | >> | >> "4 spaces" again "1 tab" | > | > What's wrong with 'tabs only'? | | Nothing! | | I had that earlier but changed to 4 spaces because 8 spaces is j

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | On 30-Mar-2001 Baruch Even wrote: | | > I do not intend to comment on one form or the other, but most of LyX (or | > at least the parts I saw) adhere to some pretty good (IMNSHO) indentation | > rules, and I think that the indentation rules should be u

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Andre Poenitz
> > The fact he doesn't even mention the name of them says a lot about > > their quality ! > > Yes you're right, I didn't have to courage to say 'vi' on Friday! :set tabstop= Ok.. I haven't had a really old vi under my finger for a while, so this could be a vim feature... Andre' -- André Pö

Re: [PATCH] Fix memory leaks

2001-03-30 Thread John Levon
On Fri, 30 Mar 2001, Juergen Vigna wrote: > > On 30-Mar-2001 John Levon wrote: > > > The fact he doesn't even mention the name of them says a lot about > > their quality ! > > Yes you're right, I didn't have to courage to say 'vi' on Friday! > > Jürgen Hey, leave vi out of this ! Or a

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Juergen Vigna
On 30-Mar-2001 John Levon wrote: > The fact he doesn't even mention the name of them says a lot about > their quality ! Yes you're right, I didn't have to courage to say 'vi' on Friday! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen Vigna

Re: [PATCH] Fix memory leaks

2001-03-30 Thread John Levon
On Fri, 30 Mar 2001, Andre Poenitz wrote: > > And unfortunately I'm forced to use other editors too. > > Which one? The fact he doesn't even mention the name of them says a lot about their quality ! john -- "Nothing would please me more than being able to hire ten programmers and deluge th

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Andre Poenitz
> Didn't I explain this already? Not in all editors you can define a tabsize. [It is Friday, isn't it?] Well, that would disqualify the thing as editor, wouldn't it? > And unfortunately I'm forced to use other editors too. Which one? > And also try to 'more' your file. Try to 'less -x' your

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Juergen Vigna
On 30-Mar-2001 John Levon wrote: >> I had that earlier but changed to 4 spaces because 8 spaces is just too >> much indent for more then 2 levels and I get confused then. > > Eh ? Can't you change your tabsize to 4 in your editor (if you must) ? Didn't I explain this already? Not in all edito

Re: [PATCH] Fix memory leaks

2001-03-30 Thread John Levon
On Fri, 30 Mar 2001, Juergen Vigna wrote: > > On 30-Mar-2001 Andre Poenitz wrote: > >> IMO the only differences in indentation we have is: > >> > >> "4 spaces" again "1 tab" > > > > What's wrong with 'tabs only'? > > Nothing! > > I had that earlier but changed to 4 spaces because 8 spaces i

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Juergen Vigna
On 30-Mar-2001 Andre Poenitz wrote: >> IMO the only differences in indentation we have is: >> >> "4 spaces" again "1 tab" > > What's wrong with 'tabs only'? Nothing! I had that earlier but changed to 4 spaces because 8 spaces is just too much indent for more then 2 levels and I get confused

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Andre Poenitz
> IMO the only differences in indentation we have is: > > "4 spaces" again "1 tab" What's wrong with 'tabs only'? Andre' -- André Pönitz . [EMAIL PROTECTED] C++-Programmierer gesucht ... Naeheres unter http://mathematik.htwm.de/job

RE: [PATCH] Fix memory leaks

2001-03-30 Thread Baruch Even
On Fri, 30 Mar 2001, Juergen Vigna wrote: > > On 30-Mar-2001 Baruch Even wrote: > > > I believe that the patch includes a fix to some memory leak that was in > > InsetText, Since the indentation is really horrendous in InsetText I'll > > Well maybe I'm blind, but maybe not. Anyway it's hard to

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Andre Poenitz
> I do not intend to comment on one form or the other, but most of LyX (or > at least the parts I saw) adhere to some pretty good (IMNSHO) indentation > rules, and I think that the indentation rules should be used all over the > code for the sake of uniformity. Seconded. Anyway I think it is a

RE: [PATCH] Fix memory leaks

2001-03-30 Thread Juergen Vigna
On 30-Mar-2001 Baruch Even wrote: > I do not intend to comment on one form or the other, but most of LyX (or > at least the parts I saw) adhere to some pretty good (IMNSHO) indentation > rules, and I think that the indentation rules should be used all over the > code for the sake of uniformity.

RE: [PATCH] Fix memory leaks

2001-03-30 Thread Baruch Even
On Fri, 30 Mar 2001, John Levon wrote: > On Fri, 30 Mar 2001, Baruch Even wrote: > > > P.S. Even though this is a friday I'm compelled to say that I do not mean > > to hurt anyone or to act childish, but I believe that there is supposed to > > be some semblance of uniformity to the coding rules

RE: [PATCH] Fix memory leaks

2001-03-30 Thread Juergen Vigna
On 30-Mar-2001 Baruch Even wrote: > I believe that the patch includes a fix to some memory leak that was in > InsetText, Since the indentation is really horrendous in InsetText I'll Well maybe I'm blind, but maybe not. Anyway it's hard to find out what you did in there if you change indentation

RE: [PATCH] Fix memory leaks

2001-03-30 Thread John Levon
On Fri, 30 Mar 2001, Baruch Even wrote: > P.S. Even though this is a friday I'm compelled to say that I do not mean > to hurt anyone or to act childish, but I believe that there is supposed to > be some semblance of uniformity to the coding rules which includes > indentation. If I had a cattle p

RE: [PATCH] Fix memory leaks

2001-03-30 Thread Baruch Even
On Fri, 30 Mar 2001, Juergen Vigna wrote: > I don't like patches which change intentation! (especially if the whole > other end of the file has indentation to 4 spaces!) I believe that the patch includes a fix to some memory leak that was in InsetText, Since the indentation is really horrendous

Re: [PATCH] Fix memory leaks

2001-03-30 Thread Andre Poenitz
> Attached is a patch to fix a couple of memory leaks, I'll also attach > the report of LeakTracer, it includes various Mathed leaks and two > non-mathed leaks. Every nested math inset currently leaks. This is more or less intentional, at least it is known, and in theory it is easy to fix. Unfort

RE: [PATCH] Fix memory leaks

2001-03-29 Thread Juergen Vigna
On 30-Mar-2001 Juergen Vigna wrote: > I don't like patches which change intentation! (especially if the whole ^indentation Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED

RE: [PATCH] Fix memory leaks

2001-03-29 Thread Juergen Vigna
On 30-Mar-2001 Baruch Even wrote: > Attached is a patch to fix a couple of memory leaks, I'll also attach > the report of LeakTracer, it includes various Mathed leaks and two > non-mathed leaks. > > In the fix I provide there is a "fix" for the leak in the idex, this is > not really a fix as it

[PATCH] Fix memory leaks

2001-03-29 Thread Baruch Even
Attached is a patch to fix a couple of memory leaks, I'll also attach the report of LeakTracer, it includes various Mathed leaks and two non-mathed leaks. In the fix I provide there is a "fix" for the leak in the idex, this is not really a fix as it is a way to hide the problem from LeakTracer.