Use Enriched mode in etc/HELLO to keep charset information
commit3589c966b743850c29b89b83710783d4ea026770
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 May 2018 15:17:38 +0000 (19 18:17 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 May 2018 15:17:38 +0000 (19 18:17 +0300)
treef1ccb7411f33d81bdd1875a1ef1e9220ae64d063
parent593c367b0727affc739832ab4f4bdb9d7dd1ddd7
Use Enriched mode in etc/HELLO to keep charset information

This allows to encode HELLO in UTF-8, thus supporting the entire
repertory of Unicode, while still keeping the charset info where
that is important.  Suggested by Michael Welsh Duggan <mwd@md5i.com>.
* lisp/textmodes/enriched.el (enriched-translations): Add
translations for 'charset'.
(enriched-decode-charset, enriched-handle-charset-prop): New
functions.
* lisp/facemenu.el (facemenu-special-menu): Add sub-menu for
'charset' property.
(facemenu-set-charset): New function.
(facemenu-remove-special): Remove the 'charset' property as well.

* etc/NEWS: Announce the new feature of Enriched mode.
* etc/HELLO: Recode in UTF-8 and place under Enriched mode.

* doc/emacs/text.texi (Enriched Properties): Mention the support
for 'charset'.
doc/emacs/text.texi
etc/HELLO
etc/NEWS
etc/enriched.txt
lisp/facemenu.el
lisp/textmodes/enriched.el