~ruther/guix-local

1f13861b — Alex Kost 10 years ago
emacs: Add "guix-popup.el".

* emacs/guix-popup.el: New file.
* emacs.am (ELFILES): Add it.
c554de89 — Alex Kost 10 years ago
doc: Reorganize "Emacs Interface" node.

* doc/guix.texi (Package Management): Move "Emacs Interface" node to ...
  (Top): ...here, since it is not just about package management.
* doc/emacs.texi: Shift all nodes one level up (@section -> @chapter, etc.).
  Rename "Emacs Usage" node into "Emacs Package Management".  Move "Emacs
  Configuration" node here.
7008dfff — Alex Kost 10 years ago
emacs: Add code to run guix command in shell.

* emacs/guix-base.el (guix-run-in-shell, guix-run-in-eshell,
  guix-run-command-in-shell): New functions.
  (guix-run-in-shell-function, guix-shell-buffer-name): New variables.
5e53b0c5 — Alex Kost 10 years ago
emacs: Add code to run guix command in REPL.

* emacs/guix-base.el (guix-run-command-in-repl, guix-command-output,
  guix-help-string): New functions.
* emacs/guix-main.scm (guix-command, guix-command-output, help-string):
  New procedures.
caa6732e — Alex Kost 10 years ago
ui: Add 'run-guix'.

* guix/ui.scm (guix-main): Move the code to run guix command line to ...
  (run-guix): ...here.  New procedure.  Export it.
51dac383 — Alex Kost 10 years ago
emacs: Add and use alist accessors.

* emacs/guix-utils.el (guix-define-alist-accessor): New macro.
  (guix-assq-value, guix-assoc-value): New functions.
  (guix-get-key-val): Remove.
* emacs/guix-base.el: Replace 'guix-get-key-val' with 'guix-assq-value'
  everywhere.
* emacs/guix-info.el: Likewise.
* emacs/guix-list.el: Likewise.
* emacs/guix-messages.el: Likewise.
d007d8a1 — Alex Kost 10 years ago
emacs: Add minibuffer readers.

* emacs/guix-read.el: New file.
* emacs.am (ELFILES): Add it.
26476d58 — Alex Kost 10 years ago
emacs: Add help variables.

* emacs/guix-pcomplete.el (guix-pcomplete-parse-package-regexp,
  guix-pcomplete-parse-command-regexp,
  guix-pcomplete-parse-long-option-regexp,
  guix-pcomplete-parse-short-option-regexp,
  guix-pcomplete-parse-list-regexp, guix-pcomplete-parse-regexp-group,
  guix-pcomplete-systems, guix-pcomplete-hash-formats,
  guix-pcomplete-refresh-subsets, guix-pcomplete-key-policies): Move and
  rename to ...
* emacs/guix-help-vars.el (guix-help-parse-package-regexp,
  guix-help-parse-command-regexp, guix-help-parse-long-option-regexp,
  guix-help-parse-short-option-regexp, guix-help-parse-list-regexp,
  guix-help-parse-regexp-group, guix-help-system-types,
  guix-help-hash-formats, guix-help-refresh-subsets,
  guix-help-key-policies): ...here.  New file.
  (guix-help-parse-option-regexp, guix-help-source-types,
  guix-help-verify-options, guix-help-elpa-archives): New variables.
* emacs.am (ELFILES): Add "guix-help-vars.el".
25a2839c — Alex Kost 10 years ago
emacs: Add 'guix-package-names'.

* emacs/guix-main.scm (package-names, package-names-lists): New procedures.
* emacs/guix-base.el (guix-package-names): New function.
43b40c4b — Alex Kost 10 years ago
emacs: Add 'guix-graph-type-names'.

* emacs/guix-main.scm: Use (guix scripts graph) module.
  (graph-type-names): New procedure.
* emacs/guix-base.el (guix-graph-type-names): New function.
c1a8c5ab — Alex Kost 10 years ago
guix graph: Export node types and <node-type> accessors.

* guix/scripts/graph.scm (%node-types, node-type, node-type?,
  node-type-identifier, node-type-label, node-type-edges,
  node-type-convert, node-type-name, node-type-description): Export.
056b5cef — Alex Kost 10 years ago
emacs: Add 'guix-lint-checker-names'.

* emacs/guix-main.scm: Use (guix scripts lint) module.
  (lint-checker-names): New procedure.
* emacs/guix-base.el (guix-lint-checker-names): New function.
521a11e0 — Alex Kost 10 years ago
guix lint: Export checkers and <lint-checker> accessors.

* guix/scripts/lint.scm (%checkers, lint-checker, lint-checker?,
  lint-checker-name, lint-checker-description, lint-checker-check):
  Export.
6543601f — Alex Kost 10 years ago
emacs: Add 'guix-memoized-defalias' macro.

* emacs/guix-utils.el (guix-memoized-defalias): New macro.
  (guix-memoized-font-lock-keywords): New variable.
e767752c — Alex Kost 10 years ago
emacs: Add 'guix-any'.

* emacs/guix-utils.el (guix-any): New function.
ad0f31f6 — Alex Kost 10 years ago
emacs: Add utils to copy guix command.

* emacs/guix-utils.el (guix-copy-as-kill, guix-copy-command-as-kill):
  New functions.
009d6388 — Alex Kost 10 years ago
emacs: Add utils to make symbol and string for guix command.

* emacs/guix-utils.el (guix-shell-quote-argument, guix-command-symbol,
  guix-command-string): New functions.
1ce96dd9 — Alex Kost 10 years ago
emacs: Add and use 'guix-concat-strings'.

* emacs/guix-utils.el (guix-concat-strings): New function.
* emacs/guix-pcomplete.el (guix-pcomplete-short-options): Use it.
* emacs/guix-base.el (guix-get-package-strings): Likewise.
c10521e9 — Alex Kost 10 years ago
emacs: Add and use 'guix-while-search'.

* emacs/guix-utils.el (guix-while-search): New macro.
* emacs/guix-pcomplete.el (guix-pcomplete-run-guix-and-search): Use it.
* emacs/guix-prettify.el (guix-prettify-decompose-buffer): Likewise.
935d079b — Alex Kost 10 years ago
emacs: Add 'guix-prettify' to 'guix' custom group.

* emacs/guix-prettify.el (guix-prettify): Add 'guix' group.
Next