From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robin Tarsiger Newsgroups: gmane.emacs.devel Subject: Re: master 2644353: * .gitignore: add src/fingerprint.c Date: Sun, 17 Jan 2021 07:56:19 -0600 Message-ID: <524d38be-9c44-7e72-25db-09f843cf4da1@dasyatidae.com> References: <20210115180318.2341.87079@vcs0.savannah.gnu.org> <20210115180320.0E5AF20B2C@vcs0.savannah.gnu.org> <86im7wcu7p.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32916"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Cc: emacs-devel@gnu.org To: Stefan Monnier , Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 17 14:57:59 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l18Z5-0008Sp-Fk for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Jan 2021 14:57:59 +0100 Original-Received: from localhost ([::1]:40786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l18Z4-0004j1-Eq for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Jan 2021 08:57:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l18XY-0004De-CV for emacs-devel@gnu.org; Sun, 17 Jan 2021 08:56:24 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l18XR-0002XB-31 for emacs-devel@gnu.org; Sun, 17 Jan 2021 08:56:21 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0149F5C00E5; Sun, 17 Jan 2021 08:56:15 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 17 Jan 2021 08:56:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dasyatidae.com; h=to:cc:references:from:subject:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=j z9Yyxl5m9qjj8gfStuGMArs5pXbVDgJ3vUN75R/nAc=; b=auoLEPsK7oz9ydJpZ 0MFBoXyduK6unTcZ1YhCcXC6+xY46k2N87MJPuV6zGzHNUWCmbQ8L48n4oszKjgS mdEBqzhDNqij1AJ+oY0yetURffpxnPy2sCVfH1wrUUc33zm5E7z6bVtrbwIU56Eu 5bQJdjkqezRalvxs7/p+NYW2tWc36mlDlYx5I4ma8KloixY9g+LBlJQDOsFOZ1DQ VFzIKo4ppYncdh8Gphb7jC+YLmFG98kuUyRfV8LzlAhFN6HtBpp5QxmchZaw0Eyj 9SMHs2gpaRjHOomI0CGxHYjnZZwMoxjyHEOjQBij2V75ihxorv8h5nVrR5Ei9i3f dekvQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=jz9Yyxl5m9qjj8gfStuGMArs5pXbVDgJ3vUN75R/n Ac=; b=p85vWIj+oOl9cvqsmcC5DLYPIIXwiR4j/v1fqPG9K+049SVaYwEsvFD5r tK9rmzFG2z4yv7WEEkwUoKqqX8Fz6U5l6cGBQubAKBEXb1KyQn3FQUcn2UlCl4mt EwijtRruLRIJrEAapWusMVqK3HjB88Eu61VUPC7bKKZ3XYo/o9BKF+jf6WbhSINe k/Xj+FZ4awTFz1u6DKKnIChjLcmH8kWk1k4NOt5jCF5h7moVO4tzI/D7TKzYa/9A IlOzQmBH6M+44QgvPatsKD1j8BONojZlUeMLotFxleafNKpJKVe8TiGDWCmiXUJn sMhrrVFDR0VF5japkRvYLywYOH3wQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtdeigdeitdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefvfhfhuffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftohgsihhn ucfvrghrshhighgvrhcuoehrthhtsegurghshigrthhiuggrvgdrtghomheqnecuggftrf grthhtvghrnhepvddugfegffeigeekueeufedvkeffkeehvedvtdegveeltdehhfekfeef gfekgfeknecukfhppeejiedrvdehfedrjeehrdefgeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrthhtsegurghshigrthhiuggrvgdrtgho mh X-ME-Proxy: Original-Received: from [192.168.1.65] (76-253-75-34.lightspeed.austtx.sbcglobal.net [76.253.75.34]) by mail.messagingengine.com (Postfix) with ESMTPA id E882624005D; Sun, 17 Jan 2021 08:56:13 -0500 (EST) In-Reply-To: Content-Language: en-US-large Received-SPF: pass client-ip=66.111.4.28; envelope-from=rtt@dasyatidae.com; helo=out4-smtp.messagingengine.com X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 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, NICE_REPLY_A=-0.252, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263122 Archived-At: Stefan Monnier wrote: > I don't think it'll help: I made the same mistake in the past as have > several others, then we learned, now you're learning as well but next > time around there'll be inevitably someone else who hasn't learned > it yet. I would suggest that when a file transitions from generated to source, it gains a negated entry in a section at the end of .gitignore which is commented to this effect. That way, someone editing the file at the end will see the negation section and be reminded to slow down and check it, and someone editing an earlier section will find that the effect is canceled out and be encouraged to pause and look around for why. (These can be pruned after some time if the section becomes large, of course.) -RTT