From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: npostavs@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#35546: 27.0.50; setf return value for new alist entries is wrong Date: Tue, 07 May 2019 12:50:38 -0400 Message-ID: <85woj2xl7l.fsf@gmail.com> References: <87lfznzm08.fsf@gnu.org> <87ftpqmrz9.fsf@web.de> <878svimlbz.fsf@web.de> <85zhnyxqey.fsf@gmail.com> <8736lqmf5p.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="258387"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) Cc: 35546@debbugs.gnu.org, npostavs@gmail.com, Tassilo Horn To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 07 18:52:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hO3KR-00155p-LC for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 May 2019 18:52:31 +0200 Original-Received: from localhost ([127.0.0.1]:50090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO3KQ-0000A3-GU for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 May 2019 12:52:30 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hO3J1-0007Gr-Vq for bug-gnu-emacs@gnu.org; Tue, 07 May 2019 12:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hO3J0-0002SN-31 for bug-gnu-emacs@gnu.org; Tue, 07 May 2019 12:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hO3Iz-0002S5-T7 for bug-gnu-emacs@gnu.org; Tue, 07 May 2019 12:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hO3Iz-0000Fw-M1 for bug-gnu-emacs@gnu.org; Tue, 07 May 2019 12:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 May 2019 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35546 X-GNU-PR-Package: emacs Original-Received: via spool by 35546-submit@debbugs.gnu.org id=B35546.1557247847963 (code B ref 35546); Tue, 07 May 2019 16:51:01 +0000 Original-Received: (at 35546) by debbugs.gnu.org; 7 May 2019 16:50:47 +0000 Original-Received: from localhost ([127.0.0.1]:59439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO3Ik-0000FT-Or for submit@debbugs.gnu.org; Tue, 07 May 2019 12:50:46 -0400 Original-Received: from mail-it1-f178.google.com ([209.85.166.178]:54282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hO3Ij-0000FH-Tv for 35546@debbugs.gnu.org; Tue, 07 May 2019 12:50:46 -0400 Original-Received: by mail-it1-f178.google.com with SMTP id a190so27595505ite.4 for <35546@debbugs.gnu.org>; Tue, 07 May 2019 09:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=osquWGeY/5eqggXukWtW5KFkvhgCYjZTnV3rl/A4GY8=; b=nbu0Ff43xVKzOZF5MH742hu6V/wTHViodyopKKrv7+MB6B8gU/+ZY0AaG7ybw009Xu fWl49YJtlmanwtaYIXhJtKC8tBgQ5QvWFCnGaRmJdVhm2XJsemfxaF23L/A7XF887XCg ux+5n7yqImnsyfkKvXRC1LSuBYb5LA6BysaiNvhaHwv8zU7kcKwZa4Wt1R2AYyjWDSVf DJ3Zp/LxlBs/Uu1w+qyV+RTHulkzNWiT8xcbvkJ0GhRD+DMz/wUyLEUEDMNazz2cDDQi EpHSN8g2xQ2wVDK5AEvA8Fb0rhW6t2xHln/OzoTIMQYf1KSrUDNDmphphhN1oafyF0BC E+nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=osquWGeY/5eqggXukWtW5KFkvhgCYjZTnV3rl/A4GY8=; b=lT39525PU7RScrvTuVPuQeuOfQNyO9lcg91/JpU/bFWqiL9E7zzcJiFhT9qXGKY2yc 4XuiIVc/JjNiEOD7IUQH2yfsKMrrM7srkm1elzGIpPUwt/tDC05w8JvsaCLzFI0uStj/ pSIXn/aw2LuXY2MBjbFJmzN+3Z1c0LCvYn7useoFsk/czbz41ba5P7tK1fdIfcMnEhZW Nrn1PE7M5VXWOx8DOlIUngt89wLKV7WUlvCMlTy71CFTNSYQOxBh64HAYxgJxjPXoSBR 4tvMztGfK2XEx/XOBXidLQ6IgK1u1DJJL7ZVDqmWiFlZvdxgGs9pfzz5kWfoBP3uNIub PXZw== X-Gm-Message-State: APjAAAXdU4crzvJet2WmRh6psEPJDKvvp9slqyfSp0t8/enqC1BhF5hz 1oPnvwovAtIOyIGrfVWUXak= X-Google-Smtp-Source: APXvYqx64AKixHnvZtFGo5LNIUf/fDCJxL+n/Smep/yvRuzayVA+gIQZC+x5Ca586Ze6e8QfqWDOmw== X-Received: by 2002:a02:a1d6:: with SMTP id o22mr23443902jah.102.1557247840201; Tue, 07 May 2019 09:50:40 -0700 (PDT) Original-Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id q207sm6334030itc.37.2019.05.07.09.50.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 May 2019 09:50:39 -0700 (PDT) In-Reply-To: <8736lqmf5p.fsf@web.de> (Michael Heerdegen's message of "Tue, 07 May 2019 17:56:50 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158878 Archived-At: Michael Heerdegen writes: >> (setf (logand PLACE #x0F) V) > Anyway, there is no reason that the setter currently does not > return V, right? I can't see any compelling reason to return the whole PLACE value after update, so I guess it's just oversight. So yeah, it should return V just like the setters for `cl-subseq' and `nth' return the new value, not the whole sequence.