From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 24 Jul 2025 09:52:01 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ueqkC-003B0n-33 for lore@lore.pengutronix.de; Thu, 24 Jul 2025 09:52:01 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ueqkC-0005ro-Ot; Thu, 24 Jul 2025 09:52:00 +0200 Received: from mx07-007fc201.pphosted.com ([185.132.181.212]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ueqjx-0005ra-JI; Thu, 24 Jul 2025 09:51:46 +0200 Received: from pps.filterd (m0456228.ppops.net [127.0.0.1]) by mx07-007fc201.pphosted.com (8.18.1.8/8.18.1.8) with ESMTP id 56O7htdZ4114092; Thu, 24 Jul 2025 09:51:42 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cab.de; h=cc :content-id:content-transfer-encoding:content-type:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= pp-2025; bh=Q1iIY6mkYvS4u6Jn66VGn5gdWsUKsXK8UJJV3ji/7vU=; b=ivOd tIzr48YCQJsoZHQ+91lK5ON3ZHXWiCB65aWMTmLl5IoRAzkbGssyYvIllyHFazW9 BmMUQluxrkjI8Ksp0zkKBWEhIE8a4uKh7oRamQ0kZeFQCCXud7mVnGvynx7Hnqd0 pvJhyxTDw4zKY/RbyN5bUJf+O0t/Yhz0o2p/tT5LrW7xnvSWbjg4FgI1YR8AevUL RKBIZmU4rIqPSRHA64MnBbkfOW0LX900IPXI/0TujuOdcG7yOJfWT63ki0mvfbvN JBs2NZrTkTTo1oLlUj2a8LfrT9Uro+1PVncOoo2eGGDcSrjisbjSr4CsEso2GAxg pvzgSJKOI1E+mnHmEw== Received: from adranos.cab.de (adranos.cab.de [46.232.229.107]) by mx07-007fc201.pphosted.com (PPS) with ESMTPS id 481vq30y9f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 24 Jul 2025 09:51:42 +0200 (MEST) Received: from Adranos.cab.de (10.10.1.54) by Adranos.cab.de (10.10.1.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 24 Jul 2025 09:51:55 +0200 Received: from Adranos.cab.de ([fe80::9298:8fc8:395c:3859]) by Adranos.cab.de ([fe80::9298:8fc8:395c:3859%7]) with mapi id 15.02.1748.010; Thu, 24 Jul 2025 09:51:55 +0200 To: "ptxdist@pengutronix.de" Thread-Topic: [ptxdist] [PATCH] templates: update vim modeline for makefile and kconfig files Thread-Index: AQHb9ociD8TFy/64d0qbiD80WRtvwLQ/M38AgAClZwCAAPgYAA== Date: Thu, 24 Jul 2025 07:51:55 +0000 Message-ID: References: <20250716192255.4781-1-bruno.thomsen@gmail.com> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.3.180] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-GUID: mfuGeZmmsDivrrruSpbUKlNqjF8chDNT X-Proofpoint-ORIG-GUID: mfuGeZmmsDivrrruSpbUKlNqjF8chDNT X-Authority-Analysis: v=2.4 cv=bPIWIO+Z c=1 sm=1 tr=0 ts=6881e60e cx=c_pps a=LmW7qmVeM6tFdl5svFU9Cg==:117 a=LmW7qmVeM6tFdl5svFU9Cg==:17 a=xqWC_Br6kY4A:10 a=kldc_9v1VKEA:10 a=kj9zAlcOel0A:10 a=Wb1JkmetP80A:10 a=VzyhzO-ORqcsJBrMjl0A:9 a=CjuIK1q_8ugA:10 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNzI0MDA1NCBTYWx0ZWRfX2AKFxR0MdlVL Sy2T8GQ5dHvjDnxISaE3/ItdwV7wwVZmTd20nILiLM3bvUeG+e+ovSD8kruNmu1VPz7glGj7HX8 4X6USjph2cs/89MyJ8/WixeTDzwfqZms/gt47yMwRIdhi5m9CsKdZZ/7GFeOSnkc80exJtcMbev ZYle+4YYXNMo4wC/wyF994O5/b6nGr3So+Ha3eKjuiKlBdLxZ81DemkkH+ejmVYAT7pi9r8ZdZb 2fXTZlCyKXSxA1JMy8179zh7q2LOMFWM8bGajxW6MBB0LZXgTH2tGhQmaO51cPNdlC68/qXHCmj Qi8TtyquDPD4Y0UUkKTR+Nafs5Z1TcVJzLwnNHiOspoQKI6oPvzqj2k5skc3oI/TnoBF774fxnF YHhzcU1V X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] templates: update vim modeline for makefile and kconfig files X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Markus Heidelberg via ptxdist Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg , Michael Olbrich , Bruno Thomsen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Wed, Jul 23, 2025 at 07:03:42PM +0200, Bruno Thomsen wrote: > Den ons. 23. jul. 2025 kl. 09.11 skrev Michael Olbrich > : > > > > On Wed, Jul 16, 2025 at 09:22:55PM +0200, Bruno Thomsen wrote: > > > Setup sane editor default using vim modeline. > > > > > > sed -i "s/syntax=3Dmake/ft=3Dmake noet tw=3D72 ts=3D8 sw=3D8/g" rules= /templates/*-make > > > > tw=3D72 is fine for the .in files. That will give a good flow for the h= elp > > text. Most of the rest will be shorter anyways. > > > > But the makefiles have longer lines. The banner above the stage are alr= eady > > 78 chars wide and many of the variables at the top as well. > > And for the rest, readability really depends on the content and a defi= ned > > textwidth suggests a hard limit that I don't want to set. > > > > Maybe a soft visual limit with cc=3D80 instead? >=20 > [...] >=20 > Maybe drop tw on both and use cc=3D80 on kconfig (as you suggested) > and cc=3D100 on makefiles? I don't think such a visual setting should be imposed on the user and could annoy some, myself included ;) Is this a problem in practice that has to be tackled at all? Markus=