GNU bug report logs - #75170
add-to-alist: new function

Previous Next

Package: emacs;

Reported by: Roland Winkler <winkler <at> gnu.org>

Date: Sun, 29 Dec 2024 05:35:02 UTC

Severity: wishlist

Full log


Message #199 received at 75170 <at> debbugs.gnu.org (full text, mbox):

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: Roland Winkler <winkler <at> gnu.org>
Cc: rpluim <at> gmail.com, stepheng+emacs <at> gildea.com, monnier <at> gnu.org, arash <at> gnu.org,
 75170 <at> debbugs.gnu.org, stefankangas <at> gmail.com, eliz <at> gnu.org, acorallo <at> gnu.org
Subject: Re: bug#75170: add-to-alist: new function
Date: Wed, 22 Jan 2025 11:08:38 -0500
   I like Stephen's arguments for adding add-to-alist to emacs that are
   based on 20+ years of actually using it in his init file.

There are also examples of people not using it too, just because one
or two users have an idea doesn't mean that such a trivial utility
function makes sense to be added to Emacs.

What is wrong with just using add-to-list?  So far it seems to be
"personal preference" and some worry that it adds keys multiple times
into the alist bucket which seems like a trivial worry, and also
.. how alists are supposed to work.




This bug report was last modified 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.