1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-29 10:11:58 -07:00
emacs/src
Robert Pluim a2a62f7105 Enhance font_range to check for emoji composition triggers
If the codepoint that triggered composition is from the emoji script,
use the emoji font to check the string being composed, rather than the
font of the first character of the string.  This makes e.g.

"emoji codepoint with Emoji_Presentation = No followed by VS-16 (FE0F)"

display the emoji version of the glyph for that codepoint.

* admin/unidata/blocks.awk: Add VS-1 through VS-16 to the emoji
script.
* src/composite.c (autocmp_chars): Accept additional argument CH for
the codepoint that triggered composition, pass it to font_range.
(composition_reseat_it, find_automatic_composition): Pass codepoint
that triggered composition to autocmp_chars.
* src/font.c (font_range): Accept additional argument CH for the
triggering codepoint.  If the codepoint is from the 'emoji' script,
use Vscript_representative_chars to find the font to use for the
composition attempt.
(syms_of_font): Add Qemoji symbol.
* src/font.h: Update font_range prototype for argument CH.
* etc/NEWS: Announce change.
2021-09-27 10:31:32 +02:00
..
bitmaps
.dbxinit
.gdbinit Update copyright year to 2021 2021-01-01 01:13:56 -08:00
alloc.c ; Remove various duplicated words 2021-09-25 20:25:01 +02:00
atimer.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
atimer.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
bidi.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
bignum.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
bignum.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
blockinput.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
buffer.c Improve documentation of line truncation and wrapping 2021-09-04 13:34:32 +03:00
buffer.h Update comments warning about GC-resistant C programming 2021-09-22 10:07:25 +03:00
bytecode.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
callint.c Improve documentation of 'inhibit-mouse-event-check' 2021-08-23 22:14:03 +03:00
callproc.c call-process doc string clarification 2021-08-31 04:13:58 +02:00
casefiddle.c * lisp/subr.el (esc-map): Initialize inside declaration 2021-01-04 23:43:40 -05:00
casetab.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
category.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
category.h
ccl.c Fix CCL_MOD typo 2021-01-01 12:58:18 -08:00
ccl.h
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.2 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.3 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.4 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.5 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.6 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.7 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.8 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.9 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.10 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.11 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.12 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ChangeLog.13 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
character.c Fix slow operation of 'string-width' 2021-06-05 14:16:06 +03:00
character.h Fix cursor motion around some Emoji sequences 2021-09-25 12:18:27 +03:00
charset.c Do not load native code when `load' is explicitly called on a .elc file 2021-03-19 10:23:41 +01:00
charset.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
chartab.c Factor out char_table_ref_simple for readability 2021-07-21 14:01:57 +02:00
cm.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cm.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cmds.c Adjust how `replace-match' runs modification hooks 2021-07-31 17:44:43 +02:00
coding.c Check for null bytes in filenames in 'expand-file-name' (bug#49723) 2021-09-18 09:36:26 +03:00
coding.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
commands.h * lisp/subr.el (esc-map): Initialize inside declaration 2021-01-04 23:43:40 -05:00
comp.c Fix build with native compilation but without zlib 2021-09-22 19:13:49 +03:00
comp.h ; Add 2021 to copyright years 2021-04-25 17:24:48 -07:00
composite.c Enhance font_range to check for emoji composition triggers 2021-09-27 10:31:32 +02:00
composite.h Merge from origin/emacs-27 2021-06-08 07:50:36 -07:00
conf_post.h Clean up the fix for unexec build on GNU/Linux 2021-05-20 11:26:00 +03:00
COPYING
cygw32.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cygw32.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
data.c Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
dbusbind.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
decompress.c Merge remote-tracking branch 'savannah/master' into HEAD 2021-01-02 10:11:15 +01:00
deps.mk Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dired.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dispextern.h Change value of DEFAULT_TAB_BAR_BUTTON_MARGIN from 4 to 1 (bug#50424) 2021-09-13 10:58:44 +03:00
dispnew.c Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
disptab.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dmpstruct.awk Update copyright year to 2021 2021-01-01 01:13:56 -08:00
doc.c ; * src/doc.c (syms_of_doc): Fix last change. 2021-05-06 18:08:53 +03:00
doprnt.c Eliminate some GCC warnings 2021-06-16 18:05:41 +02:00
dosfns.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dosfns.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
dynlib.c Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
dynlib.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
editfns.c Adjust how `replace-match' runs modification hooks 2021-07-31 17:44:43 +02:00
emacs-icon.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-module.c Extend the syntax of `interactive' to list applicable modes 2021-02-14 13:21:24 +01:00
emacs-module.h.in Work around __has_attribute bug in clang 3.4 2021-01-22 12:02:56 -08:00
emacs.c Pacify gcc 11.1.1 -Wanalyzer-null-argument 2021-07-12 00:12:20 -07:00
emacsgtkfixed.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacsgtkfixed.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
epaths.in Merge remote-tracking branch 'savannah/master' into HEAD 2021-01-02 10:11:15 +01:00
eval.c Renege on anonymous &rest (bug#50268, bug#50720) 2021-09-25 20:25:01 +02:00
fileio.c Check for null bytes in filenames in 'expand-file-name' (bug#49723) 2021-09-18 09:36:26 +03:00
filelock.c Make supersession warnings work again 2021-07-23 11:49:22 +02:00
firstfile.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
floatfns.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
fns.c Fix string-distance for two empty strings 2021-09-23 19:10:38 +02:00
font.c Enhance font_range to check for emoji composition triggers 2021-09-27 10:31:32 +02:00
font.h Enhance font_range to check for emoji composition triggers 2021-09-27 10:31:32 +02:00
fontset.c * src/fontset.c (check_fontset_name): A better fix for bug#49782. 2021-07-31 09:28:36 +03:00
fontset.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
frame.c ; Fix typos 2021-09-03 13:05:32 +02:00
frame.h Avoid crashes due to clearing of a frame's face cache 2021-09-15 16:14:30 +03:00
fringe.c Plug another hole for longjmp-ing from 'redisplay_window' 2021-08-16 22:06:26 +03:00
ftcrfont.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ftfont.c Fix problem with certain fonts in ftfont_shape_by_flt 2021-07-20 14:22:53 +02:00
ftfont.h
getpagesize.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gfilenotify.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gmalloc.c Make sure gmalloc's hybrid_free preserves errno 2021-05-20 11:44:54 +03:00
gnutls.c De-obfuscate gnutls_handshake loop 2021-06-19 15:19:04 +02:00
gnutls.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gtkutil.c Pacify gcc 11.1.1 -Wanalyzer-null-argument 2021-07-12 00:12:20 -07:00
gtkutil.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
hbfont.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
image.c ; Fix typos 2021-09-03 13:05:32 +02:00
indent.c Fix infloop in lsp-mode 2021-05-04 20:37:33 +03:00
indent.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
inotify.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
insdel.c Adjust how `replace-match' runs modification hooks 2021-07-31 17:44:43 +02:00
intervals.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
intervals.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
json.c Signal an error in json.c function if not available 2021-07-20 14:47:07 +02:00
keyboard.c ; * src/keyboard.c (Frecursive_edit): Minor fixes of the doc string. 2021-09-20 10:50:53 +03:00
keyboard.h * src/xdisp.c (syms_of_xdisp): New var redisplay-skip-fontification-on-input 2021-01-04 00:59:56 -05:00
keymap.c Fix performance degradation in commands that describe key bindings 2021-09-18 13:23:48 +03:00
keymap.h * lisp/subr.el (esc-map): Initialize inside declaration 2021-01-04 23:43:40 -05:00
kqueue.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lastfile.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lcms.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lisp.h Update comments warning about GC-resistant C programming 2021-09-22 10:07:25 +03:00
lread.c Minor stylistic fixes of shorthand code in C 2021-09-27 10:20:54 +03:00
macfont.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
macfont.m Update copyright year to 2021 2021-01-01 01:13:56 -08:00
macros.c Quit minibuffers without aborting kmacros 2021-07-20 14:36:45 +02:00
macros.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
macuvs.h
Makefile.in Support for Unicode emoji sequences 2021-09-20 22:35:34 +02:00
marker.c Clean up obsolete comment 2021-03-01 14:26:21 +01:00
menu.c Merge branch 'feature/tab-bar-events' 2021-09-09 10:52:41 +03:00
menu.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
minibuf.c Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
module-env-25.h Move the new module unibyte function to the correct module-env.h file 2020-10-14 05:57:05 +02:00
module-env-26.h
module-env-27.h
module-env-28.h Move the new module unibyte function to the correct module-env.h file 2020-10-14 05:57:05 +02:00
msdos.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
msdos.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nsfns.m Disable the NS app when no frames are left (bug#14619, bug#21357, bug#23586) 2021-08-29 10:22:15 +01:00
nsfont.m Fix crash in GNUstep font coverage check 2021-07-04 11:36:32 +01:00
nsgui.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nsimage.m Convert fringe bitmaps to vectors on NS port 2021-07-26 23:12:31 +01:00
nsmenu.m Fix incorrectly appearing toolbar on NS (bug#50534) 2021-09-14 10:08:17 +01:00
nsselect.m Avoid macOS NSFilenamesPboardType warning (bug#33035) 2021-01-18 12:52:08 +01:00
nsterm.h Set label for NSToolbarItem (bug#50159) 2021-08-22 20:58:26 +01:00
nsterm.m A further fix for toolbar visibility problems on macOS (bug#50534) 2021-09-14 15:38:55 +01:00
nsxwidget.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nsxwidget.m Update copyright year to 2021 2021-01-01 01:13:56 -08:00
pdumper.c Fix restoring from pdumper file on MS-Windows 9X 2021-09-11 09:56:27 +03:00
pdumper.h Fix loading *.eln files when Emacs is installed via symlinks 2021-04-17 16:49:16 +03:00
print.c Merge remote-tracking branch 'savannah/master' into HEAD 2021-01-08 21:40:45 +01:00
process.c Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
process.h Ensure 'call-process' interprets INFILE as a local path 2021-07-04 15:32:03 +02:00
profiler.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
puresize.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ralloc.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
README Update copyright year to 2021 2021-01-01 01:13:56 -08:00
regex-emacs.c ; Remove various duplicated words 2021-09-25 20:25:01 +02:00
regex-emacs.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
region-cache.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
region-cache.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
scroll.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
search.c Speed up `replace-match' slightly 2021-09-22 07:22:22 +02:00
sheap.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sheap.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sound.c Do not load native code when `load' is explicitly called on a .elc file 2021-03-19 10:23:41 +01:00
syntax.c Fix recent parse-partial-sexp argument validation 2021-08-22 23:52:23 +01:00
syntax.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sysdep.c Fix portability issue with make-serial-process 2021-07-13 09:02:45 -04:00
sysselect.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
syssignal.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sysstdio.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
systhread.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
systhread.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
systime.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
systty.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
syswait.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
term.c Merge branch 'feature/tab-bar-events' 2021-09-09 10:52:41 +03:00
termcap.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
termchar.h Redesign tab-bar event processing (bug#41342, bug#41343) 2021-08-18 20:32:32 +03:00
termhooks.h Major rewrite of adjust_frame_size 2021-04-27 09:53:42 +02:00
terminal.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
terminfo.c Fix broken build on AIX 7.2 2021-01-04 09:02:40 -08:00
termopts.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
textprop.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
thread.c Fix thread memory management under NS 2021-07-04 11:36:17 +01:00
thread.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
timefns.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
tparam.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
tparam.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
undo.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
unexaix.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
unexcoff.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
unexcw.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
unexec.h
unexelf.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
unexhp9k800.c
unexmacosx.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
unexsol.c
unexw32.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
verbose.mk.in Make the ELC+ELN lines line up with the other lines 2021-05-05 09:41:49 +02:00
vm-limit.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w16select.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32.c * src/w32.c (_sys_read_ahead): Pacify a silly compiler warning. 2021-08-14 20:38:05 +03:00
w32.h Fix resolution of symlinks during dumping 2021-05-27 16:31:14 +03:00
w32common.h Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
w32console.c Fix compilation errors with latest w32 API headers 2021-05-09 10:59:08 +03:00
w32cygwinx.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32fns.c Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
w32font.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32font.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32gui.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32heap.c Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
w32heap.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32image.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32inevt.c Redesign tab-bar event processing (bug#41342, bug#41343) 2021-08-18 20:32:32 +03:00
w32inevt.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32menu.c Remove unused argument from set_frame_menubar (Bug#45759) 2021-01-30 15:59:13 +01:00
w32notify.c Fix compilation errors with latest w32 API headers 2021-05-09 10:59:08 +03:00
w32proc.c Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
w32reg.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32select.c Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
w32select.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32term.c Fix display of stretch glyphs 2021-09-17 17:07:32 +03:00
w32term.h Merge from origin/emacs-27 2021-05-13 08:11:03 -07:00
w32uniscribe.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
w32xfns.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
widget.c Major rewrite of adjust_frame_size 2021-04-27 09:53:42 +02:00
widget.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
widgetprv.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
window.c Improve the `window-end' doc string 2021-07-15 11:22:52 +02:00
window.h * src/xdisp.c (wset_update_mode_line): Move from src/window.c 2021-04-13 23:55:47 -04:00
xdisp.c Avoid segfaults due to 'bug-reference-mode' 2021-09-19 21:39:18 +03:00
xfaces.c Don't quote nil and t in doc strings and comments 2021-09-21 22:11:43 +02:00
xfns.c Make Qhide declaration non-target-specific 2021-08-22 10:59:17 +02:00
xfont.c Pacify gcc 11.1.1 -Wanalyzer-null-argument 2021-07-12 00:12:20 -07:00
xftfont.c Fix compilation of xftfont.c with old fontconfig 2021-07-25 15:50:46 +03:00
xgselect.c Fix race conditions between Lisp threads in GTK builds 2021-06-25 16:52:48 +03:00
xgselect.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xmenu.c Major rewrite of adjust_frame_size 2021-04-27 09:53:42 +02:00
xml.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xrdb.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xselect.c Don't error out when selection data is unavailable (bug#47642) 2021-04-14 21:22:55 +03:00
xsettings.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xsettings.h Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xsmfns.c Process sentinels need to work under X and commandline 2021-05-13 15:22:01 +02:00
xterm.c Fix display of stretch glyphs 2021-09-17 17:07:32 +03:00
xterm.h Major rewrite of adjust_frame_size 2021-04-27 09:53:42 +02:00
xwidget.c Update copyright year to 2021 2021-01-01 01:13:56 -08:00
xwidget.h Update copyright year to 2021 2021-01-01 01:13:56 -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-2021 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 <https://www.gnu.org/licenses/>.