summaryrefslogtreecommitdiff
path: root/doc (follow)
Commit message (Expand)AuthorAgeFilesLines
* doc: Describe variables for list/info interfaces•••* doc/emacs-guix.texi (List/Info Configuration): New node. Alex Kost2018-06-251-13/+35
* doc: Describe displayed guix profiles•••* doc/emacs-guix.texi (Profile Commands): Document what profiles are displayed by "M-x guix-profiles". Alex Kost2018-06-251-3/+20
* Update (remove) github links•••- Geiser moved from github to gitlab. - Although github repository of Emacs-Guix is not going to be removed, but it is not the "main" one anymore. So update github links everywhere. Alex Kost2018-06-171-4/+4
* Document 'guix-load-path'•••* elisp/guix-repl.el (guix-load-path): Adjust docstring. (guix-repl-guile-args): Expand 'guix-load-path' and 'guix-load-compiled-path' as people will use "~" there anyway. * doc/emacs-guix.texi (Guile and Build Options): Document 'guix-load-path' and 'guix-load-compiled-path'. Alex Kost2018-06-171-9/+25
* elisp: Set 'guix-directory' when needed•••Before the previous commit (6476f612aa6c71779abf2be6d887bec3ac89ce00), 'guix-directory' variable was blindly set to the latest "guix pull" directory. But it is not good because a user may not have that pulled directory. It is better to ask Guile where guix modules are placed and just use this directory. * elisp/guix-repl.el (guix-directory): New function that sets 'guix-directory' variable if needed. (guix-read-directory): Use 'guix-directory' function instead of variable. * elisp/guix-location.el (guix-find-location): Likewise. * elisp/guix-license.el (guix-license-file): Likewise. * doc/emacs-guix.texi (More Package Commands): Remove documentation of 'guix-directory'. Alex Kost2018-06-171-18/+0
* doc: Massive reorganization of the manual•••* doc/emacs-guix.texi: Split "Package Management" chapter into "Packages" and "Profiles and Generations" chapters. Move "Services" into "System" chapter and add "System Commands" section there. Alex Kost2018-06-101-109/+217
* Add 'guix-system-from-file' command•••* scheme/emacs-guix/packages.scm: Export 'register-package' and 'package-specification'. * scheme/emacs-guix/system.scm: Use them. New file providing 'system-sexps' procedure. * scheme/emacs-guix.scm: Autoload it. * elisp/guix-ui-system.el: New file with the interface for 'operating-system' declaration. * elisp/guix-help.el (guix-help-specifications): Add 'guix-system-from-file'. * doc/emacs-guix.texi (System): New chapter. Document it. * scheme/Makefile.am (MODULES): Add "system.scm". * elisp/local.mk (EL_FILES): Add "guix-ui-system.el". Alex Kost2018-06-101-0/+22
* doc: Move "Services" chapter before "Package Licenses"•••* doc/emacs-guix.texi: Switch "Services" and "Package Licenses" chapters. Alex Kost2018-06-101-34/+34
* elisp: Generalize support for dired-mode•••* elisp/guix-hash.el (guix-hash-support-dired): Rename and move to... * elisp/guix-utils.el (guix-support-dired): ... this. (guix-read-file-name-maybe): New procedure. (guix-read-os-file-name): Use it. * elisp/guix-ui-package.el (guix-package-from-file): Use it. (guix-packages-from-system-config-file): Adjust docstring. * elisp/guix-ui-service.el (guix-services-from-system-config-file): Likewise. * doc/emacs-guix.texi (Miscellaneous Commands): Move documentation of 'guix-hash-support-dired' to... (Miscellaneous Configuration): ... here. New section. Alex Kost2018-06-101-7/+17
* Add dependency type for 'guix-dependent-packages' command•••Suggested by Ludovic Courtès: <http://lists.gnu.org/archive/html/help-guix/2018-05/msg00180.html>. * scheme/emacs-guix/packages.scm (dependent-packages): Add 'direct?' key argument. (%patterns-makers): Adjust accordingly. * elisp/guix-ui-package.el (guix-read-package-dependent-type): New procedure. (guix-dependent-packages): Add 'type' argument. * elisp/guix-ui-messages.el (guix-message-dependent-packages): New procedure. (guix-messages): Use it. * doc/emacs-guix.texi (Package Commands): Mention dependency type. Alex Kost2018-05-261-1/+3
* Add 'guix-default-services' command•••* scheme/emacs-guix/utils.scm (read-eval): New procedure. * scheme/emacs-guix/services.scm (register/return-services): New procedure. (find-services): Add 'from-expression' search type. * elisp/guix-ui-service.el (guix-service-message): Add a message for it. (guix-default-services-variables): New variable. (guix-default-services): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-181-0/+8
* Add 'guix-services-by-regexp' command•••* scheme/emacs-guix/services.scm (services-by-regexp) (service-param): New procedures. (find-services): Add 'regexp' search type. * elisp/guix-ui-service.el (guix-service-search-params) (guix-service-search-history): New variables. (guix-services-by-regexp): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-151-1/+9
* Add 'guix-find-service-definition' command•••* scheme/emacs-guix/services.scm (service-by-id-or-name) (service-location-string): New procedures. * scheme/emacs-guix.scm: Autoload 'service-location-string'. * elisp/guix-service.el (guix-service-location): New function. (guix-find-service-definition): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-151-0/+5
* Add 'guix-find-service-location-file' command•••* elisp/guix-service.el: New file. * elisp/local.mk (EL_FILES): Add it. * elisp/guix-help.el (guix-help-specifications): Add 'guix-find-service-location-file' command. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-141-0/+5
* Add 'guix-service-locations' command•••* elisp/guix-ui-service-location.el: New file. * elisp/local.mk (EL_FILES): Add it. * elisp/guix-help.el (guix-help-specifications): Add 'guix-service-locations' command. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-141-0/+12
* Add 'guix-find-license-location-file' command•••* elisp/guix-license.el (guix-find-license-location-file): New command. (guix-find-license-definition): Use it. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Package Licenses): Document it. Alex Kost2018-05-141-0/+4
* Add 'guix-services-by-location' command•••* scheme/emacs-guix/services.scm (find-services): Add 'location' search type. (%service-location-param-alist): New variable. (services-by-location-file, service-location-files) (service-location-sexps): New procedures. * scheme/emacs-guix.scm: Autoload them. * elisp/guix-read.el (guix-service-location-files) (guix-read-service-location-file): New functions. * elisp/guix-ui-service.el (guix-services-by-location): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-141-0/+4
* Rename 'location' to 'location-file' where needed•••This is a followup to commit d3881fec140de868265a28376311c9750efdd351. There is a distinction between these terms as 'location-file' is just a file, and 'location' is a file plus a position in that file. So (ideally) there should be the same distinction in the command names, however most commands already have long names, and using 'guix-packages-by-location-file' instead of 'guix-packages-by-location' will probably add nothing to the meaning of this command and 5 characters to its name. So this command is left unchanged, but such commands as 'guix-find-package-location' and 'guix-find-package-definition' may bring confusion. Hopefully, using 'guix-find-package-location-file' name will make it more clear. * elisp/guix-read.el (guix-read-package-location): Rename to... (guix-read-package-location-file): ... this. * elisp/guix-package.el (guix-find-package-location): Rename to... (guix-find-package-location-file): ... this. * elisp/guix-help.el (guix-help-specifications): Adjust accordingly. * elisp/guix-ui-package.el (guix-packages-by-location): Likewise. * doc/emacs-guix.texi (Package Locations): Likewise. Alex Kost2018-05-141-4/+4
* Rename 'location' to 'package-location'•••As that is what it really means: 'service-location' code is coming, so this rename is needed. Finishing the work continued at commit d3881fec140de868265a28376311c9750efdd351. * doc/emacs-guix.texi (Package Locations): Move from the top level to "Package Management" section. * elisp/guix-ui-location.el: Rename file to... * elisp/guix-ui-package-location.el: ... this. Rename 'guix-location' to 'guix-package-location' everywhere. * elisp/guix-help.el (guix-help-specifications): Adjust accordingly. * elisp/guix-read.el (guix-location-files): Rename to 'guix-package-location-files'. * elisp/local.mk (EL_FILES): Likewise. * scheme/emacs-guix/locations.scm: Remove file. Move its contents to... * scheme/emacs-guix/packages.scm: ... here. * scheme/emacs-guix.scm: Adjust accordingly. * scheme/Makefile.am (MODULES): Remove "locations.scm". Alex Kost2018-05-141-65/+64
* elisp/devel: Bind 'guix-devel-code-block-edit' to "C-c . '"•••As it conflicts with the default org key binding. Reported by Oleg Pykhalov: <https://github.com/alezost/guix.el/issues/22>. * elisp/guix-devel.el: Bind 'guix-devel-code-block-edit' to "C-c . '" instead of "C-c '". * doc/emacs-guix.texi: Adjust accordingly. Alex Kost2018-05-111-3/+2
* elisp: Move "package locations" code to "guix-package.el"•••Continuing the work started at commit 467525b7d72c5bed21d0a44940f1cd3a8fbb8a47. * elisp/guix-location.el (guix-find-location): Do not make it interactive. (guix-package-location, guix-find-package-definition, guix-edit): Move to... * elisp/guix-package.el: ... here. (guix-find-package-location): New command (instead of 'guix-find-location'). * doc/emacs-guix.texi (Package Locations): Adjust accordingly. * elisp/guix-help.el (guix-help-specifications): Likewise. * elisp/guix-command.el: Fix file name of the declared function. Alex Kost2018-05-111-6/+7
* elisp: Make 'guix-edit' an alias to 'guix-find-package-definition'•••* elisp/guix-location.el (guix-edit): Rename to... (guix-find-package-definition): ... this to make it analogous to 'guix-find-license-definition'. Make 'guix-edit' an alias to it. * elisp/guix-help.el (guix-help-specifications): Use 'guix-find-package-definition' instead of 'guix-edit'. * elisp/guix-command.el: Likewise. * elisp/guix-ui-package.el: Likewise. * elisp/guix-repl.el (guix-directory): Likewise. Alex Kost2018-05-111-1/+3
* doc: Move 'guix-number-of-packages' to another node•••* doc/emacs-guix.texi (Package Commands): Move documentation of 'guix-number-of-packages' to... (More Package Commands): ... here. Alex Kost2018-05-111-8/+8
* Add 'guix-services-by-name' command•••* scheme/emacs-guix/utils.scm (string->symbol*): New procedure. * scheme/emacs-guix/services.scm (service-names, service-names*) (services-by-name): New procedures. (find-services): Add 'name' search type. * scheme/emacs-guix.scm: Autoload 'service-names*'. * elisp/guix-read.el (guix-service-names, guix-read-service-name): New procedures. * elisp/guix-ui-service.el (guix-services-by-name): New command. (guix-service-message): Add message for 'name' search type. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-101-0/+4
* Add 'guix-all-services' command•••* scheme/emacs-guix/services.scm: Register all service types in the hash table for 'service-by-id' and 'register-service' procedures. (find-services): Add 'all' search type. * elisp/guix-ui-service.el (guix-service): New command. (guix-service-message): Add message for 'all' search type. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Services): Document it. Alex Kost2018-05-101-0/+4
* Add new parameters for service interface and document it•••* scheme/emacs-guix/services.scm (%service-param-alist): Rename 'type-name' to 'name'. Add 'description', 'location' and 'extensions'. (service-type-name*, service-type*, texi-field->string): New procedures. (services-from-system-config-file): Use 'to-emacs-side'. * elisp/guix-ui-service.el (guix-service-list-hint): New procedure. (guix-service-list-edit): New command. (guix-service-list-format): Add new parameters. * elisp/guix-help.el (guix-help-specifications): Display 'info' button for 'guix-services-from-system-config-file'. * doc/emacs-guix.texi (Services): New node. Document 'guix-services-from-system-config-file' as it worth it now. Alex Kost2018-05-101-0/+21
* Remove "-available" part from all/newest package commands•••This "-available" part seemed redundant to me since the very beginning. Commit 71301c7b71d4c74dc06eef137d7f02b6e0393f4e was a poor attempt to do something about it. Now I decided to get rid of it completely. * scheme/emacs-guix/packages.scm (all-available-packages): Rename to... (all-packages): ... this. (newest-available-packages): Rename to... (newest-packages): ... this. (%patterns-makers): Rename 'all-available'/'newest-available' search types to 'all'/'newest' accordingly. * elisp/guix-ui-package.el (guix-all-available-packages) (guix-newest-available-packages): Make obsolete. * elisp/guix-help.el (guix-help-specifications): Adjust accordingly. * elisp/guix-ui-messages.el (guix-messages): Likewise. * elisp/guix-ui.el (guix-ui-get-entries): Adjust the docstring. * doc/emacs-guix.texi (Package Commands): Document 'guix-all-packages' and 'guix-newest-packages' commands. Alex Kost2018-05-041-4/+4
* Add 'guix-dependent-packages' command•••* scheme/emacs-guix/packages.scm (objects->packages) (dependent-packages): New procedures. (%patterns-makers): Add the new 'dependent' search type. * elisp/guix-ui-messages.el (guix-messages): Add messages for 'dependent' search type. * elisp/guix-ui-package.el (guix-dependent-packages): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Package Commands): Document it. Alex Kost2018-05-031-0/+7
* elisp: Add guix-env-var-mode•••* elisp/guix-auto-mode.el: Add 'guix-env-var-mode' to 'auto-mode-alist'. * elisp/guix-env-var.el: New file. * elisp/local.mk (EL_FILES): Add it. * doc/emacs-guix.texi (Prettify Variables): Document the new features. Oleg Pykhalov2018-04-281-0/+36
* doc: Warn about mixing Guix and MELPA installations•••Suggested by Pierre Neidhardt: <https://github.com/alezost/guix.el/issues/21#issuecomment-383820308>. * README: Mention potential problems with .scm and .go files. * doc/emacs-guix.texi (Installation): Likewise. Alex Kost2018-04-251-1/+4
* elisp: Add 'guix-number-of-packages' command•••* scheme/emacs-guix/packages.scm (number-of-packages): New function. * scheme/emacs-guix.scm (emacs-guix): Autoload it. * elisp/guix-ui-package.el (guix-number-of-packages): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Package Commands): Document it. Alex Kost2018-04-151-0/+8
* elisp: Add 'guix-report-bug' command•••Suggested by Pierre Neidhardt: <https://github.com/alezost/guix.el/issues/18>. * elisp/guix-misc.el (guix-bug-address): New variable. (guix-report-bug): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Miscellaneous Commands): Document it. Alex Kost2018-04-081-0/+5
* elisp/devel: Add 'guix-devel-ffap-patch'•••* elisp/guix-devel.el (guix-devel-ffap-patch-directories): New variable. (guix-devel-ffap-patch): New procedure. * doc/emacs-guix.texi (Development): Document how 'ffap' can be configured for guix patch files. Oleg Pykhalov2018-03-291-0/+7
* elisp/devel: Add 'guix-devel-code-block-edit'•••Co-authored-by: Alex Kost <alezost@gmail.com> * elisp/guix-devel.el: (guix-devel-code-block-regexp): New variable. (guix-devel-code-block-position): New procedure. (guix-devel-code-block-edit): New command. (guix-devel-mode-map): Add it. * doc/emacs-guix.texi (Development): Document it. (Requirements): Mention 'edit-indirect'. * elisp/guix.el: Add 'edit-indirect' to "Package-Requires" header. Oleg Pykhalov2018-03-241-2/+13
* doc: Mention "C-u" for 'guix-read-package-name-at-point'•••Suggested by Oleg Pykhalov: <https://github.com/alezost/guix.el/pull/14#issuecomment-374106460>. * doc/emacs-guix.texi (Package Locations): Briefly mention "C-u" for 'guix-read-package-name-at-point' setting. Alex Kost2018-03-191-1/+1
* doc: Document 'guix-read-package-name-function'•••Co-authored-by: Alex Kost <alezost@gmail.com> * doc/emacs-guix.texi (Package Locations): Document 'guix-read-package-name-function'. Oleg Pykhalov2018-03-181-0/+10
* doc: Add Texinfo HTML cross-reference file•••* doc/htmlxref.cnf: New file. Alex Kost2018-02-081-0/+14
* elisp/hydra-build: Add and use 'guix-hydra-number-of-builds' variable•••* elisp/guix-hydra-build.el (guix-hydra-number-of-builds): New custom variable. (guix-hydra-build-latest-prompt-args): Use it. (guix-hydra-latest-builds): Likewise. * doc/emacs-guix.texi (Hydra): Document it. Alex Kost2018-02-071-6/+7
* Add 'guix-superseded-packages' command•••* scheme/emacs-guix/packages.scm (superseded-packages): New procedure. (%patterns-makers): Use it for the new 'superseded' search type. * elisp/guix-ui-messages.el (guix-messages): Add messages for 'superseded' search type. * elisp/guix-ui-package.el (guix-superseded-packages): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Package Commands): Document it. Alex Kost2017-12-281-2/+6
* doc: Adjust description of 'guix-hash'•••* doc/emacs-guix.texi (Miscellaneous Commands): Mention that the hash is copied to the kill-ring. Alex Kost2017-12-261-3/+4
* Add 'guix-hash' command•••Suggested by ng0 on #guix. * scheme/emacs-guix/hash.scm: New file. (hash-format->procedure, vcs-file?, file-hash): New procedures. * scheme/emacs-guix.scm (emacs-guix): Autoload 'file-hash'. * elisp/guix-hash.el: New file. (guix-hash-support-dired): New variable. (guix-hash): New command. * elisp/guix-help.el (guix-help-specifications): Add it. * doc/emacs-guix.texi (Miscellaneous Commands): Document it. * elisp/local.mk (EL_FILES): Add "guix-hash.el". * scheme/Makefile.am (MODULES): Add "hash.scm". Alex Kost2017-12-241-0/+17
* doc: Reorganize "Miscellaneous Commands" section•••* doc/emacs-guix.texi (Package Management)[Miscellaneous Commands]: Move the description of 'guix-package-graph', 'guix-package-size' and 'guix-package-lint' to the new "More Package Commands" subsection. Move 'guix-apply-manifest' to "Profiles" section. Make "Miscellaneous Commands" a chapter and move it to the end of the manual (before "Help" chapter). Alex Kost2017-12-241-52/+63
* elisp: Use and recommend "--no-auto-compile" guile option•••Reported and investigated by apteryx: <https://notabug.org/alezost/emacs-guix/issues/2>. * elisp/guix-external.el (guix-guile-program): Add "--no-auto-compile" guile flag. * doc/emacs-guix.texi (Guile and Build Options): Recommend it. Alex Kost2017-09-241-10/+10
* Add possibility to display 'search-paths'•••* scheme/emacs-guix/profiles.scm: New file. (search-paths): New procedure. * scheme/emacs-guix.scm (emacs-guix): Autoload it. * elisp/guix-utils.el (guix-display-buffer): New procedure. * elisp/guix-misc.el (guix-search-paths-buffer-name): New variable. (guix-show-search-paths): New procedure. * elisp/guix-ui-generation.el (guix-generation-list-marked-file-names): New procedure. (guix-generation-list-show-search-paths): New command. (guix-generation-list-mode-map): Bind it to "E". * elisp/guix-ui-profile.el (guix-profile-list-marked-profiles): New procedure. (guix-profile-list-show-search-paths): New command. (guix-profile-list-mode-map): Bind it to "E". * doc/emacs-guix.texi (Profiles): Document "E" key. (Generation Keys): Likewise. (Buffer Names): Add 'guix-search-paths-buffer-name' variable. * scheme/Makefile.am (MODULES): Add "profiles.scm" Alex Kost2017-08-171-1/+14
* doc: Mention 'guix-about-buffer-name' variable•••This is a followup to commit 194192cd6c00a4a85654b64dffca4bff406adf16. * doc/emacs-guix.texi (Buffer Names): Add 'guix-about-buffer-name' variable. Alex Kost2017-08-131-0/+3
* doc: Use 'after-init-hook' instead of top-level call•••* doc/emacs-guix.texi (Prettify Mode): Add 'global-guix-prettify-mode' to 'after-init-hook' in the example. Alex Kost2017-07-181-3/+4
* doc: Mention how Guix's "pre-inst-env" can be used•••Fixes <https://github.com/alezost/guix.el/issues/2>. * doc/emacs-guix.texi (Guile and Build Options): Document how 'guix-guile-program' can be customized to use Guix's "pre-inst-env". Alex Kost2017-06-191-0/+8
* elisp/ui-package: Add key bindings to install/delete/upgrade•••* elisp/guix-ui-package.el (guix-read-package-output) (guix-read-package-entry-and-output): New functions. (guix-package-info-install, guix-package-info-delete) (guix-package-info-upgrade): New commands. (guix-package-info-mode-map): Bind them to "i"/"d"/"U" accordingly. * doc/emacs-guix.texi (Package Keys): Document these keys. Alex Kost2017-06-191-0/+6
* elisp/ui-package: Add key bindings for several commands•••Suggested by George Clemmer. * elisp/guix-ui-package.el (guix-read-package-name-from-entries) (guix-read-package-entry-by-name, guix-package-info-hint) (guix-package-entry-ensure-non-obsolete): New functions. (guix-package-info-default-hint): New variable. (guix-package-info-edit, guix-package-info-graph) (guix-package-info-size, guix-package-info-lint): New commands. (guix-package-info-mode-map): Bind them to "e"/"G"/"z"/"L" accordingly. * doc/emacs-guix.texi (Package Keys): Document these keys. Alex Kost2017-06-081-0/+17
* doc: Put @key tag inside @kbd•••* doc/emacs-guix.texi: Put @key tag inside @kbd everywhere to make the html version of the manual prettier; besides that's what Texinfo manual says to do. Alex Kost2017-04-201-30/+30