From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: hash strangeness
Date: Sun, 02 Nov 2014 23:25:45 +0100 [thread overview]
Message-ID: <87fve12qae.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: mailman.12618.1414961152.1147.help-gnu-emacs@gnu.org
Tom <adatgyujto@gmail.com> writes:
> Thien-Thi Nguyen <ttn <at> gnu.org> writes:
>
>>
>> () Tom <adatgyujto <at> gmail.com>
>> () Sun, 2 Nov 2014 12:09:31 +0000 (UTC)
>>
>> At least I did not expect that. :)
>>
>> a quote before literal data w/ latent intent to modify?
>
> I expect '(a b c) to create a new list with these symbols
> every time it runs.
You expect wrong.
> The current behavior (at least in the given context) seems
> unuseful, though I'm not a lisp guru, so it's possible
> this behavior has its uses in other cases.
Use list, not quote, if you want to create a new list:
(list 'a 'b 'c)
--
__Pascal Bourguignon__ http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk
next prev parent reply other threads:[~2014-11-02 22:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-02 11:20 hash strangeness Tom
2014-11-02 12:09 ` Tom
2014-11-02 18:20 ` Thien-Thi Nguyen
2014-11-02 20:45 ` Tom
[not found] ` <mailman.12618.1414961152.1147.help-gnu-emacs@gnu.org>
2014-11-02 22:25 ` Pascal J. Bourguignon [this message]
2014-11-02 22:48 ` Barry Margolin
2014-11-03 21:29 ` Tom
2014-11-04 1:57 ` Robert Thorpe
2014-11-04 2:16 ` Michael Heerdegen
[not found] ` <<barmar-14233C.17480902112014@88-209-239-213.giganet.hu>
2014-11-04 3:04 ` Drew Adams
2014-11-04 7:39 ` Marcin Borkowski
[not found] <mailman.12577.1414927271.1147.help-gnu-emacs@gnu.org>
2014-11-02 18:43 ` Pascal J. Bourguignon
2014-11-02 20:48 ` Tom
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=87fve12qae.fsf@kuiper.lan.informatimago.com \
--to=pjb@informatimago.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.