GNU bug report logs - #15171
24.3.50; (cl) `Common Lisp Compatibility' is incomplete

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 23 Aug 2013 20:21:01 UTC

Severity: minor

Tags: fixed

Merged with 15021

Found in version 24.3.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15171 in the body.
You can then email your comments to 15171 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15171; Package emacs. (Fri, 23 Aug 2013 20:21:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 Aug 2013 20:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; (cl) `Common Lisp Compatibility' is incomplete
Date: Fri, 23 Aug 2013 13:19:35 -0700 (PDT)
This appendix is only a brief summary, it seems, and can be quite
misleading.  I'm skeptical that it specifies "a list of all known
incompatibilities" between the Emacs cl* libraries and Common Lisp.

But it is correct that it _should_ specify them all.

For one thing, the handling of formal parameters that correspond to
special variables is an unmentioned incompatibility.  State that
you must use an explicit `let' inside the function to get the same
effect.

Likewise, the difference in syntax for characters, various other data
type differences, and the absence of read macros.  Not to mention CLOS.

The main message for this appendix should not be that the few things
that it mentions are the only incompatibilities, but rather that even
with cl* Emacs Lisp is quite different from Common Lisp.  IOW, it
gives exactly the wrong message, suggesting that the two are almost
the same.

This appendix should at least mention:

1. All important or large Common Lisp features that are lacking.

2. All important differences in behavior for features that might
seem at first sight to be the same or similar.

An additional detail - this text is backwards:

"The multiple-value return facility treats lists as multiple values,
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
since Emacs Lisp cannot support multiple return values directly."

It should say that because Elisp cannot support... it treats multiple
values as lists.

And "treats" is even too generous.  It should just say that Emacs
Lisp does not support binding or returning multiple values; instead,
it uses lists of values.


In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-08-17 on ODIEONE
Bzr revision: 113938 eliz <at> gnu.org-20130817171807-fxigtkbc6yy8m9iw
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS=-O0 -g3 LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15171; Package emacs. (Sat, 08 Feb 2014 04:50:02 GMT) Full text and rfc822 format available.

Message #8 received at 15171 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15171 <at> debbugs.gnu.org
Subject: Re: bug#15171: 24.3.50; (cl) `Common Lisp Compatibility' is incomplete
Date: Fri, 07 Feb 2014 20:48:15 -0800
Drew Adams <drew.adams <at> oracle.com> writes:

> This appendix is only a brief summary, it seems, and can be quite
> misleading.  I'm skeptical that it specifies "a list of all known
> incompatibilities" between the Emacs cl* libraries and Common Lisp.
>
> But it is correct that it _should_ specify them all.

Or we could just change the line "The following is a list of all known
incompatibilities between this package and Common Lisp as documented in
Steele" to "a list of some of the more glaring incompatibilities"...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Merged 15021 15171. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 08 Feb 2014 05:20:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15171; Package emacs. (Sun, 09 Feb 2014 23:47:01 GMT) Full text and rfc822 format available.

Message #13 received at 15171 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 15171 <at> debbugs.gnu.org
Subject: RE: bug#15171: 24.3.50; (cl) `Common Lisp Compatibility' is incomplete
Date: Sun, 9 Feb 2014 15:46:52 -0800 (PST)
> > This appendix is only a brief summary, it seems, and can be quite
> > misleading.  I'm skeptical that it specifies "a list of all known
> > incompatibilities" between the Emacs cl* libraries and Common
> > Lisp.
> >
> > But it is correct that it _should_ specify them all.
> 
> Or we could just change the line "The following is a list of all
> known incompatibilities between this package and Common Lisp as
> documented in Steele" to "a list of some of the more glaring
> incompatibilities"...

Some of the most _important_, OK.  But don't necessarily think
you've found an easy way to fix this bug.  The list would then
need to be fixed to specify the most important differences.

That might be easier that a comprehensive list of all differences,
but it is not trivial.  And it is not enough to suppose that the
list as it stands now is adequate in that regard either.

And no, not "most glaring", i.e., most obvious.  Users need
doc especially for what is not so obvious.  Most important, OK.
Most glaring, no.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15171; Package emacs. (Fri, 29 Apr 2016 13:27:02 GMT) Full text and rfc822 format available.

Message #16 received at 15171 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 15021 <at> debbugs.gnu.org, 15171 <at> debbugs.gnu.org
Subject: Re: bug#15171: 24.3.50; (cl) `Common Lisp Compatibility' is incomplete
Date: Fri, 29 Apr 2016 15:26:38 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Drew Adams <drew.adams <at> oracle.com> writes:
>
>> This appendix is only a brief summary, it seems, and can be quite
>> misleading.  I'm skeptical that it specifies "a list of all known
>> incompatibilities" between the Emacs cl* libraries and Common Lisp.
>>
>> But it is correct that it _should_ specify them all.
>
> Or we could just change the line "The following is a list of all known
> incompatibilities between this package and Common Lisp as documented in
> Steele" to "a list of some of the more glaring incompatibilities"...

I've now committed a similar wording.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 29 Apr 2016 13:27:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 15021 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 29 Apr 2016 13:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 28 May 2016 11:24:06 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:04 GMT) Full text and rfc822 format available.

bug Marked as fixed in versions 26.1. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:04 GMT) Full text and rfc822 format available.

bug No longer marked as fixed in versions 25.2. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 04 Dec 2016 02:50:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Jan 2017 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 222 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.