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
Subject: Re: a suggested solution for better external' completion in certain emacs modes
Date: Sat, 13 Nov 2004 18:32:35 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin)

> But how can you know when the shell is reading from the stream, or
> when it is the sub-subprogram that's reading?

Yup, that's a very difficult problem.

> If you go to the trouble of improving this, it would be better to
> have a control socket into readline which could ALSO inform comint
> whether the readline API is currently active or not, i.e. it would
> send messages like:

A separate socket is very limiting since it only works for the
"original" program.  If you run a program from within your original program,
it won't work any more.  E.g. it won't work for a shell run via ssh on
a remote host; it won't work for a shell run via `su' or `sudo'; ...


        Stefan




reply via email to

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