]> Cypherpunks repositories - gostls13.git/commit
misc/emacs: Add compatibility for GNU Emacs 23 and XEmacs >=21.5.32
authorDominik Honnef <dominik.honnef@gmail.com>
Wed, 6 Mar 2013 19:35:29 +0000 (14:35 -0500)
committerAlan Donovan <adonovan@google.com>
Wed, 6 Mar 2013 19:35:29 +0000 (14:35 -0500)
commitcf8434fa3119d14abbc7f1ecec61f0cc947dfac4
tree8cdb5781e5c85bbecd72a1e68fa708863a8a2991
parent1ca529c62cb478fff1aab4465dc467b72b57ee8c
misc/emacs: Add compatibility for GNU Emacs 23 and XEmacs >=21.5.32

This CL adds compatibility for GNU Emacs 23 (fixing fontification
issues) and XEmacs >=21.5.32 (fixing a lot of issues). Earlier
versions of XEmacs will not be supported because they do not
support POSIX character classes. Because of that, we also make use
of a lot of functions that were added in 21.5.32.

A known and currently unfixable issue with XEmacs is that go-mode
will not always fontify identifiers that use unicode correctly.

All changes for XEmacs are annotated in the diff.

Note: go--position-bytes is not currently used anywhere, but will
be in a future CL.

Fixes #4927.

R=golang-dev, adonovan, cw, patrick.allen.higgins, sameer
CC=golang-dev
https://golang.org/cl/7456051
misc/emacs/go-mode.el