unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "cefstat@gmail.com" <cefstat@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: eval-string
Date: Mon, 5 Mar 2007 10:45:52 +0100	[thread overview]
Message-ID: <f7ccd24b0703050145l3c86fa32u95f218e524b9bf2d@mail.gmail.com> (raw)
In-Reply-To: <1173085355.418811.203690@t69g2000cwt.googlegroups.com>

On 5 Mar 2007 01:02:35 -0800, cefstat@gmail.com <cefstat@gmail.com> wrote:
> Is there a way to do something like
>
> (eval-string "(+ 2 3)")
>
> in my elisp code? Obviously, I want this expression to return 5.

(eval (read "(+ 2 3)"))  =>  5

             Juanma

  reply	other threads:[~2007-03-05  9:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-05  9:02 eval-string cefstat
2007-03-05  9:45 ` Juanma Barranquero [this message]
     [not found] ` <mailman.447.1173087961.7795.help-gnu-emacs@gnu.org>
2007-03-05 10:29   ` eval-string cefstat
2007-03-05 10:58     ` eval-string cefstat

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=f7ccd24b0703050145l3c86fa32u95f218e524b9bf2d@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=cefstat@gmail.com \
    --cc=help-gnu-emacs@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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).