Hello, Ludovic Courtès (2014-08-23 16:17 +0400) wrote:
> Hello! > > I think we can merge guix.el in the repo anytime now. Here are some > notes on how this could be done: > > • Put all the .el and .scm files of the guix.el repo under an emacs/ > directory. Done. I have made “emacs-ui” branch with what I did so far. But as I have no experience with autotools, I'm afraid all that stuff need to be reviewed carefully. > • Have them appropriately listed in the top-level Makefile.am (I can > help with that, if you’re not familiar.) Along with the small changes to top-level "Makefile.am", I made "Makefile.am" in "emacs" dir and... I imagine there may be... for example vi users, who wouldn't want to install this feature, so I made some changes in "configure.ac" to add “--disable-emacs-ui” option. Also I use almost the same code in "guix-helper.scm.in" that is used in "scripts/guix.in", so I think it will be good to have some little additional module with ‘config-lookup’ function. WDYT? > • Add a section in the manual, probably under “Package Management”, > describing the interface (probably as a separate .texi file > @included from the main one.) It can come later. This is new subject for me as well; I'll write it as soon as possible. For now the most important part of the documentation is that after installing guix with emacs UI, it may be used by putting: (require 'guix-init) into ".emacs". After that autoloaded "guix-..." commands should be available. -- Alex Kost