From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id KNW+DH2iL2ZWdgAA62LTzQ:P1 (envelope-from ) for ; Mon, 29 Apr 2024 15:37:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KNW+DH2iL2ZWdgAA62LTzQ (envelope-from ) for ; Mon, 29 Apr 2024 15:37:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714397821; a=rsa-sha256; cv=none; b=nBqtx4tQTMoCUR6A3DN+bAWtcpO1ymbB8g3Qok7M/seaZa0c5UELxMyymADH3cRqmE+BKx PUxh44gBVfLpg2wVXHObdR5vRv8HZKtLcqNjzzkBFnvVNsgt0uN6ZRntmzoWYQLo7xRoBS KlfosN2YeRHAcguAqvscFZpoUGlB7K3ZR1H8BgXGp1H6BAbSclNXD6FRmPK9LrvvC9X1Ky s3VW/XuXo2VW5Yyrh7b0ajLQOk50g/EWVn1Doze5PscIWGv/Y9HscQmsChENfcAkqxCmRz xv9Mibze62Kdd71z3SJIDqUz0z8BOKeM9mYas5g761TVAf5x4wqg5OAk2ITMuQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714397821; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=lo6R4FDlgUkrt4vOZLm2hmbGS+nDM33Z43h8IGq5WBM=; b=dPv12XL/dlRGfObr0q1Wkitbbl7uJwCH44xQdUJQyQipfpfC7/7DBK19NhNGtRpb0wU1R3 jH0FYc3CjQLgIlT8Ifbvyveva9VLmcpq0udcOCNoBgSr3qUTL5YWoB6Z+JiDX4soqHw83F gQcn1gK3wHd71w9CCNUIRIbkiVQw4Nmk+tJ7OSescJjMQwhcgdlQKmwmIWEtndfgEo2lVX kCalVtwftcXVeYrqM3sKYFxxL6XkSWK9QJTj0ojIMt8DcR63HCquwXYvgFrKMmgCdMI9Mu Q/5bl64rBfW8/IITp4JQBckr7NQ+Pirfw1h5F7RoDTxFif2cL7yQzGk3hFuiWQ== 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 15463376A0 for ; Mon, 29 Apr 2024 15:37:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1RBH-0002dl-8Y; Mon, 29 Apr 2024 09:36:31 -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 1s1RBB-0002db-Id for guix-devel@gnu.org; Mon, 29 Apr 2024 09:36:26 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1RB8-0000GH-Ra for guix-devel@gnu.org; Mon, 29 Apr 2024 09:36:25 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B585E161D; Mon, 29 Apr 2024 15:36:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O2SCalbxpJyd; Mon, 29 Apr 2024 15:36:17 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 5F7FC101; Mon, 29 Apr 2024 15:36:16 +0200 (CEST) Date: Mon, 29 Apr 2024 15:36:13 +0200 From: Andreas Enge To: guix-devel@gnu.org, Christina O'Donnell , Steve George Subject: Re: Vim helper config for Guix Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-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 X-Migadu-Queue-Id: 15463376A0 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.87 X-Spam-Score: -4.87 X-TUID: 2rlmvALOSrS0 Hello Efraim, Am Thu, Apr 04, 2024 at 09:43:02AM +0300 schrieb Efraim Flashner: > Most of the line indentation works pretty well. Vim, by default for lisp > languages, hardcodes an indent as 2 spaces, and I haven't gotten around > to learning how to write an indentexpr to make it work for guix. As a > result some of the indentation is close but not quite correct actually I would suggest to change to a standard (such as "always 2 spaces") that is easy to remember by a human; as far as I understood, almost nobody knows how this Guix indentation works, one needs to either use Emacs or copy-and-paste. Since mistakes in the current system seem to be unavoidable without special tooling, maybe we should change the definition of "mistake" instead of wasting time for the tooling. I do not know whether there is a reason to sometimes indent only by 1. Andreas