From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: Why not push? Date: Mon, 16 Feb 2015 10:03:14 +0100 Message-ID: <86pp9a9qjx.fsf@example.com> References: <87h9unwk0r.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Marcin, Marcin Borkowski wrote: > I don't want to be nitpicking, but I'm just curious. I'm looking at the > function `org-split-string'. It uses (two times) the following > construction: > > (setq list (cons (something) list)) > > Is there any particular reason for not using `push' there? IIUC, Emacs developers did not like needing (require 'cl) in the packages' code base. Not sure why (they did not like it, or why they did not integrate such handy functions in the Emacs core). And it seems to have changed. They even have a lot of `cl-*' functions now. Though, for whatever reason, they don't have `cl-push', but well `cl-pushnew'... Not all that clear to me. Best regards, Seb -- Sebastien Vauban