From unknown Thu Jun 19 14:06:46 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#53505 <53505@debbugs.gnu.org> To: bug#53505 <53505@debbugs.gnu.org> Subject: Status: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. Reply-To: bug#53505 <53505@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:46 +0000 retitle 53505 [PATCH] .dir-locals.el: Don't mess up indentation of prepend = and append. reassign 53505 guix-patches submitter 53505 Liliana Marie Prikler severity 53505 normal tag 53505 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 24 11:55:22 2022 Received: (at submit) by debbugs.gnu.org; 24 Jan 2022 16:55:22 +0000 Received: from localhost ([127.0.0.1]:45524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC2ck-00033S-2B for submit@debbugs.gnu.org; Mon, 24 Jan 2022 11:55:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:35134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC2ci-00033I-M4 for submit@debbugs.gnu.org; Mon, 24 Jan 2022 11:55:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC2cd-0004TP-02 for guix-patches@gnu.org; Mon, 24 Jan 2022 11:55:16 -0500 Received: from [2a00:1450:4864:20::343] (port=46915 helo=mail-wm1-x343.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC2ca-0004LV-TD for guix-patches@gnu.org; Mon, 24 Jan 2022 11:55:14 -0500 Received: by mail-wm1-x343.google.com with SMTP id a203-20020a1c98d4000000b0034d2956eb04so283877wme.5 for ; Mon, 24 Jan 2022 08:55:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:date:subject:to:content-transfer-encoding:message-id :mime-version; bh=XqZLMgmU2OhmH+u08G+63MlkZJOaD3HuQmv8RaDbsJ4=; b=EG+GcQrQmYYAO4Z9UBfgp5OYlYLqIh4noYHVqFFOlWmhV4P3kQsdx+lX0II0HdRqqO MfJ54xSGqUyZq7fScQ4IUnfPkgUItY90GqEzim9FKkX9GqbqewPj/ImqIGkq8wi8RVRV 2FcD7/EpktNOvfh0AMryASW21aF7HX72K1P1RC/ZLD8mMImCPiZpD0cqA9Pe+1otMRXQ 8b3k+m0VqYTSyQtW2assFpoYvQ2Lbx2lbw0jduCFvn6Jq/CzFQJI1ByQxn9jVp+GCyja BAd43OjP/YNhg1bUSaprHZ1wFM0pVJYsYxbm2Oyv8JZdCIreg0VUhac8ekk1lqncZQdJ W51Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:date:subject:to:content-transfer-encoding :message-id:mime-version; bh=XqZLMgmU2OhmH+u08G+63MlkZJOaD3HuQmv8RaDbsJ4=; b=vPsOerrmzQ+k5Zgkfa4X9N8lRmvzJ+FhuRVlVpz9FAjAxcale6qQJqJXFTG3u3m9sP fk5PrwRnPzHM3PgHGKEqef/Odsbr2Dvg98lA/tc1S6apzb8lY/D04IpkZ/oD0ksB3pzF CcnJ4vhROPPaznlXJFNBlwh8GPPKyXwpFDYq/rgM7gKFPWlWUgOeYO0BArTJy6+GOas8 hWzJSR2WrMr5Lmj0XinopwpgdAzbA40V2jc8aZgbDTV6TrSnNekSV0GDE01KL15eHjOA S4tL1YfS93f2XGN7e2iPSam6E042KHGL9lujcpQ3kZ+mkP68LViSpMyP2uAqsG+WXrLQ veNQ== X-Gm-Message-State: AOAM533d16CRy//as5OYZHIHtHewy3EjsHtCCuKjnrG/uGZnoti7uOBn ebV8/PbqnhHAqozeHQnkO5l9O6bNROs= X-Google-Smtp-Source: ABdhPJyuhzPezlHTQ6iaZoeZgJUSvjx55OU+JWUjKIoHC3De+iHvGBRRlFtue+bGyhYcYcE868H3QQ== X-Received: by 2002:a7b:c34b:: with SMTP id l11mr2616984wmj.56.1643043306110; Mon, 24 Jan 2022 08:55:06 -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 m6sm3550833wrw.54.2022.01.24.08.55.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jan 2022 08:55:04 -0800 (PST) From: Liliana Marie Prikler Date: Mon, 24 Jan 2022 17:36:46 +0100 Subject: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. to: guix-patches@gnu.org Content-Transfer-Encoding: 7bit Message-ID: MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::343 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::343; envelope-from=liliana.prikler@gmail.com; helo=mail-wm1-x343.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 themselv [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.3 SPOOFED_FREEMAIL No description available. 1.5 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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)). --- .dir-locals.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index 12a6f08739..0edf2a8d23 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -60,8 +60,6 @@ ;; 'modify-inputs' and its keywords. (eval . (put 'modify-inputs 'scheme-indent-function 1)) (eval . (put 'replace 'scheme-indent-function 1)) - (eval . (put 'prepend 'scheme-indent-function 2)) - (eval . (put 'append 'scheme-indent-function 2)) ;; 'modify-phases' and its keywords. (eval . (put 'modify-phases 'scheme-indent-function 1)) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 06:24:23 2022 Received: (at 53505) by debbugs.gnu.org; 26 Jan 2022 11:24:23 +0000 Received: from localhost ([127.0.0.1]:51056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgPX-0001Ks-D8 for submit@debbugs.gnu.org; Wed, 26 Jan 2022 06:24:23 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:35262) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgPW-0001Kh-Ix for 53505@debbugs.gnu.org; Wed, 26 Jan 2022 06:24:22 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 29576293; Wed, 26 Jan 2022 12:24:17 +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 3tr9SXPU3QWo; Wed, 26 Jan 2022 12:24:16 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 6F9E61E3; Wed, 26 Jan 2022 12:24:16 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Subject: Re: bug#53505: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. References: Date: Wed, 26 Jan 2022 12:24:15 +0100 In-Reply-To: (Liliana Marie Prikler's message of "Mon, 24 Jan 2022 17:36:46 +0100") Message-ID: <87o83yivts.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: / Authentication-Results: hera.aquilenet.fr; none X-Rspamd-Server: hera X-Rspamd-Queue-Id: 29576293 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53505 Cc: 53505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi! Liliana Marie Prikler skribis: > The current version appears to assume special values in the first and sec= ond > 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=E2=80=99s been bothering me too. :-) We can keep =E2=80=98prepend=E2=80=99 though as it doesn=E2=80=99t clash wi= th anything. Otherwise LGTM, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 14:26:30 2022 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> Subject: Re: bug#53505: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= 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-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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 p [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.3 RCVD_IN_VALIDITY_RPBL RBL: Relay in Validity RPBL, https://senderscore.org/blocklistlookup/ [209.85.221.66 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (liliana.prikler[at]gmail.com) -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.66 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.66 listed in list.dnswl.org] X-Debbugs-Envelope-To: 53505 Cc: 53505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) 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? From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 15:45:44 2022 Received: (at 53505) by debbugs.gnu.org; 26 Jan 2022 20:45:44 +0000 Received: from localhost ([127.0.0.1]:53662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCpAm-0003oK-Is for submit@debbugs.gnu.org; Wed, 26 Jan 2022 15:45:44 -0500 Received: from tobias.gr ([80.241.217.52]:35622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCpAj-0003o8-NH for 53505@debbugs.gnu.org; Wed, 26 Jan 2022 15:45:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=d9Bq1JBQ8/5YF GmHbOXR4pBgn0kug1bNr0OrXs2z5cw=; h=date:subject:to:from; d=tobias.gr; b=HlHXp1k3GG5iZmbyGncWU3j743ITowu10jl+MlsskynnuQmbOLckEboixZelJu9XepMu mQrc47JShCdaLf1w3zvCWXSEVGy3p44hNI/5TNjThbGXORwFcP8y3hP46fNb7qK29k1ZrR hSMgSzVhwHHHH8568gcRob9qtnwQzW5J922VAjETYEKrzJAvsnLOtxG637oAhZ+YAF8RhE MQnfHGi+9qqp1hNoYqiQ5QXD8pMBATojFVuLcMga0UyzoJ1jrgftHjQ3KXn+wC/01ZRecA 8ZMWMHjTwEJoEUjL3F2VZQAm97qSSLA1efxwdclNrISLUu1KQi4XUQ7yCIsp/srw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id cbb2e412 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <53505@debbugs.gnu.org>; Wed, 26 Jan 2022 20:45:37 +0000 (UTC) From: Tobias Geerinckx-Rice To: 53505@debbugs.gnu.org Subject: Re: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. Date: Wed, 26 Jan 2022 21:39:48 +0100 BIMI-Selector: v=BIMI1; s=default; Message-ID: <87sftap6oe.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53505 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Lily, Ludo', In fact the indentation rule for =E2=80=98prepend=E2=80=99 convinced me tha= t I was=20 holding it wrong the first time I tried it. Perhaps I was missing=20 a LIST call? I had to convince myself I really wasn't. What's the case in which the indent-by-2 rule is correct? Trying=20 to learn here. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYfGy8Q0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW155LwBAKc0XDoR903MMvIoTPHPNhdBxu5q7bnsgd+EpPau jOocAQCcv5x5/c85zNWv7Rbcbmp4yregZ7hZqNPJYiOzQ/aHAw== =tjSG -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 28 18:03:11 2022 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Liliana Marie Prikler Subject: Re: bug#53505: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. 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: / Authentication-Results: hera.aquilenet.fr; none 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 53505 Cc: 53505@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 29 02:51:20 2022 Received: (at 53505-done) by debbugs.gnu.org; 29 Jan 2022 07:51:20 +0000 Received: from localhost ([127.0.0.1]:60934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDiW0-0007a5-LA for submit@debbugs.gnu.org; Sat, 29 Jan 2022 02:51:20 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDiVy-0007Zs-LA for 53505-done@debbugs.gnu.org; Sat, 29 Jan 2022 02:51:18 -0500 Received: by mail-wr1-f67.google.com with SMTP id u15so15200138wrt.3 for <53505-done@debbugs.gnu.org>; Fri, 28 Jan 2022 23:51:18 -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=e65/AIo0XpPZixU1XrghQBZORGQPQTG14l5igSpW8zk=; b=mKwfh2YUnT2R8zo9aOAyw/vRXGBeieGH7ih6Dn8M0MRLtj5eUTJpQe2azq8qvzXX2R fA4W6t6XNuWwdKzaFsNiLB2GwVk79EBRLo0qolnoKq3buX4TPfCFVW6MI9ni/X+ybk/V Qkh7qCB2/4RfGcA8NllWgNeF8f3hxMPNtzoLyCJ+vV8ygn/dSZbAVTaTNdnZKIZfciRV hf/HmRflTdWMQ0TlJNL5oFYDzv6fBaVeu2yx5VF1N2uqeKpzTig8eO95QbaTCVqCaUpA VrHil2lUSp+wEaj5lFKimyd8yDU9YWe+5qJ+fKq8jc+C2gkut0wzlKyy4pIc3NY1wvC1 oZkA== 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=e65/AIo0XpPZixU1XrghQBZORGQPQTG14l5igSpW8zk=; b=t9IQtaDn70D1bqyRRSdjJ8lBe6FWI0BffwW7lE+AG6v1nQtq5jZIMOHGh0wyd6BbMf CSBTHkPaZtqVxyhwswGUOzDgSvErdBlCPfV65Gp3uDcugK3E5Mm40irQ356SrfHN+bQq wdlLDSKI7Iiq/tYSYjP1/dWFpIOg0WxTkJjgQeiA08yFwlPP7Ldzf+UG873bU/1S0Ife OTwcXcdSRfPw8loYsyqRAwuA+gajlPz6syYlS57d//x1JgwVP1KTzrCPrQkQui0+x/zf A7T//XLNztEzzn5iK9nYaut+nhlHfA6noVmoQbF5rLCsKrG2wN5J8rmeZfMl4c+UOKKY tmvw== X-Gm-Message-State: AOAM530bNnxD/d/q4yCsIkizhCxp3DU638Kqd75+7ZT7ILfYtXGPdK8y A+LsEplPT/RT4T784qG83uE= X-Google-Smtp-Source: ABdhPJxUFxa1d1PXXoApuz36+2E0NQiOflfShDeDyWXElSJ9j9sNgA7AFolud9hFqjBqxRoWIcoRaQ== X-Received: by 2002:a05:6000:1844:: with SMTP id c4mr5410144wri.103.1643442672364; Fri, 28 Jan 2022 23:51:12 -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 r2sm9331697wrz.99.2022.01.28.23.51.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 23:51:11 -0800 (PST) Message-ID: Subject: Re: bug#53505: [PATCH] .dir-locals.el: Don't mess up indentation of prepend and append. From: Liliana Marie Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Sat, 29 Jan 2022 08:51:10 +0100 In-Reply-To: <87czkbbh09.fsf@gnu.org> References: <87o83yivts.fsf@gnu.org> <48410bfa442f971803d45230594b60ff1b3e7af8.camel@gmail.com> <87czkbbh09.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 53505-done Cc: 53505-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Am Samstag, dem 29.01.2022 um 00:03 +0100 schrieb Ludovic Courtès: > Hallo! > > Liliana Marie Prikler skribis: > > It might not clash, but is its behaviour correct?  [...] > > That looks wrong indeed.  Actually these two rules make no sense, > right? I don’t know what I was thinking about. > > So I guess you can drop them, sorry for the noise! Don't worry and thanks for confirming. I've pushed this now. Cheers From unknown Thu Jun 19 14:06:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 26 Feb 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator