From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62216: Odd file corruption in clojure mode and emacs 30 HEAD Date: Thu, 16 Mar 2023 08:50:06 +0200 Message-ID: <83edppqjfl.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62216@debbugs.gnu.org To: Jonathon McKitrick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 16 07:51:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pchSI-0001h8-P0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Mar 2023 07:51:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pchS4-0005Ab-Gx; Thu, 16 Mar 2023 02:51:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pchS2-0005AP-KH for bug-gnu-emacs@gnu.org; Thu, 16 Mar 2023 02:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pchS2-00049k-AQ for bug-gnu-emacs@gnu.org; Thu, 16 Mar 2023 02:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pchS2-00014G-0b for bug-gnu-emacs@gnu.org; Thu, 16 Mar 2023 02:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Mar 2023 06:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62216 X-GNU-PR-Package: emacs Original-Received: via spool by 62216-submit@debbugs.gnu.org id=B62216.16789494204050 (code B ref 62216); Thu, 16 Mar 2023 06:51:01 +0000 Original-Received: (at 62216) by debbugs.gnu.org; 16 Mar 2023 06:50:20 +0000 Original-Received: from localhost ([127.0.0.1]:41086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pchRL-00013G-KP for submit@debbugs.gnu.org; Thu, 16 Mar 2023 02:50:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pchRJ-000133-Mh for 62216@debbugs.gnu.org; Thu, 16 Mar 2023 02:50:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pchRD-0003uS-RZ; Thu, 16 Mar 2023 02:50:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=fk0NHJeiIqEykG5F9b2E5evCxRgCCb1D/6nUiqxdYbw=; b=S/xkHANh3IY1 nKyTswa0bwgVBZWzEhPTx3RC7N0FuxQeCj0mSlYNkmSaVpEaiFZeIe75pC7RcT8Abgt+YlB5EwQdC zPDHfhM6U60hvYZ+QpvCSnactNLSoeU1ppUm+/Isz2Odm44ZvALZvKxDhz3h8hwBukyyf6Nci86LR OifESRS2wsVNauZs/rxiwuikS+v63tsnHddgQsD7tJovPo4O/TWGx9KXyJsMvlkf2RN0s/QAA50KL X43CsNuyTYu6dPlPOhC2i8kWkDsiMPTJrS3JEu45M2oGNmF9dx0Zc9hWpfS8EYvHFUYwEgaB+FeNg dheUIPl0cynX0YKueEDlxQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pchRB-0004PO-MY; Thu, 16 Mar 2023 02:50:11 -0400 In-Reply-To: (message from Jonathon McKitrick on Thu, 16 Mar 2023 00:01:12 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258006 Archived-At: > Date: Thu, 16 Mar 2023 00:01:12 +0000 > From: Jonathon McKitrick > > I realize this is vague, but I'm seeing it consistently: > > I build emacs 30 with native compilation on my M1, and I open my work clojure project, and I see rainbow parens marking a bunch of unmatched parens. > The file will not compile, and the corruption happens simply when I open the file. > > I do the exact same thing with emacs 29 built the same way, and I have no issues. > > How can I narrow this down to a useful bug report? Thanks for asking, and for the bug report in the first place. The way to narrow this down is start with "emacs -Q", add only those of your customizations necessary for reproducing the problem, then post the results in the form of step by step description of the reproduction recipe. It will help a lot if you also post the file which gets corrupted, both before and after the corruption. If that file can be small, that's preferable. I'm guessing that you use some third-party packages, at least for editing clojure sources. In that case, include in your description the packages one should download to reproduce the issue. A description of the recipe should, therefore, look something like the following: . download and install the following packages: - foo - bar - ... . start "emacs -Q" . type the following commands: - M-x load-library RET foo RET - M-x load-library RET bar RET - M-x set-variable RET foo-some-var RET t RET -... . visit the attached file foobar.clj . do to trigger the corrption . observe the changes in the file's contents: - TIA