From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: a suggested solution for better external' completion in certain emacs modes Date: Sun, 14 Nov 2004 01:01:12 -0500 Message-ID: References: <87smal64nc.fsf@orebokech.com> <87wtx45rag.fsf_-_@tapsellferrier.co.uk> <87k6svzzp5.fsf_-_@tapsellferrier.co.uk> <87is8bwf39.fsf@tapsellferrier.co.uk> <871xeyn25g.fsf@tapsellferrier.co.uk> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100412160 13589 80.91.229.6 (14 Nov 2004 06:02:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2004 06:02:40 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 14 07:02:36 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTDTA-0006NL-00 for ; Sun, 14 Nov 2004 07:02:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTDbn-0004h9-Jy for ged-emacs-devel@m.gmane.org; Sun, 14 Nov 2004 01:11:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTDbS-0004cZ-U7 for emacs-devel@gnu.org; Sun, 14 Nov 2004 01:11:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTDbR-0004c3-NL for emacs-devel@gnu.org; Sun, 14 Nov 2004 01:11:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTDbR-0004bz-H7 for emacs-devel@gnu.org; Sun, 14 Nov 2004 01:11:09 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTDSd-0001WK-0Y for emacs-devel@gnu.org; Sun, 14 Nov 2004 01:02:03 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CTDRo-00078F-D8; Sun, 14 Nov 2004 01:01:12 -0500 Original-To: Nic Ferrier In-reply-to: <871xeyn25g.fsf@tapsellferrier.co.uk> (message from Nic Ferrier on Fri, 12 Nov 2004 22:16:59 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29805 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29805 > What exactly would tell Readline to start treating the pty that way? > That is, how does Readline know it is time to read a completion > command rather than a line of input? An environment variable on the sub-program invocation. The environment variable can't be changed during sub-program execution. Are you saying that ALL communication with the subprogram will use this new command protocol? Not just when the user asks for completion?