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: Are two symbols `equal' iff they are `eq'? Date: Sun, 9 Aug 2015 09:38:38 -0700 (PDT) Message-ID: References: <87wpx5ia6y.fsf@mbork.pl> <512e2ad3-cc22-4500-8835-ee030b386689@default> <87oaig5us1.fsf@mbork.pl> 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 1439138349 14329 80.91.229.3 (9 Aug 2015 16:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Aug 2015 16:39:09 +0000 (UTC) To: Marcin Borkowski , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 09 18:38:58 2015 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 1ZOTce-0007ro-19 for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Aug 2015 18:38:56 +0200 Original-Received: from localhost ([::1]:55740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOTcd-00049D-BS for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Aug 2015 12:38:55 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOTcT-00047l-Pc for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 12:38:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOTcP-0003Su-2F for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 12:38:45 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOTcO-0003SZ-Pz for help-gnu-emacs@gnu.org; Sun, 09 Aug 2015 12:38:40 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t79GccIY027215 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 9 Aug 2015 16:38:39 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t79GccdF011056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 9 Aug 2015 16:38:38 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t79Gccas023760; Sun, 9 Aug 2015 16:38:38 GMT In-Reply-To: <87oaig5us1.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:106408 Archived-At: > Do I get it right that for two symbols to be `eq' it is enough for > them to have the same name and to be interned in the same obarray? Yes. Symbols are uniquely named in an obarray - there is only=20 one interned symbol with any given name. That's why `intern' and `intern-soft' work, to give you _the_ symbol with the given name. Note that you can create any number of uninterned symbols with the same name, just as you can create different symbols with the same name but interned in different obarrays.