[Bese-devel] `ucw:bye-bye': define quit as key

Luca Capello luca at pca.it
Mon Apr 10 14:49:22 UTC 2006


Hello!

ATM, you can control the `ucw:bye-bye' behavior with t|nil, but in
order to understand the behavior, you need to dig into the code.

  (defun bye-bye (&optional (quit t))
    (shutdown-server *default-server*)
    (when quit
      (swank:quit-lisp)))

I'd suggest to define quit as key, instead, also to be consistent with
`ucw:create-server' (where you have for example keys :debug-on-error
or :inspect-components):

Another possible (and clearer) solution will be to change the name of
the variable/key with something like `quit-lisp', which is exactly the
action performed by default: you don't quit UCW, but the lisp ;-)

Objections?

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/bese-devel/attachments/20060410/7bfab22d/attachment.sig>


More information about the bese-devel mailing list