12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- ;;; emacs-guix.scm --- Scheme side of Emacs-Guix
- ;; Copyright © 2016–2019 Alex Kost <alezost@gmail.com>
- ;; This file is part of Emacs-Guix.
- ;; Emacs-Guix is free software; you can redistribute it and/or modify
- ;; it under the terms of the GNU General Public License as published by
- ;; the Free Software Foundation, either version 3 of the License, or
- ;; (at your option) any later version.
- ;;
- ;; Emacs-Guix is distributed in the hope that it will be useful,
- ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ;; GNU General Public License for more details.
- ;;
- ;; You should have received a copy of the GNU General Public License
- ;; along with Emacs-Guix. If not, see <http://www.gnu.org/licenses/>.
- ;;; Commentary:
- ;; This module is loaded by the elisp side of Emacs-Guix right after
- ;; starting the *Guix REPL*. It is used only to autoload all the
- ;; procedures from the other modules that can be called by the elisp
- ;; side.
- ;;; Code:
- (define-module (emacs-guix)
- #:use-module (guix ui)
- #:autoload (guix packages) (%supported-systems)
- #:autoload (emacs-guix commands) (guix-command
- guix-command-output
- help-string
- guix-output-to-file
- pipe-guix-output)
- #:autoload (emacs-guix licenses) (license-names
- lookup-license-uri
- license-sexps)
- #:autoload (emacs-guix packages) (profile->specifications+file-names
- package/output-sexps
- number-of-packages
- package-names*
- package-location-string
- package-location-files
- package-location-sexps)
- #:autoload (emacs-guix generations) (generation-sexps)
- #:autoload (emacs-guix system-generations) (system-generation-sexps)
- #:autoload (emacs-guix system) (system-sexps)
- #:autoload (emacs-guix services) (service-names*
- service-sexps
- service-location-string
- service-location-files
- service-location-sexps)
- #:autoload (emacs-guix store-items) (store-item-sexps)
- #:autoload (emacs-guix actions) (process-package-actions
- build-package*
- delete-generations*
- package-store-path
- package-source-file-name
- package-source-build-derivation
- package-build-log-file)
- #:autoload (emacs-guix graph) (graph-backend-names
- graph-node-type-names
- make-package-graph)
- #:autoload (emacs-guix hash) (file-hash)
- #:autoload (emacs-guix lint) (lint-checker-names
- lint-checker-sexps
- lint-package
- lint-packages)
- #:autoload (emacs-guix pack) (compressor-names
- pack-format-names)
- #:autoload (emacs-guix profiles) (search-paths
- search-paths-specifications
- user-profiles)
- #:autoload (emacs-guix refresh) (refresh-updater-names)
- #:autoload (emacs-guix emacs) (%max-returned-list-size
- %temporary-directory
- to-emacs-side)
- #:autoload (emacs-guix utils) (search-load-path))
- ;; Set `guix-warning-port' here, otherwise, some output from the
- ;; guix-daemon would not be displayed in the Guix REPL. For the same
- ;; `current-build-output-port' should also be set, but since it is used
- ;; only by build procedures from (emacs-guix actions) module, it is set
- ;; there.
- ;;
- ;; The same workaround is made for `guix-devel-mode' to set up a Guile
- ;; REPL (guix-devel-mode does not use Guix REPL). See
- ;; `guix-devel-setup-repl' elisp procedure.
- (guix-warning-port (current-warning-port))
- ;;; emacs-guix.scm ends here
|