mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
7735c503b5
Make a root 'guix-buffer-define-interface' macro. It should generate a common code for any type of interface. Inherit 'guix-info-define-interface' and 'guix-list-define-interface' from it. They should provide a general 'info'/'list' interface for any data. Finally, make 'guix-ui-define-interface' for the common code for interfaces to Guix packages and generations, and inherit 'guix-ui-info-define-interface' and 'guix-ui-list-define-interface' from it. * emacs/guix-base.el (guix-define-buffer-type): Rename to... (guix-buffer-define-interface): ... this. Rename internal variables ('buf-' -> 'buffer-'). Move ':required' keyword to 'guix-ui-define-interface'. * emacs/guix-info.el (guix-info-define-interface): New macro. (guix-info-font-lock-keywords): New variable. * emacs/guix-list.el (guix-list-define-entry-type): Rename to... (guix-list-define-interface): ... this. (guix-list-font-lock-keywords): New variable. (guix-list-describe-ids): Move and rename to... * emacs/guix-ui.el: New file. (guix-ui-list-describe): ... this. (guix-ui-define-interface, guix-ui-info-define-interface) (guix-ui-list-define-interface): New macros. (guix-ui-font-lock-keywords): New variable. * emacs.am (ELFILES): Add "emacs/guix-ui.el" |
||
---|---|---|
.. | ||
guix-backend.el | ||
guix-base.el | ||
guix-build-log.el | ||
guix-command.el | ||
guix-config.el.in | ||
guix-devel.el | ||
guix-emacs.el | ||
guix-entry.el | ||
guix-external.el | ||
guix-geiser.el | ||
guix-guile.el | ||
guix-help-vars.el | ||
guix-helper.scm.in | ||
guix-history.el | ||
guix-info.el | ||
guix-init.el | ||
guix-list.el | ||
guix-main.scm | ||
guix-messages.el | ||
guix-pcomplete.el | ||
guix-popup.el | ||
guix-prettify.el | ||
guix-profiles.el | ||
guix-read.el | ||
guix-ui.el | ||
guix-utils.el | ||
guix.el |