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: Change in emacsclient behavior Date: Fri, 31 Aug 2007 10:29:34 -0400 Message-ID: References: <86zm08gm5u.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188570608 8999 80.91.229.12 (31 Aug 2007 14:30:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 14:30:08 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 31 16:30:06 2007 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 1IR7VV-0006Tw-Pm for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 16:29:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR7VV-0005rn-48 for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 10:29:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IR7VH-0005nU-Ol for emacs-devel@gnu.org; Fri, 31 Aug 2007 10:29:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IR7VH-0005nC-42 for emacs-devel@gnu.org; Fri, 31 Aug 2007 10:29:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR7VG-0005n3-Vm for emacs-devel@gnu.org; Fri, 31 Aug 2007 10:29:43 -0400 Original-Received: from x-132-204-254-24.xtpr.umontreal.ca ([132.204.254.24] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IR7VB-0006yz-7J; Fri, 31 Aug 2007 10:29:37 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 972F9B462C; Fri, 31 Aug 2007 10:29:34 -0400 (EDT) In-Reply-To: <86zm08gm5u.fsf@lola.quinscape.zz> (David Kastrup's message of "Fri\, 31 Aug 2007 10\:09\:49 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.6 (newer, 3) 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:77490 Archived-At: > It really does not make any sense to let emacsclient do the option > parsing. It is much more flexible to let the server deal with that > since we then have the full power of Elisp available and all > information and variables we might want. So emacsclient should just > parse those initial options it needs to contact Emacs, and then hand > over the rest, and then set itself into a loop where it just does > Emacs' bidding. I don't know enough of the details yet either, but on principle I agree that emacsclient should be as stripped down as possible, so that most of the decisions (and code) is on the server.el side. Stefan