From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Why not push? Date: Sun, 15 Feb 2015 23:33:03 +0100 Message-ID: <87zj8evm8w.fsf@wmi.amu.edu.pl> References: <87h9unwk0r.fsf@wmi.amu.edu.pl> <878ufz76go.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN7kS-0007UI-M4 for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 17:33:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN7kP-00038Q-H9 for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 17:33:08 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:36758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN7kP-00038D-B7 for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 17:33:05 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id CB2CB5207B for ; Sun, 15 Feb 2015 23:33:04 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sXSGYWuNuXEc for ; Sun, 15 Feb 2015 23:33:04 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 8044F52063 for ; Sun, 15 Feb 2015 23:33:04 +0100 (CET) In-reply-to: <878ufz76go.fsf@gmx.us> 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 On 2015-02-15, at 12:35, Rasmus wrote: > Marcin Borkowski writes: > >> Hi there, >> >> I don't want to be nitpicking, but I'm just curious. I'm looking at t= he >> 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? > > These days you even have split-string in subr which you can make behave > like org-split-string. Interesting. I'll look into it. > Oh, and there's all the cl re-implementations... I like org-some bette= r > than cl-some just cause it sounds nice when you say it (try):=20 Yes, it seems to me that reinventing the wheel is quite common in Emacs libraries. > org (tiny pause) some. At least one lame pun comes to mind... > =E2=80=94Rasmus Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University