all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: relekarpayas@gmail.com, emacs-devel@gnu.org
Subject: Re: No to CL packages
Date: Fri, 28 Oct 2022 17:59:32 -0400	[thread overview]
Message-ID: <E1ooXO0-0007hq-AR@fencepost.gnu.org> (raw)
In-Reply-To: <m24jvtvnpz.fsf@Mini.fritz.box> (message from Gerd Möllmann on Mon, 24 Oct 2022 06:40:08 +0200)

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > I see no need to invent yet another package system.

We already have it, not quite finished.

  > > With that, we will be able to implement packages that work reliably
  > > and without ambiguities.

  > You mention reliability and ambiguity.  What do you mean, in a concrete
  > example?

I can't write an example of Common Liso packages -- it was 40 years
ago that I implemented them for the Lisp Machine.  But I recall what
the unreliability was.  With CL packages, the reader searched a list
of packages (specified by the current package) for a symbol with the
name just read.  This means that the unexpected presence of a symbol
with that name, in an early package in the list, could alter the
meaning.

If the list includes packages foo abd bar, and you write `my-hack'
expecting the symbol to be found in bar, but unexpectedly foo contains
a symbol named my-hack, you will get that one.

  > In case you're thinking in terms of the pre-CL package system that some
  > Lisp machines had in the 80s, please read chapter 11 of "Common Lisp the
  > Language 2nd edition" by Guy Steele.  CL's package system is not like
  > the older one.

I implemented packages according to the CL specifications.  Perhaps
the specifications for packages have been changed since then.  I'm
willing to look at that.

Being hundreds of messages backlogged from the past 10 days, I'd
rather not try to download the whole CL specs and search through them.
Would you please email me that specific chapter?

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





  reply	other threads:[~2022-10-28 21:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-21 15:24 [External] : CL packages landed Payas Relekar
2022-10-21 20:13 ` Drew Adams
2022-10-23 19:11   ` No to CL packages Richard Stallman
2022-10-24  4:40     ` Gerd Möllmann
2022-10-28 21:59       ` Richard Stallman [this message]
2022-10-29  5:18         ` Gerd Möllmann

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=E1ooXO0-0007hq-AR@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=relekarpayas@gmail.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 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.