From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Snippets for working on Guix Date: Fri, 15 Dec 2017 17:20:06 +0100 Message-ID: <87h8ssufnt.fsf@elephly.net> References: <87lgi4vpkx.fsf@elephly.net> <87efnwghs3.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]:40736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePsil-0004Ax-Ud for guix-devel@gnu.org; Fri, 15 Dec 2017 11:20:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePsik-0001Jp-P6 for guix-devel@gnu.org; Fri, 15 Dec 2017 11:20:23 -0500 In-reply-to: <87efnwghs3.fsf@gnu.org> 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" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Hi Ludo, > Ricardo Wurmus skribis: > >> to avoid the need to type out boilerplate I wrote a couple of snippets >> that can be used with yasnippet in Emacs, and I thought I should share >> them with you. >> >> These snippets are available: >> >> ./scheme-mode/guix-package >> ./scheme-mode/guix-origin >> ./scheme-mode/guix-git-reference >> ./scheme-mode/guix-hg-reference >> ./scheme-mode/guix-cvs-reference >> ./scheme-mode/guix-svn-reference >> ./text-mode/guix-commit-message-add-package >> ./text-mode/guix-commit-message-update-package > > That looks really useful! > > Do you think we could add them under etc/emacs in the repo, and somehow > have them automatically available? Or should it be in Emacs-Guix? Sure. To use them you=E2=80=99d only have to add the directory to =E2=80=9Cyas-snippets-dirs=E2=80=9D. I=E2=80=99ll document this in contrib= uting.texi. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net