From: Drew Adams <drew.adams@oracle.com>
To: Damien Wyart <damien.wyart@free.fr>, help-gnu-emacs@gnu.org
Subject: RE: why not "stripes" in: (let ((zebra 'stripes) ... ; strings vs symbols?
Date: Mon, 30 Dec 2013 07:12:14 -0800 (PST) [thread overview]
Message-ID: <ac5278c5-720c-4dd7-a7d0-eb4e840aba62@default> (raw)
In-Reply-To: <52c172f4$0$2212$426a34cc@news.free.fr>
> * Thien-Thi Nguyen <ttn@gnu.org> in gnu.emacs.help:
> > A string is not atomic.
>
> I don't understand, the elisp reference says that strings are atoms:
> http://www.gnu.org/software/emacs/manual/html_node/eintr/Lisp-Atoms.html
>
> and that the only type not being an atom is the cons cell, and AFAIK,
> strings are not cons cells.
>
> As a quick test, evaling (atom "mystring") returns t.
Yes, a string is a Lisp atom. This meaning of atomic says only that
it is not a cons.
I think what TTN meant perhaps is that a string is also a sequence
(an array) of characters, i.e., a collection.
See (elisp) `String Basics'.
next prev parent reply other threads:[~2013-12-30 15:12 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 14:23 why not "stripes" in: (let ((zebra 'stripes) ... ; strings vs symbols? Gregor Zattler
2013-12-29 16:00 ` Drew Adams
2013-12-30 11:24 ` Thien-Thi Nguyen
[not found] ` <mailman.10682.1388402467.10748.help-gnu-emacs@gnu.org>
2013-12-30 13:19 ` Damien Wyart
2013-12-30 15:12 ` Drew Adams [this message]
2013-12-30 17:21 ` Thien-Thi Nguyen
2013-12-31 17:52 ` Emanuel Berg
[not found] <mailman.10627.1388327081.10748.help-gnu-emacs@gnu.org>
2013-12-29 23:39 ` Emanuel Berg
2013-12-30 15:27 ` Barry Margolin
-- strict thread matches above, loose matches on Subject: below --
2013-12-30 16:46 Rustom Mody
2014-01-01 4:53 ` Rustom Mody
2014-01-02 5:30 ` Rustom Mody
[not found] ` <mailman.10827.1388640687.10748.help-gnu-emacs@gnu.org>
2014-01-02 14:31 ` Emanuel Berg
2014-01-03 5:00 ` Yuri Khan
[not found] ` <mailman.10894.1388725210.10748.help-gnu-emacs@gnu.org>
2014-01-03 23:47 ` Emanuel Berg
[not found] ` <mailman.10770.1388552064.10748.help-gnu-emacs@gnu.org>
2014-01-01 17:26 ` Emanuel Berg
[not found] <mailman.10695.1388422033.10748.help-gnu-emacs@gnu.org>
2013-12-31 18:24 ` Emanuel Berg
2014-01-01 2:00 ` Evans Winner
2014-01-01 17:29 ` Emanuel Berg
2014-01-01 19:02 ` Emanuel Berg
2014-01-02 4:28 ` Stefan Monnier
2014-01-02 4:39 ` Yuri Khan
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=ac5278c5-720c-4dd7-a7d0-eb4e840aba62@default \
--to=drew.adams@oracle.com \
--cc=damien.wyart@free.fr \
--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).