Closed johndebord closed 2 years ago
Yup, here is what you need to know:
1) The updated info is here: https://github.com/rabbibotton/clog
2) Basically, you now need to have clog and clog-ace git cloned locally into your quicklisp, ultralisp or ~/common-lisp directories, depending on how you have your local system setup. Once those exist in your local repo (ql:quickload :clog/tools) will find clog-ace load that up and you are good.
3) Here is information about the Clog plugin system with reference to your issue: https://github.com/rabbibotton/clog/discussions/171
I hope that helps.
The README reflects that you need to use UltraSlip (that will automatically pull in clog-ace) or to git clone both repos. Hopefully the next QuickLisp update should deal with that.
aykaramba - btw thanks for fielding an answer, always chime in :)
johndebord and aykaramba - I will be publishing in the next day or two a full tutorial on using and creating custom lisp based controls. Here is the text on the using part (it is short, well because is easy :)
Using Custom Controls
Every plugin has two ASDF systems, the main system is the component's name (for this tutorial we will use the text editor clog-ace built on https://ace.c9.io/ ) and the CLOG Builder component system is at name/tools - so for example in the REPL
(ql:quickload :clog-ace)
Will load the component for run time or for hand coding your application.
(ql:quickload :clog-ace/tools)
Will load the component and also install the builder plugin.
Of course if you are working on your awesome project, you are going to want the plugin to be part of your project and not need to hand load. Here is a typical asd file generated by all of the application templates in CLOG Builder:
(asdf:defsystem #:awesome :description "New CLOG System" :author "some@one.com" :license "BSD" :version "0.0.0" :serial t :depends-on (#:clog) ; add clog plugins here as #:plugin for run time :components ((:file "awesome")))
(asdf:defsystem #:awesome/tools :depends-on (#:awesome #:clog/tools) ; add clog plugins here as #:plugin/tools for design time :components ())
To add clog-ace to this project you simply add #:clog-ace to :depends-on in the :awesome system and in :awesome/tools add #:clog-ace/tools. Then when you want to use builder simply:
(ql:quickload :awesome/tools) (clog-tools:clog-builder)
That seems very reasonable. Looking forward to seeing the tutorial.
Trying to run the latest CLOG updates, but I'm getting an error: