emacs-devel
[Top][All Lists]
Advanced

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

Re: a suggested solution for better external' completion in certain emac


From: Stefan Monnier
Subject: Re: a suggested solution for better external' completion in certain emacs modes
Date: Mon, 08 Nov 2004 19:01:52 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

> - Emacs starts a Readline program, eg: psql (the PostgreSQL client)
>   with a special option specifying signifying this mode of operation.

A command-line argument is probably a bad idea (for cases like when you
start psql via a script (or a make file), ...).  An env-var would be good.

> This seems like it wouldn't be that hard to add to Emacs and probably
> not to Readline either.

Sounds like a good idea.

Such tools often offer things like a `listcompletions' commands which
Emacs can use to implement the completion itself.  Such a thing is used by
GUD for gdb.  Standardizing support for such things directly in comint might
also be a good idea, tho not as good because it only works for those
programs that go to the trouble of providing a `listcompletions' command.


        Stefan





reply via email to

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