guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] gnu: Add openvpn service.


From: Alex Kost
Subject: Re: [PATCH 2/2] gnu: Add openvpn service.
Date: Sun, 15 Jan 2017 21:25:26 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Ludovic Courtès (2017-01-14 22:16 +0100) wrote:

>> +(define (uglify-field-name name)
>> +  (match name
>> +         ('verbosity "verb")
>> +         (_ (let ((str (symbol->string name)))
>> +              (if (string-suffix? "?" str)
>> +                  (substring str 0 (1- (string-length str)))
>> +                  str)))))
>
> Not sure why but indent-code.el got ‘match’ indentation wrong, although
> it works for me.  Alex, any ideas?

Because 'scheme-mode' does not provide indentation rules for 'match'
(and many other keywords).  Geiser indents 'match' properly for you.

-- 
Alex



reply via email to

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