unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#61534: three Emacs tests fail in en_US.utf8 locale on Ubuntu
@ 2023-02-15 18:18 Paul Eggert
  2023-02-15 19:03 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2023-02-15 18:18 UTC (permalink / raw)
  To: 61534

[-- Attachment #1: Type: text/plain, Size: 434 bytes --]

If the environment variable LC_ALL is set to 'en_US.utf8', three coding 
system related tests fail in bleeding-edge Emacs (commit 
51e3f91f50da43f18706410bf6cd096684379daa) when run on Ubuntu 22.10 with 
current patches. The problem goes away if LC_ALL is set to 'C', so this 
most likely has something to do with how Emacs reacts to the current locale.

Attached is the compressed output of 'make -j12 bootstrap && make -j12 
check'.

[-- Attachment #2: make-check-log.txt.gz --]
[-- Type: application/gzip, Size: 36911 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#61534: three Emacs tests fail in en_US.utf8 locale on Ubuntu
  2023-02-15 18:18 bug#61534: three Emacs tests fail in en_US.utf8 locale on Ubuntu Paul Eggert
@ 2023-02-15 19:03 ` Eli Zaretskii
  2023-02-16  9:17   ` Mattias Engdegård
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2023-02-15 19:03 UTC (permalink / raw)
  To: Paul Eggert, Mattias Engdegård; +Cc: 61534

> Date: Wed, 15 Feb 2023 10:18:08 -0800
> From: Paul Eggert <eggert@cs.ucla.edu>
> 
> If the environment variable LC_ALL is set to 'en_US.utf8', three coding 
> system related tests fail in bleeding-edge Emacs (commit 
> 51e3f91f50da43f18706410bf6cd096684379daa) when run on Ubuntu 22.10 with 
> current patches. The problem goes away if LC_ALL is set to 'C', so this 
> most likely has something to do with how Emacs reacts to the current locale.
> 
> Attached is the compressed output of 'make -j12 bootstrap && make -j12 
> check'.

Thanks, the mule-tests.el failure should now be fixed (on the emacs-29
branch).

The other two failures seem both to be the same issue with unescaped
literals:

    (ert-test-failed
     ((should
       (equal
	(lread-tests--last-message)
	(concat ... "unescaped character literals " "`?\"', `?(', `?)', `?;', `?[', `?]' detected, " "`?\\\"', `?\\(', `?\\)', `?\\;', `?\\[', `?\\]' " "expected!")))
      :form
      (equal "Loading ‘/tmp/emacs-test-hXFUcu-lread’: unescaped character literals ‘?\"’, ‘?(’, ‘?)’, ‘?;’, ‘?[’, ‘?]’ detected, ‘?\\\"’, ‘?\\(’, ‘?\\)’, ‘?\\;’, ‘?\\[’, ‘?\\]’ expected!" "Loading ‘/tmp/emacs-test-hXFUcu-lread’: unescaped character literals `?\"', `?(', `?)', `?;', `?[', `?]' detected, `?\\\"', `?\\(', `?\\)', `?\\;', `?\\[', `?\\]' expected!")
      :value nil :explanation
      (array-elt 69
		 (different-atoms
		  (8216 "#x2018" "?‘")
		  (96 "#x60" "?`")))))
   FAILED  48/49  lread-tests--unescaped-char-literals (0.000455 sec) at src/lread-tests.el:133

Mattias, any ideas?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#61534: three Emacs tests fail in en_US.utf8 locale on Ubuntu
  2023-02-15 19:03 ` Eli Zaretskii
@ 2023-02-16  9:17   ` Mattias Engdegård
  2023-09-06  0:04     ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Mattias Engdegård @ 2023-02-16  9:17 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Paul Eggert, 61534

15 feb. 2023 kl. 20.03 skrev Eli Zaretskii <eliz@gnu.org>:

>   FAILED  48/49  lread-tests--unescaped-char-literals (0.000455 sec) at src/lread-tests.el:133
> 
> Mattias, any ideas?

These looks like consequences from fixing a couple of diagnostics text styling bugs some time ago. Remedies have now been pushed (07a76a06f9). Thank you for bringing this to my attention!






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#61534: three Emacs tests fail in en_US.utf8 locale on Ubuntu
  2023-02-16  9:17   ` Mattias Engdegård
@ 2023-09-06  0:04     ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2023-09-06  0:04 UTC (permalink / raw)
  To: Mattias Engdegård; +Cc: Eli Zaretskii, Paul Eggert, 61534-done

Mattias Engdegård <mattiase@acm.org> writes:

> 15 feb. 2023 kl. 20.03 skrev Eli Zaretskii <eliz@gnu.org>:
>
>>   FAILED  48/49  lread-tests--unescaped-char-literals (0.000455 sec) at src/lread-tests.el:133
>>
>> Mattias, any ideas?
>
> These looks like consequences from fixing a couple of diagnostics text styling
> bugs some time ago. Remedies have now been pushed (07a76a06f9). Thank you for
> bringing this to my attention!

I'm therefore closing this bug report.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-09-06  0:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 18:18 bug#61534: three Emacs tests fail in en_US.utf8 locale on Ubuntu Paul Eggert
2023-02-15 19:03 ` Eli Zaretskii
2023-02-16  9:17   ` Mattias Engdegård
2023-09-06  0:04     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).