all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Robert Weiner <rsw@gnu.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	rswgnu@gmail.com, 44365@debbugs.gnu.org
Subject: bug#44365: 27.1; intern-soft given a symbol never returns nil
Date: Sun, 01 Nov 2020 15:20:34 +0100	[thread overview]
Message-ID: <87zh41yx8t.fsf@igel.home> (raw)
In-Reply-To: <CA+OMD9go2+nFe=DfrNDKwEm9SRY46od8d-rj9C7YBwWjp3vpLQ@mail.gmail.com> (Robert Weiner's message of "Sun, 1 Nov 2020 08:55:57 -0500")

On Nov 01 2020, Robert Weiner wrote:

> "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.

There is no bug here.  Since the symbol already exists in the obarry, it
is returned.  If you pass it a symbol that doesn't exist in the obarray,
the function returns nil.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





      parent reply	other threads:[~2020-11-01 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-01  5:04 bug#44365: 27.1; intern-soft given a symbol never returns nil Robert Weiner
2020-11-01 13:19 ` Lars Ingebrigtsen
2020-11-01 13:55   ` Robert Weiner
2020-11-01 14:09     ` Lars Ingebrigtsen
2020-11-01 14:27       ` Philipp Stephani
2020-11-01 14:31       ` Philipp Stephani
2020-11-01 14:20     ` Andreas Schwab [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zh41yx8t.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=44365@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=rsw@gnu.org \
    --cc=rswgnu@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.