all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Why not push?
Date: Mon, 16 Feb 2015 10:03:14 +0100	[thread overview]
Message-ID: <86pp9a9qjx.fsf@example.com> (raw)
In-Reply-To: 87h9unwk0r.fsf@wmi.amu.edu.pl

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

  parent reply	other threads:[~2015-02-16  9:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-15 10:23 Why not push? Marcin Borkowski
2015-02-15 10:38 ` Nicolas Goaziou
2015-02-15 10:42   ` Eric Abrahamsen
2015-02-15 10:56     ` Marcin Borkowski
2015-02-15 12:26       ` Eric Abrahamsen
2015-02-15 22:31         ` Marcin Borkowski
2015-02-15 21:22   ` Yuri Niyazov
2015-02-15 21:31     ` Nicolas Goaziou
2015-02-15 21:40     ` Marcin Borkowski
2015-02-15 11:35 ` Rasmus
2015-02-15 22:33   ` Marcin Borkowski
2015-02-16  9:03 ` Sebastien Vauban [this message]
2015-08-05  0:00 ` Bastien Guerry
2015-08-05  6:21   ` Nicolas Goaziou
2015-08-05  7:07     ` Bastien Guerry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86pp9a9qjx.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.