unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/2] emacs: Add "M-x guix-package-from-file.
@ 2016-05-08 10:51 Alex Kost
  2016-05-08 10:51 ` [PATCH 1/2] emacs: main: Remove top-level package tables Alex Kost
  2016-05-08 10:51 ` [PATCH 2/2] emacs: Add 'guix-package-from-file' command Alex Kost
  0 siblings, 2 replies; 8+ messages in thread
From: Alex Kost @ 2016-05-08 10:51 UTC (permalink / raw)
  To: guix-devel

This is to add an Emacs companion of "guix build --file" and
"guix package --install-from-file".

Patches:

[PATCH 1/2] emacs: main: Remove top-level package tables.

  This patch finally rewrites that part of code in a functional style.
  Many thanks to Ludovic for past comments on using 'delay' and vhashes.

[PATCH 2/2] emacs: Add 'guix-package-from-file' command.

  And this patch partially breaks the functional style.  A new package
  (from an arbitrary file) must be registered in a table of packages, so
  that it can be addressed later (for example, if a user would want to
  install it).  So this is done using not very functional 'set!' in
  'register-package' procedure (at least it sets a local variable).  Is
  there a better way to write this?

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-10  9:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-08 10:51 [PATCH 0/2] emacs: Add "M-x guix-package-from-file Alex Kost
2016-05-08 10:51 ` [PATCH 1/2] emacs: main: Remove top-level package tables Alex Kost
2016-05-08 16:54   ` Ludovic Courtès
2016-05-08 10:51 ` [PATCH 2/2] emacs: Add 'guix-package-from-file' command Alex Kost
2016-05-08 18:40   ` Ludovic Courtès
2016-05-09  8:25     ` Alex Kost
2016-05-09 20:29       ` Ludovic Courtès
2016-05-10  9:09         ` Alex Kost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).