From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Why not push? Date: Sun, 15 Feb 2015 12:35:35 +0100 Message-ID: <878ufz76go.fsf@gmx.us> References: <87h9unwk0r.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMxUM-0003WT-5p for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 06:35:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMxUH-00069s-6z for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 06:35:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:40693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMxUH-00069W-0X for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 06:35:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YMxUE-0002rb-Uq for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 12:35:42 +0100 Received: from 46.166.186.232 ([46.166.186.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Feb 2015 12:35:42 +0100 Received: from rasmus by 46.166.186.232 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Feb 2015 12:35:42 +0100 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 Marcin Borkowski writes: > Hi there, > > 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? These days you even have split-string in subr which you can make behave like org-split-string. Oh, and there's all the cl re-implementations... I like org-some better than cl-some just cause it sounds nice when you say it (try): org (tiny pause) some. —Rasmus -- When in doubt, do it!