From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: guix emacs mode Date: Fri, 28 Oct 2016 12:47:05 +0300 Message-ID: <87h97wdcva.fsf@gmail.com> References: <8737jooytm.fsf@we.make.ritual.n0.is> <20161023051408.GC26768@macbook42.flashner.co.il> <87d1ir11gj.fsf@we.make.ritual.n0.is> <8737jgub8g.fsf_-_@we.make.ritual.n0.is> 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]:52556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c03kl-00078m-Ba for guix-devel@gnu.org; Fri, 28 Oct 2016 05:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c03kh-00069y-Do for guix-devel@gnu.org; Fri, 28 Oct 2016 05:47:11 -0400 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]:35000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c03kh-00069Y-5e for guix-devel@gnu.org; Fri, 28 Oct 2016 05:47:07 -0400 Received: by mail-lf0-x22d.google.com with SMTP id f134so47506978lfg.2 for ; Fri, 28 Oct 2016 02:47:06 -0700 (PDT) In-Reply-To: <8737jgub8g.fsf_-_@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Fri, 28 Oct 2016 08:30:23 +0000") 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: ng0 Cc: guix-devel@gnu.org ng0 (2016-10-28 08:30 +0000) wrote: > ng0 writes: > >> Efraim Flashner writes: >> >>> [ Unknown signature status ] >>> On Sat, Oct 22, 2016 at 09:31:33PM +0000, ng0 wrote: >>>> Occasionally I use vim on systems to work on guix and other projects. = As >>>> far as I see it, there is nothing similar to .dir-locals.el (the per >>>> directory local variables in emacs) for vim. >>>>=20 >>>> We should include modelines for every file to reflect what .dir-locals= .el >>>> does when you use emacs. It's probably an unpopular opinion, but I thi= nk >>>> we should do this to be more open to people who do not use emacs. >>>> Support for vim and emacs covers most editors which are there to >>>> support. >>>>=20 >>> >>> IMO there's too many files to go adding to the bottom of all the files. >>> Something I've been thinking about is learning enough vimscript to write >>> a guix.vim file that'll take care of formatting. >> >> I agree, this could be more useful. The best approach would be to move >> this to a separate project, so that other systems can create packages >> for this to install it. > > Different issue, but somehow related: Could we move the emacs > specific settings into an emacs mode if emacs modes can detect > some common structure or however we specify that the current file > which is edited is guix and not guile/scm alone? Sorry, I don't understand the question. What does =C2=ABmove the emacs specific settings into an emacs mode=C2=BB mean? Also there is no difference between some guix ".scm" file and a usual guile ".scm" file. --=20 Alex