Clozure / ccl

Clozure Common Lisp
http://ccl.clozure.com
Apache License 2.0
850 stars 103 forks source link

init file not loaded #444

Closed jhcloos closed 1 year ago

jhcloos commented 1 year ago

running 1.12.1 on a gentoo box, i cannot see any indication that it even tries to load ~/.ccl-init.lisp

there is nothing in an strace and the contents do not get executed.

and the only hit for .ccl-init.lisp in the repo is in the file doc/manual/install.ccldoc.

xrme commented 1 year ago

Maybe there is some confusion about what the "home:" logical host is?

On my Mac, I see:

? (probe-file "home:")
#P"/Users/rme/"
? (probe-file "~/")
#P"/Users/rme/"

The special variable *ccl-init-file* contains the name of the init file.

(defvar *ccl-init-file*
  #+unix '("home:ccl-init" "home:\\.ccl-init")
  #+windows "home:ccl-init"
  "Global default init file for CCL. This file will be loaded by the first listener process.
   It's probably a better idea to specialize application-init-file than to override this value.")
edoneel commented 1 year ago

Hi,

So where in the source is the logical host home: defined?

I looked and nothing looked like the right place.

And is there is some way of listing all the logical hosts that are defined?

Thanks.

cheers

bruce

On 2023-04-25T02:15:43.000+02:00, R. Matthew Emerson @.***> wrote:

 Maybe there is some confusion about what the "home:" logical host  is?    On my Mac, I see:    ? (probe-file "home:")  #P"/Users/rme/"  ? (probe-file "~/")  #P"/Users/rme/"    The special variable ccl-init-file contains the name of the init  file.    (defvar ccl-init-file    #+unix '("home:ccl-init" "home:\.ccl-init")    #+windows "home:ccl-init"    "Global default init file for CCL. This file will be loaded by the first listener process.     It's probably a better idea to specialize application-init-file than to override this value.")    —  Reply to this email directly, view it on GitHub  [https://github.com/Clozure/ccl/issues/444#issuecomment-1520982815],  or unsubscribe  [https://github.com/notifications/unsubscribe-auth/ACEXJIXG5CG5CCIIFC7IB63XC4JS7ANCNFSM6AAAAAAXITZ47Q].  You are receiving this because you are subscribed to this @.***>

xrme commented 1 year ago

So where in the source is the logical host home: defined?

https://github.com/Clozure/ccl/blob/master/level-1/l1-pathnames.lisp#L659

I don't think there's a standard way to list them.

edoneel commented 1 year ago

Thanks!

On 2023-04-25T20:52:55.000+02:00, R. Matthew Emerson @.***> wrote:

  So where in the source is the logical host home: defined?    https://github.com/Clozure/ccl/blob/master/level-1/l1-pathnames.lisp#L659    I don't think there's a standard way to list them.    —  Reply to this email directly, view it on GitHub  [https://github.com/Clozure/ccl/issues/444#issuecomment-1522262838],  or unsubscribe  [https://github.com/notifications/unsubscribe-auth/ACEXJIQIIJ2S3RVJYK7OWWDXDAMQPANCNFSM6AAAAAAXITZ47Q].  You are receiving this because you commented.Message ID: @.***>

xrme commented 1 year ago

@jhcloos, I hope you solved your issue.

I think it's probably something to do with your local environment, but please reopen if you want a hand troubleshooting.