From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Making seq.el an Elpa core package? Date: Sun, 10 Mar 2019 11:48:50 +0000 Message-ID: <87mum3x84d.fsf@russet.org.uk> References: <87o96qvnmz.fsf@petton.fr> <87o96qtn6i.fsf@mail.linkov.net> <87k1hexnvd.fsf@petton.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="162731"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux) Cc: Emacs Devel , Juri Linkov To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 10 12:49:49 2019 Return-path: Envelope-to: ged-emacs-devel@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 1h2wxf-000gEN-Pp for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 12:49:47 +0100 Original-Received: from localhost ([127.0.0.1]:43988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2wxe-00052H-GV for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2019 07:49:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2wwo-000529-AP for emacs-devel@gnu.org; Sun, 10 Mar 2019 07:48:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2wwn-0002tG-Hr for emacs-devel@gnu.org; Sun, 10 Mar 2019 07:48:54 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:48114) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h2wwm-0002sv-UZ for emacs-devel@gnu.org; Sun, 10 Mar 2019 07:48:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=zlEYb9oD0/hkd188D+gjJmkYmOu+7bDVLP2QM2NmObU=; b=u5AdUCdjgsCyJ+Crzavbf97Bp /W3+kTzo/inX0/rx/qsriTvMF1PAF/ZZjocSMJkXI/txE9h+2goyE9iSk7JTAnaGqZig8lNj3hg1G eEdsWTWnkkD5zgC9X22ka4wlVsR/zRGS8QWC3L48v11k5J0WLB7G+WW/z3jtmUC5CsgUt5pZ49JKP 2Wpls7/VXfYhP31oYYjH0yMjfdI0l3JAQ/OgRlY7HAZSZHi1FShIbXby6IbRM+YymhMNUkcK+PtTw 2Gcqf0WZlZ6FVjbz8XhFX84iIesAPxVqHUtbX6HWzhHzaIhplx7+QAM2VBK3Bs8vn3jy1p9KxyjO9 4/mWx8Ppw==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:57804 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1h2wwk-0001hO-Oo; Sun, 10 Mar 2019 11:48:50 +0000 In-Reply-To: <87k1hexnvd.fsf@petton.fr> (Nicolas Petton's message of "Mon, 04 Mar 2019 23:42:46 +0100") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 78.129.138.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234018 Archived-At: Nicolas Petton writes: > Juri Linkov writes: > >> This package is so useful that it should be preloaded in loadup.el. > > As of today seq.el requires cl-lib, but I think I could easily get rid > of the dependency. Anyway IIRC this was discussed some years ago when I > started working on seq.el, and at the time I also thought such a library > should come preloaded, but the opinion on this list was quite divided. I think that there is a lot to be said for explicit dependencies between packages and minimizing the number of things that are pre-loaded. Most packages load so quickly these days that the user rarely notices; or wouldn't if we removed the "loading" messages. >> It introduces to Elisp programming many necessary idioms that are >> expected from any modern programming language to help writing more >> clear and readable code. > > Thanks, I'm glad you like it :-) > >> Recently I implemented a new feature for isearch using seq.el. >> The resulting code is much shorter with seq than it would be >> when using ugly old style like `(delq nil (mapcar ...))'. >> >> But I can't submit a patch for isearch.el because currently >> seq.el is not loaded by default. > > Oh right, because isearch.el is itself preloaded. What would happen is isearch.el were not pre-loaded? Phil