Re: [patch] localized status

2004-02-23 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> I wasn't even thinking about this, but Jean-Marc came up with Andre> this example. As far as I can tell the read-only tests do fine Andre> right noiw. Fine, then. JMarc

Re: [patch] localized status

2004-02-23 Thread Andre Poenitz
On Fri, Feb 20, 2004 at 05:59:09PM +, John Levon wrote: > On Fri, Feb 20, 2004 at 06:27:38PM +0100, Andre Poenitz wrote: > > > > Hmm, a concrete case though: if a document is readonly, the checkboxen > > > (?) should be present but disabled. > > > > Which ones? > > > > [Nevertheless, any pla

Re: [patch] localized status

2004-02-20 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Hmm, a concrete case though: if a document is readonly, the >> checkboxen (?) should be present but disabled. Andre> Which ones? Let's say the 'emphasize' icon, for example. Andre> [Nevertheless, any place that has the power to modif

Re: [patch] localized status

2004-02-20 Thread John Levon
On Fri, Feb 20, 2004 at 06:27:38PM +0100, Andre Poenitz wrote: > > Hmm, a concrete case though: if a document is readonly, the checkboxen > > (?) should be present but disabled. > > Which ones? > > [Nevertheless, any place that has the power to modify a document (say > an LFUN_SELFINSERT handler

Re: [patch] localized status

2004-02-20 Thread Andre Poenitz
On Fri, Feb 20, 2004 at 06:14:50PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > >> Can you handle such a case? > > Andre> Yes. > > What a man! > > Andre> Version C: > > Andre> I am not really sure we need this feature at all ;-) > > I can

Re: [patch] localized status

2004-02-20 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Can you handle such a case? Andre> Yes. What a man! Andre> Version C: Andre> I am not really sure we need this feature at all ;-) I cannot give a precise reference here, so we'll see if the need arises. Hmm, a concrete case though

Re: [patch] localized status

2004-02-20 Thread Andre Poenitz
On Fri, Feb 20, 2004 at 06:00:48PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> I think having this getStatus in parallel to the priv_dispatch > Andre> is (a) simple to implement and (b) all we need. > > Andre> Each insets that handles

Re: [patch] localized status

2004-02-20 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> I think having this getStatus in parallel to the priv_dispatch Andre> is (a) simple to implement and (b) all we need. Andre> Each insets that handles LFUN_FOO in priv_dispatch() will have Andre> the chance to 'announce' this in it'

Re: [patch] localized status

2004-02-20 Thread Andre Poenitz
On Fri, Feb 20, 2004 at 05:51:38PM +0100, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> That's most of the 'necessary infrastucture' for 'localized > Andre> getStatus' (but none of the 'real' work). > > Andre> It would work pretty much like di

Re: [patch] localized status

2004-02-20 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> That's most of the 'necessary infrastucture' for 'localized Andre> getStatus' (but none of the 'real' work). Andre> It would work pretty much like dispatch: asking Andre> cursor-tip-to-bottom every inset whether it will later handl

[patch] localized status

2004-02-20 Thread Andre Poenitz
That's most of the 'necessary infrastucture' for 'localized getStatus' (but none of the 'real' work). It would work pretty much like dispatch: asking cursor-tip-to-bottom every inset whether it will later handle a certain request, stopping at the first one that says 'I know this LFUN and I decide