From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [feature request] SOCK_SEQPACKET Date: Thu, 03 Dec 2009 20:50:46 -0500 Message-ID: References: <2e0e1cd40911232205g5a929ebdgd946f88afa3ecbd9@mail.gmail.com> <2e0e1cd40911241317w487d85eds4826f71cd46ab1b4@mail.gmail.com> <2e0e1cd40912030004m81c4cabq3cce18b60f124ae8@mail.gmail.com> <2e0e1cd40912031323m4f69bc5bq73ee0b6178d2ae21@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259891604 6734 80.91.229.12 (4 Dec 2009 01:53:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Dec 2009 01:53:24 +0000 (UTC) Cc: Simon Leinen , emacs-devel To: Daniel Hackney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 04 02:53:17 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NGNM7-000598-VR for ged-emacs-devel@m.gmane.org; Fri, 04 Dec 2009 02:53:12 +0100 Original-Received: from localhost ([127.0.0.1]:54158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGNM7-00052M-Bl for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 20:53:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGNM1-0004zb-Pp for emacs-devel@gnu.org; Thu, 03 Dec 2009 20:53:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGNLx-0004vJ-9h for emacs-devel@gnu.org; Thu, 03 Dec 2009 20:53:05 -0500 Original-Received: from [199.232.76.173] (port=48136 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGNLx-0004vG-6a for emacs-devel@gnu.org; Thu, 03 Dec 2009 20:53:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:20182 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGNLx-0002ri-8Y for emacs-devel@gnu.org; Thu, 03 Dec 2009 20:53:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArEEAIb6F0tFpZ1E/2dsb2JhbACBTtRYhDIEihk X-IronPort-AV: E=Sophos;i="4.47,338,1257138000"; d="scan'208";a="50653692" Original-Received: from 69-165-157-68.dsl.teksavvy.com (HELO pastel.home) ([69.165.157.68]) by ironport2-out.pppoe.ca with ESMTP; 03 Dec 2009 20:53:00 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 9D2FD86C4; Thu, 3 Dec 2009 20:50:46 -0500 (EST) In-Reply-To: <2e0e1cd40912031323m4f69bc5bq73ee0b6178d2ae21@mail.gmail.com> (Daniel Hackney's message of "Thu, 3 Dec 2009 16:23:32 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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: news.gmane.org gmane.emacs.devel:118224 Archived-At: >> That's all? With my patch plus yours, it works? > Yup. I have cookies flowing brilliantly between Emacs and Uzbl, and > simple scripts connect just like they should. Wonderful. It's installed and will hence be included in Emacs-23.2. > Without having looked at it, it seems like emacsclient could benefit > from record delimiters, as each command sent over the socket could be > delimited by a MSG_EOR, reducing the need for dealing with delimiting > records at the application layer. Not worth the trouble: we also want it to work over IP, so we're better off using SOCK_STREAM for both local and remote cases. Stefan