From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: server-eval-and-print only returns non-nil values Date: Mon, 4 Jul 2011 02:52:45 +0200 Message-ID: References: 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 1309740839 21411 80.91.229.12 (4 Jul 2011 00:53:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2011 00:53:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 02:53:55 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QdXQA-0004sE-OJ for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2011 02:53:54 +0200 Original-Received: from localhost ([::1]:35582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdXQ9-0005vL-RE for ged-emacs-devel@m.gmane.org; Sun, 03 Jul 2011 20:53:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdXPp-0005uf-49 for emacs-devel@gnu.org; Sun, 03 Jul 2011 20:53:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdXPj-0003Hd-KX for emacs-devel@gnu.org; Sun, 03 Jul 2011 20:53:32 -0400 Original-Received: from mail-pv0-f169.google.com ([74.125.83.169]:63527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdXPi-0003HW-Tv for emacs-devel@gnu.org; Sun, 03 Jul 2011 20:53:27 -0400 Original-Received: by pvc12 with SMTP id 12so5220553pvc.0 for ; Sun, 03 Jul 2011 17:53:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=DLe1+FTnjibHYQt2p9zQ0JeOHcluNJzK2U/rUQUW5b8=; b=vW+yWMIUMc+IQC4uQT5IaVvzU297PsSGt9SxKu6UP18kbsu3CnnK6vmoe+pDK5qf4k 19C2aZcxzE0Z/x9BFUFsDPJiGW2QGOZTWbhVX0n1AlNPnjlzadaR14lAOtpXp043H6Ac J+SRQyZqDf9Ycb7ALEe0tayaaLQC2VOEiZupk= Original-Received: by 10.143.12.16 with SMTP id p16mr2583742wfi.50.1309740805268; Sun, 03 Jul 2011 17:53:25 -0700 (PDT) Original-Received: by 10.142.48.6 with HTTP; Sun, 3 Jul 2011 17:52:45 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.169 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:141511 Archived-At: On Sun, Jul 3, 2011 at 15:57, Lars Magne Ingebrigtsen wrot= e: > It's possible that such a change will break some scripts here and there, > but that may not be very likely... If they break, is because they are using undocumented behavior, because AFAICS neither "emacsclient -h" -e, --eval Evaluate the FILE arguments as ELisp expressions nor section 38.2 "`emacsclient' Options" of the Emacs manual `-e' `--eval' Tell Emacs to evaluate some Emacs Lisp code, instead of visiting some files. When this option is given, the arguments to `emacsclient' are interpreted as a list of expressions to evaluate, _not_ as a list of files to visit. say anything about return values. So I think I'll check in the change and wait for the breakage. =C2=A0 =C2=A0 Juanma