From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: Add openvpn service.
Date: Sun, 15 Jan 2017 23:11:33 +0100 [thread overview]
Message-ID: <87wpdwdld6.fsf@gnu.org> (raw)
In-Reply-To: <878tqcrxih.fsf@gmail.com> (Alex Kost's message of "Sun, 15 Jan 2017 21:25:26 +0300")
Alex Kost <alezost@gmail.com> skribis:
> 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.
I see. So maybe we should just add a rule for ‘match’ in
.dir-locals.el; any downside to that?
Ludo’.
next prev parent reply other threads:[~2017-01-15 22:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 17:57 [PATCH 1/2] gnu: openvpn: Update to 2.4.0 Julien Lepiller
2017-01-12 17:57 ` [PATCH 2/2] gnu: Add openvpn service Julien Lepiller
2017-01-13 17:58 ` Ludovic Courtès
2017-01-14 13:39 ` Julien Lepiller
2017-01-14 21:16 ` Ludovic Courtès
2017-01-15 18:25 ` Alex Kost
2017-01-15 22:11 ` Ludovic Courtès [this message]
2017-01-16 19:32 ` Alex Kost
2017-01-19 11:51 ` Ludovic Courtès
2017-01-19 19:01 ` Alex Kost
2017-01-20 13:45 ` Ludovic Courtès
2017-01-14 22:07 ` Hartmut Goebel
2017-01-13 17:29 ` [PATCH 1/2] gnu: openvpn: Update to 2.4.0 Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wpdwdld6.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alezost@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).