Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string-trim-left redefinition vs quasi-quote tests in emacs 29.1 #1817

Closed
barak opened this issue Aug 6, 2023 · 3 comments
Closed

string-trim-left redefinition vs quasi-quote tests in emacs 29.1 #1817

barak opened this issue Aug 6, 2023 · 3 comments

Comments

@barak
Copy link
Contributor

barak commented Aug 6, 2023

There is a problem with test failures with emacs 29.1.

It would seem the redefinition in tests/haskell-indent-tests.el and tests/haskell-indentation-tests.el of string-trim-left is causing a failure in the eight quasi-quote tests in tests/haskell-lexeme-tests.el. If you remove those two "indent" files from the big emacs command invoked by make check-ert the quasi-quote tests work fine.

Can I suggest not redefining standard low-level functions in a non-backwards-compatible fashion (in this case, to not take an optional second argument)?

See https://bugs.debian.org/1042890

The test succeeds if the two redefinitions are simply removed; I'm adding a patch to the Debian package to do that.

@purcell purcell closed this as completed in faa95a7 Aug 6, 2023
@purcell
Copy link
Member

purcell commented Aug 6, 2023

Completely agree, that should never have been written like that, this is the first time I've seen it. Fixed now in master. This mistake will also have gone into the fresh release I tagged earlier today, though.

@barak
Copy link
Contributor Author

barak commented Aug 6, 2023

Well, technically you did not actually tag the 17.4 release (as of my last git fetch upstream --tags) but I take your point. Anyway, I've just pushed a Debian package with your fix instead of my patch.

@purcell
Copy link
Member

purcell commented Aug 6, 2023

Perhaps I hadn't pushed the tag: I pushed it again now and it at least shows up in GitHub. Not the first time it's bitten me that tags get pushed separately from commits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants