From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 7/7] emacs: Add 'guix-devel-use-current-module'. Date: Tue, 18 Aug 2015 16:17:15 +0200 Message-ID: <87twrwu1ec.fsf@gnu.org> References: <1437814197-6321-1-git-send-email-alezost@gmail.com> <1437814197-6321-8-git-send-email-alezost@gmail.com> 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]:59527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRhhW-0003ye-Sh for guix-devel@gnu.org; Tue, 18 Aug 2015 10:17:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRhhV-0001PF-T3 for guix-devel@gnu.org; Tue, 18 Aug 2015 10:17:18 -0400 In-Reply-To: <1437814197-6321-8-git-send-email-alezost@gmail.com> (Alex Kost's message of "Sat, 25 Jul 2015 11:49:57 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Suggested by Ludovic Court=C3=A8s . > > * emacs/guix-guile.el (guix-guile-definition-regexp): New variable. > (guix-guile-current-definition): New function. > * emacs/guix-devel.el (guix-devel-build-current-package-definition): New > command. > * doc/emacs.texi (Emacs Development): Document it. The subject line is incorrect. > +@item M-x guix-devel-build-current-package-definition > +Build package defined by the current variable definition. If you > +modified the current package definition, don't forget to reevaluate it > +before calling this command (for example, with @kbd{C-M-x} (@pxref{To > +eval or not to eval,,, geiser, Geiser User Manual})). Maybe mention that, unfortunately, it will block until the command completes? Also, what about suggesting or even defining a key binding for this one? It sounds very useful. Thanks! Ludo=E2=80=99.