Bug#608741: discrepancy between documentation and config /etc/sbcl.rc
Darren Hoo
darren.hoo at gmail.com
Mon Jan 3 09:19:36 UTC 2011
Package: sbcl
Version: 1:1.0.40-0
Severity: minor
it says in /etc/sbcl.rc:
;;; -*- Lisp -*-
;;; this file gets installed as /etc/sbcl.rc and run on every
;;; invocation of sbcl
but as I tested, It never got run on every invocation of sbcl
from command line.
As we can see from src/toplevel.lisp:
(defun sysinit-pathname ()
(or (let ((sbcl-homedir (sbcl-homedir-pathname)))
(when sbcl-homedir
(probe-file (merge-pathnames "sbclrc" sbcl-homedir))))
#!+win32
(merge-pathnames "sbcl\\sbclrc"
(sb!win32::get-folder-pathname
sb!win32::csidl_common_appdata))
#!-win32
"/etc/sbclrc"))
It will only load /etc/sbclrc instead of /etc/sbcl.rc
Actually /etc/sbcl.rc will only got loaded when
common-lisp-controller is trying to install-clc sbcl.
So if /etc/sbcl.rc is intended to be loaded only during
install-clc time. The documentation above should be updated
to reflect this. Otherwise /etc/sbcl.rc should be renamed
to /etc/sbclrc and install-clc.lisp should also get updated
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=zh_CN.utf8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sbcl depends on:
ii common-lisp-controller 7.6 Common Lisp source and compiler ma
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
Versions of packages sbcl recommends:
ii binfmt-support 1.2.18 Support for extra binary formats
Versions of packages sbcl suggests:
ii sbcl-doc 1:1.0.40-0 Documentation for Steel Bank Commo
ii sbcl-source 1:1.0.40-0 Source code files for SBCL
ii slime 1:20101220-1 Superior LISP Interaction Mode for
-- no debconf information
More information about the pkg-common-lisp-devel
mailing list