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 ms0.migadu.com with LMTPS id +AmJM/Kg8WGw4QAAgWs5BA (envelope-from ) for ; Wed, 26 Jan 2022 20:28:50 +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 gD2QKvKg8WE9OwEAG6o9tA (envelope-from ) for ; Wed, 26 Jan 2022 20:28:50 +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 5C2733F97C for ; Wed, 26 Jan 2022 20:28:50 +0100 (CET) Received: from localhost ([::1]:55408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCnyL-0001NK-EE for larch@yhetil.org; Wed, 26 Jan 2022 14:28:49 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCnwg-0000UB-77 for guix-patches@gnu.org; Wed, 26 Jan 2022 14:27:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCnwc-0006QB-12 for guix-patches@gnu.org; Wed, 26 Jan 2022 14:27:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCnwb-0001mV-NC for guix-patches@gnu.org; Wed, 26 Jan 2022 14:27:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53505] [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Jan 2022 19:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 53505@debbugs.gnu.org Received: via spool by 53505-submit@debbugs.gnu.org id=B53505.16432251906809 (code B ref 53505); Wed, 26 Jan 2022 19:27:01 +0000 Received: (at 53505) by debbugs.gnu.org; 26 Jan 2022 19:26:30 +0000 Received: from localhost ([127.0.0.1]:53572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCnw6-0001lk-8A for submit@debbugs.gnu.org; Wed, 26 Jan 2022 14:26:30 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCnw4-0001lW-Pw for 53505@debbugs.gnu.org; Wed, 26 Jan 2022 14:26:29 -0500 Received: by mail-wr1-f66.google.com with SMTP id u15so805285wrt.3 for <53505@debbugs.gnu.org>; Wed, 26 Jan 2022 11:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Bkkmx1l/qX47C0uumsCmww4Pj54lqaxVKBNNU7KlxDA=; b=MNa5zU6mrVC/v4AuaI7LuTKPYXkwky8DQq+MaBWybccIo/tqBmPk/m7DMyn+2Y4aMx K9mb/axDEpiehEqCXq1LcMPmwJbE/odP5JCLgIvRX5QUnEbY/ClGOx2BcdQOYqD/dLpl WlzWf1LuNxYhUnapddZCEZ95AdUIJiCU9TIgJOWhm2CA9iAXoHWuw3mNdzgCNIdTZfCQ csn1KA0+0eQnZGpomvmQDVcmy4PsMGDKmEeQotTB0prPHTuVkSG7Ss1gh22yEtdJzPhN HsOIism0m/SWWbrxA7Xr27XA5j3FUlVEn8KvKfIQbFQhO7LLh/u+KGY8FHrYXBCMtRJk PrNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Bkkmx1l/qX47C0uumsCmww4Pj54lqaxVKBNNU7KlxDA=; b=gmtQ7uqXy7N2R/UDdhP4eUgekZzfTQScMtrvESRlW7DfZm1FnffELoc6Y92SvkJnKE 1eq0ZqjXw0zgwPZDaq2IHQfvol6tB0AuKKgTgmvwfn43KIHhVBATTBTPqe9uBPLQLF/3 FEkw83Mnzp7SM4/a5EFsso1AnFlwDm5WOAKKKYfh5fcR0t31Z7csiTb4HZ9/ybx/Xu3G IFVtP1vUa4kBRNpFcfX3aQ03cNKA2mK1Ftl83gm4LzlHe4/OzvN4Qn1ihFYScaelWcfC 6M8hSGzAM7Wk/x2htXML6tceUfxf+NLahJHWA44wd2cQRZSP1+ZOmU3AJ0jJ3ycW/cBL GO4g== X-Gm-Message-State: AOAM530JhXTFVZ6txv7CqJQF57i9BXGOJt9pot8wsKgw3gck61Sqj/t9 CgRcv0Yls+dl1UPawbs4UBc= X-Google-Smtp-Source: ABdhPJzFapdzt1maTm1te8pgANoTLZiNjNj1cV3YcfkD0sJrGzbIV+uCBoai1Xi52a14LSMKikaKVA== X-Received: by 2002:a5d:4d50:: with SMTP id a16mr110448wru.182.1643225182729; Wed, 26 Jan 2022 11:26:22 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id i6sm91994wma.22.2022.01.26.11.26.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 11:26:22 -0800 (PST) Message-ID: <48410bfa442f971803d45230594b60ff1b3e7af8.camel@gmail.com> From: Liliana Marie Prikler Date: Wed, 26 Jan 2022 20:26:21 +0100 In-Reply-To: <87o83yivts.fsf@gnu.org> References: <87o83yivts.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643225330; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Bkkmx1l/qX47C0uumsCmww4Pj54lqaxVKBNNU7KlxDA=; b=iYk4fWM243yqC8UfaEE5Qa02yaMg0zoT3KOgml6UClcX6mMDS6jwzdvWOola7UzC6VBHsv 13+xtKqUAV1xHPpFN6FEpkJTAFiHB/dIcGbLU6myBFvdHbF8VbSrqc8kN28cTI/2KjGroZ ifRtLbOgZgG78oDV07ne5KiEwPW+V93BUb8Rk0wsY8F1WLAEIv7J3HEqeg4xjF54CyTxZ6 5gdyhZtPXYP8wLuKl6+EaQJRcTJUtORRNgVmBwVkafzEwS/VubKgOEaKKkMx0KXtmiGw6T n+sv9Asch1oBC2zSuBzH77XZj9XonX+cmcrNo2tkCGYN0MbCi5yPU6khw7S4oA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643225330; a=rsa-sha256; cv=none; b=nDZ8tY2DIsys25d4KhJ3iIVgqK505tPOTCC6v03WLtgzoK96ec3xgoYymZJd/o2DSsL7K1 DIsUB9gzWx0N9rWcdYDT++CaowEokIqUVKLeZlArCnFIam5VYJdi0i2n/tfbIwGhh4KZtO mfeighYSAYt0QBzXV6tQ2RjDLK4U9tCFf80y41oZraWThTh9fhGLvQQ7u7MCMv/M3z4CEx gCOWevsODPagz7ylNbJmQB7WjYpJuwfgg9GX1cnw+VHNADKwm1McPYCuPNjGlJ0XWbctT7 SFVsNnl5x6HDKHUKAja9ivjk+OvMtVt/TQ57SvCMxDQTNFN4tezkyt1tKY8AqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MNa5zU6m; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=MNa5zU6m; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5C2733F97C X-Spam-Score: -2.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: X+p+ZU9y9fEt Hi! Am Mittwoch, dem 26.01.2022 um 12:24 +0100 schrieb Ludovic Courtès: > Hi! > > Liliana Marie Prikler skribis: > > > The current version appears to assume special values in the first > > and second package, but it's either all lists (default append) or > > all package input expressions (inside modify-inputs), which > > themselves are either packages or a list consisting of a package > > and a string. > > > > * .dir-locals.el: Drop (eval . (put 'prepend 'scheme-indent- > > function 2)) > > and (eval . (put 'append 'scheme-indent-function 2)). > > Yeah it’s been bothering me too.  :-) > > We can keep ‘prepend’ though as it doesn’t clash with anything. It might not clash, but is its behaviour correct? IIRC, prepend and append take a list of packages inside modify-inputs, so if I wanted to add spam, ham, eggs, milk and butter to a python-package, I'd write that as (modify-inputs my-package (prepend python-spam python-ham python-eggs python-milk python-butter)) That doesn't seem right, now does it?