From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: akater Newsgroups: gmane.emacs.bugs Subject: bug#51409: 29.0.50; Basic erts functionality seems to be broken Date: Tue, 26 Oct 2021 11:09:58 +0000 Message-ID: <87h7d4dou1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen To: 51409@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 26 13:22:41 2021 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 1mfKXR-0008hW-I8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Oct 2021 13:22:41 +0200 Original-Received: from localhost ([::1]:38726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfKXQ-0000Hq-3b for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Oct 2021 07:22:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfKWo-0000F2-9y for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 07:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33726) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfKWo-00016p-0q for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 07:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mfKWn-0001rD-SC for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 07:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: akater Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Oct 2021 11:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51409 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16352472997095 (code B ref -1); Tue, 26 Oct 2021 11:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Oct 2021 11:21:39 +0000 Original-Received: from localhost ([127.0.0.1]:45272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfKWR-0001qN-Gq for submit@debbugs.gnu.org; Tue, 26 Oct 2021 07:21:39 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mfKWQ-0001qE-2S for submit@debbugs.gnu.org; Tue, 26 Oct 2021 07:21:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfKWO-00009g-BX for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 07:21:37 -0400 Original-Received: from mail-ed1-x530.google.com ([2a00:1450:4864:20::530]:46709) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfKWM-00010A-2s for bug-gnu-emacs@gnu.org; Tue, 26 Oct 2021 07:21:36 -0400 Original-Received: by mail-ed1-x530.google.com with SMTP id z20so12728074edc.13 for ; Tue, 26 Oct 2021 04:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version; bh=51rKhJxr35kJzi61voS/AtwodP44kfs7xnXz1pI6bMo=; b=pw/cigfUM156/EWVTrnA2oVzAXnnbHfX0QdQrKjPoKrvoW6c6UbeGjGjvQXQx3SAtr rfpmFIiW1sM3lQuh7B5+xOZEdZioqrhX7TZqcLeRd9FQ4j3RtfTnFy8Fyw0UYHUOjXh9 TGSZfxJ65+Ouuw/CD4skLhEGs3MIitFRo+qPpEzdzU+FgOQZaAQUK2XHDSV55S9oLw5e A7ORCQtwTgGsYOOwJa1Uzi58gu8xUNpwDUCyRdE5/mRyd9RcKN6+a+Zkxdli+Bq8tNmx BuV++ZdB4tLVZ/u8dW5WyiMlDLXyF+DvBd6o0WDVW4/UWWi+L2amofy04J1uIpv069QV YocA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=51rKhJxr35kJzi61voS/AtwodP44kfs7xnXz1pI6bMo=; b=OA4jphDponTOj7C++zFCKSgOWBq/4M0+4Big6UfUrT5/0rlIf9dj0RlFnMr3NG9vFr veihBH1ROO7nbbodoG6aGsA/cTRBHVOhScV5q1PwV2EcrMv8/UfkyaczAiVNoQpI8c0A SPbLeKjccBC8krp3Gzq3rTi19z9WEWEcTcrWC3/zFBWhQWpzG01ar5rc/3c+L/Lc9G2e X4DTqt3czAgA0X0nB7F+f99rmDhYf6g0zXW08eP2q09jehPXqHWbq0p4wfeB8rvgC88A jsT9F1d24LYv2pc+lXYrbX4KXb7fKdndxfQOJj9bAfiqD+uVHG7dgLRhDEax83kupzaD FPxQ== X-Gm-Message-State: AOAM531qcc5ryvfJv0ij6ce8UdCgx82heest2JUhCYfOfByi1gcwEU/i 2xBuGtacJmgxNAZex8ujTnB6tP5ML+U= X-Google-Smtp-Source: ABdhPJyZMH+y8y03X4DsNNv3TQM7S6MxDVN3He2Ej+fyx7fn6x68QNyKcPsYyDrD2jnPq/E6Lt5amg== X-Received: by 2002:a17:907:3f17:: with SMTP id hq23mr29444066ejc.312.1635247291592; Tue, 26 Oct 2021 04:21:31 -0700 (PDT) Original-Received: from localhost ([185.31.175.240]) by smtp.googlemail.com with ESMTPSA id yd8sm4309090ejb.33.2021.10.26.04.21.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 04:21:31 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::530; envelope-from=nuclearspace@gmail.com; helo=mail-ed1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.bugs:218374 Archived-At: I can't make some basic erts tests work; this looks like an erts bug. In the following file, the specified result of the first test is what you'd see in a emacs-lisp-mode buffer. When the test is run, you don't get this result. Furthermore, load the following file in emacs -Q and run (ert-run-tests-interactively t). I observe, on the recent build from master, that the /resulting/ after- string is different depending on what the /specified/ after- string was, which certainly should not happen. This is true in two instances of Emacs built with vastly different settings so I omitted Emacs build details. ;;; -*- lexical-binding: t; -*- (require 'ert) (require 'ert-x) (with-current-buffer (find-file-noselect "/tmp/erts-tests.erts") (erase-buffer) (insert "Name: erts-with-basic-newline Code: (lambda () (emacs-lisp-mode) (newline nil t)) Point-Char: | No-Before-Newline: t No-After-Newline: t =-= (whatever| =-= (whatever | =-=-= ") (save-buffer)) (ert-deftest my-erts-tests () (ert-test-erts-file (ert-resource-file "/tmp/erts-tests.erts"))) (with-current-buffer (find-file-noselect "/tmp/erts-tests-with-garbage.erts") (erase-buffer) (insert "Name: erts-with-basic-newline-and-garbabe Code: (lambda () (emacs-lisp-mode) (newline nil t)) Point-Char: | No-Before-Newline: t No-After-Newline: t =-= (whatever| =-= (whatever should-not-be-here | =-=-= ") (save-buffer)) (ert-deftest my-erts-tests-with-garbage () (ert-test-erts-file (ert-resource-file "/tmp/erts-tests-with-garbage.erts")))