Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF418C83F1A for ; Mon, 21 Jul 2025 07:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:in-reply-to:message-id:references: mime-version:subject:reply-to:sender:list-id:list-help: list-subscribe:list-unsubscribe:list-post:list-owner: list-archive; bh=+5Olx2B5xzp4oyJOcNnV/CKuG+CT2GuS+RF/NUCTIlc=; b=FogROLCXJESK9UN4wwdOHoSsK6pPCo1QpYIuOi0YR0JwOo+mg/Mrbc0t F8e/HRtNmLW8t6+ScCMJ5lgqsirv5OODUWLKoNWJtAwLypis+KCU8uq+v xI3fdNThLkvxVNB6Ep7i4Bm5O94256EBYHuEkWz3I7tT9v5DuLxl9rhht 8=; X-CSE-ConnectionGUID: RcfoF9ZsSLyWpR4iCb1MfQ== X-CSE-MsgGUID: mpUTsVJkRcSzFNentUxzNg== Received-SPF: Pass (mail2-relais-roc.national.inria.fr: domain of cocci-owner@inria.fr designates 128.93.162.160 as permitted sender) identity=mailfrom; client-ip=128.93.162.160; receiver=mail2-relais-roc.national.inria.fr; envelope-from="cocci-owner@inria.fr"; x-sender="cocci-owner@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 include:mailout.safebrands.com a:basic-mail.safebrands.com a:basic-mail01.safebrands.com a:basic-mail02.safebrands.com ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:128.93.162.3 ip4:128.93.162.88 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@sympa.inria.fr) identity=helo; client-ip=128.93.162.160; receiver=mail2-relais-roc.national.inria.fr; envelope-from="cocci-owner@inria.fr"; x-sender="postmaster@sympa.inria.fr"; x-conformance=spf_only Authentication-Results: mail2-relais-roc.national.inria.fr; spf=Pass smtp.mailfrom=cocci-owner@inria.fr; spf=None smtp.helo=postmaster@sympa.inria.fr; dkim=pass (signature verified) header.i=@inria.fr X-IronPort-AV: E=Sophos;i="6.16,328,1744063200"; d="scan'208";a="232407367" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 21 Jul 2025 09:45:54 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id 1859EE0C55; Mon, 21 Jul 2025 09:45:54 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 5E9D0E0171 for ; Mon, 21 Jul 2025 09:45:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=+5Olx2B5xzp4oyJOcNnV/CKuG+CT2GuS+RF/NUCTIlc=; b=I0YpAlK2ZigUI1oAMVWFuar9ll0SK9f9NkA8PtBOSUyzAv61mwlznktR 1UXTwSkSLRJAlq1T2XuRw5eum6py5Q2D0RMpfApQwAwOSTSvqYmj6B5mY iNFL6eVdzZmcfG108ZdykPQA9s2/vT50aOu5a7HWtaiZfeNPufDLaGQD8 s=; X-CSE-ConnectionGUID: fe+tF7l2QVKGhnUORkAcXw== X-CSE-MsgGUID: gFUI1vR9Qk+yfOpBhn4l1g== X-IronPort-AV: E=Sophos;i="6.16,328,1744063200"; d="scan'208";a="232407364" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2025 09:45:52 +0200 Date: Mon, 21 Jul 2025 09:45:52 +0200 (CEST) From: Julia Lawall To: Markus Elfring cc: cocci@inria.fr In-Reply-To: <52ce78f5-8141-46dc-9ad0-5cbfedfd92a1@web.de> Message-ID: References: <0830325b-6697-49d1-a0a4-d06814c6450f@web.de> <21f78cc-6034-2b33-c2fb-cdf6d3694d2@inria.fr> <6fa377f7-0612-42aa-afbc-cdeab8bea314@web.de> <8a4b47e2-725e-769e-6bb-43e01113f9fa@inria.fr> <52ce78f5-8141-46dc-9ad0-5cbfedfd92a1@web.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1430068882-1753083952=:3696" Subject: Re: [cocci] Reducing parentheses (with SmPL)? Reply-To: Julia Lawall X-Loop: cocci@inria.fr X-Sequence: 2886 Errors-To: cocci-owner@inria.fr Precedence: list Precedence: bulk Sender: cocci-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1430068882-1753083952=:3696 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Mon, 21 Jul 2025, Markus Elfring wrote: > >> * We would occasionally like to transform selected expressions > >> (which were captured by instances of the metavariable type “expression”), > >> don't we? > > Yes. > > Thanks for an agreement on this use case. > > > >> * Do we care then if it would be needed to specify extra parentheses (or not) > >> for plus slice specifications? > > No. > > I interpret this feedback in the way that it indicates another communication difficulty. > > I am trying to develop adjustments that are consistent and modify source code > places in a minimal and required way. > I find the influence of the data handling for parentheses important somehow. If you have some concrete problems please provide those concrete problems rather than vague descriptions. julia --8323329-1430068882-1753083952=:3696--