GNU bug report logs - #40230
26.3; Add (remove|delete)-if(-not) to plain Emacs

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Wed, 25 Mar 2020 20:50:01 UTC

Severity: wishlist

Tags: notabug

Found in version 26.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40230 in the body.
You can then email your comments to 40230 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#40230; Package emacs. (Wed, 25 Mar 2020 20:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 25 Mar 2020 20:50:02 GMT) Full text and rfc822 format available.

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

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; Add (remove|delete)-if(-not) to plain Emacs
Date: Wed, 25 Mar 2020 13:49:24 -0700 (PDT)
Enhancement request: Please add simple, list-only `delete-if',
`delete-if-not', `remove-if', and `remove-if-not' functions to Emacs.

Simple list-only versions are fine.  It seems silly to load cl-seq.el,
which in turn requires cl-lib.el, just for such mundane, simple
workhorses.  In my libraries I redefine one or more of these (for
lists only) for individual libraries, to avoid users having to load
another library just for such a function.

This has been requested several times before, I believe.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40230; Package emacs. (Thu, 26 Mar 2020 23:47:03 GMT) Full text and rfc822 format available.

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

From: Juri Linkov <juri <at> linkov.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 40230 <at> debbugs.gnu.org
Subject: Re: bug#40230: 26.3; Add (remove|delete)-if(-not) to plain Emacs
Date: Fri, 27 Mar 2020 01:37:45 +0200
> Enhancement request: Please add simple, list-only `delete-if',
> `delete-if-not', `remove-if', and `remove-if-not' functions to Emacs.
>
> Simple list-only versions are fine.  It seems silly to load cl-seq.el,

cl-seq.el?  I thought that everyone uses seq.el nowadays
where seq-filter and seq-remove are autoloaded.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#40230; Package emacs. (Thu, 28 Jan 2021 08:39:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 40230 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#40230: 26.3; Add (remove|delete)-if(-not) to plain Emacs
Date: Thu, 28 Jan 2021 09:38:37 +0100
Juri Linkov <juri <at> linkov.net> writes:

>> Enhancement request: Please add simple, list-only `delete-if',
>> `delete-if-not', `remove-if', and `remove-if-not' functions to Emacs.
>>
>> Simple list-only versions are fine.  It seems silly to load cl-seq.el,
>
> cl-seq.el?  I thought that everyone uses seq.el nowadays
> where seq-filter and seq-remove are autoloaded.

Yup; seq is the recommended interface, so adding functions like these
would just be confusing.  Closing.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) notabug. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 28 Jan 2021 08:40:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 40230 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 28 Jan 2021 08:40:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Feb 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 60 days ago.

Previous Next


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