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: Fri, 12 Nov 2004 16:25:14 -0500 Message-ID: References: <87smal64nc.fsf@orebokech.com> <87wtx45rag.fsf_-_@tapsellferrier.co.uk> <87k6svzzp5.fsf_-_@tapsellferrier.co.uk> <87is8bwf39.fsf@tapsellferrier.co.uk> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100294822 28186 80.91.229.6 (12 Nov 2004 21:27:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Nov 2004 21:27:02 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 12 22:26:56 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 1CSiwa-0006XH-00 for ; Fri, 12 Nov 2004 22:26:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSj59-0005aZ-SA for ged-emacs-devel@m.gmane.org; Fri, 12 Nov 2004 16:35:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSj4d-00059K-3B for emacs-devel@gnu.org; Fri, 12 Nov 2004 16:35:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSj4b-00058O-Sw for emacs-devel@gnu.org; Fri, 12 Nov 2004 16:35:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSj4b-00058B-Pm for emacs-devel@gnu.org; Fri, 12 Nov 2004 16:35:13 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSivx-0002sg-4j for emacs-devel@gnu.org; Fri, 12 Nov 2004 16:26:17 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CSiuw-0000j0-M3; Fri, 12 Nov 2004 16:25:18 -0500 Original-To: Nic Ferrier In-reply-to: <87is8bwf39.fsf@tapsellferrier.co.uk> (message from Nic Ferrier on Fri, 12 Nov 2004 10:12:42 +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:29787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29787 > If you are using comint, you have all the history in Emacs. > The history commands do not need to interact with the program. But comint's history is not as functional as the history provided by some Readline programs: That's too bad, but if you're in comint, you get comint's history feature. That is the only thing that makes sense. However, we could arrange for comint to save history from one invocation to the next, if that is desired. 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. 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?