From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Snippets for working on Guix Date: Sat, 16 Dec 2017 11:21:57 +0100 Message-ID: <87ind7nfay.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]:41881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQ9c9-0002pn-HE for guix-devel@gnu.org; Sat, 16 Dec 2017 05:22:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQ9c5-0001Fp-IP for guix-devel@gnu.org; Sat, 16 Dec 2017 05:22:41 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQ9c5-0001Fa-BV for guix-devel@gnu.org; Sat, 16 Dec 2017 05:22:37 -0500 In-reply-to: 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: Arun Isaac Cc: guix-devel@gnu.org Arun Isaac writes: >> 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? > > It would be nice if this was available automatically through emacs-guix. I think snippets should not be available automatically. Some really hate snippets or prefer a different system over YASnippet. The setup is *very* simple if you=E2=80=99re already using yasnippet anyway: just add th= e directory to =E2=80=9Cyas-snippet-dirs=E2=80=9D and you=E2=80=99re done. > Apart from the snippets, it would also be nice to somehow automatically > update a package definition -- that is, change the version number, > download the new source, and update the hash. This is implemented as =E2=80=9Cguix refresh -u foo=E2=80=9D. It works for= any package that is covered by an updater. --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net