all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "N. Raghavendra" <nyraghu27132@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Applying intern-soft to a symbol
Date: Wed, 26 Apr 2017 01:21:55 +0530	[thread overview]
Message-ID: <87shkwb6zo.fsf@gmail.com> (raw)
In-Reply-To: <CAOj2CQTUVvoaPw-nOmW4gedtrvh3USxB1Rww37XA+RrcYfiAfw@mail.gmail.com> (John Mastro's message of "Mon, 24 Apr 2017 10:41:43 -0700")

At 2017-04-24T10:41:43-07:00, John Mastro wrote:

> The reader interned the symbol `quux' into the default obarray while
> reading the expression (intern-soft 'quux). Reading occurs before
> evaluation, so `quux' had been interned before the actual call to
> `intern-soft' occurred.

Thanks for the clarification.

I didn't understand that interning was done by the reader, though this
is clearly mentioned in the manual: `If the obarray does not contain a
symbol with that name, the reader makes a new symbol and adds it to the
obarray.  Finding or adding a symbol with a certain name is called
“interning” it, and the symbol is then called an “interned symbol”.'

Raghu.

--
N. Raghavendra <raghu@hri.res.in>, http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/



  reply	other threads:[~2017-04-25 19:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 15:07 Applying intern-soft to a symbol N. Raghavendra
2017-04-24 17:41 ` John Mastro
2017-04-25 19:51   ` N. Raghavendra [this message]
2017-04-25 23:20     ` Emanuel Berg

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=87shkwb6zo.fsf@gmail.com \
    --to=nyraghu27132@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.