Re: [PATCH] frameless boxes for tex2lyx

2003-12-14 Thread Juergen Spitzmueller
Am Thursday 11 December 2003 22:24 schrieb Georg Baum: We could simplify the code if LyX would use the LaTeX names for length variables and not col% etc. OTOH the % makes it easy to remove those units (which is necessary in some cases, cf. qt2/lengthcombo.C:61). Jürgen, tex2lyx produces a

Re: LyX Note inset bugs

2003-12-14 Thread Angus Leeming
Kayvan A. Sylvan wrote: Create a new document. Insert-Note-LyX Note put anything in the note. Save the document. Quit. LyX crashes. A separate problem. Now, use LyX to open the same document. On the console, you will see: InsetCollapsable::Read: Missing 'status'-tag!

Re: [PATCH] frameless boxes for tex2lyx

2003-12-14 Thread Angus Leeming
Juergen Spitzmueller wrote: Am Thursday 11 December 2003 22:24 schrieb Georg Baum: We could simplify the code if LyX would use the LaTeX names for length variables and not col% etc. OTOH the % makes it easy to remove those units (which is necessary in some cases, cf.

Re: [PATCH] frameless boxes for tex2lyx

2003-12-14 Thread Juergen Spitzmueller
Angus Leeming wrote: OTOH the % makes it easy to remove those units (which is necessary in some cases, cf. qt2/lengthcombo.C:61). It wouldn't be so hard so handle the latex strings either. We just need to put the code in one place and then re-use it. You're right, it certainly isn't. BTW

[PATCH]: branches

2003-12-14 Thread Angus Leeming
InsetBranch is now working fully. I've minimized the BranchList and LColor APIs. I've overhauled the Branches code in both frontends. Result: much cleaner code with 120 lines biting the dust. Patch attached FYI. -- Angus branches.diff.bz2 Description: BZip2 compressed data

Branches design flaw

2003-12-14 Thread Angus Leeming
The branches code enable the user to create a custom color for each branch. That is, new colors are defined for a particular buffer. However, these colors are stored in the system-wide lcolors variable. That's a design flaw. It seems to me that there are two possible solutions. 1. Add an

Re: Which name is supposed to define the intended behaviour of an LFUN?

2003-12-14 Thread Christian Ridderström
On Sat, 13 Dec 2003, Angus Leeming wrote: Christian Ridderström wrote: So far it seems clear as crystal, but looking at the enum names and the strings for the user commands I get confused. Which one is supposed to define(*) the intended behaviour of the LFUN? That's clear. LyX acts on

Re: Which name is supposed to define the intended behaviour of an LFUN?

2003-12-14 Thread Angus Leeming
Christian Ridderström wrote: duh... unless we suddenly entered a world without software bugs, how can you say that the code defines the intended behaviour? If you're going to be rude, I'll keep my comments to myself in future. -- Angus

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Michael Schmitt
[EMAIL PROTECTED] wrote: Log message: Minipage is no more (long live the box inset) Hello, concerning the two changes in factory.C: Does it still make sense to check for minipages? I think they should be handled completely by lyx2lyx scripts. LFUN_INSET_MINIPAGE should be removed, too. I

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Angus Leeming
Michael Schmitt wrote: [EMAIL PROTECTED] wrote: Log message: Minipage is no more (long live the box inset) Hello, concerning the two changes in factory.C: Does it still make sense to check for minipages? I think they should be handled completely by lyx2lyx scripts.

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Juergen Spitzmueller
Michael Schmitt wrote: concerning the two changes in factory.C: Does it still make sense to check for minipages? I think they should be handled completely by lyx2lyx scripts. LFUN_INSET_MINIPAGE should be removed, too. Yes, this makes sense (I left minipage-insert for convenience of old users,

Re: Branches design flaw

2003-12-14 Thread Martin Vermeer
On Sun, Dec 14, 2003 at 04:50:42PM +, Angus Leeming spake thusly: The branches code enable the user to create a custom color for each branch. That is, new colors are defined for a particular buffer. However, these colors are stored in the system-wide lcolors variable. That's a design

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Martin Vermeer
On Sun, Dec 14, 2003 at 07:08:41PM +0100, Juergen Spitzmueller spake thusly: Michael Schmitt wrote: concerning the two changes in factory.C: Does it still make sense to check for minipages? I think they should be handled completely by lyx2lyx scripts. LFUN_INSET_MINIPAGE should be

Re: Branches design flaw

2003-12-14 Thread Angus Leeming
Martin Vermeer wrote: The branches code enable the user to create a custom color for each branch. That is, new colors are defined for a particular buffer. However, these colors are stored in the system-wide lcolors variable. That's a design flaw. It seems to me that there are two possible

Re: Which name is supposed to define the intended behaviour of an LFUN?

2003-12-14 Thread Christian Ridderström
On Sun, 14 Dec 2003, Angus Leeming wrote: Christian Ridderström wrote: duh... unless we suddenly entered a world without software bugs, how can you say that the code defines the intended behaviour? If you're going to be rude, I'll keep my

Stupid spelling question: LFUN or lfun, minibuffer or mini-buffer

2003-12-14 Thread Christian Ridderström
Hi After reading a question in the user's list, I thought I'd put page on lfuns in the wiki (not in the devel-section), so I'd like to get the spelling correct... what do you say: LFUN or lfun minibuffer or mini-buffer Although this is not important, using a consistent

Re: [PATCH] frameless boxes for tex2lyx

2003-12-14 Thread Juergen Spitzmueller
Am Thursday 11 December 2003 22:24 schrieb Georg Baum: > We > could simplify the code if LyX would use the LaTeX names for length > variables and not "col%" etc. OTOH the % makes it easy to remove those units (which is necessary in some cases, cf. qt2/lengthcombo.C:61). > Jürgen, tex2lyx

Re: LyX Note inset bugs

2003-12-14 Thread Angus Leeming
Kayvan A. Sylvan wrote: > Create a new document. > Insert->Note->LyX Note > put anything in the note. > Save the document. > Quit. > > LyX crashes. A separate problem. > Now, use LyX to open the same document. On the console, you will > see: > > InsetCollapsable::Read: Missing 'status'-tag! >

Re: [PATCH] frameless boxes for tex2lyx

2003-12-14 Thread Angus Leeming
Juergen Spitzmueller wrote: > Am Thursday 11 December 2003 22:24 schrieb Georg Baum: >> We >> could simplify the code if LyX would use the LaTeX names for length >> variables and not "col%" etc. > > OTOH the % makes it easy to remove those units (which is necessary > in some cases, cf.

Re: [PATCH] frameless boxes for tex2lyx

2003-12-14 Thread Juergen Spitzmueller
Angus Leeming wrote: > > OTOH the % makes it easy to remove those units (which is necessary > > in some cases, cf. qt2/lengthcombo.C:61). > > It wouldn't be so hard so handle the latex strings either. We just > need to put the code in one place and then re-use it. You're right, it certainly

[PATCH]: branches

2003-12-14 Thread Angus Leeming
InsetBranch is now working fully. I've minimized the BranchList and LColor APIs. I've overhauled the Branches code in both frontends. Result: much cleaner code with 120 lines biting the dust. Patch attached FYI. -- Angus branches.diff.bz2 Description: BZip2 compressed data

Branches design flaw

2003-12-14 Thread Angus Leeming
The branches code enable the user to create a custom color for each branch. That is, new colors are defined for a particular buffer. However, these colors are stored in the system-wide lcolors variable. That's a design flaw. It seems to me that there are two possible solutions. 1. Add an

Re: Which name is supposed to define the intended behaviour of an LFUN?

2003-12-14 Thread Christian Ridderström
On Sat, 13 Dec 2003, Angus Leeming wrote: > Christian Ridderström wrote: > > So far it seems clear as crystal, but looking at the enum names and > > the strings for the user commands I get confused. Which one is > > supposed to "define"(*) the intended behaviour of the LFUN? > > That's clear.

Re: Which name is supposed to define the intended behaviour of an LFUN?

2003-12-14 Thread Angus Leeming
Christian Ridderström wrote: > duh... unless we suddenly entered a world without software bugs, how > can you say that the code defines the intended behaviour? > If you're going to be rude, I'll keep my comments to myself in future. -- Angus

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Michael Schmitt
[EMAIL PROTECTED] wrote: > Log message: >Minipage is no more (long live the box inset) Hello, concerning the two changes in factory.C: Does it still make sense to check for minipages? I think they should be handled completely by lyx2lyx scripts. LFUN_INSET_MINIPAGE should be removed, too.

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Angus Leeming
Michael Schmitt wrote: > [EMAIL PROTECTED] wrote: > > > Log message: > > Minipage is no more (long live the box inset) > > Hello, > > concerning the two changes in factory.C: Does it still make sense to > check for minipages? I think they should be handled completely by > lyx2lyx scripts.

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Juergen Spitzmueller
Michael Schmitt wrote: > concerning the two changes in factory.C: Does it still make sense to > check for minipages? I think they should be handled completely by > lyx2lyx scripts. LFUN_INSET_MINIPAGE should be removed, too. Yes, this makes sense (I left "minipage-insert" for convenience of old

Re: Branches design flaw

2003-12-14 Thread Martin Vermeer
On Sun, Dec 14, 2003 at 04:50:42PM +, Angus Leeming spake thusly: > The branches code enable the user to create a custom color for each > branch. That is, new colors are defined for a particular buffer. > However, these colors are stored in the system-wide lcolors variable. > That's a

Re: lyx-devel src/: ChangeLog factory.C lyxfunc.C src/frontend ...

2003-12-14 Thread Martin Vermeer
On Sun, Dec 14, 2003 at 07:08:41PM +0100, Juergen Spitzmueller spake thusly: > Michael Schmitt wrote: > > concerning the two changes in factory.C: Does it still make sense to > > check for minipages? I think they should be handled completely by > > lyx2lyx scripts. LFUN_INSET_MINIPAGE should be

Re: Branches design flaw

2003-12-14 Thread Angus Leeming
Martin Vermeer wrote: >> The branches code enable the user to create a custom color for each >> branch. That is, new colors are defined for a particular buffer. >> However, these colors are stored in the system-wide lcolors >> variable. That's a design flaw. >> >> It seems to me that there are

Re: Which name is supposed to define the intended behaviour of an LFUN?

2003-12-14 Thread Christian Ridderström
On Sun, 14 Dec 2003, Angus Leeming wrote: > Christian Ridderström wrote: > > duh... unless we suddenly entered a world without software bugs, how > > can you say that the code defines the intended behaviour? > > > > If you're going to be rude, I'll keep

Stupid spelling question: LFUN or lfun, minibuffer or mini-buffer

2003-12-14 Thread Christian Ridderström
Hi After reading a question in the user's list, I thought I'd put page on lfuns in the wiki (not in the devel-section), so I'd like to get the "spelling" correct... what do you say: LFUN or lfun minibuffer or mini-buffer Although this is not important, using a consistent