aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/trac/README1
-rw-r--r--etc/trac/trac-206.thy14
2 files changed, 15 insertions, 0 deletions
diff --git a/etc/trac/README b/etc/trac/README
new file mode 100644
index 00000000..07b1721c
--- /dev/null
+++ b/etc/trac/README
@@ -0,0 +1 @@
+Small tests for regressions. Indexed by trac bug number.
diff --git a/etc/trac/trac-206.thy b/etc/trac/trac-206.thy
new file mode 100644
index 00000000..d1d0a053
--- /dev/null
+++ b/etc/trac/trac-206.thy
@@ -0,0 +1,14 @@
+theory Test imports Main begin
+
+(* The special markup (for terms etc.) is not processed in minibuffer
+messages. For example: *)
+
+ML_command {* warning (Syntax.string_of_typ @{context} @{typ 'a}) *}
+
+term "\<lambda> x. x"
+
+(* Here the decoration for 'a shows up as funny control characters,
+instead of proper font-lock colouring. *)
+
+end
+