all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Nic Ferrier <nferrier@ferrier.me.uk>
Cc: emacs-devel@gnu.org
Subject: RE: CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?))
Date: Fri, 26 Jul 2013 10:19:16 -0700 (PDT)	[thread overview]
Message-ID: <194749a2-39c2-47b8-8079-fb14e6843378@default> (raw)
In-Reply-To: <87y58t1cih.fsf_-_@ferrier.me.uk>

> > I read your proposal overview, Nic.  It's not clear to me just what
> > the differences would be from the Common Lisp package system.
> > Perhaps you could spell the differences out in more detail somewhere.
> >
> > But the closer we can get to the CL spec the better, IMO.  If we
> > could conform to it completely, that would be great.
> 
> I disagree. Emacs isn't CommonLisp, never has been CommonLisp and
> very likely, never will be CommonLisp.

Some of us nevertheless hope it will become closer in many respects.

> > Even keeping the same terminology, symbol names etc. as CL would
> > help.  It would help users who are coming from Common Lisp or who
> > happen to read Common Lisp doc.
> 
> But at the expense of muddying the waters for people who are not from
> that world.

"That world" is a longstanding one, with a rigorous, if informal, spec.

Emacs Lisp is younger (even if Emacs, in one form or another, is older
than Common Lisp itself, though not older than its ancestors).  And
Emacs Lisp has no spec - it is defined rigorously only by its (ever
moving) implementation.

And of course if Emacs adopts Common Lisp packages or similar then the
two worlds approach, and the waters become clearer with time and closeness.

> In Emacs world, we use "package" to mean something different from what
> CL "package" means.

That's a very recent introduction to the "Emacs world".  Hardly much of
a precedent.  "In [the] Emacs world" is a pretty bold way of describing
something we just introduced, as if it were essential to what Emacs Lisp
has always been.  It is a recent add-on - a welcome one, but hardly core.

And the question here is not about abandoning package.el etc.  It is
about the terminology: "package".  Who heard of Emacs "packages" a few
years ago?  Contrast that with who had heard of Common Lisp "packages".

> So right at the start that effort is doomed without
> a major change to Emacs 24.

Introducing proper packages (a la Common Lisp) would likely be a major
change to Emacs, yes.  And a welcome one, IMO.

> > Of course, adopting CL terminology in this regard should mean that
> > we would drop the terminology used so far for Emacs "packages".
> > An argument can be made that both uses of the word "package" are
> > somewhat unfortunate.
> 
> I am trying to make a namespace system that would be backwards
> compatible with Emacs and yet encourage future good behaviour.
> 
> CommonLisp terminology or compatibility is not a major aim of mine.

Too bad.  Emacs Lisp is already farther from Common Lisp than it should
be after 30-some years.



  reply	other threads:[~2013-07-26 17:19 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-26 14:08 adding namespaces to emacs-lisp (better elisp?) Nic Ferrier
2013-07-26 14:34 ` Drew Adams
2013-07-26 17:01   ` Pascal J. Bourguignon
2013-07-26 17:01   ` CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) Nic Ferrier
2013-07-26 17:19     ` Drew Adams [this message]
2013-07-26 18:26       ` Sebastian Wiesner
2013-07-26 18:53         ` Drew Adams
2013-07-26 21:08         ` Pascal J. Bourguignon
2013-07-26 18:23     ` Stefan Monnier
2013-07-26 18:32       ` Nic Ferrier
2013-07-26 18:45     ` Tom Tromey
2013-07-26 18:58       ` Drew Adams
2013-07-26 19:06         ` Nic Ferrier
2013-07-26 20:46           ` CommonLisp namespace system Lars Brinkhoff
2013-07-26 20:57             ` Drew Adams
2013-07-26 21:47               ` Nic Ferrier
2013-07-29 17:31                 ` Lars Brinkhoff
2013-07-26 20:57           ` CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) Drew Adams
2013-07-27  7:17           ` Richard Stallman
2013-07-27  8:13             ` Nic Ferrier
2013-07-27 11:43               ` Bastien
2013-07-27 12:00                 ` David Engster
2013-07-27 16:56                   ` Nic Ferrier
2013-07-27 23:52               ` Richard Stallman
2013-07-28  7:22                 ` Nic Ferrier
2013-07-28  8:18                   ` Jambunathan K
2013-07-28 12:10                   ` Richard Stallman
2013-07-28 13:48                     ` Nic Ferrier
2013-07-29 10:12                       ` Richard Stallman
2013-07-29 10:45                         ` Nic Ferrier
2013-07-30  0:31                           ` Richard Stallman
2013-07-27  9:37             ` CommonLisp namespace system Lars Brinkhoff
2013-07-26 19:42         ` CommonLisp namespace system (was Re: adding namespaces to emacs-lisp (better elisp?)) Drew Adams
2013-07-26 21:26       ` Juanma Barranquero
2013-07-26 21:06     ` Pascal J. Bourguignon
2013-07-26 21:44       ` Nic Ferrier
2013-07-27  7:16   ` adding namespaces to emacs-lisp (better elisp?) Richard Stallman
2013-07-26 15:43 ` Stefan Monnier
2013-07-26 16:56   ` Nic Ferrier
2013-07-26 18:18     ` Stefan Monnier
2013-07-26 19:00       ` Nic Ferrier
2013-07-26 20:59         ` Stefan Monnier
2013-07-26 21:43           ` Nic Ferrier
2013-07-26 21:59             ` Drew Adams
2013-07-26 22:21             ` Stefan Monnier
2013-07-26 22:33               ` Nic Ferrier
2013-07-27  0:51                 ` Stefan Monnier
2013-07-27  8:27                   ` Nic Ferrier
2013-07-27 14:12                     ` Stefan Monnier
2013-07-27 16:17                       ` Nic Ferrier
2013-07-27 17:28                         ` Stefan Monnier
2013-07-27 10:35                   ` Pascal J. Bourguignon
2013-07-26 22:00           ` Drew Adams
2013-07-27  0:49             ` Stefan Monnier
2013-07-27  1:13               ` Drew Adams
2013-07-27  7:02               ` Lars Brinkhoff
2013-07-27 10:33                 ` Pascal J. Bourguignon
2013-07-31  6:48                   ` Lars Brinkhoff
2013-07-27 10:31               ` Pascal J. Bourguignon
2013-07-27 14:14                 ` Stefan Monnier
2013-07-27 16:43                   ` Drew Adams
2013-07-26 17:21   ` Davis Herring

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=194749a2-39c2-47b8-8079-fb14e6843378@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=nferrier@ferrier.me.uk \
    /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.