From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#44365: 27.1; intern-soft given a symbol never returns nil Date: Sun, 1 Nov 2020 15:31:49 +0100 Message-ID: References: <87blghcizx.fsf@gnus.org> <87mu01b24i.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25010"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Robert Weiner , rswgnu@gmail.com, 44365@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 01 15:33:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZEPx-0006Ml-Sg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 15:33:13 +0100 Original-Received: from localhost ([::1]:47954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZEPw-0004UB-Dz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 09:33:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZEPm-0004Tn-BM for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 09:33:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZEPm-0000gf-2F for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 09:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZEPl-0008Jj-W0 for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 09:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Nov 2020 14:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44365 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 44365-submit@debbugs.gnu.org id=B44365.160424114231223 (code B ref 44365); Sun, 01 Nov 2020 14:33:01 +0000 Original-Received: (at 44365) by debbugs.gnu.org; 1 Nov 2020 14:32:22 +0000 Original-Received: from localhost ([127.0.0.1]:36101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZEP8-000874-3j for submit@debbugs.gnu.org; Sun, 01 Nov 2020 09:32:22 -0500 Original-Received: from mail-oi1-f181.google.com ([209.85.167.181]:39040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZEOr-0007r6-So for 44365@debbugs.gnu.org; Sun, 01 Nov 2020 09:32:20 -0500 Original-Received: by mail-oi1-f181.google.com with SMTP id u127so11964119oib.6 for <44365@debbugs.gnu.org>; Sun, 01 Nov 2020 06:32:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3TEQLteS8B1k2G8yv25OInrpsmOqJNIutc9z1SjhN3k=; b=bcs00xHM/0UNCDUX+Mt4FhvTwHwGbxj3QTMvI3Bkrt9hrnN5mT092sJifO4ORh2m5n TPKIxcuyJMbQPT8Bx2GtBp+yWIeH+NiEsqy/N62SXOgjcTXKfoyBuXMDjWwtsWIsd/O1 Ov14UGRPqMSgS4vt/DjwTkhVJWjXD+6eJp7OTrM/F2N5Cz0u9ANekVtOQXoup2fSTTJa ebWQubJbwF0zyhiJy6MvPe4pWNWYFJUxRSdQ7LXN/3o0Xn5DLKSNjXdWCAQ5edUK1WDH I++VNRpbA8Y4OuG+x8ZZo/JHWzXYBII7IID3k3qTWFskHAI8ZQRleuVpqr8prXPSDXsH Jxdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3TEQLteS8B1k2G8yv25OInrpsmOqJNIutc9z1SjhN3k=; b=lmVSXnPLn4fkaHXjZj1UAeyr0aMwgFsZZuF2t+R4XBQgM0/ib4vF8tGtx7jHHL4bJx Cpc5RmyDyymuQ9e6ZFEIz83KVjYKCkRiVjhVQKhBsJM308J2jLNa/snNFhJjZWdtN+91 Fexe1lh3ctch/HBGSCPnPQJm+EqN4J5AtdQs56KNl+GqKwAovnQrzsPZWLRtWrKaubay sxSpxaMSpyBpb2ESQ+XzCYSlM+RYjhCS2HwHzJP0awSYT9tGISyHioVbD8kTXhTctw6j QRCx0K2JWa5NGaskoUmVwnaxyhg7y8ENVPYyFGVjVUQ7SzOodETymb/bSSDERAamr4/G pCtw== X-Gm-Message-State: AOAM532vQeGVPImZJGDbJskZOuASw3PLev+vdU8+Wrmsl/Y6mJ1xvbB2 YKEi27QJcnX0PEuYCtMi1KfeyTLwr5Bzbd/vCLM= X-Google-Smtp-Source: ABdhPJwZi5OZpI7ZaYb4fkLLCr92fZRYJbGvZT/+zv1iprI1EDMJ/PXhWqEgF/p0HwrYZr4DEpTd2hyJqPxmlIZ8qXY= X-Received: by 2002:aca:2405:: with SMTP id n5mr7769388oic.9.1604241120199; Sun, 01 Nov 2020 06:32:00 -0800 (PST) In-Reply-To: <87mu01b24i.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192385 Archived-At: Am So., 1. Nov. 2020 um 15:10 Uhr schrieb Lars Ingebrigtsen : > > Robert Weiner writes: > > > "Return the canonical symbol named NAME, or nil if none exists. > > NAME may be a string or a symbol. If it is a symbol, that exact > > symbol is searched for." > > > > So, the doc string must need changing if your view is correct. > > No, it's talking about searching for a symbol in a different obarray, I > think (the second argument to intern-soft): > > (intern-soft 'foo other-obarray) I don't think this can ever return non-nil (assuming other-obarray is a separate obarray from the default one), as the reader interns symbols in the default obarray, so the symbol isn't found in the other obarray: (let ((other-obarray (make-vector 10 nil))) (list (intern-soft 'foo other-obarray) (intern "foo" other-obarray) (intern-soft 'foo other-obarray))) => (nil foo nil)