From: Drew Adams <drew.adams@oracle.com>
To: Tom Browder <tom.browder@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: How do I use a var as a string?
Date: Thu, 28 Jul 2016 09:47:45 -0700 (PDT) [thread overview]
Message-ID: <9dd02d8f-a99b-4a41-8ab6-375619e05916@default> (raw)
In-Reply-To: <CAFMGiz9Qbyep_WdXdajDJx0qBv699HEe+zskrwwxAthkpCP1Fg@mail.gmail.com>
> (defvar my-str (concat "my " "string"))
> (print my-str)
>
> and get an error about void symbol my-str.
It works for me. Did you evaluate the `defvar', before trying to
evaluate the `print' - it sounds like you did not.
next prev parent reply other threads:[~2016-07-28 16:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 16:42 How do I use a var as a string? Tom Browder
2016-07-28 16:47 ` Drew Adams [this message]
2016-07-28 17:11 ` Tom Browder
[not found] ` <mailman.2218.1469725870.26859.help-gnu-emacs@gnu.org>
2016-07-29 2:39 ` Emanuel Berg
2016-07-29 14:50 ` Tom Browder
2016-07-29 14:59 ` Drew Adams
2016-07-29 15:06 ` Tom Browder
2016-07-29 16:52 ` Tom Browder
2016-07-29 17:20 ` John Mastro
2016-07-29 17:24 ` John Mastro
2016-07-29 17:56 ` Tom Browder
2016-07-29 18:39 ` Tom Browder
[not found] <mailman.2209.1469724157.26859.help-gnu-emacs@gnu.org>
2016-07-28 16:46 ` Emanuel Berg
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=9dd02d8f-a99b-4a41-8ab6-375619e05916@default \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tom.browder@gmail.com \
/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.