From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cCaZL35sB2TQ9gAASxT56A (envelope-from ) for ; Tue, 07 Mar 2023 17:55:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mOmuLn5sB2TfcgEAG6o9tA (envelope-from ) for ; Tue, 07 Mar 2023 17:55:26 +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 8D49D3D03C for ; Tue, 7 Mar 2023 17:55:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZaab-0002TY-SN; Tue, 07 Mar 2023 11:55:01 -0500 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 1pZaaa-0002Sk-9X for guix-devel@gnu.org; Tue, 07 Mar 2023 11:55:00 -0500 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZaaY-0000wf-Oa; Tue, 07 Mar 2023 11:55:00 -0500 Received: by mail-qt1-x834.google.com with SMTP id s12so15008121qtq.11; Tue, 07 Mar 2023 08:54:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678208096; 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=69mBPTzOMQzN0k9JjU9LMBIigNvq4iQu+tTE/Bd6F8I=; b=gOJw1O8bm4pxNr+ALKJOLomTgNSObs9cy+Qg8t2l3JCcNUZBdsEbYOgogXEsTKm6z1 VbXOK3NZmAB2fJ/yXRDVcUlDQvciox1MtEiATPSC34FXd+tyBl5Pq/oSrxjDkRwUzFIU 1Bytjndh0kMf2Bup4ekPRplUpwGVAezKo0sXJo14v6RYS5QFA9irdvZN9vy3gZAiL1ga gUQvlCjKwcoIZ0LFQBf49Ptphh+qd5+F9YUUnEdPgnsJSdFuk2BLKxLuCama+zGI8kNF 2sigc4jZSiIDvHhPZfQ8H6OdrvpMpxELv51mAQne3k4+8deFO4PA0jAg+zMq5EEpORLf oYEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678208096; 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=69mBPTzOMQzN0k9JjU9LMBIigNvq4iQu+tTE/Bd6F8I=; b=6wGHnOd3r3WaAW1bMERX/dFGk4T9vl8s7Ksi5b+dL3jb0rMRgCq/wyk5blMuCup4GH UDfHscvYDqPhOwqiPp0/AUHFozkugqFTnZrJzeXadUzfDYC48oSBDHbobLivgHaEw/hN LB/DWXQiIUbudeBIL4UFCZw6/yQdF2wGZfCPDwpzPF9HBdY+OE18BvxwHp0OhUuzY/1w yB0yeOIk7eMhXcuvmJsPpMaBK3HlZzn8SGkrblq15U7H51LQmhNUQQDLaHpVJJWeSs3E g1EhFbETkpubEhkdIL6txFGplR33QND/4aJKSrRZXVZqAi55SLmqjf/1GFT6tGpzFv/b M2eg== X-Gm-Message-State: AO0yUKValPXvP7KwDs9y+ZdUspI+9KBwX7gSed9cbwhhznO945YNHFbv ic8CvJ9ZRsabPIV7ggLzig6/a2YAma8CuA== X-Google-Smtp-Source: AK7set/mzn/d4YUl/MBDsxuNRQunHh9Te1JkDTSReLY/luBiz7NiJeA3DqCzzufXigyDgeeligRnyg== X-Received: by 2002:a05:622a:44e:b0:3bf:d1da:114b with SMTP id o14-20020a05622a044e00b003bfd1da114bmr26103255qtx.47.1678208096303; Tue, 07 Mar 2023 08:54:56 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1000]) by smtp.gmail.com with ESMTPSA id l19-20020ac84593000000b003c03ae61af9sm1385076qtn.3.2023.03.07.08.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Mar 2023 08:54:55 -0800 (PST) From: Maxim Cournoyer To: Simon Tournier Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 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> Date: Tue, 07 Mar 2023 11:54:54 -0500 In-Reply-To: <861qm0broc.fsf@gmail.com> (Simon Tournier's message of "Tue, 07 Mar 2023 14:46:11 +0100") Message-ID: <87356gy00x.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::834; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x834.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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678208126; 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=69mBPTzOMQzN0k9JjU9LMBIigNvq4iQu+tTE/Bd6F8I=; b=YXlhvwMu5jhmFp2niiFuHvmWVEl5+apaGAmer/KEb4sRzbIazlJVJi6604EJGHazLItrxD lkbsd79txUvVqyMjEpj3eKCc3uTauNScEkC2365l/gYAvG/RlRv/ICX6rEuhEv49CUSTyJ o8zcmzR04oyJrJd0O69PLh7oWRJZnB8Sbeu3ssjftq1FaJXl5lx8N9RULuMSdz3acP+5Ea WMkgMn/FuUyBTrpubbYeMDyhEttkLJ8G2C2K2/4QDI7PSdJXwx1QnJhh1RITyWrK/XNa85 uybD+o8onmmZ4sxMbOdtZa15BfhLKZg5ccXKCjv57E9HeqV1sJMCaLkQzoWpvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gOJw1O8b; 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=1678208126; a=rsa-sha256; cv=none; b=QcX4Y1GdpogX4uADM/edxwm6dszVOjJo6wksoxg8TOpFK6QYlR0sdMnrEN9UaqqKvaWVQA HK49716IRMtb5188uFRwWvMofbmgGbAC44iuszkY+75xd4GSSV9FCr3xBswFtT1i1qCcA3 HrpbO0pCKmouTccuejiz5EyRnWyjD0gMfdTS+t0z/lLcLsTTQT7jWdcSz9FmIr4zUlDzxu KemRkmJ/yCYPpgQnJy4RvTVzy2QQQJXFSk9T5konytN+02r70sDV2TlpaCvplWTqYiCeyE U3Y8AStTyI541EadBhD0nJjnU1B4yoi4GWrwVyqS8lwXWkbRcE6u59/08ZJIaA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=gOJw1O8b; 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-Migadu-Spam-Score: -3.43 X-Spam-Score: -3.43 X-Migadu-Queue-Id: 8D49D3D03C X-Migadu-Scanner: scn1.migadu.com X-TUID: q83bWZYCL1GZ Hi Simon, Simon Tournier writes: > Hi, > > 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 since >>> 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 f= or >> 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? > > For what it is worth, I do not see an high difference between the both > indentations. So, my opinion would to keep the current practise. Please take a look at my original message in this thread, https://lists.gnu.org/archive/html/guix-devel/2023-02/msg00297.html, where I gave examples of gexp->derivation indentations that should explain the rationale allow nesting arguments more naturally, as if gexp->derivation was a special form (although it's a simple procedure). --=20 Thanks, Maxim