From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Sweeter Emacs Lisp Date: Tue, 16 Jul 2013 13:09:47 +0200 Message-ID: References: <8738rh6ftk.fsf@gnu.org> <87wqor45he.fsf@catnip.gol.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1373973037 10233 80.91.229.3 (16 Jul 2013 11:10:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 11:10:37 +0000 (UTC) Cc: fgallina@gnu.org, emacs-devel , Miles Bader To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 16 13:10:39 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uz39S-0002E3-Nd for ged-emacs-devel@m.gmane.org; Tue, 16 Jul 2013 13:10:38 +0200 Original-Received: from localhost ([::1]:54931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz39S-0000CM-9H for ged-emacs-devel@m.gmane.org; Tue, 16 Jul 2013 07:10:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz39N-000097-6n for emacs-devel@gnu.org; Tue, 16 Jul 2013 07:10:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uz39M-0002Vm-50 for emacs-devel@gnu.org; Tue, 16 Jul 2013 07:10:33 -0400 Original-Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:37316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uz39I-0002Th-9E; Tue, 16 Jul 2013 07:10:28 -0400 Original-Received: by mail-ee0-f45.google.com with SMTP id c1so292228eek.32 for ; Tue, 16 Jul 2013 04:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=hFpaG/fReacJeCoIqUmKrCti051WZN7IvC78P7voyNE=; b=RiMyJMi3qLH+joXdCth7G0WSm8VD5Ix41iiTB9WGjqSrVg3QfS+SUXDiVud9qURXNs Gt6YV6tLj7zz6SIJ61zyEkguq460LFKVlwMU9q8Vmipunx8u5hDkWW9520m5Kuw5GQcu MEnNP4Q8Z07/rg7dtgrhQbqgjKr1eIb93U1m+dqImEK5ZQPyZWPS+jvbD3YT8D6UyJ20 aMvqhagGy7SM5sqbS8AKNv/Hpn3UVA0ikH2/0jazeZdszcQPMuiSFP2W1omEy35WavJW Hb3a6KdXNcYA3CoIrrWF7474Kh2PA5VGYbiPM6USTOqdDR1AMcx4t0h3WLVy4jDQv2+K hRHA== X-Received: by 10.15.36.133 with SMTP id i5mr1131933eev.52.1373973027142; Tue, 16 Jul 2013 04:10:27 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Tue, 16 Jul 2013 04:09:47 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161923 Archived-At: On Tue, Jul 16, 2013 at 11:07 AM, Stefan Monnier wrote: > You can (require 'cl-lib) to get it. > It still can't be used in pre-loaded code, but that's the only > restriction, That's a policy, and not for technical reasons, is it? The past two weeks, while hacking desktop.el, often I would've loved to require 'cl-lib to use sequence functions. I didn't, because desktop.el, though not pre-loaded, it is so commonly used that loading cl-lib from it would be almost like forcing cl-lib into everybody's Emacs. Still, it is a bid sad to be forced to make that kind of decision. cl contains tons of useful things. OTOH, cl-lib is currently unconditionally required by 15 files (plus emacs-lisp/cl*.el): doc-view.el edmacro.el image-dired.el profiler.el shadowfile.el thumbs.el wid-edit.el calendar\todo-mode.el emacs-lisp\edebug.el emacs-lisp\ert.el eshell\em-ls.el eshell\em-term.el progmodes\ebrowse.el progmodes\gdb-mi.el progmodes\sql.el so it's a growing trend... Juanma