From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: Snippets for working on Guix Date: Sat, 16 Dec 2017 21:28:09 +0530 Message-ID: References: <87lgi4vpkx.fsf@elephly.net> <87efnwghs3.fsf@gnu.org> <87ind7nfay.fsf@elephly.net> 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]:51083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQEqz-0001Oe-S4 for guix-devel@gnu.org; Sat, 16 Dec 2017 10:58:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQEqw-00078u-QQ for guix-devel@gnu.org; Sat, 16 Dec 2017 10:58:21 -0500 Received: from [2001:19f0:5:274f:4827:c39:448f:6777] (port=44702 helo=vultr.systemreboot.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQEqw-00075u-BU for guix-devel@gnu.org; Sat, 16 Dec 2017 10:58:18 -0500 In-Reply-To: <87ind7nfay.fsf@elephly.net> 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: Ricardo Wurmus Cc: guix-devel@gnu.org Ricardo Wurmus writes: > 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 = the > directory to =E2=80=9Cyas-snippet-dirs=E2=80=9D and you=E2=80=99re done. Ok, that makes sense. >> 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 f= or any package > that is covered by an updater. Oh, I didn't know about this. This is very useful. Thanks!