1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
emacs/src
Paul Eggert bd1c7ca67e Improve character name escapes
* doc/lispref/nonascii.texi (Character Properties):
Avoid duplication of Unicode names.  Reformat examples to fit in
narrow pages.
* doc/lispref/objects.texi (General Escape Syntax):
Simplify and better-organize explanation of \N{...} escapes.
* src/character.h (CHAR_SURROGATE_PAIR_P): Remove; unused.
(char_surrogate_p): New inline function.
* src/lread.c: Do not include string.h; no longer needed.
(invalid_character_name, check_scalar_value): Remove; the ideas
behind these functions are now bundled into character_name_to_code.
(character_name_to_code): Remove undocumented support for "CJK
IDEOGRAPH-XXXX" names, as "U+XXXX" suffices.  Reject monstrosities
like "\N{U+-0}" and null bytes in \N escapes.  Reject floating
point in \N escapes instead of returning garbage.  Use
AUTO_STRING_WITH_LEN to lessen pressure on the garbage collector.
* test/src/lread-tests.el (lread-char-number, lread-char-name)
(lread-string-char-number, lread-string-char-name):
Test runtime behavior, not compile-time, as the test framework
is not set up to test compile-time.
(lread-char-surrogate-1, lread-char-surrogate-2)
(lread-char-surrogate-3, lread-char-surrogate-4)
(lread-string-char-number-2, lread-string-char-number-3):
New tests.
(lread-string-char-number-1): Rename from lread-string-char-number.
2016-04-21 19:29:41 -07:00
..
bitmaps
.dbxinit
.gdbinit Update copyright year to 2016 2016-01-01 01:34:24 -08:00
alloc.c New C macro AUTO_STRING_WITH_LEN 2016-04-04 10:31:25 -07:00
atimer.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
atimer.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
bidi.c Port to strict C99 offsetof 2016-03-18 08:43:32 -07:00
blockinput.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
buffer.c Prefer AUTO_STRING_WITH_LEN to make_formatted_string 2016-04-04 17:05:19 -07:00
buffer.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
bytecode.c func-arity minor improvements 2016-03-26 19:24:46 -07:00
callint.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
callproc.c Simplify use of O_BINARY 2016-04-14 09:48:36 -07:00
casefiddle.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
casetab.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
category.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
category.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ccl.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
ccl.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ChangeLog.1 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.2 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.3 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.4 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.5 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.6 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.7 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.8 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.9 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.10 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.11 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ChangeLog.12 ; Spelling fixes 2016-04-10 23:55:05 -07:00
ChangeLog.13 Update copyright year to 2016 2016-01-01 01:34:24 -08:00
character.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
character.h Improve character name escapes 2016-04-21 19:29:41 -07:00
charset.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
charset.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
chartab.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
cm.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
cm.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
cmds.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
coding.c ; Fix typo in previous patch. 2016-04-04 22:34:01 -07:00
coding.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
commands.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
composite.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
composite.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
conf_post.h Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
COPYING
cygw32.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
cygw32.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
data.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
dbusbind.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
decompress.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
deps.mk Update copyright year to 2016 2016-01-01 01:34:24 -08:00
dired.c No need to block input when reading directories 2016-03-19 18:45:09 -07:00
dispextern.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
dispnew.c Port redirect-debugging-output to non-GNU/Linux 2016-04-04 09:44:19 -07:00
disptab.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
doc.c Merge from origin/emacs-25 2016-04-18 14:05:31 -07:00
doprnt.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
dosfns.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
dosfns.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
dynlib.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
dynlib.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
editfns.c Support OFFSET and (OFFSET ABBR) time zone rules 2016-04-12 09:19:38 -07:00
emacs-icon.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
emacs-module.c New C macro AUTO_STRING_WITH_LEN 2016-04-04 10:31:25 -07:00
emacs-module.h Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
emacs.c Minor fixups for external socket launching 2016-04-17 22:41:52 -07:00
emacsgtkfixed.c Port to GTK with strict C99 compiler 2016-03-17 23:45:23 -07:00
emacsgtkfixed.h Port to GTK with strict C99 compiler 2016-03-17 23:45:23 -07:00
epaths.in Update copyright year to 2016 2016-01-01 01:34:24 -08:00
eval.c Support macros in 'func-arity' 2016-04-02 12:47:46 +03:00
fileio.c Simplify use of O_BINARY 2016-04-14 09:48:36 -07:00
filelock.c Simplify use of O_BINARY 2016-04-14 09:48:36 -07:00
firstfile.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
floatfns.c ; Spelling fixes 2016-03-18 08:55:26 -07:00
fns.c Minor improvements for hash function primitives 2016-04-08 15:33:59 -07:00
font.c New C macro AUTO_STRING_WITH_LEN 2016-04-04 10:31:25 -07:00
font.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
fontset.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
fontset.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
frame.c Merge from origin/emacs-25 2016-04-02 14:51:33 -07:00
frame.h Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
fringe.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ftcrfont.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ftfont.c New C macro AUTO_STRING_WITH_LEN 2016-04-04 10:31:25 -07:00
ftfont.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ftxfont.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
getpagesize.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
gfilenotify.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
gmalloc.c Omit valloc decl if redundant 2016-02-09 15:25:58 -08:00
gnutls.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
gnutls.h Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
gtkutil.c Avoid GTK 3 crash with icons and masks 2016-03-24 16:53:23 -07:00
gtkutil.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
image.c Simplify use of O_BINARY 2016-04-14 09:48:36 -07:00
indent.c * src/indent.c (Fvertical_motion): Pacify GCC 2016-04-14 09:43:56 -07:00
indent.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
inotify.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
insdel.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
intervals.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
intervals.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
keyboard.c Fix Bug#23207 2016-04-10 10:07:15 +02:00
keyboard.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
keymap.c New C macro AUTO_STRING_WITH_LEN 2016-04-04 10:31:25 -07:00
keymap.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
kqueue.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
lastfile.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
lisp.h Add external socket launching support 2016-04-16 12:43:01 +03:00
lread.c Improve character name escapes 2016-04-21 19:29:41 -07:00
macfont.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
macfont.m Disable multicolor fonts on OS X since they are not supported on free systems 2016-04-12 08:27:24 +09:00
macros.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
macros.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
macuvs.h Include sources used to create macuvs.h. 2014-05-26 08:48:28 -07:00
Makefile.in Add external socket launching support 2016-04-16 12:43:01 +03:00
marker.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
menu.c New C macro AUTO_STRING_WITH_LEN 2016-04-04 10:31:25 -07:00
menu.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
minibuf.c Prefer AUTO_STRING_WITH_LEN to make_formatted_string 2016-04-04 17:05:19 -07:00
msdos.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
msdos.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsfns.m Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsfont.m Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsgui.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsimage.m Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsmenu.m Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsselect.m Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsterm.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
nsterm.m Set locale encoding to UTF-8 when run from OS X GUI. 2016-04-08 15:52:55 +02:00
print.c Port redirect-debugging-output to MS-Windows 2016-04-04 09:44:19 -07:00
process.c Minor fixups for external socket launching 2016-04-17 22:41:52 -07:00
process.h Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
profiler.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
puresize.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
ralloc.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
README Update copyright year to 2016 2016-01-01 01:34:24 -08:00
regex.c Port redirect-debugging-output to non-GNU/Linux 2016-04-04 09:44:19 -07:00
regex.h Update copyright year to 2016 2016-01-01 01:34:24 -08:00
region-cache.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
region-cache.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
scroll.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
search.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
sheap.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
sheap.h Double static heap size. 2016-02-01 08:50:10 -08:00
sound.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
syntax.c Fix problems caused by new implementation of sub-word mode 2016-03-21 17:47:22 -07:00
syntax.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
sysdep.c Simplify use of O_BINARY 2016-04-14 09:48:36 -07:00
sysselect.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
syssignal.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
sysstdio.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
systime.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
systty.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
syswait.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
term.c Avoid crashes due to insanely large columns in tabulated-list-format 2016-04-01 12:47:29 +03:00
termcap.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
termchar.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
termhooks.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
terminal.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
terminfo.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
termopts.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
textprop.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
tparam.c Update copyright year to 2016 2016-01-01 01:34:24 -08:00
tparam.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
undo.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
unexaix.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
unexcoff.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
unexcw.c Simplify use of O_BINARY 2016-04-14 09:48:36 -07:00
unexec.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
unexelf.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
unexhp9k800.c Consistently use min and max macros from lisp.h. 2014-10-03 08:35:10 +04:00
unexmacosx.c Remove undefined behavior in OS X dumper. 2016-04-09 12:54:45 -07:00
unexsol.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexw32.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
vm-limit.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
w16select.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32.c Port redirect-debugging-output to MS-Windows 2016-04-04 09:44:19 -07:00
w32.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32common.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32console.c Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
w32fns.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
w32font.c Improve font selection by family on MS-Windows 2016-03-24 18:30:41 +02:00
w32font.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32gui.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32heap.c Fix w32 memory-management problem when extending buffer text 2016-04-15 17:26:37 +03:00
w32heap.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32inevt.c Improve w32notify notifications 2016-03-19 14:44:53 +02:00
w32inevt.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32menu.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32notify.c Improve w32notify notifications 2016-03-19 14:44:53 +02:00
w32proc.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32reg.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32select.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
w32select.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32term.c Improve w32notify notifications 2016-03-19 14:44:53 +02:00
w32term.h Improve w32notify notifications 2016-03-19 14:44:53 +02:00
w32uniscribe.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
w32xfns.c Fix compilation of Cygwin w32 port 2016-04-02 12:39:44 +03:00
widget.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
widget.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
widgetprv.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
window.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
window.h Merge from origin/emacs-25 2016-03-11 13:33:32 -08:00
xdisp.c Prefer AUTO_STRING_WITH_LEN to make_formatted_string 2016-04-04 17:05:19 -07:00
xfaces.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xfns.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
xfont.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xftfont.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xgselect.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xgselect.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xmenu.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xml.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
xrdb.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xselect.c Rename C names to match Lisp symbols better 2016-03-27 15:53:34 -07:00
xsettings.c Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xsettings.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00
xsmfns.c Merge from origin/emacs-25 2016-04-11 09:07:16 -07:00
xterm.c Fix resize incompatibility with GTK+ master 2016-04-01 16:57:32 -07:00
xterm.h Don't use XRANDR 1.3 extensions if the server doesn't support them. 2016-03-10 14:28:54 -05:00
xwidget.c * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping fixes. 2016-04-14 07:47:55 +09:00
xwidget.h Rework C source files to avoid ^( 2016-03-10 07:59:19 -08:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2016 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'.  This is the file which actually
controls the compilation of Emacs C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.