On Thu, Sep 19, 2002 at 03:26:25PM +0200, Jean-Marc Lasgouttes wrote:
> Asfor why I find it convenient, I do not like to use gratuitously the
> mouse or the cursor key to change the  depth of something (think about
> a nested enumeration, and how you might not be sure how to organize
> it; would you rather use depth-increment or <click><cut><click><paste>?)

depth-increment can be implemented as cut, insert inset of the same kind,
move cursor, paste. Prefarably without touching the cut buffer.

> Of course. What did you believe? We are both defending our usage
> patterns and trying to negociate to find a middle ground. However, the
> difference is that I do not want to make the decision on the number of
> lines of code that we would gain.

That's a fairly reliable measure. Better than anything else I've seen so
far.

> The examples you gave (minipage, footnote, table, ert) are actually
> examples where the UI has been improved or kept unchanged.

No. Entering/leaving ERT has exactly the same kind of problems font changes
as insets would have.  

> Andre> Like what? What is annoying with the inset approach which works
> Andre> better on the flat model?
> 
> Using more cursor keys for the dubious benefit of precise font placement
> (this is for fonts) or replacing the depth machanism with insertion and
> deletion of bix boxes (this is for layouts)

Like the new ERT insets? ;-} Would you prefer the old mess?

> Andre> LFUN_LAYOUT (or similar) could be used to switch the style of
> Andre> the inset enclosing the cursor. Or an new LFUN_MUTATE if you
> Andre> want. Guess what mathed does when going from inline do display
> Andre> to eqnarray etc...
> 
> And then you will have to make it completely driven from the layout style
> (nothing hardcoded, not like the 55 different insets known to mathed).
> This means that an enumerate inset should be the same object somehow that
> an itemize item (since we want to control that from textclass).

After all it is just the difference between the strings "enumerate" and
"itemize". So  "LFUN_MUTATE foo" could just set the inset "name" to "foo"
and be done.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to