From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ILpMGoaSFGTo9QAASxT56A (envelope-from ) for ; Fri, 17 Mar 2023 17:17:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qHs2GYaSFGTMiwAAG6o9tA (envelope-from ) for ; Fri, 17 Mar 2023 17:17:10 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3966E3A94B for ; Fri, 17 Mar 2023 17:17:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdCl2-00082X-TT; Fri, 17 Mar 2023 12:16:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdCl1-00082F-CR for guix-devel@gnu.org; Fri, 17 Mar 2023 12:16:43 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdCkz-0007wC-Ax; Fri, 17 Mar 2023 12:16:43 -0400 Received: by mail-qt1-x835.google.com with SMTP id h19so6158869qtn.1; Fri, 17 Mar 2023 09:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679069799; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=xqbxJlCTkymtyRCsECVQb/Ad9/15hGmzY+4bKeqBZ3o=; b=FHLQlA9txdOLHdUFDQfmTvzOydMCf48jwkrnO+zZCgbQdvXOg3PhFceKee7To6DDeW jb09hUqPki3UrTN0CwaTnqIHbZPagw+lFtz97BpFlsEMY5aW0cYAryMgxGCns7m3EIXh 7M5zxYFA6S2pE37D1Pog0jRL/NIH8tEBZfMGSdyHxwyO8u8EBbQQunuYwqceqY4MXCVd o1AQ9bb3gJHP+8k38CAlQlAvOgNeVTNkpx/9bGtP6/QvZ05h1JZRDb3xXZRcm583aWjH TP1HvEG8ZgIn/GRKZUoLsNwPJ9nplBkdij1DTZpF4B0HzDKX0I/SNpXL7ovHGRT/h3Eb Vs8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679069799; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xqbxJlCTkymtyRCsECVQb/Ad9/15hGmzY+4bKeqBZ3o=; b=ELauphko9trJlGcOKZUZ/8ZISfpyPolCs0Yj66ntxZLNe4t7qP01Vt0VQ8Fa6P/eXu lNj1p/iyUdgCOKd5AtZnSFXM790MMYv/cmpyHJYH+fY/IJwyfPq8C32afQ2Obhp4eiVX 8O+4gPo864QZM21A8q1RQK5pzVOHvSFHkeBKpYXSe3L8QAP4apSPtwP+j6uoAJCur+Iv VLpAJgH+crXXAKfNmfyqF1egUUahQKwE1fHHISVrITuCCJ7mDzZGgAohw/jWXJWK/CrF skBjZAP5BqWyL+1CMC6D5729PbEBLcVocyLCzkAwRUWt1PpWNvIFJOR+3uJ4ykDpuAG8 dJLA== X-Gm-Message-State: AO0yUKW2RqWXJe+7knlUL+fD9/19zw2SJb0nt1w0FQKskfO2qpHrwBiV Q0W22D6FMcSaCQ+b3txrtR7dnJlMPkA= X-Google-Smtp-Source: AK7set/RzA2TASyVAMEMmry7W5EaX8OSFOyDmvND+qcv02OXhswjihOs1rrY5afotU5EtHoYM13lqQ== X-Received: by 2002:a05:622a:188:b0:3dc:3a38:3bd2 with SMTP id s8-20020a05622a018800b003dc3a383bd2mr1093310qtw.12.1679069799220; Fri, 17 Mar 2023 09:16:39 -0700 (PDT) Received: from hurd (dsl-158-22.b2b2c.ca. [66.158.158.22]) by smtp.gmail.com with ESMTPSA id jt56-20020a05622aa03800b003bfc0cca1b7sm1517548qtb.49.2023.03.17.09.16.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 09:16:38 -0700 (PDT) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Simon Tournier , efraim@flashner.co.il, guix-devel Subject: Re: Feedback on indentation rules References: <20230203221409.15886-2-maxim.cournoyer@gmail.com> <20230203221409.15886-5-maxim.cournoyer@gmail.com> <87357alp9n.fsf_-_@gnu.org> <878rgxws6l.fsf@gmail.com> <871qmg5qpj.fsf@gnu.org> <877cw8hvlk.fsf_-_@gmail.com> <87356oijrf.fsf@gmail.com> <87cz5l95ts.fsf@gnu.org> <861qm0broc.fsf@gmail.com> <8735662don.fsf@gnu.org> Date: Fri, 17 Mar 2023 12:16:37 -0400 In-Reply-To: <8735662don.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed, 15 Mar 2023 17:15:52 +0100") Message-ID: <87sfe35p5m.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x835.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FHLQlA9t; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679069830; a=rsa-sha256; cv=none; b=R6siqwGnX2/6R6BIUXw56zBX9gngPWcr0faDKKFGgFNnuJ4N/sbpNjt2Z1hf+JJDoYw+dL Wt6YdrhL+Q4VXde2YUq4+TZzBV1B8HiX9SMjNksjeOI7gmEjVdFdGTL1fFE4hK9ldmFWOV Lu8YQ0j00dPd595xnIkI8FaBAS26pcMjmf7YxBPGJISJEVkn+Hr2vWwF+02l8YkH1sW7X8 lTbVTKoOISryqs8e2NPhebI4fedcOhWrYttXPLUXHqfJbjh5Qv7HiqMfcY1ZDHgrz8nCBl eBPzCHLoPSHRNkgbrEivOXL1nbwRl+LtK4ZNXTS8Se5J1SbtPng1wDFanC72tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679069830; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=xqbxJlCTkymtyRCsECVQb/Ad9/15hGmzY+4bKeqBZ3o=; b=WbIpeYWGQjLFYotY5z8TH8aKdoU/jx7srGLhHAh+AgTVl2jd7HLRXpVvB08SCtQ3SSj1BS jxwRZXGHDCYdkFdAsigpaM9LM62cveioIkiARuz7si/UhVFcgvnJnS/Vw9yL5JGRaJpmDb yUlj+AnNNKilMGBHX9+vrBv9VZLUm8cjPjgUb65LeO6/5TvLtwnynH9gVhEQ+8Vy6TmGj8 sY0upW3wVEJfBdq7JPkkCKV8nns+Q+ITwyGQD7yS7PIAx3J6mXHd3HFCr6PyYUq8Q/y1DV CX5M+0X6RkjwaYTFNN8kwL+l2G2g5DXexaACpy0xC/e+D6mZWjNmjPZZAhN0ug== X-Migadu-Spam-Score: -4.98 X-Spam-Score: -4.98 X-Migadu-Queue-Id: 3966E3A94B X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=FHLQlA9t; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: OoGNSuNlqvqn Hello, Ludovic Court=C3=A8s writes: > Hi, > > Simon Tournier skribis: > >> On Mon, 06 Mar 2023 at 17:56, Ludovic Court=C3=A8s wrote: >>> Maxim Cournoyer skribis: >>> >>>> Thanks for the feedback. I wonder if some are of the opinion that sin= ce >>>> gexp->derivation is a plain function rather than a syntax having a >>>> special form for its 2nd argument, we should leave the default >>>> indentation rules untouched for it? >>> >>> Yes, that=E2=80=99s my take and current practice so far: special rules = for >>> special forms (macros), not for procedures. >> >> What is the rationale? Being able to know directly at the location when >> it is a plain function or a special form? > > Yes. > > Now, it=E2=80=99s aesthetics so there=E2=80=99s no =E2=80=9Crationale=E2= =80=9D per se but rather > established practice: in the project, but also from what I can see in > Guile and more generally Scheme (info "(guix) Formatting Code"). See commits d0b7858968a2c8c8cdacc3679447b250fb5b4dd9 and 933051281fbed0ae71bd40c24a701faf2a02791c, where I reverted to status quo w.r.t. indentation rules of gexp->derivation and computed-file, given the lack of clear consensus. --=20 Thanks, Maxim