From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Merging guix.el Date: Wed, 27 Aug 2014 17:11:34 +0400 Message-ID: <87fvgim60p.fsf@gmail.com> References: <874mx3z9h2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XMd0q-0002yz-KN for guix-devel@gnu.org; Wed, 27 Aug 2014 09:11:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XMd0k-0007ar-3o for guix-devel@gnu.org; Wed, 27 Aug 2014 09:11:44 -0400 In-Reply-To: <874mx3z9h2.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 23 Aug 2014 14:17:13 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel Hello, Ludovic Court=C3=A8s (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: > > =E2=80=A2 Put all the .el and .scm files of the guix.el repo under an e= macs/ > directory. Done. I have made =E2=80=9Cemacs-ui=E2=80=9D 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. > =E2=80=A2 Have them appropriately listed in the top-level Makefile.am (= I can > help with that, if you=E2=80=99re 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 =E2=80=9C--disable-emacs-ui=E2=80=9D 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 =E2=80=98config-lookup=E2=80=99 function. WDYT? > =E2=80=A2 Add a section in the manual, probably under =E2=80=9CPackage = Management=E2=80=9D, > 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. --=20 Alex Kost