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: Thu, 11 Nov 2004 09:37:21 +0000 Message-ID: References: <87smal64nc.fsf@orebokech.com> <87wtx45rag.fsf_-_@tapsellferrier.co.uk> <87k6svzzp5.fsf_-_@tapsellferrier.co.uk> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100166985 12313 80.91.229.6 (11 Nov 2004 09:56:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Nov 2004 09:56:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 11 10:56:14 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 1CSBgb-0001fC-00 for ; Thu, 11 Nov 2004 10:56:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSBp5-0006ym-G6 for ged-emacs-devel@m.gmane.org; Thu, 11 Nov 2004 05:04:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSBVc-00034R-Mm for emacs-devel@gnu.org; Thu, 11 Nov 2004 04:44:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSBVT-00032m-VK for emacs-devel@gnu.org; Thu, 11 Nov 2004 04:44:45 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSBVR-00032H-Lh for emacs-devel@gnu.org; Thu, 11 Nov 2004 04:44:42 -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 1CSBMs-0007Wm-Dg; Thu, 11 Nov 2004 04:35:50 -0500 Original-Received: from [217.207.145.34] (helo=kanga) by owls-tree.tapsellferrier.co.uk with esmtp (Exim 4.30 #1 (Debian)) id 1CSBL7-00066A-CG; Thu, 11 Nov 2004 09:34:01 +0000 Original-Received: from nferrier by kanga with local (Exim 4.30 #1 (Debian)) id 1CSBOL-0000Ku-L4; Thu, 11 Nov 2004 09:37:21 +0000 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 10 Nov 2004 22:14:48 -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:29733 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29733 ") Message-ID: <873bzgbub2.fsf@tapsellferrier.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Richard Stallman writes: > Emacs sends: (rl_complete "select * from ") > > psql/Readline accepts the command, performs it and then: > > That I can understand. I think there needs to be some sort of quoting > convention, so that real user input can be distinguished from commands > to Readline itself. > > I don't understand why there needs to be more than one command. What > is it that Emacs needs to do other than use rl_complete? What about history? Emacs' comint mode keeps quite a small history by default and also doesn't save the history in a file, many Readline programs do offer this. If one used a quoting convention as you suggested then only one or two commands would be necessary. A quoting convention would be quite neat... but the trouble is it's difficult to choose a quote. So I was proposing a completly new way of communicating with Readline. But maybe I should look again at a quoting convention. -- Nic Ferrier http://www.tapsellferrier.co.uk