all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Subject: Re: server-eval-and-print only returns non-nil values
Date: Sun, 03 Jul 2011 15:57:50 +0200	[thread overview]
Message-ID: <m3pqlrlb4x.fsf@quimbies.gnus.org> (raw)
In-Reply-To: CAAeL0SS70xdZKU68cke8Mr_D5OT6p2v34E2eJXCB9Fw9k3Z-rg@mail.gmail.com

Juanma Barranquero <lekktu@gmail.com> writes:

> Is there any reason why server-eval-and-print only returns non-nil values?
>
>   C:\> emacsclient -e "(file-exists-p \"C:/\")"
>   t
>
>   C:> emacsclient -e "(file-exists-p \"Z:/\")"
>
>   C:>
>
> If not, I'd like to fix it with the trivial patch below.

Yeah, that confused me, too.

It's possible that such a change will break some scripts here and there,
but that may not be very likely...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




  reply	other threads:[~2011-07-03 13:57 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 [this message]
2011-07-04  0:52   ` Juanma Barranquero

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=m3pqlrlb4x.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --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.