Menu

#487 move from cl to cl-lib

Unassigned
closed-fixed
nobody
None
5
2019-10-26
2017-02-14
Mike Kupfer
No

From the Info page "(cl) Organization" in Emacs 25.1.91:

Since the old ‘cl.el’ does not use a clean namespace, Emacs has a policy that packages distributed with Emacs must not load ‘cl’ at run time. (It is ok for them to load ‘cl’ at compile time, with ‘eval-when-compile’, and use the macros it provides.) There is no such restriction on the use of ‘cl-lib’. New code should use ‘cl-lib’ rather than ‘cl’.

MH-E uses cl but doesn't always avoid loading cl at runtime (see bug#25552 on debbugs.gnu.org). If we move to cl-lib, we could avoid this sort of bug and probably simplify the code.

Discussion

  • Mike Kupfer

    Mike Kupfer - 2017-02-14
    • status: unread --> open
     
  • Mike Kupfer

    Mike Kupfer - 2017-02-14

    See also #482.

     
  • Mike Kupfer

    Mike Kupfer - 2017-02-14

    In debbugs #25552, Glenn Morris noted that cl-lib is available from elpa.gnu.org for Emacs older than 24.3.

     
  • Mike Kupfer

    Mike Kupfer - 2019-10-26
    • status: open --> closed-fixed
     
  • Mike Kupfer

    Mike Kupfer - 2019-10-26

    This was fixed by

    commit 74b097b61c5201405ad7bc5bb76f1ca0e794184b
    Author: Stefan Monnier monnier@iro.umontreal.ca
    Date: Tue Aug 6 03:56:51 2019 -0400

    and will appear in Emacs 27.1.

     

Log in to post a comment.

MongoDB Logo MongoDB