From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id MvZgAtS3MWk+PhkAWB0awg (envelope-from ) for ; Thu, 04 Dec 2025 11:33:24 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=yUxcty2+; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id EF8EF1E0B3; Thu, 04 Dec 2025 11:33:23 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: * X-Spam-Status: No, score=1.5 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2E4DC1E08D for ; Thu, 04 Dec 2025 11:33:23 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AF15A4B1A36A for ; Thu, 4 Dec 2025 16:33:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF15A4B1A36A Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=yUxcty2+ Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by sourceware.org (Postfix) with ESMTPS id 4E1224B9DB5D for ; Thu, 4 Dec 2025 16:32:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4E1224B9DB5D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4E1224B9DB5D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.33 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764865956; cv=none; b=SApZF//KzBQWt79HIh9hI7ngXLW2M7RiuG4Js395HP6ukVxR/Hs3k7pINQlJi06HFBXSOn3ZL1KE+10J9rJ8iKWYVmqmkI+T9GeLdZZkBdHzuFzCQtO8bxh9zF+/gZyweX+acPwx5h2OAKUddLAdXGZ7/cN1dmN+Ng0EKmsXLhQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764865956; c=relaxed/simple; bh=petlXtPIbVOPHns3MkqNFXTw75Qz1zcFBf5mVmKt05w=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=gRBhSZG0NBZRnaDJ/hyREZkoe4g9Ur6SizSLE2vTXNahUhT6e2NlJ027p7WGBDkciMOhSyS5+mMHqrWAo5FZ8f7yXct7OI3KoUnhEktFR8WgA+b+2Bf3JJG2E1XEYM9U5jviuc2eNdb12DyK2otWuT2gYN3wvTITG8LN+SY3vSU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E1224B9DB5D Received: from eig-obgw-5002b.ext.cloudfilter.net ([10.0.29.226]) by cmsmtp with ESMTPS id Qy3CvyZHYKjfoRCFvvyuZM; Thu, 04 Dec 2025 16:32:35 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id RCFuvHlGHw44vRCFuvjp57; Thu, 04 Dec 2025 16:32:34 +0000 X-Authority-Analysis: v=2.4 cv=ePITjGp1 c=1 sm=1 tr=0 ts=6931b7a2 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=wP3pNCr1ah4A:10 a=ItBw4LHWJt0A:10 a=N8_x4D5GGoXl-8gYzOYA:9 a=VS4QxaUSPT0UtbFnIvSC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=DsRwEiuWE7IGbAwr7vRWvt0QcHfFb3UdZWxcvYljJ+I=; b=yUxcty2+xwY8Taxf8LD1kYOlmJ uCKEVU78SDTjeACtRhPj+CmtUF3trDcVzlSWILpyeEyLvtmjfHK4pgYejVO4ixd8pyZMhlyJ5ael5 6iBzNdCF9hu3u+RhFo60hyoZb; Received: from 97-122-120-205.hlrn.qwest.net ([97.122.120.205]:51094 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vRCFq-00000001VDU-3lIq; Thu, 04 Dec 2025 09:32:31 -0700 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org, binutils@sourceware.org Subject: Re: [PATCH] binutils-gdb/git: Handle *.ac and *.m4 files in .gitattributes In-Reply-To: <20251203085111.3655102-1-tdevries@suse.de> (Tom de Vries's message of "Wed, 3 Dec 2025 09:51:11 +0100") References: <20251203085111.3655102-1-tdevries@suse.de> X-Attribution: Tom Date: Thu, 04 Dec 2025 09:32:23 -0700 Message-ID: <87wm325ht4.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.120.205 X-Source-L: No X-Exim-ID: 1vRCFq-00000001VDU-3lIq X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-120-205.hlrn.qwest.net (bapiya) [97.122.120.205]:51094 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfF3tATsoD4bkQcfWZMPUoUpmXkmRJVOFAui/QHfz+0L0aX4e9nzYnH21Da8FOkJxWZau4IZpAfDyJ8XAtAIcgOQ33AWDy3Hvz5IsgBvn9Bd3tOBD6we+ a3aZHQ1VGKFXNvPukxkIq+hyNJGOlm49zNM3PYuJuHZNqkrtkN/ipdF3RXkfuk8Df9p7KQAd4KdtXbqzZKSAPI8rNTiYcBDVwqs= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Tom" == Tom de Vries writes: Tom> Since commit 52ca3d3fe61 ("toplevel: unify the GCC and GDB/binutils .editorconfig Tom> files"), .editorconfig has settings for .ac and .m4 files: Tom> ... Tom> [*.{ac,m4}] Tom> indent_style = tab Tom> indent_size = 2 Tom> trim_trailing_whitespace = true Tom> ... Tom> There are no setting for those files in .gitattributes, so the whitespace Tom> attribute defaults to trailing-space (shorthand for blank-at-eol, Tom> blank-at-eof) and space-before-tab. Tom> Since according to .editorconfig the indentation style is tab, add Tom> indent-with-non-tab as well. Tom> Since aclocal.m4 is generated, unset the whitespace attribute. Likewise for Tom> configure. FWIW this seems fine to me. Tom