From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: Proposal: emacsclient --readonly Date: Sun, 24 Mar 2013 09:22:22 -0700 (PDT) Message-ID: <1364142142.92134.YahooMailNeo@web160904.mail.bf1.yahoo.com> References: <87zjxtq304.fsf@michael-laptop.hsd1.ma.comcast.net> Reply-To: Michael Mauger NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1364142147 28325 80.91.229.3 (24 Mar 2013 16:22:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Mar 2013 16:22:27 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 24 17:22:53 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UJnh5-00059e-Mp for ged-emacs-devel@m.gmane.org; Sun, 24 Mar 2013 17:22:51 +0100 Original-Received: from localhost ([::1]:38296 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJngi-0000lI-1M for ged-emacs-devel@m.gmane.org; Sun, 24 Mar 2013 12:22:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJnge-0000kz-Uo for emacs-devel@gnu.org; Sun, 24 Mar 2013 12:22:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJnge-0006wh-1h for emacs-devel@gnu.org; Sun, 24 Mar 2013 12:22:24 -0400 Original-Received: from nm22.bullet.mail.bf1.yahoo.com ([98.139.212.181]:41204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJngd-0006wP-Og for emacs-devel@gnu.org; Sun, 24 Mar 2013 12:22:23 -0400 Original-Received: from [98.139.212.145] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 24 Mar 2013 16:22:22 -0000 Original-Received: from [98.139.212.232] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 24 Mar 2013 16:22:22 -0000 Original-Received: from [127.0.0.1] by omp1041.mail.bf1.yahoo.com with NNFMP; 24 Mar 2013 16:22:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 936342.22625.bm@omp1041.mail.bf1.yahoo.com Original-Received: (qmail 94756 invoked by uid 60001); 24 Mar 2013 16:22:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1364142142; bh=VBeTSsZ9QqPwP4djU7aqoHY8rxFqpw45SsKI3wzfuIc=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=D5nnhwKDjnNM3RRw9n6B4a3PB0D/PbklW71NXPg2riXuwKkoqUxDSwTvgsGMOgkFfzumzpyllXih4ZJAv6btVPT75yiJHwdZvPBSMjig719LEcpYlJ6HYDWLOi26RalxbJLqPtmFITT66JkDVvd+FxWPW8crB0wlGj7Y7zffm38= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E3D2dEK2Y+lQCKD3XjXn3Tdot+5isFWM4++fDy4BQFFj/LeqUIJE6WoCrN0du//9Ljpt73/C40ESrjP2Kdc0pN6VHWtjwEGEoj/2/4n1aCZMRe3iHJAZzX0NSuDuFZ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j4gCj4BMAEBAQE- X-RocketYMMF: mmaug X-Mailer: YahooMailWebService/0.8.138.524 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 98.139.212.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158112 Archived-At: =0A=0A=0A=0A----- Original Message -----=0A> From: Stefan Monnier =0A> =0A>> server-custom-option-functions:=0A> [...]=0A>>= server-custom-option-list nil=0A> =0A> How 'bout a `server-custom-option-= function' which takes the list of=0A> arguments and returns a new list of a= rguments?=0A> =0A> =0A> =A0 =A0 =A0 =A0 Stefan=0A=0A=0AI don't understand y= our comment--the `server-custom-option-list'=A0=0Avariable is the list=A0of= options for parsing; the=A0=0A`server-custom-option-functions' variable is= the list=A0of functions to=A0=0Ahandle the options. =A0I can certainly see= how we can merge these two=0Abut I'm still confused by your comment.=0A=0A= If we were to merge the variables, we could end up with a list with=A0=0Aen= tries like=A0the following:=0A=0A=A0 =A0("OPTION" {PRED|t|nil|string-only} = HANDLER)=0A=0AI don't understand what arguments "takes the list of=A0argume= nts and=A0=0Areturns a new list of arguments" you are referring to? =A0Do y= ou mean=0Aparsing the command line args and removing the ones that it is=A0= =0Aprocessing? =A0I had looked at that a little, but figured I'd let the pa= rsing=0Abe done in C in emacsclient and just forward the unrecognized to li= sp.=0ABut even if we assemble the custom args into a list and try to handle= =A0=0Athem in lisp, how does that simplify the lisp side of the fence?=A0= =0A=0AThanks, Michael