Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars My point is that we can just move things around a bit, we don't Lars need elaborate classes to support something that only happens on Lars a brief spell upon startup. Agreed. This looks suspiciously like Angus playing with a new toy :)

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | Lars My point is that we can just move things around a bit, we don't | Lars need elaborate classes to support something that only happens on | Lars a brief spell upon startup. | Agreed. This

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: Lars My point is that we can just move things around a bit, we don't Lars need elaborate classes to support something that only happens on Lars a brief spell upon startup. Agreed. This looks suspiciously like Angus playing with a new toy :) And that, it appears,

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | ATM, NO messages will be translated in LyX 1.4.x. So, did you kill it? -- Lgb

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | ATM, NO messages will be translated in LyX 1.4.x. So, did you kill it? No. Anything that triggered that posting of a message through gettext before the localedir was discoved would trigger it before too. So lyx -help

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | ATM, NO messages will be translated in LyX 1.4.x. So, did you kill it? | No. Anything that triggered that posting of a message through gettext | before the localedir was

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Angus Leeming wrote: Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | ATM, NO messages will be translated in LyX 1.4.x. So, did you kill it? No. Anything that triggered that posting of a message through gettext before the localedir was discoved would trigger it

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Angus Leeming wrote: Lars Gullik Bjønnes wrote: Angus Leeming [EMAIL PROTECTED] writes: | ATM, NO messages will be translated in LyX 1.4.x. So, did you kill it? No. Anything that triggered that posting of a message through gettext before the

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | Actually, I have to change my answer to Yes. | Try build/src/lyx-qt -dbg init. LyX will die with | Assertion triggered in const lyx::support::Package | lyx::support::package() by failing check initialised_ in file | package.C:83 | because of the early

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Jean-Marc Lasgouttes wrote: Agreed. This looks suspiciously like Angus playing with a new toy :) Angus And that, it appears, is exactly what the problem is. New Angus technique (to you, not me) therefore bad technique? Gimme a Angus

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Angus == Angus Leeming [EMAIL PROTECTED] writes: | Angus Jean-Marc Lasgouttes wrote: Agreed. This looks suspiciously like Angus playing with a new toy :) | Angus And that, it appears, is exactly what the problem is. New | Angus technique (to

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> My point is that we can just move things around a bit, we don't Lars> need elaborate classes to support something that only happens on Lars> a brief spell upon startup. Agreed. This looks suspiciously like Angus playing with a

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > | Lars> My point is that we can just move things around a bit, we don't | Lars> need elaborate classes to support something that only happens on | Lars> a brief spell upon startup.

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Lars> My point is that we can just move things around a bit, we don't > Lars> need elaborate classes to support something that only happens on > Lars> a brief spell upon startup. > > Agreed. This looks suspiciously like Angus playing with a new toy :) And that, it

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | ATM, NO messages will be translated in LyX 1.4.x. So, did you kill it? -- Lgb

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | ATM, NO messages will be translated in LyX 1.4.x. > > So, did you kill it? No. Anything that triggered that posting of a message through gettext before the localedir was discoved would trigger it before too. So "lyx

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Angus Leeming <[EMAIL PROTECTED]> writes: >> >> | ATM, NO messages will be translated in LyX 1.4.x. >> >> So, did you kill it? > | No. Anything that triggered that posting of a message through gettext | before the

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Angus Leeming wrote: > Lars Gullik Bjønnes wrote: > >> Angus Leeming <[EMAIL PROTECTED]> writes: >> >> | ATM, NO messages will be translated in LyX 1.4.x. >> >> So, did you kill it? > > No. Anything that triggered that posting of a message through gettext > before the localedir was discoved

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Angus Leeming wrote: >> Lars Gullik Bjønnes wrote: >> >>> Angus Leeming <[EMAIL PROTECTED]> writes: >>> >>> | ATM, NO messages will be translated in LyX 1.4.x. >>> >>> So, did you kill it? >> >> No. Anything that triggered that posting of a message

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | Actually, I have to change my answer to Yes. >> > | Try "build/src/lyx-qt -dbg init". LyX will die with >> > | Assertion triggered in const lyx::support::Package& > | lyx::support::package() by failing check "initialised_" in file > | package.C:83 >> > | because of

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Jean-Marc Lasgouttes wrote: >> Agreed. This looks suspiciously like Angus playing with a new toy >> :) Angus> And that, it appears, is exactly what the problem is. New Angus> technique (to you, not me) therefore bad technique?

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-12 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > | Angus> Jean-Marc Lasgouttes wrote: >>> Agreed. This looks suspiciously like Angus playing with a new toy >>> :) > | Angus> And that, it appears, is exactly what the problem is. New |

Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Angus Leeming
I got busy and implemented the code to output messages 'lazily' so that the message can be defined before the locale directory has been ascertained, but only output afterwards. The resulting code 'in use' looks so: int main() { lazy::messages()[debug_trait::WARN] +=

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | I got busy and implemented the code to output messages 'lazily' so that | the message can be defined before the locale directory has been | ascertained, but only output afterwards. The resulting code 'in use' looks | so: Are my mails getting lost?

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | I got busy and implemented the code to output messages 'lazily' so that | the message can be defined before the locale directory has been | ascertained, but only output afterwards. The resulting code 'in use' | looks so: Are my mails getting lost? IMNSHO we

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | I got busy and implemented the code to output messages 'lazily' so that | the message can be defined before the locale directory has been | ascertained, but only output afterwards. The resulting code 'in use' | looks so:

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Angus Leeming
Lars Gullik Bjønnes wrote: | So, let me ask why you think that users on such systems should have | these messages output only in English? but this is done after main has run so the package stuff should have been able to finish by the time the help text is outputted What? Wrong! void

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | So, let me ask why you think that users on such systems should have | these messages output only in English? but this is done after main has run so the package stuff should have been able to finish by the time the help

Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Angus Leeming
I got busy and implemented the code to output messages 'lazily' so that the message can be defined before the locale directory has been ascertained, but only output afterwards. The resulting code 'in use' looks so: int main() { lazy::messages()[debug_trait::WARN] +=

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I got busy and implemented the code to output messages 'lazily' so that | the message can be defined before the locale directory has been | ascertained, but only output afterwards. The resulting code 'in use' looks | so: Are my mails getting lost?

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | I got busy and implemented the code to output messages 'lazily' so that > | the message can be defined before the locale directory has been > | ascertained, but only output afterwards. The resulting code 'in use' > | looks so: > > Are my mails getting lost? > >

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | I got busy and implemented the code to output messages 'lazily' so that >> | the message can be defined before the locale directory has been >> | ascertained, but only output afterwards. The resulting code 'in use' >> |

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > | So, let me ask why you think that users on such systems should have > | these messages output only in English? > > but this is done after main has run so the package stuff should have > been able to finish by the time the help text is outputted What? Wrong! void

Re: Lazy messaging in LyX 1.4.x (method works!)

2005-01-11 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> | So, let me ask why you think that users on such systems should have >> | these messages output only in English? >> >> but this is done after main has run so the package stuff should have >> been able to finish by the