all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master b0042b7: Make CC Mode load cl-lib rather than cl in Emacs 26.
Date: Mon, 26 Jun 2017 18:20:37 +0000	[thread overview]
Message-ID: <20170626182037.GD2471@acm> (raw)
In-Reply-To: <jwvr2y663ph.fsf-monnier+gmane.emacs.devel@gnu.org>

Hello, Stefan.

On Mon, Jun 26, 2017 at 13:56:46 -0400, Stefan Monnier wrote:
> > cl-lib doesn't exist in those older Emacsen, neither does it exist in
> > XEmacs.  So doing what you suggest isn't a sensible thing to do.

> Lots of Emacs packages rely on cl-lib while supporting older Emacsen
> as well.  There are trade-offs, admittedly, but calling it "not
> sensible" is like me saying that your choice is ridiculous.

> My question was specifically to understand which part of the trade-offs
> made you choose one option over the other.

When a package relies on another package which is not part of the user's
Emacs, that forces that user either to search for and download that
other package, or to give up using the first package.  Both options are
likely to cause irritation and anger.

Doing so is unacceptable, IMAO, because it transfers effort from the
maintainer to the user.  The maintainer should do everything sensible to
smooth the way for his users.

> >> That would make you free to use any cl-lib functions and macros
> >> without having to add matching c--* macros.
> > The macros are necessitated by, amongst other things, name changes in
> > functions, some of which have had traditionally approved names for
> > decades.  (I have a copy of the Lisp Machine Manual from the 1980s to
> > back this up.)

> Many of your c--* macros are there to choose between the `cl` name or
> the `cl-lib` name, and every new macro/function you want to use from
> cl/cl-lib will require another one of those macros.

Yes.  One way to reduce this burden would be to make the traditional
names of these functions, without the "cl-" prefix, of equal status to
those with the prefix.

> Using cl-lib unconditionally would eliminate this need.

At great cost, as outlined above.

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2017-06-26 18:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170625140057.23973.37361@vcs0.savannah.gnu.org>
     [not found] ` <20170625140057.DC363208E3@vcs0.savannah.gnu.org>
2017-06-25 21:44   ` [Emacs-diffs] master b0042b7: Make CC Mode load cl-lib rather than cl in Emacs 26 Stefan Monnier
2017-06-26 16:31     ` Alan Mackenzie
2017-06-26 17:56       ` Stefan Monnier
2017-06-26 18:20         ` Alan Mackenzie [this message]
2017-06-26 19:58           ` Stefan Monnier
2017-06-26 20:30             ` Alan Mackenzie
2017-06-26 21:47               ` Stefan Monnier
2017-06-26 21:07           ` Richard Stallman

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=20170626182037.GD2471@acm \
    --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.