From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.help Subject: Re: Plist-put changes literal argument Date: Wed, 2 Sep 2020 20:18:12 -0400 Message-ID: <55491E0C-FFDF-43F8-853E-1CC826485D40@gmail.com> References: <30E631BA-6845-43C1-AB5E-4C02C4F44780@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18163"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 03 02:18:42 2020 Return-path: Envelope-to: geh-help-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 1kDcxd-0004b0-FY for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 03 Sep 2020 02:18:41 +0200 Original-Received: from localhost ([::1]:50058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDcxc-0004GG-CH for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Sep 2020 20:18:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDcxE-0004Fs-Qc for help-gnu-emacs@gnu.org; Wed, 02 Sep 2020 20:18:16 -0400 Original-Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]:44633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDcxD-0002PY-C5 for help-gnu-emacs@gnu.org; Wed, 02 Sep 2020 20:18:16 -0400 Original-Received: by mail-qv1-xf32.google.com with SMTP id j10so495804qvk.11 for ; Wed, 02 Sep 2020 17:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=yi1o4Z2y+p9QY/eb9SrQSZY8Q7YUEe0hshPGgkapLJE=; b=ayhF3jLtN9Rc5SPBd/NcA7SMCm2p8DHHhhQtarHa6fmOHzYiAWSSAKn1LE/6xtTJIq nb4HRp22aQwGt74I00//bdgoKeVmvjikr57z9OYN8L4hhHaactbEIMCAPj0aDbHiqnmt ssYxQTBbG7+TcHLr2apmFoM3pAHxbGRnpyR32UjL7sIK2q6fEo3+sPPqxCOOq6Dy0nff 2mQmeztXUWgvBB7HyWJ0Flu4DVg1brMfqvruiitd/nTO7Znas4Zc9H/qJlQQq+dyZbfj 60NXcOsNQ/Yr3NvOQ1PpG8g55OPjIuqSAT4OAdX5hWg7+ThY38gQEd1tAIW0Rd7nde+8 DK1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=yi1o4Z2y+p9QY/eb9SrQSZY8Q7YUEe0hshPGgkapLJE=; b=dN7xlChAztvI7uBlOVyvBG+hSLJHy2bG3o3gz7SwwJQOD98JQcVsbgSCjrPccu9dtU l5eP/quhy6zxbV55M6IVRIP+aN17Al53MhSHcynpAO4fxQNX9XH9fPjyVeuL8RrJXQdj y2t9ZeHlpnRIqE+G4eZ1eIFlh5njfF85HyS0fS1lUqmgmzxAAyvlJ4GtxxUY+NHrUdoO bvjfZimWzV8vPjI8l034TnyTlb0JarJm4FqCHJ8j5QZGXbRfzwS5Z2eQMQh87rWnyuh7 ehxa/37+w2bshxmsUZ6LE+TBw6ZlQryg5WEEvNlJgroPe8wT0zTP80iX4to1ENslRWBG o9Yg== X-Gm-Message-State: AOAM531jMq/E1E7h6DOzzmhuY50j/PF4/OxvZVHgd5YiH+L9wcArgSG1 C0PqdbTmaJucpshucqa/UP1TPK/10oKQpYj6 X-Google-Smtp-Source: ABdhPJwWD9X6bxiOoLC3CBG5g0HNk3P0SCh4GCr4Zp4Fix3OCdAeRuRxfg/D0dLbWpPtwutr/t/uaQ== X-Received: by 2002:a05:6214:17ca:: with SMTP id cu10mr2949qvb.6.1599092293960; Wed, 02 Sep 2020 17:18:13 -0700 (PDT) Original-Received: from ?IPv6:2601:98a:4200:9210:41e1:9df6:99e1:3bb0? ([2601:98a:4200:9210:41e1:9df6:99e1:3bb0]) by smtp.gmail.com with ESMTPSA id s18sm1030296qks.44.2020.09.02.17.18.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2020 17:18:13 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3608.120.23.2.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::f32; envelope-from=casouri@gmail.com; helo=mail-qv1-xf32.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123908 Archived-At: >=20 > I also tried setcar, same result. So Elisp doesn=E2=80=99t copy = arguments? >=20 > Yuan Ok, think more of it, it would be weird to make a full copy of cons (and = other non-primitive values) on function call. I wonder how do other = languages deal with this, because I never run into problems like this = (except for in Python, with its default argument values). Yuan=