GNU bug report logs - #51409
29.0.50; Basic erts functionality seems to be broken

Previous Next

Package: emacs;

Reported by: akater <nuclearspace <at> gmail.com>

Date: Tue, 26 Oct 2021 11:22:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 51409 in the body.
You can then email your comments to 51409 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#51409; Package emacs. (Tue, 26 Oct 2021 11:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to akater <nuclearspace <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 26 Oct 2021 11:22:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: akater <nuclearspace <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: 29.0.50; Basic erts functionality seems to be broken
Date: Tue, 26 Oct 2021 11:09:58 +0000
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")))





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#51409; Package emacs. (Wed, 27 Oct 2021 14:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 51409 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: akater <nuclearspace <at> gmail.com>
Cc: 51409 <at> debbugs.gnu.org
Subject: Re: bug#51409: 29.0.50; Basic erts functionality seems to be broken
Date: Wed, 27 Oct 2021 16:14:26 +0200
akater <nuclearspace <at> gmail.com> writes:

> I can't make some basic erts tests work; this looks like an erts bug.

This should now be fixed.  Both issues were due to the same issue -- the
erts parser interpreting the "after" bit as a new test.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 51409 <at> debbugs.gnu.org and akater <nuclearspace <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 27 Oct 2021 14:15:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Nov 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.