diff options
| author | Paul Eggert | 2011-08-03 17:58:07 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-08-03 17:58:07 -0700 |
| commit | b33f9238e98872b413c01f1ee1a1a74fe217eeb1 (patch) | |
| tree | 186b31010f9ed3f3ce6dfadc15807d01bc3f45a5 /src | |
| parent | 9a70f03d70e44db2ec9c6d2952cb8a1deae15000 (diff) | |
| parent | 19fe0c2e44466a0b9457ef11d23ce0b6e18baa99 (diff) | |
| download | emacs-b33f9238e98872b413c01f1ee1a1a74fe217eeb1.tar.gz emacs-b33f9238e98872b413c01f1ee1a1a74fe217eeb1.zip | |
Merge from trunk.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 121 | ||||
| -rw-r--r-- | src/fontset.c | 2 | ||||
| -rw-r--r-- | src/keymap.c | 12 | ||||
| -rw-r--r-- | src/xdisp.c | 3 |
4 files changed, 70 insertions, 68 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3717924ff68..726ef7bce90 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * keymap.c (Fmake_composed_keymap): Move to subr.el. | ||
| 4 | |||
| 5 | 2011-08-03 Paul Eggert <eggert@cs.ucla.edu> | ||
| 6 | |||
| 7 | * fontset.c (dump_fontset) [FONTSET_DEBUG]: Declare EXTERNALLY_VISIBLE | ||
| 8 | so that it is not optimized away. | ||
| 9 | |||
| 10 | * xdisp.c (compute_display_string_pos): Remove unused local. | ||
| 11 | |||
| 1 | 2011-08-02 Eli Zaretskii <eliz@gnu.org> | 12 | 2011-08-02 Eli Zaretskii <eliz@gnu.org> |
| 2 | 13 | ||
| 3 | Fix slow cursor motion and scrolling in large buffers with | 14 | Fix slow cursor motion and scrolling in large buffers with |
| @@ -12,8 +23,8 @@ | |||
| 12 | non-zero. | 23 | non-zero. |
| 13 | 24 | ||
| 14 | * bidi.c (bidi_fetch_char): Accept an additional argument | 25 | * bidi.c (bidi_fetch_char): Accept an additional argument |
| 15 | DISP_PROP_P, and pass it to compute_display_string_pos. Only | 26 | DISP_PROP_P, and pass it to compute_display_string_pos. |
| 16 | handle text covered by a display string if DISP_PROP_P is returned | 27 | Only handle text covered by a display string if DISP_PROP_P is returned |
| 17 | non-zero. All callers of bidi_fetch_char changed. | 28 | non-zero. All callers of bidi_fetch_char changed. |
| 18 | 29 | ||
| 19 | 2011-08-02 Stefan Monnier <monnier@iro.umontreal.ca> | 30 | 2011-08-02 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -359,8 +370,8 @@ | |||
| 359 | 370 | ||
| 360 | * xdisp.c (move_it_in_display_line_to): Record the best matching | 371 | * xdisp.c (move_it_in_display_line_to): Record the best matching |
| 361 | position for TO_CHARPOS while scanning the line, and restore it on | 372 | position for TO_CHARPOS while scanning the line, and restore it on |
| 362 | exit if none of the characters scanned was an exact match. Fixes | 373 | exit if none of the characters scanned was an exact match. |
| 363 | vertical-motion and pos-visible-in-window-p under bidi redisplay | 374 | Fixes vertical-motion and pos-visible-in-window-p under bidi redisplay |
| 364 | when exact match is impossible due to invisible text, and the | 375 | when exact match is impossible due to invisible text, and the |
| 365 | lines are truncated. | 376 | lines are truncated. |
| 366 | 377 | ||
| @@ -545,8 +556,8 @@ | |||
| 545 | (reseat_to_string): Initialize bidi_it->string.s and | 556 | (reseat_to_string): Initialize bidi_it->string.s and |
| 546 | bidi_it->string.schars. | 557 | bidi_it->string.schars. |
| 547 | (Fcurrent_bidi_paragraph_direction): Initialize itb.string.s to | 558 | (Fcurrent_bidi_paragraph_direction): Initialize itb.string.s to |
| 548 | NULL (avoids a crash in bidi_paragraph_init). Initialize | 559 | NULL (avoids a crash in bidi_paragraph_init). |
| 549 | itb.string.lstring. | 560 | Initialize itb.string.lstring. |
| 550 | (init_iterator): Call bidi_init_it only of a valid | 561 | (init_iterator): Call bidi_init_it only of a valid |
| 551 | buffer position was specified. Initialize paragraph_embedding to | 562 | buffer position was specified. Initialize paragraph_embedding to |
| 552 | L2R. | 563 | L2R. |
| @@ -562,12 +573,12 @@ | |||
| 562 | (init_iterator, reseat_1, reseat_to_string): Initialize the | 573 | (init_iterator, reseat_1, reseat_to_string): Initialize the |
| 563 | string.bufpos member to 0 (zero, for compatibility with IT_CHARPOS | 574 | string.bufpos member to 0 (zero, for compatibility with IT_CHARPOS |
| 564 | when iterating on a string not from display properties). | 575 | when iterating on a string not from display properties). |
| 565 | (compute_display_string_pos, compute_display_string_end): Fix | 576 | (compute_display_string_pos, compute_display_string_end): |
| 566 | calculation of the object to scan. Fixes an error when using | 577 | Fix calculation of the object to scan. Fixes an error when using |
| 567 | arrow keys. | 578 | arrow keys. |
| 568 | (next_element_from_buffer): Don't abort when IT_CHARPOS is before | 579 | (next_element_from_buffer): Don't abort when IT_CHARPOS is before |
| 569 | base_level_stop; instead, set base_level_stop to BEGV. Fixes | 580 | base_level_stop; instead, set base_level_stop to BEGV. |
| 570 | crashes in vertical-motion. | 581 | Fixes crashes in vertical-motion. |
| 571 | (next_element_from_buffer): Improve commentary for when | 582 | (next_element_from_buffer): Improve commentary for when |
| 572 | the iterator is before prev_stop. | 583 | the iterator is before prev_stop. |
| 573 | (init_iterator): Initialize bidi_p from the default value of | 584 | (init_iterator): Initialize bidi_p from the default value of |
| @@ -580,8 +591,8 @@ | |||
| 580 | (next_element_from_string): Support bidi reordering of Lisp | 591 | (next_element_from_string): Support bidi reordering of Lisp |
| 581 | strings. | 592 | strings. |
| 582 | (handle_stop_backwards): Support Lisp strings as well. | 593 | (handle_stop_backwards): Support Lisp strings as well. |
| 583 | (display_string): Support display of R2L glyph rows. Use | 594 | (display_string): Support display of R2L glyph rows. |
| 584 | IT_STRING_CHARPOS when displaying from a Lisp string. | 595 | Use IT_STRING_CHARPOS when displaying from a Lisp string. |
| 585 | (init_iterator): Don't initialize it->bidi_p for strings | 596 | (init_iterator): Don't initialize it->bidi_p for strings |
| 586 | here. | 597 | here. |
| 587 | (reseat_to_string): Initialize it->bidi_p for strings here. | 598 | (reseat_to_string): Initialize it->bidi_p for strings here. |
| @@ -663,8 +674,8 @@ | |||
| 663 | displayed in margins. (Bug#8133) (Bug#8867) | 674 | displayed in margins. (Bug#8133) (Bug#8867) |
| 664 | Return MOVE_POS_MATCH_OR_ZV only if iterator position is past | 675 | Return MOVE_POS_MATCH_OR_ZV only if iterator position is past |
| 665 | TO_CHARPOS. | 676 | TO_CHARPOS. |
| 666 | (pos_visible_p): Support positions in bidi-reordered lines. Save | 677 | (pos_visible_p): Support positions in bidi-reordered lines. |
| 667 | and restore bidi cache. | 678 | Save and restore bidi cache. |
| 668 | 679 | ||
| 669 | * bidi.c (bidi_level_of_next_char): clen should be EMACS_NT, not int. | 680 | * bidi.c (bidi_level_of_next_char): clen should be EMACS_NT, not int. |
| 670 | (bidi_paragraph_info): Delete unused struct. | 681 | (bidi_paragraph_info): Delete unused struct. |
| @@ -684,8 +695,8 @@ | |||
| 684 | `len' according to what STRING_CHAR_AND_LENGTH expects. | 695 | `len' according to what STRING_CHAR_AND_LENGTH expects. |
| 685 | (bidi_paragraph_init, bidi_resolve_explicit_1) | 696 | (bidi_paragraph_init, bidi_resolve_explicit_1) |
| 686 | (bidi_resolve_explicit, bidi_resolve_weak) | 697 | (bidi_resolve_explicit, bidi_resolve_weak) |
| 687 | (bidi_level_of_next_char, bidi_move_to_visually_next): Support | 698 | (bidi_level_of_next_char, bidi_move_to_visually_next): |
| 688 | iteration over a string. | 699 | Support iteration over a string. |
| 689 | (bidi_set_sor_type, bidi_resolve_explicit_1) | 700 | (bidi_set_sor_type, bidi_resolve_explicit_1) |
| 690 | (bidi_resolve_explicit, bidi_type_of_next_char): ignore_bn_limit | 701 | (bidi_resolve_explicit, bidi_type_of_next_char): ignore_bn_limit |
| 691 | can now be zero (for strings); special values 0 and -1 were | 702 | can now be zero (for strings); special values 0 and -1 were |
| @@ -716,20 +727,20 @@ | |||
| 716 | (bidi_cache_fetch_state, bidi_cache_search) | 727 | (bidi_cache_fetch_state, bidi_cache_search) |
| 717 | (bidi_cache_find_level_change, bidi_cache_ensure_space) | 728 | (bidi_cache_find_level_change, bidi_cache_ensure_space) |
| 718 | (bidi_cache_iterator_state, bidi_cache_find) | 729 | (bidi_cache_iterator_state, bidi_cache_find) |
| 719 | (bidi_find_other_level_edge, bidi_cache_start_stack): All | 730 | (bidi_find_other_level_edge, bidi_cache_start_stack): |
| 720 | variables related to cache indices are now EMACS_INT. | 731 | All variables related to cache indices are now EMACS_INT. |
| 721 | 732 | ||
| 722 | * dispextern.h (struct bidi_string_data): New structure. | 733 | * dispextern.h (struct bidi_string_data): New structure. |
| 723 | (struct bidi_it): New member `string'. Make flag members be 1-bit | 734 | (struct bidi_it): New member `string'. Make flag members be 1-bit |
| 724 | fields, and put them last in the struct. | 735 | fields, and put them last in the struct. |
| 725 | (compute_display_string_pos, compute_display_string_end): Update | 736 | (compute_display_string_pos, compute_display_string_end): |
| 726 | prototypes. | 737 | Update prototypes. |
| 727 | (bidi_push_it, bidi_pop_it): Add prototypes. | 738 | (bidi_push_it, bidi_pop_it): Add prototypes. |
| 728 | (struct iterator_stack_entry): New members bidi_p, | 739 | (struct iterator_stack_entry): New members bidi_p, |
| 729 | paragraph_embedding, and from_disp_prop_p. | 740 | paragraph_embedding, and from_disp_prop_p. |
| 730 | (struct it): Member bidi_p is now a bit field 1 bit wide. | 741 | (struct it): Member bidi_p is now a bit field 1 bit wide. |
| 731 | (bidi_shelve_cache, bidi_unshelve_cache): Declare | 742 | (bidi_shelve_cache, bidi_unshelve_cache): |
| 732 | prototypes. | 743 | Declare prototypes. |
| 733 | 744 | ||
| 734 | * .gdbinit (xvectype, xvector, xcompiled, xchartable, xboolvector) | 745 | * .gdbinit (xvectype, xvector, xcompiled, xchartable, xboolvector) |
| 735 | (xpr, xfont, xbacktrace): Use "header.size" when accessing vectors | 746 | (xpr, xfont, xbacktrace): Use "header.size" when accessing vectors |
| @@ -1011,7 +1022,7 @@ | |||
| 1011 | (char_table_set_range): Adjuted for the above change. | 1022 | (char_table_set_range): Adjuted for the above change. |
| 1012 | (map_sub_char_table): Delete args default_val and parent. Add arg | 1023 | (map_sub_char_table): Delete args default_val and parent. Add arg |
| 1013 | top. Give decoded values to a Lisp function. | 1024 | top. Give decoded values to a Lisp function. |
| 1014 | (map_char_table): Adjusted for the above change. Give decoded | 1025 | (map_char_table): Adjust for the above change. Give decoded |
| 1015 | values to a Lisp function. Gcpro more variables. | 1026 | values to a Lisp function. Gcpro more variables. |
| 1016 | (uniprop_table_uncompress) | 1027 | (uniprop_table_uncompress) |
| 1017 | (uniprop_decode_value_run_length): New functions. | 1028 | (uniprop_decode_value_run_length): New functions. |
| @@ -1028,10 +1039,10 @@ | |||
| 1028 | and Sput_unicode_property_internal. Defvar_lisp | 1039 | and Sput_unicode_property_internal. Defvar_lisp |
| 1029 | char-code-property-alist. | 1040 | char-code-property-alist. |
| 1030 | 1041 | ||
| 1031 | * composite.c (CHAR_COMPOSABLE_P): Adjusted for the change of | 1042 | * composite.c (CHAR_COMPOSABLE_P): Adjust for the change of |
| 1032 | Vunicode_category_table. | 1043 | Vunicode_category_table. |
| 1033 | 1044 | ||
| 1034 | * font.c (font_range): Adjusted for the change of | 1045 | * font.c (font_range): Adjust for the change of |
| 1035 | Vunicode_category_table. | 1046 | Vunicode_category_table. |
| 1036 | 1047 | ||
| 1037 | 2011-07-07 Dan Nicolaescu <dann@ics.uci.edu> | 1048 | 2011-07-07 Dan Nicolaescu <dann@ics.uci.edu> |
| @@ -1060,14 +1071,14 @@ | |||
| 1060 | (store_monospaced_changed): Add comment. Call dpyinfo_valid. | 1071 | (store_monospaced_changed): Add comment. Call dpyinfo_valid. |
| 1061 | (struct xsettings): Move font inside HAVE_XFT. | 1072 | (struct xsettings): Move font inside HAVE_XFT. |
| 1062 | (GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines. | 1073 | (GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines. |
| 1063 | (GSETTINGS_MONO_FONT): Renamed from SYSTEM_MONO_FONT. | 1074 | (GSETTINGS_MONO_FONT): Rename from SYSTEM_MONO_FONT. |
| 1064 | Move inside HAVE_XFT. | 1075 | Move inside HAVE_XFT. |
| 1065 | (something_changed_gsettingsCB): Renamed from something_changedCB. | 1076 | (something_changed_gsettingsCB): Rename from something_changedCB. |
| 1066 | Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME | 1077 | Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME |
| 1067 | also. | 1078 | also. |
| 1068 | (GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines. | 1079 | (GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines. |
| 1069 | (GCONF_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT. | 1080 | (GCONF_MONO_FONT): Rename from SYSTEM_MONO_FONT. Move inside HAVE_XFT. |
| 1070 | (something_changed_gconfCB): Renamed from something_changedCB. | 1081 | (something_changed_gconfCB): Rename from something_changedCB. |
| 1071 | Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also. | 1082 | Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also. |
| 1072 | (parse_settings): Move check for font inside HAVE_XFT. | 1083 | (parse_settings): Move check for font inside HAVE_XFT. |
| 1073 | (read_settings, apply_xft_settings): Add comment. | 1084 | (read_settings, apply_xft_settings): Add comment. |
| @@ -1080,8 +1091,8 @@ | |||
| 1080 | (init_gconf): Add comment. Get values for GCONF_TOOL_BAR_STYLE | 1091 | (init_gconf): Add comment. Get values for GCONF_TOOL_BAR_STYLE |
| 1081 | and GCONF_FONT_NAME. Move check for fonts within HAVE_XFT. | 1092 | and GCONF_FONT_NAME. Move check for fonts within HAVE_XFT. |
| 1082 | (xsettings_initialize): Call init_gsettings last. | 1093 | (xsettings_initialize): Call init_gsettings last. |
| 1083 | (xsettings_get_system_font, xsettings_get_system_normal_font): Add | 1094 | (xsettings_get_system_font, xsettings_get_system_normal_font): |
| 1084 | comment. | 1095 | Add comment. |
| 1085 | 1096 | ||
| 1086 | 2011-07-05 Paul Eggert <eggert@cs.ucla.edu> | 1097 | 2011-07-05 Paul Eggert <eggert@cs.ucla.edu> |
| 1087 | 1098 | ||
| @@ -1264,7 +1275,7 @@ | |||
| 1264 | (syms_of_xsettings): Initialize gsettings_client, gsettings_obj | 1275 | (syms_of_xsettings): Initialize gsettings_client, gsettings_obj |
| 1265 | to NULL. | 1276 | to NULL. |
| 1266 | 1277 | ||
| 1267 | * Makefile.in (SETTINGS_CFLAGS, SETTINGS_LIBS): Renamed from | 1278 | * Makefile.in (SETTINGS_CFLAGS, SETTINGS_LIBS): Rename from |
| 1268 | GCONF_CFLAGS/LIBS. | 1279 | GCONF_CFLAGS/LIBS. |
| 1269 | 1280 | ||
| 1270 | 2011-06-29 Martin Rudalics <rudalics@gmx.at> | 1281 | 2011-06-29 Martin Rudalics <rudalics@gmx.at> |
| @@ -2011,7 +2022,7 @@ | |||
| 2011 | 2022 | ||
| 2012 | * character.c, coding.c, doprnt.c, editfns.c, eval.c: | 2023 | * character.c, coding.c, doprnt.c, editfns.c, eval.c: |
| 2013 | All uses of STRING_BYTES_MAX replaced by STRING_BYTES_BOUND. | 2024 | All uses of STRING_BYTES_MAX replaced by STRING_BYTES_BOUND. |
| 2014 | * lisp.h (STRING_BYTES_BOUND): Renamed from STRING_BYTES_MAX. | 2025 | * lisp.h (STRING_BYTES_BOUND): Rename from STRING_BYTES_MAX. |
| 2015 | 2026 | ||
| 2016 | * character.c (string_escape_byte8): Fix nbytes/nchars typo. | 2027 | * character.c (string_escape_byte8): Fix nbytes/nchars typo. |
| 2017 | 2028 | ||
| @@ -2120,8 +2131,8 @@ | |||
| 2120 | Qclone_number. Remove external declaration of Qdelete_window. | 2131 | Qclone_number. Remove external declaration of Qdelete_window. |
| 2121 | (Fbuffer_list): Rewrite doc-string. Minor restructuring of | 2132 | (Fbuffer_list): Rewrite doc-string. Minor restructuring of |
| 2122 | code. | 2133 | code. |
| 2123 | (Fget_buffer_create, Fmake_indirect_buffer, Frename_buffer): Run | 2134 | (Fget_buffer_create, Fmake_indirect_buffer, Frename_buffer): |
| 2124 | Qbuffer_list_update_hook if allowed. | 2135 | Run Qbuffer_list_update_hook if allowed. |
| 2125 | (Fother_buffer): Rewrite doc-string. Major rewrite for new | 2136 | (Fother_buffer): Rewrite doc-string. Major rewrite for new |
| 2126 | buffer list implementation. | 2137 | buffer list implementation. |
| 2127 | (other_buffer_safely): New function. | 2138 | (other_buffer_safely): New function. |
| @@ -2132,8 +2143,8 @@ | |||
| 2132 | (record_buffer): Inhibit quitting and rewrite using quittable | 2143 | (record_buffer): Inhibit quitting and rewrite using quittable |
| 2133 | functions. Run Qbuffer_list_update_hook if allowed. | 2144 | functions. Run Qbuffer_list_update_hook if allowed. |
| 2134 | (Frecord_buffer, Funrecord_buffer): New functions. | 2145 | (Frecord_buffer, Funrecord_buffer): New functions. |
| 2135 | (switch_to_buffer_1, Fswitch_to_buffer): Remove. Move | 2146 | (switch_to_buffer_1, Fswitch_to_buffer): Remove. |
| 2136 | switch-to-buffer to window.el. | 2147 | Move switch-to-buffer to window.el. |
| 2137 | (bury-buffer): Move to window.el. | 2148 | (bury-buffer): Move to window.el. |
| 2138 | (Vbuffer_list_update_hook): New variable. | 2149 | (Vbuffer_list_update_hook): New variable. |
| 2139 | 2150 | ||
| @@ -2161,8 +2172,8 @@ | |||
| 2161 | (select_window_norecord, select_frame_norecord): Move in front | 2172 | (select_window_norecord, select_frame_norecord): Move in front |
| 2162 | of run_window_configuration_change_hook. Remove now obsolete | 2173 | of run_window_configuration_change_hook. Remove now obsolete |
| 2163 | declarations. | 2174 | declarations. |
| 2164 | (Fset_window_buffer): Rewrite doc-string. Call | 2175 | (Fset_window_buffer): Rewrite doc-string. |
| 2165 | Qrecord_window_buffer. | 2176 | Call Qrecord_window_buffer. |
| 2166 | (keys_of_window): Move binding for other-window to window.el. | 2177 | (keys_of_window): Move binding for other-window to window.el. |
| 2167 | 2178 | ||
| 2168 | 2011-06-11 Chong Yidong <cyd@stupidchicken.com> | 2179 | 2011-06-11 Chong Yidong <cyd@stupidchicken.com> |
| @@ -2244,8 +2255,8 @@ | |||
| 2244 | orig_total_lines. | 2255 | orig_total_lines. |
| 2245 | (Fdelete_window, delete_window): Remove. Window deletion is | 2256 | (Fdelete_window, delete_window): Remove. Window deletion is |
| 2246 | handled by window.el. | 2257 | handled by window.el. |
| 2247 | (window_loop): Remove DELETE_OTHER_WINDOWS case. Replace | 2258 | (window_loop): Remove DELETE_OTHER_WINDOWS case. |
| 2248 | Fdelete_window calls with calls to Qdelete_window. | 2259 | Replace Fdelete_window calls with calls to Qdelete_window. |
| 2249 | (Fdelete_other_windows): Remove. Deleting other windows is | 2260 | (Fdelete_other_windows): Remove. Deleting other windows is |
| 2250 | handled by window.el. | 2261 | handled by window.el. |
| 2251 | (window_fixed_size_p): Remove. Fixed-sizeness of windows is | 2262 | (window_fixed_size_p): Remove. Fixed-sizeness of windows is |
| @@ -2268,8 +2279,8 @@ | |||
| 2268 | (grow_mini_window, shrink_mini_window): Implement by calling | 2279 | (grow_mini_window, shrink_mini_window): Implement by calling |
| 2269 | Qresize_root_window_vertically, resize_window_check and | 2280 | Qresize_root_window_vertically, resize_window_check and |
| 2270 | resize_window_apply. | 2281 | resize_window_apply. |
| 2271 | (saved_window, Fset_window_configuration, save_window_save): Do | 2282 | (saved_window, Fset_window_configuration, save_window_save): |
| 2272 | not handle orig_top_line, orig_total_lines, and | 2283 | Do not handle orig_top_line, orig_total_lines, and |
| 2273 | resize_proportionally. | 2284 | resize_proportionally. |
| 2274 | (window_min_height, window_min_width): Move to window.el. | 2285 | (window_min_height, window_min_width): Move to window.el. |
| 2275 | (keys_of_window): Move bindings for delete-other-windows, | 2286 | (keys_of_window): Move bindings for delete-other-windows, |
| @@ -2289,8 +2300,8 @@ | |||
| 2289 | * xdisp.c (init_xdisp): Don't use set_window_height but set | 2300 | * xdisp.c (init_xdisp): Don't use set_window_height but set |
| 2290 | heights directly. | 2301 | heights directly. |
| 2291 | 2302 | ||
| 2292 | * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): Use | 2303 | * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): |
| 2293 | resize_frame_windows instead of change_window_heights and run | 2304 | Use resize_frame_windows instead of change_window_heights and run |
| 2294 | run_window_configuration_change_hook. | 2305 | run_window_configuration_change_hook. |
| 2295 | 2306 | ||
| 2296 | * w32fns.c (x_set_tool_bar_lines): Use resize_frame_windows | 2307 | * w32fns.c (x_set_tool_bar_lines): Use resize_frame_windows |
| @@ -2312,8 +2323,8 @@ | |||
| 2312 | (Frun_window_configuration_change_hook, make_parent_window) | 2323 | (Frun_window_configuration_change_hook, make_parent_window) |
| 2313 | (resize_window_check, resize_window_apply, Fresize_window_apply) | 2324 | (resize_window_check, resize_window_apply, Fresize_window_apply) |
| 2314 | (resize_frame_windows, Fsplit_window_internal) | 2325 | (resize_frame_windows, Fsplit_window_internal) |
| 2315 | (Fdelete_window_internal, Fresize_mini_window_internal): New | 2326 | (Fdelete_window_internal, Fresize_mini_window_internal): |
| 2316 | functions. | 2327 | New functions. |
| 2317 | (syms_of_window): New variables Vwindow_splits and Vwindow_nest. | 2328 | (syms_of_window): New variables Vwindow_splits and Vwindow_nest. |
| 2318 | 2329 | ||
| 2319 | 2011-06-08 Martin Rudalics <rudalics@gmx.at> | 2330 | 2011-06-08 Martin Rudalics <rudalics@gmx.at> |
| @@ -2333,8 +2344,8 @@ | |||
| 2333 | (Fwindow_nest, Fset_window_nest, Fwindow_new_total) | 2344 | (Fwindow_nest, Fset_window_nest, Fwindow_new_total) |
| 2334 | (Fwindow_normal_size, Fwindow_new_normal, Fwindow_prev_buffers) | 2345 | (Fwindow_normal_size, Fwindow_new_normal, Fwindow_prev_buffers) |
| 2335 | (Fset_window_prev_buffers, Fwindow_next_buffers) | 2346 | (Fset_window_prev_buffers, Fwindow_next_buffers) |
| 2336 | (Fset_window_next_buffers, Fset_window_clone_number): New | 2347 | (Fset_window_next_buffers, Fset_window_clone_number): |
| 2337 | functions. | 2348 | New functions. |
| 2338 | (Fwindow_hscroll, Fwindow_at, Fwindow_point, Fwindow_start) | 2349 | (Fwindow_hscroll, Fwindow_at, Fwindow_point, Fwindow_start) |
| 2339 | (Fwindow_end, Fwindow_line_height, Fset_window_dedicated_p): | 2350 | (Fwindow_end, Fwindow_line_height, Fset_window_dedicated_p): |
| 2340 | Doc-string fixes. | 2351 | Doc-string fixes. |
| @@ -2360,10 +2371,10 @@ | |||
| 2360 | (Fwindow_top_line, window_body_lines, Fwindow_body_size) | 2371 | (Fwindow_top_line, window_body_lines, Fwindow_body_size) |
| 2361 | (Fwindow_list_1): New functions. | 2372 | (Fwindow_list_1): New functions. |
| 2362 | (window_box_text_cols): Replace with window_body_cols. | 2373 | (window_box_text_cols): Replace with window_body_cols. |
| 2363 | (Fwindow_width, Fscroll_left, Fscroll_right): Use | 2374 | (Fwindow_width, Fscroll_left, Fscroll_right): |
| 2364 | window_body_cols instead of window_box_text_cols. | 2375 | Use window_body_cols instead of window_box_text_cols. |
| 2365 | (delete_window, Fset_window_configuration): Call | 2376 | (delete_window, Fset_window_configuration): |
| 2366 | delete_all_subwindows with window as argument. | 2377 | Call delete_all_subwindows with window as argument. |
| 2367 | (delete_all_subwindows): Take a window as argument and not a | 2378 | (delete_all_subwindows): Take a window as argument and not a |
| 2368 | structure. Rewrite. | 2379 | structure. Rewrite. |
| 2369 | (window_loop): Remove handling of GET_LRU_WINDOW and | 2380 | (window_loop): Remove handling of GET_LRU_WINDOW and |
| @@ -2374,8 +2385,8 @@ | |||
| 2374 | window_box_text_cols. delete_all_subwindows now takes a | 2385 | window_box_text_cols. delete_all_subwindows now takes a |
| 2375 | Lisp_Object as argument. | 2386 | Lisp_Object as argument. |
| 2376 | 2387 | ||
| 2377 | * indent.c (compute_motion, Fcompute_motion): Use | 2388 | * indent.c (compute_motion, Fcompute_motion): |
| 2378 | window_body_cols instead of window_box_text_cols. | 2389 | Use window_body_cols instead of window_box_text_cols. |
| 2379 | 2390 | ||
| 2380 | * frame.c (delete_frame): Call delete_all_subwindows with root | 2391 | * frame.c (delete_frame): Call delete_all_subwindows with root |
| 2381 | window as argument. | 2392 | window as argument. |
diff --git a/src/fontset.c b/src/fontset.c index 3091f43d6e9..74eb61d2665 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -2100,6 +2100,8 @@ DEFUN ("fontset-list", Ffontset_list, Sfontset_list, 0, 0, 0, | |||
| 2100 | 2100 | ||
| 2101 | #ifdef FONTSET_DEBUG | 2101 | #ifdef FONTSET_DEBUG |
| 2102 | 2102 | ||
| 2103 | Lisp_Object dump_fontset (Lisp_Object) EXTERNALLY_VISIBLE; | ||
| 2104 | |||
| 2103 | Lisp_Object | 2105 | Lisp_Object |
| 2104 | dump_fontset (Lisp_Object fontset) | 2106 | dump_fontset (Lisp_Object fontset) |
| 2105 | { | 2107 | { |
diff --git a/src/keymap.c b/src/keymap.c index c461fdddbbc..3b0edbf4fb3 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -150,17 +150,6 @@ in case you use it as a menu with `x-popup-menu'. */) | |||
| 150 | return Fcons (Qkeymap, Qnil); | 150 | return Fcons (Qkeymap, Qnil); |
| 151 | } | 151 | } |
| 152 | 152 | ||
| 153 | DEFUN ("make-composed-keymap", Fmake_composed_keymap, Smake_composed_keymap, | ||
| 154 | 0, MANY, 0, | ||
| 155 | doc: /* Construct and return a new keymap composed of KEYMAPS. | ||
| 156 | When looking up a key in the returned map, the key is looked in each | ||
| 157 | keymap in turn until a binding is found. | ||
| 158 | usage: (make-composed-keymap &rest KEYMAPS) */) | ||
| 159 | (ptrdiff_t nargs, Lisp_Object *args) | ||
| 160 | { | ||
| 161 | return Fcons (Qkeymap, Flist (nargs, args)); | ||
| 162 | } | ||
| 163 | |||
| 164 | /* This function is used for installing the standard key bindings | 153 | /* This function is used for installing the standard key bindings |
| 165 | at initialization time. | 154 | at initialization time. |
| 166 | 155 | ||
| @@ -3761,7 +3750,6 @@ be preferred. */); | |||
| 3761 | defsubr (&Sset_keymap_parent); | 3750 | defsubr (&Sset_keymap_parent); |
| 3762 | defsubr (&Smake_keymap); | 3751 | defsubr (&Smake_keymap); |
| 3763 | defsubr (&Smake_sparse_keymap); | 3752 | defsubr (&Smake_sparse_keymap); |
| 3764 | defsubr (&Smake_composed_keymap); | ||
| 3765 | defsubr (&Smap_keymap_internal); | 3753 | defsubr (&Smap_keymap_internal); |
| 3766 | defsubr (&Smap_keymap); | 3754 | defsubr (&Smap_keymap); |
| 3767 | defsubr (&Scopy_keymap); | 3755 | defsubr (&Scopy_keymap); |
diff --git a/src/xdisp.c b/src/xdisp.c index fa4b3c4f9ab..923f0aba591 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -3163,7 +3163,8 @@ compute_display_string_pos (struct text_pos *position, | |||
| 3163 | EMACS_INT lim = | 3163 | EMACS_INT lim = |
| 3164 | (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob; | 3164 | (charpos < eob - MAX_DISP_SCAN) ? charpos + MAX_DISP_SCAN : eob; |
| 3165 | struct text_pos tpos; | 3165 | struct text_pos tpos; |
| 3166 | struct buffer *b; | 3166 | |
| 3167 | *disp_prop_p = 1; | ||
| 3167 | 3168 | ||
| 3168 | *disp_prop_p = 1; | 3169 | *disp_prop_p = 1; |
| 3169 | 3170 | ||