Open jackhill opened 4 years ago
I can replicate this issue.
Same. Strangely, this passes with Emacs 27.1 in CI.
This also failed in a Debian build with emacs 27.1: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973132
The test failure can be reproduced this way:
> indent
in the bufferhaskell-indent-put-region-in-literate
: (let ((comment-start "> ") ; Change dynamic bindings for
(comment-start-skip "^> ?") ; comment-region.
(comment-end "")
(comment-end-skip "\n")
(comment-style 'plain))
(comment-region (point-min) (point-max) -1))
This gives:
Debugger entered--Lisp error: (error "Can’t find the comment end")
signal(error ("Can’t find the comment end"))
error("Can't find the comment end")
uncomment-region-default-1(1 11 1)
#f(compiled-function () #<bytecode 0x15662c75d4cd>)()
combine-change-calls-1(1 11 #f(compiled-function () #<bytecode 0x15662c75d4cd>))
uncomment-region-default(1 11 1)
uncomment-region(1 11 1)
comment-region-default-1(1 12 -1)
#f(compiled-function () #<bytecode 0x15662c75d495>)()
combine-change-calls-1(1 12 #f(compiled-function () #<bytecode 0x15662c75d495>))
comment-region-default(1 12 -1)
comment-region(1 12 -1)
(let ((comment-start "> ") (comment-start-skip "^> ?") (comment-end "") (comment-end-skip "\n") (comment-style 'plain)) (comment-region (point-min) (point-max) -1))
eval((let ((comment-start "> ") (comment-start-skip "^> ?") (comment-end "") (comment-end-skip "\n") (comment-style 'plain)) (comment-region (point-min) (point-max) -1)) t)
eval-expression((let ((comment-start "> ") (comment-start-skip "^> ?") (comment-end "") (comment-end-skip "\n") (comment-style 'plain)) (comment-region (point-min) (point-max) -1)) nil nil 127)
funcall-interactively(eval-expression (let ((comment-start "> ") (comment-start-skip "^> ?") (comment-end "") (comment-end-skip "\n") (comment-style 'plain)) (comment-region (point-min) (point-max) -1)) nil nil 127)
#<subr call-interactively>(eval-expression nil nil)
apply(#<subr call-interactively> eval-expression (nil nil))
call-interactively@ido-cr+-record-current-command(#<subr call-interactively> eval-expression nil nil)
apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> (eval-expression nil nil))
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
While testing haskell-mode with the Emacs 27.1 release candidate, the haskell-indent-put-region-in-literate-2 fails with the following log:
I observed this with both the the 17.1 release and commit 41683c0e634bb3f54eac8747919a82132e1714fe.