1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-05 20:43:08 +00:00
Paul Eggert 86d083438d New function ‘char-from-name’
This also fixes the mishandling of "\N{CJK COMPATIBILITY
IDEOGRAPH-F900}", "\N{VARIATION SELECTOR-1}", etc.
Problem reported by Eli Zaretskii in:
http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00614.html
* doc/lispref/nonascii.texi (Character Codes), etc/NEWS: Document this.
* lisp/international/mule-cmds.el (char-from-name): New function.
(read-char-by-name): Use it.  Document that "BED" is treated as
a name, not as a hexadecimal number.  Reject out-of-range integers,
floating-point numbers, and strings with trailing junk.
* src/lread.c (character_name_to_code): Call char-from-name
instead of inspecting ucs-names directly, so that we handle
computed names like "VARIATION SELECTOR-1".  Do not use an auto
string, since char-from-name might GC.
* test/src/lread-tests.el: Add tests for new behavior, and
fix some old tests that were wrong.
2016-04-25 10:42:48 -07:00
..
2016-04-12 08:50:47 -07:00
2016-04-21 14:45:01 -07:00
-
2016-03-22 11:04:36 -07:00
2016-04-24 15:39:44 +02:00
2016-04-19 01:22:39 +03:00
2016-04-21 14:45:01 -07:00
2016-04-11 09:07:16 -07:00
2016-04-10 23:31:19 +02:00
2016-02-24 22:35:18 +02:00
2016-02-14 19:45:12 -08:00
2016-04-10 23:55:05 -07:00
2016-04-22 18:54:52 +02:00
2016-02-21 13:32:22 +11:00
2016-03-02 17:21:38 +00:00
2016-04-24 12:49:22 -07:00
-
2016-03-22 11:01:30 -07:00
2016-04-24 12:48:34 -07:00
2016-02-21 07:57:17 +09:00
2016-02-21 07:57:17 +09:00
2016-04-11 09:07:16 -07:00
2016-03-02 10:24:55 +00:00
2016-03-07 08:26:36 -08:00
-
2016-01-30 11:43:26 -08:00
2016-03-18 08:55:26 -07:00
2016-02-22 11:33:54 -08:00
2016-03-04 15:33:38 +00:00
-
2016-01-30 11:27:34 -08:00
2016-02-23 20:17:21 +11:00
2016-04-22 18:57:36 +02:00
-
2016-03-22 11:01:30 -07:00
2016-03-07 08:26:36 -08:00
2016-03-07 08:26:36 -08:00
2016-03-23 11:27:22 -07:00
2016-03-07 18:55:20 -08:00
2016-02-26 16:01:46 +10:30
2016-04-02 14:51:33 -07:00
2016-02-03 23:56:08 -08:00
-
2016-03-22 11:04:36 -07:00
2016-04-11 09:07:16 -07:00
2016-04-03 23:17:09 -07:00
2016-02-22 11:33:54 -08:00
2016-03-02 10:24:11 -08:00
2016-04-18 14:05:31 -07:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.