From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.emacs.devel Subject: Re: a suggested solution for better external' completion in certain emacs modes Date: Sun, 14 Nov 2004 15:32:47 +0000 Message-ID: <87sm7cla3k.fsf@tapsellferrier.co.uk> 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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100446551 28706 80.91.229.6 (14 Nov 2004 15:35:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2004 15:35:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 14 16:35:40 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 1CTMPk-00078F-00 for ; Sun, 14 Nov 2004 16:35:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTMYP-0000bh-1F for ged-emacs-devel@m.gmane.org; Sun, 14 Nov 2004 10:44:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTMYI-0000bR-Gy for emacs-devel@gnu.org; Sun, 14 Nov 2004 10:44:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTMYI-0000bF-8S for emacs-devel@gnu.org; Sun, 14 Nov 2004 10:44:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTMYI-0000bC-0p for emacs-devel@gnu.org; Sun, 14 Nov 2004 10:44:30 -0500 Original-Received: from [80.168.156.78] (helo=owls-tree.tapsellferrier.co.uk) by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1CTMPS-00081T-0X; Sun, 14 Nov 2004 10:35:22 -0500 Original-Received: from [80.168.156.71] (helo=kanga ident=Debian-exim) by owls-tree.tapsellferrier.co.uk with esmtp (Exim 4.30 #1 (Debian)) id 1CTMJQ-00048S-98; Sun, 14 Nov 2004 15:29:08 +0000 Original-Received: from nferrier by kanga with local (Exim 4.30 #1 (Debian)) id 1CTMMx-0001Vt-QB; Sun, 14 Nov 2004 15:32:47 +0000 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 14 Nov 2004 01:01:12 -0500") 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:29810 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29810 Richard Stallman writes: > > 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? Yes. It would be a completely new way for Emacs to communicate with Readline programs. But it would still be implemented in comint so that comint could pick when to use the new method and when to use ordinary pty communication. -- Nic Ferrier http://www.tapsellferrier.co.uk