From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 2056db3: Rationalize use of c[ad]+r, expunging cl-c[ad]\{3, 4\}r.
Date: Mon, 6 Apr 2015 17:40:58 +0000 [thread overview]
Message-ID: <20150406174058.GA3266@acm.fritz.box> (raw)
In-Reply-To: <jwv1tjxl8cd.fsf-monnier+emacsdiffs@gnu.org>
Hello, Stefan.
On Mon, Apr 06, 2015 at 09:03:03AM -0400, Stefan Monnier wrote:
> >> > * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc.
> >> This is wrong. cl-lib's definitions should *all* start with "cl-".
> > Hmmm. `cl-cdaar' is a nonsense. `eudc-cdaar' even more so. They
> > _must_ simply be `cdaar', surely? There are enough instances of these
> > functions in the code to matter (~311).
> No, there's nothing wrong with "cl-cXXXr".
The cl- prefix often carries overtones of "and something extra": e.g.
cl-mapcar is more general than mapcar, and so is cl-member more general
than just member. cl-caddr is however identical to caddr. But seeing
cl-caddr in source raises the subliminal question "what's it got that
caddr doesn't?"
> > Perhaps the answer is to put them somewhere other than cl*.el. Maybe
> > not subr.el, but perhaps some other similar place?
> If you want them without "cl-" then they need to go to subr.el.
> As I said, I'm not yet convinced it's a good idea, but I'm not
> necessarily dead set against it.
Let's just put them all in subr.el, then. All the cXXr definitions would
then be together. The defaliases can stay in cl-lib.el. I can't think
of anything that might go wrong.
> Stefan
--
Alan Mackenzie (Nuremberg, Germany).
next prev parent reply other threads:[~2015-04-06 17:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150405125047.6847.66246@vcs.savannah.gnu.org>
[not found] ` <E1Yek0l-0001n3-Mr@vcs.savannah.gnu.org>
2015-04-06 3:54 ` [Emacs-diffs] master 2056db3: Rationalize use of c[ad]+r, expunging cl-c[ad]\{3, 4\}r Stefan Monnier
2015-04-06 4:21 ` John Wiegley
2015-04-06 10:08 ` Alan Mackenzie
2015-04-06 13:03 ` Stefan Monnier
2015-04-06 14:05 ` John Wiegley
2015-04-07 21:33 ` Stefan Monnier
2015-04-06 17:40 ` Alan Mackenzie [this message]
2015-04-07 21:35 ` Stefan Monnier
2015-04-07 15:19 ` Artur Malabarba
2015-04-07 15:29 ` [Emacs-diffs] " Alan Mackenzie
2015-04-07 16:06 ` Artur Malabarba
2015-04-07 17:08 ` Artur Malabarba
2015-04-07 21:36 ` [Emacs-diffs] " Stefan Monnier
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=20150406174058.GA3266@acm.fritz.box \
--to=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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.