From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: start-process and set-process-filter sequence Date: Fri, 15 Apr 2011 12:01:29 +0200 Message-ID: <87y63bygsm.fsf@ambire.localdomain> References: <21glbp094jfn.fsf@gmail.com> <878vvdpgbo.fsf@gmail.com> <21gl39ll44z8.fsf@gmail.com> <87ipuh59ck.fsf@ambire.localdomain> <21glipugs1hy.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1302861741 18445 80.91.229.12 (15 Apr 2011 10:02:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2011 10:02:21 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: William Xu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 15 12:02:17 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QAfqz-0006wf-Hs for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2011 12:02:17 +0200 Original-Received: from localhost ([::1]:54854 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAfqy-0002VR-Qm for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Apr 2011 06:02:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:51944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAfqt-0002VH-5l for help-gnu-emacs@gnu.org; Fri, 15 Apr 2011 06:02:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAfqs-0000Ci-AO for help-gnu-emacs@gnu.org; Fri, 15 Apr 2011 06:02:11 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:50655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAfqr-0000C6-Vg for help-gnu-emacs@gnu.org; Fri, 15 Apr 2011 06:02:10 -0400 Original-Received: from ambire.localdomain (80.180.3.167) by smtp208.alice.it (8.5.124.08) id 4C1A2716173095DB; Fri, 15 Apr 2011 12:02:05 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1QAfqD-0004ja-Uj; Fri, 15 Apr 2011 12:01:29 +0200 In-Reply-To: <21glipugs1hy.fsf@gmail.com> (William Xu's message of "Fri, 15 Apr 2011 10:16:09 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 82.57.200.104 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80803 Archived-At: () William Xu () Fri, 15 Apr 2011 10:16:09 +0800 I see, Thanks. It looks like a bug or shortcoming, though. I was expecting the sequence to be similar to this: ,---- | Filter *filter =3D new Filter; | Process *proc =3D new Process(filter); | proc->start(); `---- See also =E2=80=98make-network-process=E2=80=99, which operates like that. You can see how its many (many) attributes necessitate a keyword-args approach. Probably =E2=80=98start-process=E2=80=99 was design= ed when things were less complex.