Ludovic Courtès 252a1926bc
diagnostics: Add '&formatted-message'.
This allows 'gettext' to be called on the format string at the site
where the exception is caught (rather than the site where it's thrown).
It also allows for argument highlighting.

* guix/diagnostics.scm (&formatted-message): New condition type.
(check-format-string): New procedure.
(formatted-message): New macro.
* guix/ui.scm (report-load-error): Add clause for 'formatted-message?'.
(warn-about-load-error): Likewise.
(call-with-error-handling): Likewise.
(read/eval): Likewise.
2020-07-25 19:11:36 +02:00
..
2020-07-17 04:21:22 +02:00
2019-12-15 00:34:05 +01:00
2020-07-05 03:15:08 +05:30
2019-05-06 23:21:33 +02:00
2020-07-10 00:11:00 +02:00
2020-07-05 16:07:59 +05:30
2020-07-20 23:25:10 +02:00
2020-04-17 23:36:47 +02:00
2020-05-11 23:30:55 +02:00
2020-07-21 17:50:44 +02:00
2020-06-18 14:48:17 +02:00
2020-07-12 10:07:59 +02:00
2020-06-26 16:19:53 +02:00
2020-07-25 19:11:36 +02:00