(defvar riece-addon-list-mode-map
(let ((keymap (make-sparse-keymap)))
(define-key keymap "+" 'riece-command-enable-addon)
(defvar riece-addon-list-mode-map
(let ((keymap (make-sparse-keymap)))
(define-key keymap "+" 'riece-command-enable-addon)
(define-key keymap " " 'scroll-up)
(define-key keymap [delete] 'scroll-down)
(define-key keymap "q" 'bury-buffer)
(define-key keymap " " 'scroll-up)
(define-key keymap [delete] 'scroll-down)
(define-key keymap "q" 'bury-buffer)
(mapconcat #'symbol-name addons ", ")))))
(error "Insinuate operation was cancelled"))
(while addons
(mapconcat #'symbol-name addons ", ")))))
(error "Insinuate operation was cancelled"))
(while addons
(let ((entry (assq addon riece-addon-dependencies))
(uninstall (intern-soft (concat (symbol-name addon) "-uninstall"))))
(if entry
(let ((entry (assq addon riece-addon-dependencies))
(uninstall (intern-soft (concat (symbol-name addon) "-uninstall"))))
(if entry
(defun riece-enable-addon (addon &optional verbose)
(unless (get addon 'riece-addon-insinuated)
(error "Add-on %S is not insinuated" addon))
(if (get addon 'riece-addon-enabled)
(if verbose
(defun riece-enable-addon (addon &optional verbose)
(unless (get addon 'riece-addon-insinuated)
(error "Add-on %S is not insinuated" addon))
(if (get addon 'riece-addon-enabled)
(if verbose
(let ((enable (intern-soft (concat (symbol-name addon) "-enable"))))
(if (and enable
(fboundp enable))
(funcall enable))
(put addon 'riece-addon-enabled t)
(if verbose
(let ((enable (intern-soft (concat (symbol-name addon) "-enable"))))
(if (and enable
(fboundp enable))
(funcall enable))
(put addon 'riece-addon-enabled t)
(if verbose
(defun riece-disable-addon (addon &optional verbose)
(unless (get addon 'riece-addon-insinuated)
(error "Add-on %S is not insinuated" addon))
(if (not (get addon 'riece-addon-enabled))
(if verbose
(defun riece-disable-addon (addon &optional verbose)
(unless (get addon 'riece-addon-insinuated)
(error "Add-on %S is not insinuated" addon))
(if (not (get addon 'riece-addon-enabled))
(if verbose
(let ((disable (intern-soft (concat (symbol-name addon) "-disable"))))
(if (and disable
(fboundp disable))
(funcall disable))
(put addon 'riece-addon-enabled nil)
(if verbose
(let ((disable (intern-soft (concat (symbol-name addon) "-disable"))))
(if (and disable
(fboundp disable))
(funcall disable))
(put addon 'riece-addon-enabled nil)
(if verbose
Symbols in the leftmost column:
+ The add-on is enabled.
- The add-on is disabled.
? The add-on is not insinuated.
The add-on is not loaded.
Symbols in the leftmost column:
+ The add-on is enabled.
- The add-on is disabled.
? The add-on is not insinuated.
The add-on is not loaded.
`\\[riece-command-insinuate-addon]' to insinuate the current add-on.
`\\[riece-command-uninstall-addon]' to uninstall the current add-on.
`\\[riece-command-unload-addon]' to unload the current add-on.
`\\[riece-command-insinuate-addon]' to insinuate the current add-on.
`\\[riece-command-uninstall-addon]' to uninstall the current add-on.
`\\[riece-command-unload-addon]' to unload the current add-on.
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(riece-enable-addon addon t)
(when (eq major-mode 'riece-addon-list-mode)
(riece-command-list-addons)
(riece-enable-addon addon t)
(when (eq major-mode 'riece-addon-list-mode)
(riece-command-list-addons)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(mapcar (lambda (dependency)
(list (symbol-name (car dependency))))
riece-addon-dependencies)
(when (eq major-mode 'riece-addon-list-mode)
(riece-command-list-addons)
(riece-addon-list-set-point addon)))
(when (eq major-mode 'riece-addon-list-mode)
(riece-command-list-addons)
(riece-addon-list-set-point addon)))