guix-devel
[Top][All Lists]
Advanced

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

Re: guix emacs mode


From: Alex Kost
Subject: Re: guix emacs mode
Date: Sat, 29 Oct 2016 12:07:45 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux)

ng0 (2016-10-28 10:19 +0000) wrote:

> Alex Kost <address@hidden> writes:
>
>> ng0 (2016-10-28 08:30 +0000) wrote:
[...]
>>> 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 «move the emacs
>> specific settings into an emacs mode» mean?
>
> I don't understand much, well to be honest: nothing, on how modes
> in emacs work. I meant that we maybe could move whatever the
> .dir-locals.el sets into some external modules/files/set if
> possible at all.

Ah, now I see.  The purpose of ".dir-locals.el" is to set some variables
locally for the current project (the contents of the current directory).
I think it doesn't make sense to move dir-locals anywhere, as it is used
to set up emacs (to set fill-column, to disable TABs, etc.) when you
edit guix code from a git checkout.

> It probably works for gentoo .ebuild because
> they have a different file extension than bash, but at their core
> it is bash (if I don't mix it up right now). The sentence below
> looks like this will not work at all for guix.
>
>> Also there is no difference between some guix ".scm" file and a usual
>> guile ".scm" file.

-- 
Alex



reply via email to

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