Masatake YAMATO <[EMAIL PROTECTED]> writes:

> I've just implemented your idea.
> Could you try and tell me how you feel.

Your code didn't work on my version of Emacs. Adding (mapcar
'list ...) around completion tables solves the problem.

Please add docstrings to your functions. You have a lot of "trivial"
functions, completely opaque to me because undocumented. Also, avoid
commenting your functions with ";; " when you can put the same text in
a docstring.

I'm not really satisfied by the user interface of your engine. I've
written a quick prototype in xtla-read-moy.el. The archive tree is
really filled in "on demand" : No process is launched untill the user
presses TAB.

Example of use:

(tla--complete-revision)

Ma[TAB] <xtla runs tla archives>
[EMAIL PROTECTED] 
        <shows me the list of completion previously calculated>
[EMAIL PROTECTED]
        <xtla runs tla categories [EMAIL PROTECTED]>
[EMAIL PROTECTED]
        <second tab shows me the list of categories>
[EMAIL PROTECTED]
[EMAIL PROTECTED]

...

It is actually pretty similar to the way read-file-name works : You
get completions for directories, and when you enter the directory, you
get completions for subdirectories.

My code is not yet generic or useable, but I think the idea behind is
really simpler both for the user and for the complexity of the code.

I'd like some opinions before going further.

-- 
Matthieu

Reply via email to