-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Mahogany is a common lisp application, so one should control it by hopping into its repl. The following achieved that for stumpwm easily, and it should work with mahogany with very slight changes.
My question is whether this should be in mahogany, or should we just teach the users in the documentation?
I think it is better to keep mahogany to its absolute essentials, which makes the maintenance much easier in the long run. The cool functionalities can be equally realized with contribs or config examples.
(defcommand slynk (port) ((:string "Port number: "))
(sb-thread:make-thread
(lambda ()
(slynk:create-server :port (parse-integer port) :dont-close t))
:name (format nil "manual slynk port ~s" port))
(message "Port ~s opened." port))Metadata
Metadata
Assignees
Labels
No labels