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:27:39 +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="3653"; 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:28:10 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 1kZEL4-0000rS-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 15:28:10 +0100 Original-Received: from localhost ([::1]:47252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZEL3-0003hN-2a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 01 Nov 2020 09:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZEKw-0003h7-TD for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 09:28:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52784) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZEKw-00007x-KS for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 09:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kZEKw-00063d-Gz for bug-gnu-emacs@gnu.org; Sun, 01 Nov 2020 09:28:02 -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:28:02 +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.160424087723275 (code B ref 44365); Sun, 01 Nov 2020 14:28:02 +0000 Original-Received: (at 44365) by debbugs.gnu.org; 1 Nov 2020 14:27:57 +0000 Original-Received: from localhost ([127.0.0.1]:36097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZEKr-00063K-JW for submit@debbugs.gnu.org; Sun, 01 Nov 2020 09:27:57 -0500 Original-Received: from mail-ot1-f54.google.com ([209.85.210.54]:37653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kZEKp-000636-PP for 44365@debbugs.gnu.org; Sun, 01 Nov 2020 09:27:56 -0500 Original-Received: by mail-ot1-f54.google.com with SMTP id l36so2161681ota.4 for <44365@debbugs.gnu.org>; Sun, 01 Nov 2020 06:27:55 -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=iwGg0TP2ZcSMJMBz/KTc1GICBYOnYhPkbe2RlmI7j9w=; b=AyVItoAGDs37gE9DF/kXWjbVnMHHkyMZwa2UQWiW9L0CCj4+UShCs7X9mFtnaLACJT p5rPibbPIdNn/RswVT4OCF/KeC/zrtXEz5pixJVW1W9lOfbM42SyLqSjA4Ce7WF/bfcL 5ozWxhVxlepvOx57M/fQiBKpM0KJ5oHCTPNcI3kUX9ZUNRqfSP9q6SPmD8WZsbLAcvHh LIv3l2tbYD6cwpjKVYs2kFLEvGwWWAXsBRG0X/H8Verwg3akyR1VQAD2sJbeFOiH0Smv 9bOQWZTlmpoVUNHYcA5tIhbiE453pvHN9zawV+Nl4ijZsF9MMzFIdZYNw/5ZhFl8LuOm abEQ== 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=iwGg0TP2ZcSMJMBz/KTc1GICBYOnYhPkbe2RlmI7j9w=; b=kuMryIV7/lqhMhvt6HPyfoFY8QklzCQhXCMBochGwBH6JGOn7nRfoB1Lpn4hf+chE+ NFDqS0Z2TXSdfjc6dur3y0pQ/2XF06etjx6gqv32YBnNon4r2f/3KORgJSHGrRmZgEfK Rr2ZxycOTKmr5i4MOX1AqyJrg+5iLp8e5EE4YzLKIEbL8I95evuwJ6DBJeWBu10ys2IV VPD03fBYpRGCaVdv2f6iycqTxwkZjs3eBOXLrivBdPm+Zzo1+JOQa75bGqlRuXOJByYU JppzWw8NWgCnHvOQkeSobY0LvjtTFeryiGdeU8MZQ4W+rgIhxj6Jdoab7QD30x5z0icv EWcA== X-Gm-Message-State: AOAM532yNQGuPosZ9ZHb1Z6uMXNp7PQfmPjCjHIIP7v6F7TPpAIM8D5i cAhxPSzNLyURVaZq7+J7HwGPiBlpaWAzUJbeDgA= X-Google-Smtp-Source: ABdhPJwju2NmX/GEHDAMkE607IepoKSMVJfnX/ABDO4IjyqOPIMxBNSZ3IWxMY3oGKvMsmrQsv0uG6aqCgYqmhq+Lyo= X-Received: by 2002:a9d:4504:: with SMTP id w4mr8670515ote.36.1604240870024; Sun, 01 Nov 2020 06:27:50 -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:192384 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) > You can also search for a symbol in the current obarray, as long as the symbol is uninterned: (intern-soft '#:foo) (Not that this is very useful, searching for an uninterned symbol will always return nil)