From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH] Allow early-warning anniversaries in agends [was: Re: org-bbdb-birthday reminder] Date: Mon, 17 Aug 2015 18:57:30 +0200 Message-ID: <87d1yldf9h.fsf@gmx.us> References: <87a8ufdqte.fsf@free.fr> <871tf89qh8.fsf@fastmail.fm> <87wpwzlmpn.fsf@free.fr> <87lhdftjzy.fsf@fastmail.fm> <871tf690lg.fsf@pierrot.dokosmarshall.org> <878u9ehris.fsf@fastmail.fm> <87vbcg76lq.fsf@free.fr> <87pp2n6t7k.fsf_-_@pierrot.dokosmarshall.org> <87lhda6zrg.fsf@nicolasgoaziou.fr> <87lhd97to6.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNjG-0003Um-BJ for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 12:57:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRNjD-0001Re-07 for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 12:57:46 -0400 Received: from plane.gmane.org ([80.91.229.3]:51056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRNjC-0001OP-Qa for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 12:57:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZRNjA-0000yb-HE for emacs-orgmode@gnu.org; Mon, 17 Aug 2015 18:57:40 +0200 Received: from 46.166.188.198 ([46.166.188.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2015 18:57:40 +0200 Received: from rasmus by 46.166.188.198 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Aug 2015 18:57:40 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nick Dokos writes: > I did a mapcan originally and saw that it was an alias for cl-mapcan in > cl-extras.el and that got me scared: I vaguely recalled some rules about > using cl-* stuff, but I don't really remember the rules any more. For > future reference, are they written down somewhere? My understanding is (require 'cl-lib) is OK. We can probably kill a lot of our own prefixed functions by using cl-lib functions. And IMO we should. (require 'cl) is not good (other than when byte-compiling). Correct me if I'm wrong. So cl-mapcan is OK. > Also, does it matter if I use the alias "mapcan" instead of "cl-mapcan"? I think for newer Emacs the prefix is preferred. Sometimes the older versions do not have it (e.g. outline-mode). I don't know when the change was made.... Rasmus -- Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio