From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJgHJk149GEmNwEAgWs5BA (envelope-from ) for ; Sat, 29 Jan 2022 00:12:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iGvGIk149GFuSwAAauVa8A (envelope-from ) for ; Sat, 29 Jan 2022 00:12:13 +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 0D50E14F83 for ; Sat, 29 Jan 2022 00:12:13 +0100 (CET) Received: from localhost ([::1]:52090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDaPb-0001aW-US for larch@yhetil.org; Fri, 28 Jan 2022 18:12:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDaHi-0001Kx-DC for guix-patches@gnu.org; Fri, 28 Jan 2022 18:04:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39577) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDaHi-0006fq-03 for guix-patches@gnu.org; Fri, 28 Jan 2022 18:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDaHh-0006Kv-Sr for guix-patches@gnu.org; Fri, 28 Jan 2022 18:04: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Jan 2022 23:04: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: Liliana Marie Prikler Cc: 53505@debbugs.gnu.org Received: via spool by 53505-submit@debbugs.gnu.org id=B53505.164341099124290 (code B ref 53505); Fri, 28 Jan 2022 23:04:01 +0000 Received: (at 53505) by debbugs.gnu.org; 28 Jan 2022 23:03:11 +0000 Received: from localhost ([127.0.0.1]:60713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDaGt-0006Ji-DR for submit@debbugs.gnu.org; Fri, 28 Jan 2022 18:03:11 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDaGs-0006JQ-0i for 53505@debbugs.gnu.org; Fri, 28 Jan 2022 18:03:10 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 88FCC2BF; Sat, 29 Jan 2022 00:03:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at 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 duZIK7fw8YJj; Sat, 29 Jan 2022 00:03:02 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 8CF421B4; Sat, 29 Jan 2022 00:03:02 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o83yivts.fsf@gnu.org> <48410bfa442f971803d45230594b60ff1b3e7af8.camel@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 =?UTF-8?Q?Pluvi=C3=B4se?= an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 29 Jan 2022 00:03:02 +0100 In-Reply-To: <48410bfa442f971803d45230594b60ff1b3e7af8.camel@gmail.com> (Liliana Marie Prikler's message of "Wed, 26 Jan 2022 20:26:21 +0100") Message-ID: <87czkbbh09.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 88FCC2BF X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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=1643411533; 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; bh=hH4oskoHcni7l/VfZjK5EVLXUMIAvAiAEaPTpEwb/YE=; b=JCV25xNO0LSFdanWTmtyYlYGVpl1KVrdHzTUiYNaoaV4bl2EwLlNrOqeHVyn37f5og4nsZ wm0IZi4zxM9u8e4SAZANSV+XCDTLJC6QQtQ8+d4bcGGUtvTUPhGrhQgzQDsQSm4+gL5OOT ERx/d/hMzsO50gX1XXVWvz8dKXXxNAAYx+WcP1/OYaBQzdI9W3Ms0XnXYYQOHL2Mh4vFsp 2u3VMxE7bvNQRY1BPlOHJNLxPt+Engx6WZYPcRI+DqK0z6XUuhDqxlpEOOXerohsEPN98U RAv5X+YozaeKMDJXZ6yBPMVoYadvpWRXn7mPjuNn/B32pmYZKxi37SDxXHi3QQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643411533; a=rsa-sha256; cv=none; b=MHDLYwIr1XrygX9bFCwhxUXRLlMR4gf+Uqc4lgDDskhOitfp/2KVq3Q0Y4u72/D8/YP5Sh kOMlbE7KFVnSc8ctgvJh8t2SI2xwDTTQP4XAzM6e9zSpANUEJOW52PU5oLzuDvSItzQJzw Ht7pyRtaOqfWQFny5iueA4cP3xR9EKDFnSUeEpZRRQImuShkrH3vrmRmub8Vfam96hfMZq ZSXuVYq8TYqUrTKdFtBwJXAAeMmdQCkkQUPtBOqh88KE96iQlB+UP//3eh0pD8JljapEZb I0XKsT0sOvTGtQyCME9qo0aAF4AS2rFZC3Gd33m9psFneA13DWNXn8DfRhWMJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.63 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 0D50E14F83 X-Spam-Score: -3.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: yjmn85tkGiNe Hallo! Liliana Marie Prikler skribis: > Am Mittwoch, dem 26.01.2022 um 12:24 +0100 schrieb Ludovic Court=C3=A8s: >> Hi! >>=20 >> Liliana Marie Prikler skribis: >>=20 >> > 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. >> >=20 >> > * .dir-locals.el: Drop (eval . (put 'prepend 'scheme-indent- >> > function 2)) >> > and (eval . (put 'append 'scheme-indent-function 2)). >>=20 >> Yeah it=E2=80=99s been bothering me too.=C2=A0 :-) >>=20 >> We can keep =E2=80=98prepend=E2=80=99 though as it doesn=E2=80=99t 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? That looks wrong indeed. Actually these two rules make no sense, right? I don=E2=80=99t know what I was thinking about. So I guess you can drop them, sorry for the noise! Ludo=E2=80=99.