unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: emacs-devel@gnu.org
Subject: Re: can `shuffle-vector' be moved?
Date: Fri, 13 May 2011 13:47:47 -0300	[thread overview]
Message-ID: <jwvy62a4kl1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87liyawox9.fsf@lifelogs.com> (Ted Zlatanov's message of "Fri, 13 May 2011 11:22:42 -0500")

> I was trying to say "miscellaneous functions that require cl-macs.el."
> I think the value of the loop-based `shuffle' is code brevity and
> clarity;

Since I'm not very intimate with `loop', the while form is clearer for
me, tho not enough to justify preferring one over the other.

> I mean that they all have the "cookie-" prefix while the package is
> called cookie1.el.

That's OK: the main rule is "use a prefix", if the prefix is exactly the
same as the file-name it's best, but it's not crucial.

> Yes, maybe we're at the tipping point where it's worth breaking up
> subr.el into subr-vec.el, subr-list.el, subr-alist.el, etc.  OTOH it's
> nice to have them in one place.

No, the main reason for a misc-lib.el would be for it to not be
preloaded, so the division wouldn't be based on the kind of
functionality provided but on whether those functions/macros are used
often or rarely.


        Stefan



  reply	other threads:[~2011-05-13 16:47 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 19:58 can `shuffle-vector' be moved? Ted Zlatanov
2011-05-13  2:03 ` Leo
2011-05-13  2:10   ` Stefan Monnier
2011-05-13  3:49     ` Ted Zlatanov
2011-05-13 13:57       ` Stefan Monnier
2011-05-13  3:53   ` Ted Zlatanov
2011-05-13  6:00     ` Kevin Rodgers
2011-05-13 14:48       ` Ted Zlatanov
2011-05-13 15:26         ` Stefan Monnier
2011-05-13 16:22           ` Ted Zlatanov
2011-05-13 16:47             ` Stefan Monnier [this message]
2011-05-13 16:51               ` Ted Zlatanov
2011-05-13  6:19 ` Thierry Volpiatto
2011-05-13 14:00   ` Stefan Monnier
2011-05-13 14:38     ` Ted Zlatanov
2011-05-13 17:13     ` Thierry Volpiatto

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwvy62a4kl1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).