From de2c7b6daa861b17e9779c630bdffa09a4ad4585 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Fri, 10 Aug 2001 12:55:18 +0000 Subject: Bug test case --- etc/isar/XEmacsSyntacticContextProb.thy | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 etc/isar/XEmacsSyntacticContextProb.thy diff --git a/etc/isar/XEmacsSyntacticContextProb.thy b/etc/isar/XEmacsSyntacticContextProb.thy new file mode 100644 index 00000000..214cc0a3 --- /dev/null +++ b/etc/isar/XEmacsSyntacticContextProb.thy @@ -0,0 +1,20 @@ +(* Demonstrates a bug with XEmacs 21.1: after procesing, between + two terms, buffer-syntactic-context returns "string". + But _before_ processing, it correctly returns "nil". + Even when regions are removed, still get "string" returned + after processing started. + + Bug doesn't occur in GNU Emacs (using imp of buffer-syntactic context + provided in proof-compat.el), nor in XEmacs 21.4 + + Workaround added +*) + +theory XEmacsSyntacticContextProb = Main: + +term " +(f x)" + +term "(f x)" + +end -- cgit v1.2.3