From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: why not "stripes" in: (let ((zebra 'stripes) ... ; strings vs symbols? Date: Mon, 30 Dec 2013 07:12:14 -0800 (PST) Message-ID: References: <20131229142332.GA7972@boo.workgroup> <52c172f4$0$2212$426a34cc@news.free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1388416366 31535 80.91.229.3 (30 Dec 2013 15:12:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Dec 2013 15:12:46 +0000 (UTC) To: Damien Wyart , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 30 16:12:51 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VxeWQ-0005RN-HK for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 16:12:50 +0100 Original-Received: from localhost ([::1]:58605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxeWQ-0006jN-2Q for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Dec 2013 10:12:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxeW7-0006j3-Bq for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 10:12:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VxeW0-0005hx-8G for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 10:12:31 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:38899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VxeW0-0005hm-0v for help-gnu-emacs@gnu.org; Mon, 30 Dec 2013 10:12:24 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBUFCKxa009609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Dec 2013 15:12:21 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBUFCJ9v016419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Dec 2013 15:12:20 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBUFCJVO027840; Mon, 30 Dec 2013 15:12:19 GMT In-Reply-To: <52c172f4$0$2212$426a34cc@news.free.fr> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95198 Archived-At: > * Thien-Thi Nguyen in gnu.emacs.help: > > A string is not atomic. >=20 > 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 >=20 > and that the only type not being an atom is the cons cell, and AFAIK, > strings are not cons cells. >=20 > 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'.