Re: .dir-locals.el vs. guix-devel-mode

2015-10-02 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2015-10-02 00:34 +0300) wrote: > >> Alex Kost skribis: >> >>> Ludovic Courtès (2015-09-29 22:16 +0300) wrote: >>> Alex Kost skribis: >>> [...] > So I think .dir-locals.el is not the

Re: .dir-locals.el vs. guix-devel-mode

2015-10-02 Thread Alex Kost
Ludovic Courtès (2015-10-02 00:34 +0300) wrote: > Alex Kost skribis: > >> Ludovic Courtès (2015-09-29 22:16 +0300) wrote: >> >>> Alex Kost skribis: >>> >> [...] So I think .dir-locals.el is not the proper place for indentation rules. IMHO they

Re: .dir-locals.el vs. guix-devel-mode

2015-10-01 Thread Alex Kost
Ludovic Courtès (2015-09-29 22:16 +0300) wrote: > Alex Kost skribis: > [...] >> So I think .dir-locals.el is not the proper place for indentation rules. >> IMHO they should be moved to "guix-devel.el" and the manual should >> recommend using 'guix-devel-mode' for editing guix

Re: .dir-locals.el vs. guix-devel-mode

2015-10-01 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2015-09-29 22:16 +0300) wrote: > >> Alex Kost skribis: >> > [...] >>> So I think .dir-locals.el is not the proper place for indentation rules. >>> IMHO they should be moved to "guix-devel.el" and the manual should >>>

Re: .dir-locals.el vs. guix-devel-mode

2015-10-01 Thread Mathieu Lirzin
Alex Kost writes: > Ludovic Courtès (2015-09-29 22:16 +0300) wrote: >> How does that sound? > > I'd like to have them in "guix-devel.el", but I don't see the reason for > duplicating. I think they either should be placed in "guix-devel.el" > (surely the right thing for me

Re: .dir-locals.el vs. guix-devel-mode

2015-09-30 Thread Ludovic Courtès
Alex Kost skribis: > Ludovic Courtès (2015-09-27 23:29 +0300) wrote: > >> Alex Kost skribis: >> > [...] >>> The following code may be used to handle this indentation: >>> >>> (defun guix-devel-package-indent (state indent-point normal-indent) >>> (let

Re: .dir-locals.el vs. guix-devel-mode

2015-09-29 Thread Alex Kost
Taylan Ulrich "Bayırlı/Kammer" (2015-09-28 23:05 +0300) wrote: > Alex Kost writes: > >> [...] >> >> More generally, I'm strongly against using "eval" in .dir-locals. IMO >> this file should be used only to set local variables, and ideally it >> shouldn't evaluate an arbitrary

Re: .dir-locals.el vs. guix-devel-mode

2015-09-29 Thread Taylan Ulrich Bayırlı/Kammer
Alex Kost writes: > Taylan Ulrich "Bayırlı/Kammer" (2015-09-28 23:05 +0300) wrote: > >> Alex Kost writes: >> >>> [...] >>> >>> More generally, I'm strongly against using "eval" in .dir-locals. IMO >>> this file should be used only to set local variables,