History log of /seL4-l4v-10.1.1/HOL4/tools/hol-unicode.el
Revision Date Author Comments
# b97e7e9c 02-Nov-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Add some subscript Unicode characters (+, -, =) to emacs bindings


# b778bf73 23-Aug-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix typo introduced in last commit


# 562f85c0 23-Aug-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Add more subscript letters to the hol-unicode map


# 3c604cf0 23-Aug-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Add yet more special Unicode chars to unicode maps in hol-unicode

Some of them may even be memorable


# acdd35f1 03-Feb-2018 Michael Norrish <Michael.Norrish@nicta.com.au>

Rationalise handling of Unicode lowercase phi characters

The "mainline" phi character in Unicode is U+03C6, which in most fonts
looks more like what TeX calls a \varphi. In the font you are using to
view this message it is "φ". There is also an additional U+03D5, which
is written the way Knuth wanted his \phi to look (in this font: "ϕ").
If these are seen in HOL input, EmitTeX now maps them appropriately.
Similarly, the Emacs mode for producing them now maps C-S-p h to the
second and C-S-p v to the first.


# e589e28c 29-Aug-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Add more Greek letters to Emacs hol-unicode.el


# 712bd26b 03-Aug-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Use elisp insert function to send superscript 1, 2 and 3

As with the negation symbol, it seems necessary to explicitly call
insert to get these Unicode characters into one's buffer. In all other
places, simply quoting the string seems enough.


# 4018fc12 19-Mar-2017 Michael Norrish <Michael.Norrish@nicta.com.au>

Emacs unicode commands for the word shift operators


# a26902b5 23-Aug-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Provide support for Unicode subscript 'r'

Thinking that this might be a reasonable annotation for relationScript's
set operators. For example, R1 RUNION R2 might be written R1 ∪ᵣ R2


# 372b81cb 25-May-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Provide emacs keybinding for Unicode triangle


# 6b95018c 21-Feb-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Make U+2218 (∘) alternative syntax for combin$o

Also bind C-S-0 0 as Emacs keybinding to generate it.


# 445f3af7 02-Jan-2016 Michael Norrish <Michael.Norrish@nicta.com.au>

Add Emacs keybinding for not-iff Unicode char


# 0297f747 05-Jul-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

C-{(,)} bindings for paren maps have to go to C-M-{(,)}

This is because C-) is already taken for the various "things in circles
symbols".


# 609a398d 01-Jul-2015 Michael Norrish <Michael.Norrish@nicta.com.au>

Add some Unicode parentheses to emacs mode


# 3e45b5d7 20-Oct-2014 Michael Norrish <michael.norrish@nicta.com.au>

More negated relation symbols for the hol-unicode.el bindings.


# f2ece1c6 14-Oct-2014 Michael Norrish <michael.norrish@nicta.com.au>

Add emacs binding for ≰ symbol in hol-unicode.el


# 9c5042b2 31-Jul-2014 Michael Norrish <michael.norrish@nicta.com.au>

Fix typo in hol-unicode.el


# 285622e7 30-Jul-2014 Michael Norrish <michael.norrish@nicta.com.au>

Add a bunch of emacs bindings for Unicode superscript letters.


# 4587d878 14-Jun-2014 Michael Norrish <michael.norrish@nicta.com.au>

A couple more Unicode in Emacs bindings.


# 0011845d 18-May-2014 Michael Norrish <michael.norrish@nicta.com.au>

Add some unicode bindings for the emacs mode (for ⊌ and ⊎)


# d9c2b74c 02-Mar-2014 Michael Norrish <michael.norrish@nicta.com.au>

Add binding for \sim character (U+223C ∼) to emacs unicode file.


# f696d4e2 26-Feb-2014 Michael Norrish <michael.norrish@nicta.com.au>

Unicode emacs bindings; for \o{times,plus,slash,minus,dot} chars


# 3c7da082 28-Jan-2014 Michael Norrish <michael.norrish@nicta.com.au>

Three more emacs-mode Unicode characters (superscript +, - and =)


# 36e01cf5 12-Jan-2013 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix the keybinding for Unicode “less than or equals”.

It turns out that C-Q is not understood to be the same as C-S-q, but
rather just C-q, which had the effect that my binding for ≤ overrode
the standard (and useful) quoted-insert emacs command.


# d1a4591b 06-Jan-2013 Michael Norrish <Michael.Norrish@nicta.com.au>

A new keybinding for less-than-or-equals in hol-unicode.

C-Q is not great, but the mnemonic is ‘less than or eQuals’.


# 0a6563bf 13-Sep-2012 Michael Norrish <Michael.Norrish@nicta.com.au>

Add an Emacs binding ("not 0") for the emptyset symbol.


# 9daa870a 11-Sep-2012 Michael Norrish <michael.norrish@nicta.com.au>

Emacs key-bindings for fancy Unicode brackets.


# fe156526 11-Sep-2012 Michael Norrish <michael.norrish@nicta.com.au>

More emacs bindings for Unicode (sub and super-scripts mostly)

C-M-_ can be followed by digits to get those digits as subscripts.
Similarly, C-M-^ can be followed by digits to get them as
superscripts.


# 64f4a15a 06-Jul-2012 Michael Norrish <michael.norrish@nicta.com.au>

Emacs key-bindings for Unicode symbols iff and superscript +


# 5cd7a864 15-Jan-2012 Michael Norrish <Michael.Norrish@nicta.com.au>

Add a couple of emacs keybindings for two forms of right arrow.


# 6d87ca0c 19-Apr-2010 Michael Norrish <Michael.Norrish@nicta.com.au>

Fix handling of special 'U' constant, retaining better backwards compatibility.

In particular, there is now a special form 'univ' that behaves as 'U' did.
Further, with Unicode on, the character U+1D54C is used in the same way.
This character may not be in many fonts, so add another trace to turn its
use off. If you can see it, it's a nice 'double-struck' U. I would have
gone for a script-style U, but it leant over too much, and so overlapped
the following left-paren character.


# c911dd2f 30-Jun-2009 Michael Norrish <Michael.Norrish@nicta.com.au>

Add key-bindings to generate capital and lowercase omega characters.


# 51f4ae53 01-Sep-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

Oops. I also found subscript numerals and cut and pasted them into
this file as a prelude to getting Emacs to emit them somehow. But I'm
not sure quite how just yet. They at least need to be commented out.


# 1bc45ee5 01-Sep-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

I couldn't resist adding pi, phi and psi (and threw in a lower-case
rho as well). These letters aren't as useful as they should be at the
moment because the system barfs if you try to put them into binding
position. I.e., ∀Γ. P(Γ) fails. Actually, it fails for two reasons:
* the lexer reckons that ∀Γ is one symbol, not two. So you have to
write ∀ Γ in order to stop the merge
* and then some annoying code in Parse_support jumps up and down
about Γ being invalid
Both of these are fixable, and on my to-do list at the moment.


# bdf30ab7 31-Aug-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

More Greek letters, as well as bindings for subset and negation. ('c'
seems reminiscent of the subset shape, and isn't an obvious choice for
any Greek letter I can think of. Likewise 'u' and 'i' for union and
intersection seem pretty safe. (Who wants to write iotas anyway?))
For psi, phi and pi, I may set up C-S-p as a prefix binding, so that
one would type <C-S-p i> to get pi, <C-S-p h> to get phi etc. And
C-S-M-p for the capital versions of these.


# 856609eb 24-Aug-2008 Michael Norrish <Michael.Norrish@nicta.com.au>

Some Emacs key-bindings for Unicode characters of interest.
<control>-! for universal quantification, for example.