ansi conformance: remove spurious package nicknames

This commit is contained in:
Daniel Kochmański 2019-03-15 19:22:35 +00:00
parent 72127722da
commit eee8ed7557
7 changed files with 10 additions and 8 deletions

View file

@ -107,6 +107,8 @@ in C code
such signals and simply not install a signal handler for floating point such signals and simply not install a signal handler for floating point
exceptions. This could lead to such signals being generated and caught by exceptions. This could lead to such signals being generated and caught by
another signal handler if ECL was used as an embedded library. another signal handler if ECL was used as an embedded library.
- Non-standard package nicknames (USER for COMMON-LISP-USER and LISP for
COMMON-LISP) have been removed.
* 16.1.3 changes since 16.1.2 * 16.1.3 changes since 16.1.2
** Announcement ** Announcement
Dear Community, Dear Community,

View file

@ -295,7 +295,6 @@ ecl_def_ct_base_string(str_LISP,"LISP",4,static,const);
ecl_def_ct_base_string(str_c,"C",1,static,const); ecl_def_ct_base_string(str_c,"C",1,static,const);
ecl_def_ct_base_string(str_compiler,"COMPILER",8,static,const); ecl_def_ct_base_string(str_compiler,"COMPILER",8,static,const);
ecl_def_ct_base_string(str_ffi,"FFI",3,static,const); ecl_def_ct_base_string(str_ffi,"FFI",3,static,const);
ecl_def_ct_base_string(str_user,"USER",4,static,const);
ecl_def_ct_base_string(str_keyword,"KEYWORD",7,static,const); ecl_def_ct_base_string(str_keyword,"KEYWORD",7,static,const);
ecl_def_ct_base_string(str_si,"SI",2,static,const); ecl_def_ct_base_string(str_si,"SI",2,static,const);
ecl_def_ct_base_string(str_sys,"SYS",3,static,const); ecl_def_ct_base_string(str_sys,"SYS",3,static,const);
@ -574,12 +573,12 @@ cl_boot(int argc, char **argv)
cl_core.lisp_package = cl_core.lisp_package =
ecl_make_package(str_common_lisp, ecl_make_package(str_common_lisp,
cl_list(2, str_cl, str_LISP), cl_list(1, str_cl),
ECL_NIL, ECL_NIL,
ECL_NIL); ECL_NIL);
cl_core.user_package = cl_core.user_package =
ecl_make_package(str_common_lisp_user, ecl_make_package(str_common_lisp_user,
cl_list(2, str_cl_user, str_user), cl_list(1, str_cl_user),
ecl_list1(cl_core.lisp_package), ecl_list1(cl_core.lisp_package),
ECL_NIL); ECL_NIL);
cl_core.keyword_package = cl_core.keyword_package =

View file

@ -56,7 +56,7 @@
;;; * Trick to make names shorter in C files ;;; * Trick to make names shorter in C files
;;; ;;;
(si::package-lock "CL" nil) (si::package-lock "CL" nil)
(rename-package "CL" "CL" '("COMMON-LISP" "LISP")) (rename-package "CL" "CL" '("COMMON-LISP"))
;;; ;;;
;;; * Add include path to not yet installed headers, and remove include flag ;;; * Add include path to not yet installed headers, and remove include flag

View file

@ -11,7 +11,8 @@ package is obtained when loading the ASDF library with @code{(require 'asdf)}.
@caption{ECL packages} @caption{ECL packages}
@multitable @columnfractions .25 .25 .2 .3 @multitable @columnfractions .25 .25 .2 .3
@headitem Name @tab Nickname @tab In module @tab Description @headitem Name @tab Nickname @tab In module @tab Description
@item @code{COMMON-LISP} @tab @code{CL, LISP} @tab @code{ECL core} @tab Main Common Lisp package. @item @code{COMMON-LISP} @tab @code{CL} @tab @code{ECL core} @tab Main Common Lisp package.
@item @code{COMMON-LISP-USER} @tab @code{CL-USER} @tab @code{ECL core} @tab User package.
@item @code{CLOS} @tab @code{MOP} @tab @code{ECL core} @tab Symbols from the AMOP. @item @code{CLOS} @tab @code{MOP} @tab @code{ECL core} @tab Symbols from the AMOP.
@item @code{EXT} @tab @code{ } @tab @code{ECL core} @tab ECL extensions to the language & library. @item @code{EXT} @tab @code{ } @tab @code{ECL core} @tab ECL extensions to the language & library.
@item @code{SYSTEM} @tab @code{SI, SYS} @tab @code{ECL core} @tab Functions and variables internal to the implementation. Never to be used. @item @code{SYSTEM} @tab @code{SI, SYS} @tab @code{ECL core} @tab Functions and variables internal to the implementation. Never to be used.

View file

@ -5,7 +5,7 @@
;; ;;
;; Configuration file for ECL ;; Configuration file for ECL
;; ;;
(in-package "LISP") (in-package "COMMON-LISP")
#+(and (not ecl-min) (not nacl) (not windows) (not mingw32) uname) #+(and (not ecl-min) (not nacl) (not windows) (not mingw32) uname)
(ffi:clines " (ffi:clines "

View file

@ -565,7 +565,7 @@ Prints information about OBJECT to STREAM."
(values)))) (values))))
(defun help* (string &optional (package "CL")) (defun help* (string &optional (package "CL"))
"Args: (string &optional (package-spec 'lisp)) "Args: (string &optional (package-spec 'common-lisp))
ECL specific. ECL specific.
Prints the documentation associated with those symbols in the specified Prints the documentation associated with those symbols in the specified
package whose print names contain STRING as substring. STRING may be a package whose print names contain STRING as substring. STRING may be a

View file

@ -628,7 +628,7 @@ Use special code 0 to cancel this operation.")
(function (funcall *tpl-prompt-hook*)) (function (funcall *tpl-prompt-hook*))
(t (fresh-line) (t (fresh-line)
(format t "~A~V,,,'>A " (format t "~A~V,,,'>A "
(if (eq *package* (find-package 'user)) (if (eq *package* (find-package 'cl-user))
"" ""
(package-name *package*)) (package-name *package*))
(- *tpl-level* *step-level* -1) (- *tpl-level* *step-level* -1)