From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Enable guix-devel-mode only in guix source files Date: Mon, 20 Aug 2018 22:57:29 +0300 Message-ID: <87r2isvmja.fsf@gmail.com> References: <87ftzd3pts.fsf@gmail.com> <87y3d4wzcg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1frqJ4-0004YV-Tn for help-guix@gnu.org; Mon, 20 Aug 2018 15:57:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1frqJ0-0007Ef-Nm for help-guix@gnu.org; Mon, 20 Aug 2018 15:57:42 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:41199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1frqIz-00079G-1P for help-guix@gnu.org; Mon, 20 Aug 2018 15:57:38 -0400 Received: by mail-wr1-x433.google.com with SMTP id z96-v6so5289004wrb.8 for ; Mon, 20 Aug 2018 12:57:33 -0700 (PDT) In-Reply-To: (Arun Isaac's message of "Sun, 19 Aug 2018 23:38:32 +0530") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Arun Isaac Cc: help-guix@gnu.org Arun Isaac (2018-08-19 23:38 +0530) wrote: >>> A better approach might be to add it to .dir-locals.el upstream. What do you >>> people think? >> >> I think the less is added to "dir-locals" the better. Especially, there >> shouldn't be any functions there in my opinion. > > Thanks, Alex and Pierre, for your replies. But, why is adding to > dir-locals not a good idea? It's not a good idea only in my opinion :-) I personally don't like when someone decides what settings I should use so much, that I disable all these dir-locals stuff completely (using 'enable-dir-local-variables' variable). But if I understood this situation correctly, Pierre suggested to: - add a function to the Guix ".dir-locals.el" (does dir-locals support functions at all?) - the function to set up a third-party package (Emacs-Guix)! Why Guix should do it? Both these points doesn't look right to me. -- Alex