Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 05:52:38PM +0200, Herbert Voss wrote: > >Ok, this could be solved by copying/linking the correct one to > >.lyx/scripts/foo2bar, couldn't it? > > > so I ask again: where is the sense of $$s? The whole converting > stuff works works as expected and with a LibScriptSearch y

Re: tie break

2002-07-17 Thread Herbert Voss
Andre Poenitz wrote: > On Wed, Jul 17, 2002 at 05:33:06PM +0200, Jean-Marc Lasgouttes wrote: > >>Andre> See attachment. >> >>I do not understand. What do you intend to do with it? Why not make >>the converter stuff look into scripts/ too when trying to run any >>program? >> > >>I added a few mo

Re: tie break

2002-07-17 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Jul 17, 2002 at 05:33:06PM +0200, Jean-Marc Lasgouttes Andre> wrote: See attachment. >> I do not understand. What do you intend to do with it? Why not >> make the converter stuff look into scripts/ too when trying to run >

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 05:33:06PM +0200, Jean-Marc Lasgouttes wrote: > Andre> See attachment. > > I do not understand. What do you intend to do with it? Why not make > the converter stuff look into scripts/ too when trying to run any > program? > I added a few month ago a command LibScriptSearc

Re: tie break

2002-07-17 Thread Herbert Voss
Angus Leeming wrote: > On Wednesday 17 July 2002 4:22 pm, David Kastrup wrote: > >>>when developpers have no real new ideas or tired of >>>bughunting, then they beautify the code ... >>> >>And it often is high time for it... >> > > This is: > * old code that must soon be split into a Controller

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 05:22:07PM +0200, David Kastrup wrote: > And it often is high time for it... In this case it really was not. The code was ok... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: tie break

2002-07-17 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Jul 17, 2002 at 01:49:24PM +0100, Angus Leeming wrote: >> But I'm not going to delve deeply at the moment. Fancy having a go? Andre> See attachment. I do not understand. What do you intend to do with it? Why not make the

Re: tie break

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 4:22 pm, David Kastrup wrote: > > when developpers have no real new ideas or tired of > > bughunting, then they beautify the code ... > > And it often is high time for it... This is: * old code that must soon be split into a Controller and a View if GUI-I is to be finis

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 05:19:14PM +0200, Herbert Voss wrote: > when developpers have no real new ideas or tired of > bughunting, then they beautify the code ... The most important aspect of code beautifying is that one can change one's mind and revert all changes a week later. And there are obv

Re: tie break

2002-07-17 Thread Herbert Voss
David Kastrup wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > > >>Angus Leeming wrote: >> >> > ? I find this more readable as I do not have to scroll down to learn that str is no further modified and it might save a copy as well. >>>Go ahead. >>>Angus >>> >>> >> >>when de

Re: tie break

2002-07-17 Thread David Kastrup
Herbert Voss <[EMAIL PROTECTED]> writes: > Angus Leeming wrote: > > >>? I find this more readable as I do not have to scroll down to learn that > >>str is no further modified and it might save a copy as well. > >> > > Go ahead. > > Angus > > > > > when developpers have no real new ideas or t

Re: tie break

2002-07-17 Thread Herbert Voss
Angus Leeming wrote: >> string str; >> if (...) { >> str = ... >> } else if (...) { >> str =... >> } >> return str; >> >>to >> >> if (...) >> return ... >> if (...) >> return ... >> return string(); >> >>? I find this more readable as I do not have to scroll down to learn that >>str is no

Re: tie break

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 4:03 pm, Andre Poenitz wrote: > On Wed, Jul 17, 2002 at 03:31:16PM +0100, Angus Leeming wrote: > > You should add a note to the user of the preferences dialog: > > Ok. > > But as I have this file in the editor now: Would anybody mind me changing > things like > > string

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 03:31:16PM +0100, Angus Leeming wrote: > You should add a note to the user of the preferences dialog: Ok. But as I have this file in the editor now: Would anybody mind me changing things like string str; if (...) { str = ... } else if (...) { str =... } return

Re: tie break

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 3:44 pm, Andre Poenitz wrote: > On Wed, Jul 17, 2002 at 01:49:24PM +0100, Angus Leeming wrote: > > But I'm not going to delve deeply at the moment. Fancy having a go? > > See attachment. Oh, very neat. You should add a note to the user of the preferences dialog: FormP

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 01:49:24PM +0100, Angus Leeming wrote: > But I'm not going to delve deeply at the moment. Fancy having a go? See attachment. [I don't like the 'extern' stuff, but it is used in othre places too, so I guess it does not matter much] Andre' -- Those who desire to give up

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 01:49:24PM +0100, Angus Leeming wrote: > But I'm not going to delve deeply at the moment. Fancy having a go? I'll have a look... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: tie break

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 2:00 pm, Andre Poenitz wrote: > On Wed, Jul 17, 2002 at 01:34:09PM +0100, Angus Leeming wrote: > > Remember that I suggested adding a $$lyxlib variable, analogous to $$i, > > $$o that would be expanded to the right thing? > > It looks fine. > > > Nobody seemed that intere

Re: tie break

2002-07-17 Thread Herbert Voss
Angus Leeming wrote: > On Wednesday 17 July 2002 1:28 pm, Andre Poenitz wrote: > >>Should I attach a '.sh' suffix for shell scripts in lib/scripts or not? >> >>Angus: Is there a way do specify in the .lyx/preferences' converters >>section that a converter from /lib/scripts should be >>used? >>

Re: tie break

2002-07-17 Thread Andre Poenitz
On Wed, Jul 17, 2002 at 01:34:09PM +0100, Angus Leeming wrote: > Remember that I suggested adding a $$lyxlib variable, analogous to $$i, $$o > that would be expanded to the right thing? It looks fine. > Nobody seemed that interested, so > I didn't persue the matter. Nobody rejected the propos

Re: tie break

2002-07-17 Thread Angus Leeming
On Wednesday 17 July 2002 1:28 pm, Andre Poenitz wrote: > Should I attach a '.sh' suffix for shell scripts in lib/scripts or not? > > Angus: Is there a way do specify in the .lyx/preferences' converters > section that a converter from /lib/scripts should be > used? Remember that I suggested add