From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.bugs Subject: bug#75170: add-to-alist: new function Date: Sun, 29 Dec 2024 00:34:20 -0600 Message-ID: <874j2nm1zn.fsf@gnu.org> References: <878qrzm4sb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9008"; mail-complaints-to="usenet@ciao.gmane.io" To: 75170@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 29 07:35:27 2024 Return-path: Envelope-to: geb-bug-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 1tRmtb-0002Em-2E for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Dec 2024 07:35:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRmtG-0004ND-5o; Sun, 29 Dec 2024 01:35:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRmtD-0004N4-NQ for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 01:35:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tRmtC-0008Av-8Z for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 01:35:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=n+WTWopX1skhaMAwezbYHD8CgMSYo2Ov79yN2BObDUI=; b=o9HLt2+wrY1YFl0P5ChFm+fZ69+cj5giRv4Q+UAvSxZaC0mt2omqvuY06zlXTYrgvupoVtiGUmqcvNRpB0Han9CVIA9meg+Ie2CUl1Txa4tdn6gQAyxwHsgyzlajPgmIPBK44TteV7udvk5sYhcUzYvjO62SsrSzYdDmr2BoOOpPvDrbtu1kHDp236VW62bozK6/etozECW0uZnq7a0yWcN87iLzxDhVfkVDxRx94EkgoC0rnI3XXKklFa7at39RuVSGGIWWF0R7sTTIPGMO3sdVLlpccfsf5rlRygt/gdTW3YrZLI/vjybp3RlFxoJEWZfoJZmjtogPeL2Acimd1A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRmtB-00050O-Ui for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 01:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Roland Winkler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Dec 2024 06:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75170 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173545406619185 (code B ref -1); Sun, 29 Dec 2024 06:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2024 06:34:26 +0000 Original-Received: from localhost ([127.0.0.1]:53520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRmsc-0004zN-4R for submit@debbugs.gnu.org; Sun, 29 Dec 2024 01:34:26 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:50142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRmsZ-0004zE-Ku for submit@debbugs.gnu.org; Sun, 29 Dec 2024 01:34:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRmsY-0004Ld-N0 for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 01:34:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRmsY-0007zt-Ex for bug-gnu-emacs@gnu.org; Sun, 29 Dec 2024 01:34:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=n+WTWopX1skhaMAwezbYHD8CgMSYo2Ov79yN2BObDUI=; b=jomJw320dE+0l4YzxAHp suSkPlPljoy0XwDVskzBZ/ce+5pqpe9808OZPYHC6szEeLsmCrqVtht1cG1GEN99OOREraf95Xt9i NX9nIPhreoIeakoLnqdNj4j7aNcYeNFOv5/np+o/h5E87yleYFM61PcjfzZ/1NYGCB/Xn8kw3LxJs nzYShu0GyI99+adMKDD4fxjSkXwn7JfmTl3zwId4EnBmeObbA6eIvZ6+u2UjUb8+OkulWhTb9Rh69 zaNAlBkUaph1HvFDiFkJ/+E7wK3OHlgd5cqJA/pML+RDqPveDv6/z+qI4x2RKj7GItaWHDeEv+C2u floI9ahnlz8REw==; In-Reply-To: <878qrzm4sb.fsf@gnu.org> (Roland Winkler's message of "Sat, 28 Dec 2024 23:33:56 -0600") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:297930 Archived-At: On Sat, Dec 28 2024, Roland Winkler wrote: > On Mon, 12 Feb 2001, Stephen Gildea wrote: >> Here's a handy function I'd like to see added to Emacs 21: >> add-to-alist. I forgot to say: I could not find any follow-up or discussion of Stephen's proposal https://lists.gnu.org/archive/html/bug-gnu-emacs/2001-02/msg00066.html I know about the very different approaches underlying the function add-to-list compared to the macro pushnew. I followed the design of add-to-list as I am thinking (like Stephen) of similar use cases.