[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Re: tla programmable completion in Emacs shell

From: Sacha Chua
Subject: [Gnu-arch-users] Re: tla programmable completion in Emacs shell
Date: Fri, 07 May 2004 03:55:15 +0800
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Matthieu Moy <address@hidden> writes:

> There's something I don't understand : There are now two files with
> the same name and the same purpose. Is one a branch of the other? If
> not, one should be renamed to avoid confusing of the users ...

ARGH! And I _did_ Google before starting... <mock grumble> No, I wrote
the thing from scratch. Searching for "pcomplete arch", I found Jeremy
Shaw's post to this mailing list at
and the IRC log at but no
announcement of completion. I should've checked the wiki. It slipped
my mind; I thought a Google search would be enough.

Jeremy Shaw's pcmpl-tla is much better at handling options (he parses
the output of -h). I try to complete for --dir and other options as
well. His handling of incremental completion is much better than mine,
though. My code handles -- files... and attempts to complete for all

I guess his version should be canonical. (Probably needs to be tweaked
a bit to follow Emacs Lisp style guidelines, but that's just me being
finicky.) In that case, I'll just... try to patch it to recognize
other options with arguments... <mumble>

Darn open source! Every time I get a cool idea, it turns out that not
only has someone else done it, but they've done it better. <laugh>

Sacha Chua <address@hidden> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, making computer science education fun - PGP Key ID: 0xE7FDF77C

reply via email to

[Prev in Thread] Current Thread [Next in Thread]