[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon Aug 22 12:28:29 2003 
Subject:Re: word completion (Was poplog interactive mode - PS -> Syntax editor) 
From:Chris Dollin 
Volume-ID:1030822.03 

Jonathan L Cunningham wrote:

> On Fri, 22 Aug 2003 09:34:14 +0100, Chris Dollin <kers@hpl.hp.com>
> wrote:
>>    SPOO-D    delete the current slot in the current completable thing
> 
> Just out of curiosity, what did you intend this to do? Delete, e.g.,
> everything between "else" and "endif" or delete the "else" as well?
> (I.e. the sort of opposite of your SPOO-X ?)

Pass. Whatever turned out to be more convenient in practice. Given
SPOO-X, probably delete the whole slot.

>>    SPOO-K    kill the entire current completable thing
> 
> Spooky.

Scooooby-Dooooo!
 
> And the existence of SPOO-D, SPOO-K means you need a SPOO-U (undo)
> as well -- the existing ved_y() etc. would not suffice.

Let's go for a uniform undo buffer instead.

> I'd quite like a SPOO-Z too, but it might be harder to implement.
> 
>     SPOO-Z     write the current procedure for me :-)

Oh, that's easy.

    define theCurrentProcedure(); 
        mishap( 'oops, not implemented yet' );
    enddefine;

Satisfies the spec :-)

-- 
Chris "electric hedgehog" Dollin
C FAQs at: http://www.faqs.org/faqs/by-newsgroup/comp/comp.lang.c.html
C welcome: http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html