help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enable guix-devel-mode only in guix source files


From: Alex Kost
Subject: Re: Enable guix-devel-mode only in guix source files
Date: Tue, 21 Aug 2018 18:15:51 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Pierre Neidhardt (2018-08-21 00:18 +0200) wrote:

>> - add a function to the Guix ".dir-locals.el" (does dir-locals support
>>   functions at all?)
>
> I haven't tested, but currently .dir-locals.el contains
>
>  (scheme-mode
>   .
>   (indent-tabs-mode . nil)
>
> I suppose we can add
>
>  (scheme-mode
>   .
>   (indent-tabs-mode . nil)
>   (guix-devel-mode . t)

Ah, that's what you meant.  I think this is horrible :-)

>> - the function to set up a third-party package (Emacs-Guix)!  Why Guix
>>   should do it?
>
> Sorry, what do you mean?

Guix and Emacs-Guix are separate projects.  And a user is not forced to
use Emacs-Guix, so calling 'guix-devel-mode' will simply fail if
Emacs-Guix is not installed.  So I think this addition to dir-locals
would be a bad decision.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]