From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: vim modelines for guix repository Date: Sun, 23 Oct 2016 16:20:44 +0000 Message-ID: <87d1ir11gj.fsf@we.make.ritual.n0.is> References: <8737jooytm.fsf@we.make.ritual.n0.is> <20161023051408.GC26768@macbook42.flashner.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1byLWJ-0002Gx-4n for guix-devel@gnu.org; Sun, 23 Oct 2016 12:21:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1byLWF-0000Zl-WD for guix-devel@gnu.org; Sun, 23 Oct 2016 12:21:11 -0400 Received: from aibo.runbox.com ([91.220.196.211]:40959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1byLWF-0000ZX-PJ for guix-devel@gnu.org; Sun, 23 Oct 2016 12:21:07 -0400 In-Reply-To: <20161023051408.GC26768@macbook42.flashner.co.il> 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: Efraim Flashner Cc: guix-devel@gnu.org 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. >> >> 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 think >> 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. >> > > 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. > -- > Efraim Flashner אפרים פלשנר > GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencrypted