all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: server-eval-and-print only returns non-nil values
Date: Mon, 4 Jul 2011 02:52:45 +0200	[thread overview]
Message-ID: <CAAeL0STAQPSvagDia1yUT33bk3G2d-+8VELHexCBL+_ZOGTYZw@mail.gmail.com> (raw)
In-Reply-To: <m3pqlrlb4x.fsf@quimbies.gnus.org>

On Sun, Jul 3, 2011 at 15:57, Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:

> 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.

    Juanma



      reply	other threads:[~2011-07-04  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-03 13:38 server-eval-and-print only returns non-nil values Juanma Barranquero
2011-07-03 13:57 ` Lars Magne Ingebrigtsen
2011-07-04  0:52   ` Juanma Barranquero [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAeL0STAQPSvagDia1yUT33bk3G2d-+8VELHexCBL+_ZOGTYZw@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.