[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a suggested solution for better external' completion in certain emac
From: |
Kim F. Storm |
Subject: |
Re: a suggested solution for better external' completion in certain emacs modes |
Date: |
Fri, 12 Nov 2004 14:20:44 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Nic Ferrier <address@hidden> writes:
>> I thought these command would go thru the pty to the subprogram.
>> Are you thinking that Readline would talk to Emacs thru a socket?
>> That's ok if you make it work.
>
> No. I think they would go through the pty to the subprogram. I was
> suggesting that Readline would stop seeing the pty as a pty and treat
> it more like a stream.
That's a bad idea, imo.
Consider if the subprogram is a shell that can launch another program.
Then the readline extensions should only be used when the shell
has control, but not when other programs are running.
But how can you know when the shell is reading from the stream, or
when it is the sub-subprogram that's reading?
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:
rl_ready
rl_hold
rl_continue
rl_exit
to inform you of whether it makes any sense to use any of the
rl_api functions.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: a suggested solution for better external' completion in certain emacs modes, (continued)
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/09
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/09
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/10
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/11
- Re: a suggested solution for better external' completion in certain emacs modes, Kai Grossjohann, 2004/11/11
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/11
- Re: a suggested solution for better external' completion in certain emacs modes, Kai Grossjohann, 2004/11/11
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/11
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/12
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/12
- Re: a suggested solution for better external' completion in certain emacs modes,
Kim F. Storm <=
- Re: a suggested solution for better external' completion in certain emacs modes, Stefan, 2004/11/13
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/12
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/12
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/14
- Re: a suggested solution for better external' completion in certain emacs modes, Nic Ferrier, 2004/11/14
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/15
- Re: a suggested solution for better external' completion in certain emacs modes, Alex Schroeder, 2004/11/13
- Re: a suggested solution for better external' completion in certain emacs modes, Richard Stallman, 2004/11/14
show-paren-mode stuffed in latest CVS, Nic Ferrier, 2004/11/08