comparison src/ChangeLog.7 @ 49600:23a1cea22d13

Trailing whitespace deleted.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 04 Feb 2003 14:56:31 +0000
parents 1aba10ab73b4
children 695cf19ef79e
comparison
equal deleted inserted replaced
49599:5ade352e8d1c 49600:23a1cea22d13
81 81
82 1998-08-15 Richard Stallman <rms@psilocin.ai.mit.edu> 82 1998-08-15 Richard Stallman <rms@psilocin.ai.mit.edu>
83 83
84 * xterm.c, xterm.h: x_display_unibyte_char_with_fontset renamed to 84 * xterm.c, xterm.h: x_display_unibyte_char_with_fontset renamed to
85 unibyte_display_via_language_environment. 85 unibyte_display_via_language_environment.
86 86
87 * xfns.c (unibyte_display_through_language_environment): 87 * xfns.c (unibyte_display_through_language_environment):
88 Renamed from x_display_unibyte_char_with_fontset. 88 Renamed from x_display_unibyte_char_with_fontset.
89 89
90 * xterm.h (widget_store_internal_border): Conditionalize declaration. 90 * xterm.h (widget_store_internal_border): Conditionalize declaration.
91 91
198 * process.c (Fprocess_send_eof): Transfer proc_encode_coding_system 198 * process.c (Fprocess_send_eof): Transfer proc_encode_coding_system
199 data to the new outfd. 199 data to the new outfd.
200 200
201 * commands.h (Vthis_command): Renamed from this_command. 201 * commands.h (Vthis_command): Renamed from this_command.
202 202
203 * minibuf.c (Fminibuffer_complete): 203 * minibuf.c (Fminibuffer_complete):
204 this_command renamed to Vthis_command. 204 this_command renamed to Vthis_command.
205 205
206 * macros.c (Fcall_last_kbd_macro): 206 * macros.c (Fcall_last_kbd_macro):
207 this_command renamed to Vthis_command. 207 this_command renamed to Vthis_command.
208 208
209 * keyboard.c (Vthis_command): Renamed from this_command. 209 * keyboard.c (Vthis_command): Renamed from this_command.
210 (real_this_command): New variable, but not a Lisp variable; 210 (real_this_command): New variable, but not a Lisp variable;
211 updated like Vthis_command, but never altered by Lisp programs. 211 updated like Vthis_command, but never altered by Lisp programs.
212 (command_loop_1): Use real_this_command to set Vreal_last_command. 212 (command_loop_1): Use real_this_command to set Vreal_last_command.
213 213
214 1998-08-07 Kenichi Handa <handa@etl.go.jp> 214 1998-08-07 Kenichi Handa <handa@etl.go.jp>
215 215
216 * cmds.c (internal_self_insert): If enable-multibyte-characters is 216 * cmds.c (internal_self_insert): If enable-multibyte-characters is
217 nil, convert a multibyte character to unibyte appropriately. 217 nil, convert a multibyte character to unibyte appropriately.
218 218
264 264
265 * xterm.c (x_list_fonts): Call XFreeFont after the new call 265 * xterm.c (x_list_fonts): Call XFreeFont after the new call
266 to XLoadQueryFont. 266 to XLoadQueryFont.
267 (fast_find_position): Handle case where position is before 267 (fast_find_position): Handle case where position is before
268 an invisible character, thus not actually listed in charstarts. 268 an invisible character, thus not actually listed in charstarts.
269 269
270 * keyboard.c (Vinput_method_previous_message): New variable. 270 * keyboard.c (Vinput_method_previous_message): New variable.
271 (syms_of_keyboard): Set up lisp variable. 271 (syms_of_keyboard): Set up lisp variable.
272 (Qinput_method_exit_on_first_char, Qinput_method_use_echo_area): 272 (Qinput_method_exit_on_first_char, Qinput_method_use_echo_area):
273 New variables. 273 New variables.
274 (syms_of_keyboard): Initialize them. 274 (syms_of_keyboard): Initialize them.
276 Bind those variables. 276 Bind those variables.
277 277
278 * lisp.h (Fread_key_sequence): Update declaration. 278 * lisp.h (Fread_key_sequence): Update declaration.
279 279
280 * callint.c (Fcall_interactively): Pass new arg to Fread_key_sequence. 280 * callint.c (Fcall_interactively): Pass new arg to Fread_key_sequence.
281 281
282 1998-08-03 Richard Stallman <rms@psilocin.ai.mit.edu> 282 1998-08-03 Richard Stallman <rms@psilocin.ai.mit.edu>
283 283
284 * window.c (Fmove_to_window_line): Doc fix. 284 * window.c (Fmove_to_window_line): Doc fix.
285 285
286 * xterm.h (FRAME_OUTER_WINDOW): New macro. 286 * xterm.h (FRAME_OUTER_WINDOW): New macro.
329 * insdel.c (copy_text): In multibyte to unibyte conversion, take 329 * insdel.c (copy_text): In multibyte to unibyte conversion, take
330 nonascii-translation-table and nonascii-insert-offset into 330 nonascii-translation-table and nonascii-insert-offset into
331 account. 331 account.
332 332
333 1998-07-30 Paul Eggert <eggert@twinsun.com> 333 1998-07-30 Paul Eggert <eggert@twinsun.com>
334 334
335 * src/Makefile.in (widget.o, xfns.o, xmenu.o): 335 * src/Makefile.in (widget.o, xfns.o, xmenu.o):
336 Prepend $(srcdir)/ to rule dependencies outside this dir. 336 Prepend $(srcdir)/ to rule dependencies outside this dir.
337 337
338 1998-07-29 Kenichi Handa <handa@etl.go.jp> 338 1998-07-29 Kenichi Handa <handa@etl.go.jp>
339 339
448 (Vunread_input_method_events, Vunread_post_input_method_events) 448 (Vunread_input_method_events, Vunread_post_input_method_events)
449 (Vinput_method_function): New variable. 449 (Vinput_method_function): New variable.
450 (syms_of_keyboard): Set up Lisp vars. 450 (syms_of_keyboard): Set up Lisp vars.
451 (command_loop_1): Check Vunread_input_method_events and 451 (command_loop_1): Check Vunread_input_method_events and
452 Vunread_post_input_method_events along with Vunread_command_events. 452 Vunread_post_input_method_events along with Vunread_command_events.
453 453
454 1998-07-11 Andrew Innes <andrewi@harlequin.co.uk> 454 1998-07-11 Andrew Innes <andrewi@harlequin.co.uk>
455 455
456 * w32menu.c (w32_menu_show): Set widget call_data to 0 if 456 * w32menu.c (w32_menu_show): Set widget call_data to 0 if
457 definition is nil. 457 definition is nil.
458 (add_menu_item): Gray menu entry if widget call_data is 0. 458 (add_menu_item): Gray menu entry if widget call_data is 0.
507 507
508 1998-07-06 Kenichi Handa <handa@etl.go.jp> 508 1998-07-06 Kenichi Handa <handa@etl.go.jp>
509 509
510 * charset.h (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR - 1), 510 * charset.h (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR - 1),
511 one less than the previous value. 511 one less than the previous value.
512 (GENERIC_COMPOSITION_CHAR): New macro. 512 (GENERIC_COMPOSITION_CHAR): New macro.
513 513
514 * charset.c (Vgeneric_character_list): New variable. 514 * charset.c (Vgeneric_character_list): New variable.
515 (init_charset_once): Init and staticpro it. 515 (init_charset_once): Init and staticpro it.
516 (Fgeneric_character_list): New function. 516 (Fgeneric_character_list): New function.
517 (syms_of_charset): defsubr it. 517 (syms_of_charset): defsubr it.
518 518
519 * fns.c (Fset_char_table_default): Check only if the charset of 519 * fns.c (Fset_char_table_default): Check only if the charset of
520 the arg CH is in the valid range or not. Handle the case that CH 520 the arg CH is in the valid range or not. Handle the case that CH
521 is a generic character for composite characters. 521 is a generic character for composite characters.
628 inserting in a unibyte buffer. 628 inserting in a unibyte buffer.
629 629
630 * doc.c (get_doc_string): Take both UNIBYTE and DEFINITION as args. 630 * doc.c (get_doc_string): Take both UNIBYTE and DEFINITION as args.
631 All callers changed. 631 All callers changed.
632 * lisp.h (get_doc_string): Adjust declaration. 632 * lisp.h (get_doc_string): Adjust declaration.
633 633
634 * lread.c (read_list): Pass new arg to get_doc_string. 634 * lread.c (read_list): Pass new arg to get_doc_string.
635 635
636 * doc.c (get_doc_string): 2nd arg is now DEFINITION; 636 * doc.c (get_doc_string): 2nd arg is now DEFINITION;
637 if non-nil, read a dynamic function definition. 637 if non-nil, read a dynamic function definition.
638 (read_doc_string): Don't call read here. 638 (read_doc_string): Don't call read here.
644 1998-06-22 Richard Stallman <rms@psilocin.ai.mit.edu> 644 1998-06-22 Richard Stallman <rms@psilocin.ai.mit.edu>
645 645
646 * emacs.c (sort_args): Discard duplicate options with no args. 646 * emacs.c (sort_args): Discard duplicate options with no args.
647 (main): With duplicate -d options, use the last one. Likewise for -t. 647 (main): With duplicate -d options, use the last one. Likewise for -t.
648 Check -d last, by checking for -nl earlier on. 648 Check -d last, by checking for -nl earlier on.
649 649
650 1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 650 1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
651 651
652 * keyboard.c (command_loop): Reset executing_macro after 652 * keyboard.c (command_loop): Reset executing_macro after
653 command_loop_2 has returned, in case a throw to exit or top-level 653 command_loop_2 has returned, in case a throw to exit or top-level
654 was executed as part of a keyboard macro. 654 was executed as part of a keyboard macro.
773 set-auto-coding-function modified for the change above. 773 set-auto-coding-function modified for the change above.
774 774
775 1998-06-14 Eli Zaretskii <eliz@mescaline.gnu.org> 775 1998-06-14 Eli Zaretskii <eliz@mescaline.gnu.org>
776 776
777 * msdos.c (dos_set_keyboard): Call Int 2Fh via the DPMI server, 777 * msdos.c (dos_set_keyboard): Call Int 2Fh via the DPMI server,
778 not directly. 778 not directly.
779 (dos_yield_time_slice): New function. 779 (dos_yield_time_slice): New function.
780 (sys_select): Use it instead of __dpmi_yield. 780 (sys_select): Use it instead of __dpmi_yield.
781 781
782 1998-06-14 Erik Naggum <erik@naggum.no> 782 1998-06-14 Erik Naggum <erik@naggum.no>
783 783
893 * xdisp.c (redisplay_internal): If cursor's in the frame's echo area, 893 * xdisp.c (redisplay_internal): If cursor's in the frame's echo area,
894 make last_point invalid instead of setting it normally. 894 make last_point invalid instead of setting it normally.
895 (display_text_line): If cursor's in the frame's echo area, 895 (display_text_line): If cursor's in the frame's echo area,
896 don't set this_line_endpos. 896 don't set this_line_endpos.
897 (redisplay_window): Use Fwindow_end to find lower scroll margin. 897 (redisplay_window): Use Fwindow_end to find lower scroll margin.
898 898
899 * syntax.c (scan_lists): Properly skip the comment-fence character 899 * syntax.c (scan_lists): Properly skip the comment-fence character
900 that ends a comment, when moving forward. 900 that ends a comment, when moving forward.
901 (Fbackward_prefix_chars): Return immediately if point is at BEGV. 901 (Fbackward_prefix_chars): Return immediately if point is at BEGV.
902 902
903 * callproc.c (init_callproc): Check Vinstallation_directory 903 * callproc.c (init_callproc): Check Vinstallation_directory
910 for each character that is fetched. 910 for each character that is fetched.
911 (Fforward_comment): Likewise. 911 (Fforward_comment): Likewise.
912 (scan_lists): Likewise. 912 (scan_lists): Likewise.
913 (prev_char_comstart_first): New function. 913 (prev_char_comstart_first): New function.
914 914
915 * syntax.c 915 * syntax.c
916 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk> 916 1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
917 917
918 * w32.c: #include sys/file.h 918 * w32.c: #include sys/file.h
919 (sys_access): Provide our own implementation which recognizes D_OK. 919 (sys_access): Provide our own implementation which recognizes D_OK.
920 (is_exec): New function. 920 (is_exec): New function.
1006 1006
1007 * w32proc.c (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. 1007 * w32proc.c (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID.
1008 1008
1009 * w32.c (sys_rename): Handle filenames with accented characters. 1009 * w32.c (sys_rename): Handle filenames with accented characters.
1010 (stat): Handle "c:/.." and "/.." specially. 1010 (stat): Handle "c:/.." and "/.." specially.
1011 1011
1012 * unexw32.c (w32_fatal_reload_error): Update error message. 1012 * unexw32.c (w32_fatal_reload_error): Update error message.
1013 1013
1014 1998-05-30 Karl Heuer <kwzh@gnu.org> 1014 1998-05-30 Karl Heuer <kwzh@gnu.org>
1015 1015
1016 * Makefile.in (distclean): Delete config.stamp, stamp-oldxmenu. 1016 * Makefile.in (distclean): Delete config.stamp, stamp-oldxmenu.
1063 (read1): Add extra parameter to read_vector calls. 1063 (read1): Add extra parameter to read_vector calls.
1064 1064
1065 (read1): Enable saving of doc strings on WINDOWSNT. 1065 (read1): Enable saving of doc strings on WINDOWSNT.
1066 (read_list): Call get_doc_string instead of read_doc_string, when 1066 (read_list): Call get_doc_string instead of read_doc_string, when
1067 forced to load doc strings. 1067 forced to load doc strings.
1068 1068
1069 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 1069 1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1070 1070
1071 * s/gnu-linux.h (setpgrp): Remove extra parens around parameters. 1071 * s/gnu-linux.h (setpgrp): Remove extra parens around parameters.
1072 1072
1073 * xterm.c (XTread_socket): Fix second argument of 1073 * xterm.c (XTread_socket): Fix second argument of
1128 (set_frame_buffer_list, Fother_buffer): Decls changed. 1128 (set_frame_buffer_list, Fother_buffer): Decls changed.
1129 1129
1130 * window.c (select_window_1): New subroutine, from Fselect_window. 1130 * window.c (select_window_1): New subroutine, from Fselect_window.
1131 (Fselect_window): Use select_window_1. 1131 (Fselect_window): Use select_window_1.
1132 (temp_output_buffer_show): Use select_window_1. 1132 (temp_output_buffer_show): Use select_window_1.
1133 1133
1134 1998-05-22 Kenichi Handa <handa@etl.go.jp> 1134 1998-05-22 Kenichi Handa <handa@etl.go.jp>
1135 1135
1136 * ccl.c: Change term "character translation table" to "translation 1136 * ccl.c: Change term "character translation table" to "translation
1137 table". 1137 table".
1138 1138
1196 1998-05-19 Richard Stallman <rms@psilocin.ai.mit.edu> 1196 1998-05-19 Richard Stallman <rms@psilocin.ai.mit.edu>
1197 1197
1198 * minibuf.c (syms_of_minibuf): Doc fix. 1198 * minibuf.c (syms_of_minibuf): Doc fix.
1199 1199
1200 * window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes. 1200 * window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes.
1201 1201
1202 * frame.c (make_frame_visible_1): New function. 1202 * frame.c (make_frame_visible_1): New function.
1203 (Fmake_frame_visible): Use that. 1203 (Fmake_frame_visible): Use that.
1204 1204
1205 * xdisp.c (redisplay_window): Don't use window->start 1205 * xdisp.c (redisplay_window): Don't use window->start
1206 if it is out of range of BEGV/ZV. 1206 if it is out of range of BEGV/ZV.
1273 (init_buffer_once): Initialize display_time slot. 1273 (init_buffer_once): Initialize display_time slot.
1274 1274
1275 * window.c (Fset_window_buffer): Update buffer's display_time. 1275 * window.c (Fset_window_buffer): Update buffer's display_time.
1276 1276
1277 * insdel.c (insert_1_both, insert_from_string_1, replace_range) 1277 * insdel.c (insert_1_both, insert_from_string_1, replace_range)
1278 (insert_from_buffer_1, adjust_before_replace, adjust_after_replace): 1278 (insert_from_buffer_1, adjust_before_replace, adjust_after_replace):
1279 Don't copy text being deleted, if undo is disabled. 1279 Don't copy text being deleted, if undo is disabled.
1280 1280
1281 * lread.c (readchar): Use readchar_backlog again 1281 * lread.c (readchar): Use readchar_backlog again
1282 to read a character byte by byte, if its byte sequence 1282 to read a character byte by byte, if its byte sequence
1283 does not really match the character code. 1283 does not really match the character code.
1378 if code conversion is needed, file is not binary. 1378 if code conversion is needed, file is not binary.
1379 1379
1380 * xdisp.c (redisplay_window): Handle scroll_step along with 1380 * xdisp.c (redisplay_window): Handle scroll_step along with
1381 scroll_conservatively. Fix 1-off error checking the limit for them. 1381 scroll_conservatively. Fix 1-off error checking the limit for them.
1382 1382
1383 * filelock.c (unlock_file): Encode the file name. 1383 * filelock.c (unlock_file): Encode the file name.
1384 1384
1385 1998-05-10 Richard Stallman <rms@psilocin.ai.mit.edu> 1385 1998-05-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1386 1386
1387 * buffer.c (Fset_buffer_multibyte): Error if marker is put 1387 * buffer.c (Fset_buffer_multibyte): Error if marker is put
1388 on buffer's marker-chain while we have temporarily put nil there. 1388 on buffer's marker-chain while we have temporarily put nil there.
1515 * search.c (boyer_moore): Check more reliably for ptr[1] being 1515 * search.c (boyer_moore): Check more reliably for ptr[1] being
1516 out of range. Use pat_end to point at the pattern's end. 1516 out of range. Use pat_end to point at the pattern's end.
1517 1517
1518 * emacs.c (main): Call the syms_of_... and keys_of_... functions 1518 * emacs.c (main): Call the syms_of_... and keys_of_... functions
1519 earlier, before init_vms_input and init_display. 1519 earlier, before init_vms_input and init_display.
1520 1520
1521 1998-05-04 E. Jay Berkenbilt <ejb@ql.org> 1521 1998-05-04 E. Jay Berkenbilt <ejb@ql.org>
1522 1522
1523 * window.h (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when 1523 * window.h (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when
1524 there are no vertical scrollbars and this is the rightmost window 1524 there are no vertical scrollbars and this is the rightmost window
1525 in the frame. 1525 in the frame.
1583 1583
1584 * editfns.c (Finsert_char): Doc fix. 1584 * editfns.c (Finsert_char): Doc fix.
1585 1585
1586 1998-05-02 Hrvoje Niksic <hniksic@srce.hr> 1586 1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
1587 1587
1588 * fileio.c (Fmake_temp_name): Improve randomness of generated file 1588 * fileio.c (Fmake_temp_name): Improve randomness of generated file
1589 names. 1589 names.
1590 1590
1591 1998-05-01 Richard Stallman <rms@psilocin.gnu.org> 1591 1998-05-01 Richard Stallman <rms@psilocin.gnu.org>
1592 1592
1593 * search.c (wordify): Do the second loop by chars, not by bytes. 1593 * search.c (wordify): Do the second loop by chars, not by bytes.
1597 * coding.c (encode_coding_iso2022): If encoding a last block, 1597 * coding.c (encode_coding_iso2022): If encoding a last block,
1598 reset graphic planes and registers. 1598 reset graphic planes and registers.
1599 1599
1600 1998-04-30 Geoff Voelker <voelker@cs.washington.edu> 1600 1998-04-30 Geoff Voelker <voelker@cs.washington.edu>
1601 1601
1602 * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names) 1602 * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names)
1603 New variables. 1603 New variables.
1604 (make_lispy_event): Handle drag_n_drop events. 1604 (make_lispy_event): Handle drag_n_drop events.
1605 (syms_of_keyboard): Initialize new symbols. 1605 (syms_of_keyboard): Initialize new symbols.
1606 1606
1607 * w32fns.c (enum_font_cb2): Only ignore raster fonts when 1607 * w32fns.c (enum_font_cb2): Only ignore raster fonts when
1608 determining height and width. 1608 determining height and width.
1609 1609
1610 * termhooks.h (event_kind): New event type `drag_n_drop'. 1610 * termhooks.h (event_kind): New event type `drag_n_drop'.
1611 1611
1612 * makefile.nt (LIBS): Link in shell32.lib. 1612 * makefile.nt (LIBS): Link in shell32.lib.
1613 1613
1614 * w32fns.c: Include shellapi.h. 1614 * w32fns.c: Include shellapi.h.
1615 (w32_createwindow): Enable drag-n-drop on new windows. 1615 (w32_createwindow): Enable drag-n-drop on new windows.
1616 (w32_wnd_proc): Handle WM_DROPFILES messages. 1616 (w32_wnd_proc): Handle WM_DROPFILES messages.
1617 Disable drag-n-drop on closing windows. 1617 Disable drag-n-drop on closing windows.
1618 1618
1619 * w32term.c: Include shellapi.h. 1619 * w32term.c: Include shellapi.h.
1620 (construct_drag_n_drop): New function. 1620 (construct_drag_n_drop): New function.
1621 (w32_read_socket): Handle WM_DROPFILES messages. 1621 (w32_read_socket): Handle WM_DROPFILES messages.
1622 1622
1623 1998-04-30 Skip Collins <ColliBF1@APLMSG.JHUAPL.EDU> 1623 1998-04-30 Skip Collins <ColliBF1@APLMSG.JHUAPL.EDU>
1624 1624
1625 * w32fns.c (msh_mousewheel): New variable. 1625 * w32fns.c (msh_mousewheel): New variable.
1626 (w32_msg_pump): Register that Emacs accepts mousewheel events. 1626 (w32_msg_pump): Register that Emacs accepts mousewheel events.
1635 1998-04-29 Richard Stallman <rms@psilocin.gnu.org> 1635 1998-04-29 Richard Stallman <rms@psilocin.gnu.org>
1636 1636
1637 * indent.c (compute_motion): When invisible text cross TO, 1637 * indent.c (compute_motion): When invisible text cross TO,
1638 return TO, not the start of the invisible text. 1638 return TO, not the start of the invisible text.
1639 1639
1640 * process.c (Fset_process_inherit_coding_system_flag, Fstart_process): 1640 * process.c (Fset_process_inherit_coding_system_flag, Fstart_process):
1641 Store inherit_coding_system_flag as a Lisp_Object. 1641 Store inherit_coding_system_flag as a Lisp_Object.
1642 (Fopen_network_stream): Likewise. 1642 (Fopen_network_stream): Likewise.
1643 (Fprocess_inherit_coding_system_flag): Access it as Lisp_Object. 1643 (Fprocess_inherit_coding_system_flag): Access it as Lisp_Object.
1644 (read_process_output): Likewise. 1644 (read_process_output): Likewise.
1645 1645
1684 * coding.h (Vfile_name_coding_system) 1684 * coding.h (Vfile_name_coding_system)
1685 (Vdefault_file_name_coding_system): Declarations added. 1685 (Vdefault_file_name_coding_system): Declarations added.
1686 1686
1687 * emacs.c (abort): Omit this definition, if NO_ABORT. 1687 * emacs.c (abort): Omit this definition, if NO_ABORT.
1688 End by calling exit, to avoid warning. 1688 End by calling exit, to avoid warning.
1689 1689
1690 1998-04-28 Richard Stallman <rms@psilocin.gnu.org> 1690 1998-04-28 Richard Stallman <rms@psilocin.gnu.org>
1691 1691
1692 * filelock.c: Include coding.h. 1692 * filelock.c: Include coding.h.
1693 (lock_file): Encode the file name, to make lock file name. 1693 (lock_file): Encode the file name, to make lock file name.
1694 1694
1765 * fns.c (Fcompare_strings): Doc fix. 1765 * fns.c (Fcompare_strings): Doc fix.
1766 1766
1767 * minibuf.c (minibuf_conform_representation): New function. 1767 * minibuf.c (minibuf_conform_representation): New function.
1768 (Ftry_completion): Use it to return multibyte string 1768 (Ftry_completion): Use it to return multibyte string
1769 if and only if the completion table has a multibyte string. 1769 if and only if the completion table has a multibyte string.
1770 (Fdisplay_completion_list): 1770 (Fdisplay_completion_list):
1771 Convert string to unibyte before displaying it, if default is unibyte. 1771 Convert string to unibyte before displaying it, if default is unibyte.
1772 1772
1773 * eval.c (find_handler_clause): Cast Fbacktrace to proper type. 1773 * eval.c (find_handler_clause): Cast Fbacktrace to proper type.
1774 1774
1775 * data.c (Fmakunbound): Test keywordness only in initial obarray. 1775 * data.c (Fmakunbound): Test keywordness only in initial obarray.
1879 (x_set_background_color, x_set_mouse_color): Likewise. 1879 (x_set_background_color, x_set_mouse_color): Likewise.
1880 (x_set_cursor_color, x_set_border_pixel): Likewise. 1880 (x_set_cursor_color, x_set_border_pixel): Likewise.
1881 1881
1882 * xfaces.c (unload_color): No longer static. 1882 * xfaces.c (unload_color): No longer static.
1883 1883
1884 * insdel.c (insert_from_string, insert_from_string_before_markers): 1884 * insdel.c (insert_from_string, insert_from_string_before_markers):
1885 Don't special case LENGTH = 0. 1885 Don't special case LENGTH = 0.
1886 (insert_from_buffer): Likewise. 1886 (insert_from_buffer): Likewise.
1887 1887
1888 1998-04-22 Erik Naggum <erik@naggum.no> 1888 1998-04-22 Erik Naggum <erik@naggum.no>
1889 1889
1892 * lisp.h: Remove extraneous semicolon. 1892 * lisp.h: Remove extraneous semicolon.
1893 1893
1894 1998-04-22 Eli Zaretskii <eliz@delysid.gnu.org> 1894 1998-04-22 Eli Zaretskii <eliz@delysid.gnu.org>
1895 1895
1896 * w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT 1896 * w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT
1897 before calling sit_for. 1897 before calling sit_for.
1898 (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance 1898 (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance
1899 the calls to BLOCK_INPUT and UNBLOCK_INPUT. 1899 the calls to BLOCK_INPUT and UNBLOCK_INPUT.
1900 (alloc_xfer_buf): If want_size is more than 1MB, return 1900 (alloc_xfer_buf): If want_size is more than 1MB, return
1901 immediately with failure. 1901 immediately with failure.
1902 (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16 1902 (Fw16_set_clipboard_data, Fw16_get_clipboard_data): Replace win16
1909 * dispnew.c (update_frame): Move echo area cursor into range. 1909 * dispnew.c (update_frame): Move echo area cursor into range.
1910 1910
1911 1998-04-21 Eli Zaretskii <eliz@delysid.gnu.org> 1911 1998-04-21 Eli Zaretskii <eliz@delysid.gnu.org>
1912 1912
1913 * callproc.c (Fcall_process) [MSDOS]: Call child_setup instead of 1913 * callproc.c (Fcall_process) [MSDOS]: Call child_setup instead of
1914 run_msdos_command. 1914 run_msdos_command.
1915 (child_setup) [MSDOS]: Call run_msdos_command here. 1915 (child_setup) [MSDOS]: Call run_msdos_command here.
1916 (child_setup) [DOS_NT]: Get past drive letter in pwd. Don't call 1916 (child_setup) [DOS_NT]: Get past drive letter in pwd. Don't call
1917 close_load_descs, since we are not in a vfork. 1917 close_load_descs, since we are not in a vfork.
1918 1918
1919 * msdos.c (run_msdos_command): Don't construct process 1919 * msdos.c (run_msdos_command): Don't construct process
1955 (Feval_buffer): New arg UNIBYTE. Pass it to readevalloop. 1955 (Feval_buffer): New arg UNIBYTE. Pass it to readevalloop.
1956 (readevalloop_1): New unwind-protect subroutine. 1956 (readevalloop_1): New unwind-protect subroutine.
1957 (load_convert_to_unibyte): New variable. 1957 (load_convert_to_unibyte): New variable.
1958 (syms_of_lread): Set up Lisp var. 1958 (syms_of_lread): Set up Lisp var.
1959 (read1): If load_convert_to_unibyte, convert strings to unibyte. 1959 (read1): If load_convert_to_unibyte, convert strings to unibyte.
1960 1960
1961 * insdel.c (copy_text): Count down bytes_left properly 1961 * insdel.c (copy_text): Count down bytes_left properly
1962 in multibyte to unibyte case. 1962 in multibyte to unibyte case.
1963 1963
1964 * fns.c (Fcompare_strings): Require first 6 args. 1964 * fns.c (Fcompare_strings): Require first 6 args.
1965 1965
2060 Add more keys for Vw32_capslock_is_shiftlock. 2060 Add more keys for Vw32_capslock_is_shiftlock.
2061 (w32_kbd_patch_key): Obey Vw32_recognize_altgr. 2061 (w32_kbd_patch_key): Obey Vw32_recognize_altgr.
2062 (map_virt_key): Brazilian keyboards use 0xc1 for /(?) key. 2062 (map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
2063 2063
2064 * w32menu.c (Vmenu_updating_frame): New variable. 2064 * w32menu.c (Vmenu_updating_frame): New variable.
2065 (Fx_popup_menu, set_frame_menubar): Record frame whose menu is 2065 (Fx_popup_menu, set_frame_menubar): Record frame whose menu is
2066 being updated. 2066 being updated.
2067 (syms_of_w32menu): Define Vmenu_updating_frame. 2067 (syms_of_w32menu): Define Vmenu_updating_frame.
2068 2068
2069 * w32proc.c (w32_executable_type): Properly cast dos_header when 2069 * w32proc.c (w32_executable_type): Properly cast dos_header when
2070 making size comparison. 2070 making size comparison.
2080 (syms_of_ntproc): defsubr Sw32_get_valid_locale_ids. 2080 (syms_of_ntproc): defsubr Sw32_get_valid_locale_ids.
2081 2081
2082 * w32term.c (Vw32_recognize_altgr): New variable. 2082 * w32term.c (Vw32_recognize_altgr): New variable.
2083 (dumpglyphs): Update from xterm.c. 2083 (dumpglyphs): Update from xterm.c.
2084 (w32_ring_bell): Flash window, don't just reset its state. 2084 (w32_ring_bell): Flash window, don't just reset its state.
2085 (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new 2085 (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new
2086 args to dumpglyphs. 2086 args to dumpglyphs.
2087 (my_set_foreground_window): New function. 2087 (my_set_foreground_window): New function.
2088 (w32_condemn_scroll_bars): Mark all as condemned scroll bars. 2088 (w32_condemn_scroll_bars): Mark all as condemned scroll bars.
2089 (w32_redeem_scroll_bar): Look through all scroll bars. 2089 (w32_redeem_scroll_bar): Look through all scroll bars.
2090 (w32_judge_scroll_bars): Don't clear out condemned list. 2090 (w32_judge_scroll_bars): Don't clear out condemned list.
2191 (Fquery_fontset): New optional 2nd arg REGEXPP. Callers changed. 2191 (Fquery_fontset): New optional 2nd arg REGEXPP. Callers changed.
2192 2192
2193 * fontset.h (FONT_ENCODING_NOT_DECIDED): The value is changed to 255. 2193 * fontset.h (FONT_ENCODING_NOT_DECIDED): The value is changed to 255.
2194 (find_ccl_program_func): Extern it. 2194 (find_ccl_program_func): Extern it.
2195 (Fquery_fontset): Args number changed to 2. 2195 (Fquery_fontset): Args number changed to 2.
2196 2196
2197 * xfns.c (syms_of_xfns): Initialize find_ccl_program_func. 2197 * xfns.c (syms_of_xfns): Initialize find_ccl_program_func.
2198 2198
2199 * xterm.c (x_find_ccl_program): New function. 2199 * xterm.c (x_find_ccl_program): New function.
2200 2200
2201 * xterm.h (x_find_ccl_program): Extern it. 2201 * xterm.h (x_find_ccl_program): Extern it.
2291 2291
2292 * print.c (strout): Convert old echo area to multibyte, like printchar. 2292 * print.c (strout): Convert old echo area to multibyte, like printchar.
2293 (printchar, strout): If echo area text converted to multibyte 2293 (printchar, strout): If echo area text converted to multibyte
2294 does not all fit, truncate it at char boundary. 2294 does not all fit, truncate it at char boundary.
2295 2295
2296 * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): 2296 * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
2297 When calling set_marker_both, pass the right buffer. 2297 When calling set_marker_both, pass the right buffer.
2298 2298
2299 * indent.c (Fcompute_motion): Check that TO and FROM are in range. 2299 * indent.c (Fcompute_motion): Check that TO and FROM are in range.
2300 2300
2301 1998-04-13 Eli Zaretskii <eliz@delysid.gnu.org> 2301 1998-04-13 Eli Zaretskii <eliz@delysid.gnu.org>
2365 any) following a multibyte character in *ACTUAL_LEN. 2365 any) following a multibyte character in *ACTUAL_LEN.
2366 (Fcharset_after): New function. 2366 (Fcharset_after): New function.
2367 (syms_of_charset): Defsubr it. 2367 (syms_of_charset): Defsubr it.
2368 (multibyte_form_length): Modified to be consistent with 2368 (multibyte_form_length): Modified to be consistent with
2369 string_to_non_ascii_char. 2369 string_to_non_ascii_char.
2370 2370
2371 * charset.h (MULTIBYTE_FORM_LENGTH): Don't check LEN here. 2371 * charset.h (MULTIBYTE_FORM_LENGTH): Don't check LEN here.
2372 2372
2373 * xdisp.c (display_text_line): Code for displaying a character by 2373 * xdisp.c (display_text_line): Code for displaying a character by
2374 octal form is modified. 2374 octal form is modified.
2375 2375
2545 2545
2546 1998-03-28 Richard Stallman <rms@psilocin.gnu.org> 2546 1998-03-28 Richard Stallman <rms@psilocin.gnu.org>
2547 2547
2548 * fileio.c (barf_or_query_if_file_exists): New arg QUICK. 2548 * fileio.c (barf_or_query_if_file_exists): New arg QUICK.
2549 All calls changed. 2549 All calls changed.
2550 2550
2551 1998-03-27 Richard Stallman <rms@psilocin.gnu.org> 2551 1998-03-27 Richard Stallman <rms@psilocin.gnu.org>
2552 2552
2553 * insdel.c (check_markers_debug_flag): New variable. 2553 * insdel.c (check_markers_debug_flag): New variable.
2554 (syms_of_insdel): Set up Lisp var. 2554 (syms_of_insdel): Set up Lisp var.
2555 (CHECK_MARKERS): New macro. Use it everywhere 2555 (CHECK_MARKERS): New macro. Use it everywhere
2566 * buffer.h (struct buffer): Field `undo_list' moved before `name' 2566 * buffer.h (struct buffer): Field `undo_list' moved before `name'
2567 so it won't get marked in the usual way. 2567 so it won't get marked in the usual way.
2568 2568
2569 * coding.c (code_convert_region): Call adjust_before_replace 2569 * coding.c (code_convert_region): Call adjust_before_replace
2570 in the no-conversion case. Adjust GPT, ZV and Z in chars. 2570 in the no-conversion case. Adjust GPT, ZV and Z in chars.
2571 2571
2572 1998-03-25 Richard Stallman <rms@psilocin.gnu.org> 2572 1998-03-25 Richard Stallman <rms@psilocin.gnu.org>
2573 2573
2574 * lread.c (init_lread): Init Vstandard_input. 2574 * lread.c (init_lread): Init Vstandard_input.
2575 2575
2576 1998-03-25 Ken'ichi Handa <handa@melange.gnu.org> 2576 1998-03-25 Ken'ichi Handa <handa@melange.gnu.org>
2731 2731
2732 * print.c (PRINTPREPARE): Use make_string_from_bytes. 2732 * print.c (PRINTPREPARE): Use make_string_from_bytes.
2733 2733
2734 * fns.c (substring_both, Fsubstring): Use make_specified_string. 2734 * fns.c (substring_both, Fsubstring): Use make_specified_string.
2735 (concat): Make string result unibyte or multibyte as appropriate. 2735 (concat): Make string result unibyte or multibyte as appropriate.
2736 2736
2737 * doc.c (Fsubstitute_command_keys): Use make_string_from_bytes. 2737 * doc.c (Fsubstitute_command_keys): Use make_string_from_bytes.
2738 2738
2739 * coding.c (code_convert_string): Use make_string_from_bytes. 2739 * coding.c (code_convert_string): Use make_string_from_bytes.
2740 2740
2741 * cmds.c (internal_self_insert): Use make_string_from_bytes. 2741 * cmds.c (internal_self_insert): Use make_string_from_bytes.
2746 * casefiddle.c (casify_object): Use make_specified_string. 2746 * casefiddle.c (casify_object): Use make_specified_string.
2747 2747
2748 * editfns.c (Fchar_to_string): Use make_string_from_bytes. 2748 * editfns.c (Fchar_to_string): Use make_string_from_bytes.
2749 (Fformat): Use make_specified_string. 2749 (Fformat): Use make_specified_string.
2750 (make_buffer_string_both): Use make_uninit_string if buffer is unibyte. 2750 (make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
2751 2751
2752 * sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string. 2752 * sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string.
2753 2753
2754 * lread.c (read1): Pass new arg to make_pure_string. 2754 * lread.c (read1): Pass new arg to make_pure_string.
2755 (make_symbol): Likewise. 2755 (make_symbol): Likewise.
2756 (init_obarray): Likewise. 2756 (init_obarray): Likewise.
2767 (Fpurecopy): Pass new arg. 2767 (Fpurecopy): Pass new arg.
2768 2768
2769 * lisp.h (STRING_BYTES, SET_STRING_BYTES): New macros. 2769 * lisp.h (STRING_BYTES, SET_STRING_BYTES): New macros.
2770 2770
2771 * All files: Use STRING_BYTES and SET_STRING_BYTES. 2771 * All files: Use STRING_BYTES and SET_STRING_BYTES.
2772 2772
2773 * editfns.c (Ftranspose_regions): Try to handle combining bytes. 2773 * editfns.c (Ftranspose_regions): Try to handle combining bytes.
2774 * insdel.c (replace_range): New arg NOMARKERS. 2774 * insdel.c (replace_range): New arg NOMARKERS.
2775 2775
2776 1998-03-20 Richard Stallman <rms@psilocin.gnu.org> 2776 1998-03-20 Richard Stallman <rms@psilocin.gnu.org>
2777 2777
2778 * cmds.c (internal_self_insert): Pass new arg to replace_range. 2778 * cmds.c (internal_self_insert): Pass new arg to replace_range.
2779 2779
2780 * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1): 2780 * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1):
2781 (adjust_before_replace, adjust_after_replace, replace_range): 2781 (adjust_before_replace, adjust_after_replace, replace_range):
2782 (del_range_2): Call record_delete the new way. 2782 (del_range_2): Call record_delete the new way.
2783 Use make_buffer_string_both to make the string to pass. 2783 Use make_buffer_string_both to make the string to pass.
2784 2784
2785 * editfns.c (make_buffer_string_both): New function. 2785 * editfns.c (make_buffer_string_both): New function.
2786 (make_buffer_string): Use make_buffer_string_both. 2786 (make_buffer_string): Use make_buffer_string_both.
2787 2787
2788 * undo.c (record_delete): Replace LENGTH arg with STRING. 2788 * undo.c (record_delete): Replace LENGTH arg with STRING.
2789 (record_change): Call record_delete the new way. 2789 (record_change): Call record_delete the new way.
2790 2790
2791 * Makefile.in (keymap.o): Depend on puresize.h. 2791 * Makefile.in (keymap.o): Depend on puresize.h.
2792 (xmenu.o): Don't depend on puresize.h. 2792 (xmenu.o): Don't depend on puresize.h.
2793 2793
2794 1998-03-20 Inge Frick <inge@nada.kth.se> 2794 1998-03-20 Inge Frick <inge@nada.kth.se>
2795 2795
2797 (ITEM_PROPERTY_...): New macros. 2797 (ITEM_PROPERTY_...): New macros.
2798 2798
2799 * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap, 2799 * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap,
2800 copy-keymap, where_is_internal_1): Support new format for menu items. 2800 copy-keymap, where_is_internal_1): Support new format for menu items.
2801 (syms_of_keymap): New symbol `menu-item'. 2801 (syms_of_keymap): New symbol `menu-item'.
2802 2802
2803 * keyboard.c: Include puresize.h for CHECK_IMPURE. 2803 * keyboard.c: Include puresize.h for CHECK_IMPURE.
2804 (parse_menu_item): New function. 2804 (parse_menu_item): New function.
2805 (menu_item_eval_property_1, menu_item_eval_property) New suroutines. 2805 (menu_item_eval_property_1, menu_item_eval_property) New suroutines.
2806 (menu_bar_one_keymap): Moved some code to menu_bar_item. 2806 (menu_bar_one_keymap): Moved some code to menu_bar_item.
2807 (menu_bar_item): Rewritten to use parse_menu_item. 2807 (menu_bar_item): Rewritten to use parse_menu_item.
2917 2917
2918 1998-03-14 Richard Stallman <rms@psilocin.gnu.org> 2918 1998-03-14 Richard Stallman <rms@psilocin.gnu.org>
2919 2919
2920 * process.c (exec_sentinel, read_process_output): 2920 * process.c (exec_sentinel, read_process_output):
2921 Fstore_match_data => Fset_match_data. 2921 Fstore_match_data => Fset_match_data.
2922 2922
2923 * xmenu.c (set_frame_menubar): Fstore_match_data => Fset_match_data. 2923 * xmenu.c (set_frame_menubar): Fstore_match_data => Fset_match_data.
2924 2924
2925 * xdisp.c (message_dolog): Save and restore Vdeactivate_mark. 2925 * xdisp.c (message_dolog): Save and restore Vdeactivate_mark.
2926 (prepare_menu_bars): Fstore_match_data => Fset_match_data. 2926 (prepare_menu_bars): Fstore_match_data => Fset_match_data.
2927 (update_menu_bar): Likewise. 2927 (update_menu_bar): Likewise.
3016 1998-03-09 Richard Stallman <rms@psilocin.gnu.org> 3016 1998-03-09 Richard Stallman <rms@psilocin.gnu.org>
3017 3017
3018 * lisp.h (struct Lisp_Buffer_Local_Value): 3018 * lisp.h (struct Lisp_Buffer_Local_Value):
3019 Field car renamed to realvalue. New fields check_frame, 3019 Field car renamed to realvalue. New fields check_frame,
3020 found_for_buffer, found_for_frame, buffer, frame. 3020 found_for_buffer, found_for_frame, buffer, frame.
3021 3021
3022 * data.c (store_symval_forwarding, swap_in_symval_forwarding) 3022 * data.c (store_symval_forwarding, swap_in_symval_forwarding)
3023 (set_internal, default_value, Fset_default, Fmake_local_variable) 3023 (set_internal, default_value, Fset_default, Fmake_local_variable)
3024 (Fmake_variable_buffer_local, Fkill_local_variable): 3024 (Fmake_variable_buffer_local, Fkill_local_variable):
3025 Handle new data structure for struct Lisp_Buffer_Local_Value. 3025 Handle new data structure for struct Lisp_Buffer_Local_Value.
3026 (Fmake_variable_frame_local): New function. 3026 (Fmake_variable_frame_local): New function.
3027 3027
3028 * buffer.c (set_buffer_internal_1) 3028 * buffer.c (set_buffer_internal_1)
3029 (swap_out_buffer_local_variables): Handle new data structure 3029 (swap_out_buffer_local_variables): Handle new data structure
3030 for struct Lisp_Buffer_Local_Value. 3030 for struct Lisp_Buffer_Local_Value.
3031 3031
3032 * print.c (print): Handle new data structure 3032 * print.c (print): Handle new data structure
3033 for struct Lisp_Buffer_Local_Value. 3033 for struct Lisp_Buffer_Local_Value.
3042 3042
3043 * search.c (simple_search): Don't count a character until it matches! 3043 * search.c (simple_search): Don't count a character until it matches!
3044 Call set_search_regs differently in a forward search. 3044 Call set_search_regs differently in a forward search.
3045 (boyer_moore): Fix up the code that translates the pattern 3045 (boyer_moore): Fix up the code that translates the pattern
3046 and loops thru equivalent characters. 3046 and loops thru equivalent characters.
3047 3047
3048 1998-03-07 Richard Stallman <rms@psilocin.gnu.org> 3048 1998-03-07 Richard Stallman <rms@psilocin.gnu.org>
3049 3049
3050 * insdel.c (adjust_markers_for_insert): New arg COMBINED_AFTER_BYTES. 3050 * insdel.c (adjust_markers_for_insert): New arg COMBINED_AFTER_BYTES.
3051 Calls changed. 3051 Calls changed.
3052 (insert_1): Call insert_1_both. 3052 (insert_1): Call insert_1_both.
3176 (Fstring_make_multibyte, Fstring_make_unibyte): New function decl. 3176 (Fstring_make_multibyte, Fstring_make_unibyte): New function decl.
3177 (Fstring_as_multibyte, Fstring_as_unibyte): New function decl. 3177 (Fstring_as_multibyte, Fstring_as_unibyte): New function decl.
3178 (list2, list3, list4, list5): New function decl. 3178 (list2, list3, list4, list5): New function decl.
3179 (Fwrite_region): Add an argument. 3179 (Fwrite_region): Add an argument.
3180 (compare_window_configurations): New function decl. 3180 (compare_window_configurations): New function decl.
3181 3181
3182 * keyboard.c: Include syntax.h. 3182 * keyboard.c: Include syntax.h.
3183 (interrupt_signal): Save and restore gl_state 3183 (interrupt_signal): Save and restore gl_state
3184 around an immediate quit, in case debugger returns. 3184 around an immediate quit, in case debugger returns.
3185 3185
3186 * Makefile.in (keyboard.o): Depend on syntax.h. 3186 * Makefile.in (keyboard.o): Depend on syntax.h.
3198 (Fwrite_region): New arg CONFIRM. If non-nil, confirm overwriting. 3198 (Fwrite_region): New arg CONFIRM. If non-nil, confirm overwriting.
3199 3199
3200 * callproc.c (Fcall_process_region): Pass new arg to Fwrite_region. 3200 * callproc.c (Fcall_process_region): Pass new arg to Fwrite_region.
3201 3201
3202 1998-03-01 Ilya Zakharevich <ilya@math.ohio-state.edu> 3202 1998-03-01 Ilya Zakharevich <ilya@math.ohio-state.edu>
3203 3203
3204 * syntax.c (update_syntax_table): Properly update `position' 3204 * syntax.c (update_syntax_table): Properly update `position'
3205 field of used intervals. 3205 field of used intervals.
3206 3206
3207 * interval.c (update_interval): Properly update `position' 3207 * interval.c (update_interval): Properly update `position'
3208 field of used intervals. 3208 field of used intervals.
3484 (syms_of_marker): Set up Lisp variable. 3484 (syms_of_marker): Set up Lisp variable.
3485 3485
3486 * buffer.c (advance_to_char_boundary): New function. 3486 * buffer.c (advance_to_char_boundary): New function.
3487 (Fset_buffer_multibyte): Advance all byte-positions to char boundaries. 3487 (Fset_buffer_multibyte): Advance all byte-positions to char boundaries.
3488 Clear undo list. 3488 Clear undo list.
3489 3489
3490 * fontset.h (GENERIC_FONT_PTR): Commented-out definition deleted. 3490 * fontset.h (GENERIC_FONT_PTR): Commented-out definition deleted.
3491 3491
3492 1998-02-06 Kenichi Handa <handa@etl.go.jp> 3492 1998-02-06 Kenichi Handa <handa@etl.go.jp>
3493 3493
3494 * window.h: Change argument number of Fdisplay_buffer to 3. 3494 * window.h: Change argument number of Fdisplay_buffer to 3.
3502 (Fother_window_for_scrolling): Likewise. 3502 (Fother_window_for_scrolling): Likewise.
3503 3503
3504 * editfns.c (Fposition_bytes): New function. 3504 * editfns.c (Fposition_bytes): New function.
3505 (syms_of_editfns): defsubr it. 3505 (syms_of_editfns): defsubr it.
3506 3506
3507 * fns.c (Fstring_bytes): New function. 3507 * fns.c (Fstring_bytes): New function.
3508 (syms_of_fns): defsubr it. 3508 (syms_of_fns): defsubr it.
3509 3509
3510 1998-02-05 Richard Stallman <rms@psilocin.gnu.org> 3510 1998-02-05 Richard Stallman <rms@psilocin.gnu.org>
3511 3511
3512 * minibuf.c (read_minibuf): If input is empty, return empty string. 3512 * minibuf.c (read_minibuf): If input is empty, return empty string.
3719 change of code_convert_region. 3719 change of code_convert_region.
3720 (Fdecode_coding_string, Fencode_coding_string): Adjusted for the 3720 (Fdecode_coding_string, Fencode_coding_string): Adjusted for the
3721 change of code_convert_string. 3721 change of code_convert_string.
3722 (Fupdate_iso_coding_systems): New function. 3722 (Fupdate_iso_coding_systems): New function.
3723 (init_coding_once): Initialize coding_system_table. 3723 (init_coding_once): Initialize coding_system_table.
3724 3724
3725 * data.c (Faset): Allow setting a multibyte character in a 3725 * data.c (Faset): Allow setting a multibyte character in a
3726 multibyte string as far as it doesn't change the size_byte of the 3726 multibyte string as far as it doesn't change the size_byte of the
3727 string. 3727 string.
3728 3728
3729 * fileio.c (Finsert_file_contents): Adjusted for the change of 3729 * fileio.c (Finsert_file_contents): Adjusted for the change of
3807 CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros. 3807 CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros.
3808 (CODING_CATEGORY_MASK_ANY): Include 3808 (CODING_CATEGORY_MASK_ANY): Include
3809 CODING_CATEGORY_MASK_ISO_7_TIGHT. 3809 CODING_CATEGORY_MASK_ISO_7_TIGHT.
3810 (coding_category_table, coding_category_name): Extern deleted. 3810 (coding_category_table, coding_category_name): Extern deleted.
3811 (Vselect_safe_coding_system_function): Extern it. 3811 (Vselect_safe_coding_system_function): Extern it.
3812 3812
3813 * charset.h (MAX_CHAR_COMPOSITION): New macro. 3813 * charset.h (MAX_CHAR_COMPOSITION): New macro.
3814 (CHAR_CHARSET): Check more strictly. 3814 (CHAR_CHARSET): Check more strictly.
3815 (CODING_FLAG_ISO_DESIGNATION): New macro. 3815 (CODING_FLAG_ISO_DESIGNATION): New macro.
3816 3816
3817 1998-01-21 Kenichi Handa <handa@etl.go.jp> 3817 1998-01-21 Kenichi Handa <handa@etl.go.jp>
3862 1998-01-20 Richard Stallman <rms@psilocin.gnu.org> 3862 1998-01-20 Richard Stallman <rms@psilocin.gnu.org>
3863 3863
3864 * charset.c (nonascii_insert_offset): Variable moved from cmds.c. 3864 * charset.c (nonascii_insert_offset): Variable moved from cmds.c.
3865 (syms_of_charset): Initialize variable. 3865 (syms_of_charset): Initialize variable.
3866 3866
3867 * cmds.c (internal_self_insert, Fself_insert_command): 3867 * cmds.c (internal_self_insert, Fself_insert_command):
3868 Use unibyte_char_to_multibyte. 3868 Use unibyte_char_to_multibyte.
3869 (nonascii_insert_offset): Variable moved to charset.c. 3869 (nonascii_insert_offset): Variable moved to charset.c.
3870 (syms_of_cmds): Don't initialize nonascii_insert_offset. 3870 (syms_of_cmds): Don't initialize nonascii_insert_offset.
3871 3871
3872 * fileio.c (Fsubstitute_in_file_name): Use unibyte_char_to_multibyte. 3872 * fileio.c (Fsubstitute_in_file_name): Use unibyte_char_to_multibyte.
3873 3873
3874 * keyboard.c (command_loop_1): Use unibyte_char_to_multibyte. 3874 * keyboard.c (command_loop_1): Use unibyte_char_to_multibyte.
3875 3875
3876 * xdisp.c (message_dolog): Use unibyte_char_to_multibyte. 3876 * xdisp.c (message_dolog): Use unibyte_char_to_multibyte.
3877 Pass different args to scan_newline. 3877 Pass different args to scan_newline.
3878 Properly compare oldpoint with Z. 3878 Properly compare oldpoint with Z.
3879 3879
3880 * syntax.c (skip_chars): Use unibyte_char_to_multibyte, 3880 * syntax.c (skip_chars): Use unibyte_char_to_multibyte,
3881 3881
3882 * fns.c (concat): Use unibyte_char_to_multibyte. 3882 * fns.c (concat): Use unibyte_char_to_multibyte.
3883 3883
3884 * charset.c (unibyte_char_to_multibyte): New function. 3884 * charset.c (unibyte_char_to_multibyte): New function.
4098 4098
4099 * insdel.c (copy_text): New function. 4099 * insdel.c (copy_text): New function.
4100 (insert_from_buffer_1): Call copy_text to convert between 4100 (insert_from_buffer_1): Call copy_text to convert between
4101 single-byte and multibyte text. 4101 single-byte and multibyte text.
4102 (insert_from_string_1): Likewise. 4102 (insert_from_string_1): Likewise.
4103 4103
4104 * process.c (read_process_output): New var `multibyte'. 4104 * process.c (read_process_output): New var `multibyte'.
4105 Set it according to which coding system was used. 4105 Set it according to which coding system was used.
4106 4106
4107 * charset.c (multibyte_chars_in_text): New function. 4107 * charset.c (multibyte_chars_in_text): New function.
4108 4108
4166 4166
4167 * minibuf.c (Fminibuffer_complete_word): Pass new args to 4167 * minibuf.c (Fminibuffer_complete_word): Pass new args to
4168 insert_from_string. Scan string by bytes and chars. 4168 insert_from_string. Scan string by bytes and chars.
4169 (Ftry_completion): Use size_byte while comparing. 4169 (Ftry_completion): Use size_byte while comparing.
4170 (Fall_completions): Use size_byte while comparing. 4170 (Fall_completions): Use size_byte while comparing.
4171 (test_completion): 4171 (test_completion):
4172 4172
4173 * editfns.c (syms_of_editfns): Delete defsubr for sref. 4173 * editfns.c (syms_of_editfns): Delete defsubr for sref.
4174 4174
4175 * fns.c (string_make_multibyte): New function. 4175 * fns.c (string_make_multibyte): New function.
4176 4176
4216 * xterm.c (x_load_font): Use string_byte. 4216 * xterm.c (x_load_font): Use string_byte.
4217 4217
4218 * keyboard.c (read_char): Use Faref on Vkeyboard_translate_table 4218 * keyboard.c (read_char): Use Faref on Vkeyboard_translate_table
4219 if it is a string. 4219 if it is a string.
4220 (apply_modifiers_uncached): New arg base_len_byte. Calls changed. 4220 (apply_modifiers_uncached): New arg base_len_byte. Calls changed.
4221 (read_char_minibuf_menu_prompt): 4221 (read_char_minibuf_menu_prompt):
4222 (read_key_sequence): Access buffer's downcase_table with XCHAR_TABLE. 4222 (read_key_sequence): Access buffer's downcase_table with XCHAR_TABLE.
4223 (Fexecute_extended_command): Use Faref to access FUNCTION. 4223 (Fexecute_extended_command): Use Faref to access FUNCTION.
4224 Use size_byte of BINDING. 4224 Use size_byte of BINDING.
4225 (stuff_buffered_input): Use size_byte of STUFFSTRING. 4225 (stuff_buffered_input): Use size_byte of STUFFSTRING.
4226 4226
4261 4261
4262 * print.c (PRINTPREPARE): Use make_multibyte_string. 4262 * print.c (PRINTPREPARE): Use make_multibyte_string.
4263 Initialize print_buffer_pos_byte. Use insert_1_both. 4263 Initialize print_buffer_pos_byte. Use insert_1_both.
4264 (printchar): Update print_buffer_pos_byte and print_buffer_pos. 4264 (printchar): Update print_buffer_pos_byte and print_buffer_pos.
4265 (print_buffer_pos_byte): New variable. 4265 (print_buffer_pos_byte): New variable.
4266 4266
4267 * editfns.c (general_insert_function): 4267 * editfns.c (general_insert_function):
4268 Pass the additional args to INSERT_FROM_STRING_FUNC. 4268 Pass the additional args to INSERT_FROM_STRING_FUNC.
4269 (Fchar_to_string): Use make_multibyte_string. 4269 (Fchar_to_string): Use make_multibyte_string.
4270 (Fsref): Function deleted. 4270 (Fsref): Function deleted.
4271 (Fformat_time_string): Use size_byte of FORMAT_STRING. 4271 (Fformat_time_string): Use size_byte of FORMAT_STRING.
4272 (make_buffer_string): Use make_uninit_multibyte_string. 4272 (make_buffer_string): Use make_uninit_multibyte_string.
4273 (Ftranslate_region): Use TABLE's size_byte. 4273 (Ftranslate_region): Use TABLE's size_byte.
4274 (Fmessage, Fmessage_box): Update message_text based on size_byte. 4274 (Fmessage, Fmessage_box): Update message_text based on size_byte.
4275 4275
4276 * insdel.c (insert_from_string): New args POS_BYTE, LENGTH. 4276 * insdel.c (insert_from_string): New args POS_BYTE, LENGTH.
4277 (insert_from_string_before_markers): 4277 (insert_from_string_before_markers):
4278 (insert_from_string_1): New arg POS_BYTE. Swap args NCHARS, NBYTES. 4278 (insert_from_string_1): New arg POS_BYTE. Swap args NCHARS, NBYTES.
4279 Don't fail to use POS_BYTE! 4279 Don't fail to use POS_BYTE!
4280 (insert_from_buffer_1): Get both inschars and insbytes from NEW. 4280 (insert_from_buffer_1): Get both inschars and insbytes from NEW.
4281 4281
4282 * alloc.c (make_uninit_multibyte_string): New function. 4282 * alloc.c (make_uninit_multibyte_string): New function.
4299 Special case for single-byte strings. 4299 Special case for single-byte strings.
4300 (Fchars_in_string): Function deleted. 4300 (Fchars_in_string): Function deleted.
4301 (Fstring): Renamed from Fconcat_chars. 4301 (Fstring): Renamed from Fconcat_chars.
4302 Handle bytes vs chars in string. 4302 Handle bytes vs chars in string.
4303 (syms_of_charset): Corresponding changes. 4303 (syms_of_charset): Corresponding changes.
4304 4304
4305 * fns.c (concat, Fsubstring, internal_equal, mapcar1): 4305 * fns.c (concat, Fsubstring, internal_equal, mapcar1):
4306 Distinguish bytes and chars when indexing strings. 4306 Distinguish bytes and chars when indexing strings.
4307 (Fstring_equal, Fstring_lessp): Likewise. 4307 (Fstring_equal, Fstring_lessp): Likewise.
4308 (substring_both): New function. 4308 (substring_both): New function.
4309 (string_char_to_byte, string_byte_to_char): New functions. 4309 (string_char_to_byte, string_byte_to_char): New functions.
4310 4310
4311 * charset.h (FETCH_STRING_CHAR_ADVANCE): New macro. 4311 * charset.h (FETCH_STRING_CHAR_ADVANCE): New macro.
4312 4312
4313 * lisp.h (struct lisp_String): New field size_byte. 4313 * lisp.h (struct lisp_String): New field size_byte.
4314 4314
4315 * charset.c (Fchar_boundary_p): Function deleted. 4315 * charset.c (Fchar_boundary_p): Function deleted.
4317 4317
4318 * insdel.c (make_gap): Set GPT_BYTE along with GPT. 4318 * insdel.c (make_gap): Set GPT_BYTE along with GPT.
4319 4319
4320 * window.c (Fselect_window): Don't set OW->pointm if OW->buffer is nil. 4320 * window.c (Fselect_window): Don't set OW->pointm if OW->buffer is nil.
4321 (Fset_window_configuration): Set old selected window's pointm. 4321 (Fset_window_configuration): Set old selected window's pointm.
4322 4322
4323 * minibuf.c (Fcompleting_read): Doc fix. 4323 * minibuf.c (Fcompleting_read): Doc fix.
4324 4324
4325 * keymap.c (current_minor_maps): 4325 * keymap.c (current_minor_maps):
4326 If a variable has an entry in Vminor_mode_overriding_map_alist, 4326 If a variable has an entry in Vminor_mode_overriding_map_alist,
4327 and also an entry in Vminor_mode_map_alist, ignore the latter. 4327 and also an entry in Vminor_mode_map_alist, ignore the latter.
4328 4328
4329 1998-01-01 Richard Stallman <rms@psilocin.gnu.org> 4329 1998-01-01 Richard Stallman <rms@psilocin.gnu.org>
4330 4330
4348 but don't adjust for the gap. 4348 but don't adjust for the gap.
4349 (adjust_markers_for_insert): Likewise. 4349 (adjust_markers_for_insert): Likewise.
4350 4350
4351 * lisp.h (struct Lisp_Marker): Rename `bufpos' to `bytepos'. 4351 * lisp.h (struct Lisp_Marker): Rename `bufpos' to `bytepos'.
4352 Its value no longer includes the gap space. 4352 Its value no longer includes the gap space.
4353 4353
4354 * editfns.c (Fchar_after): Fix previous change. 4354 * editfns.c (Fchar_after): Fix previous change.
4355 4355
4356 * fileio.c (a_write): Fix prototype. 4356 * fileio.c (a_write): Fix prototype.
4357 4357
4358 * lisp.h (struct Lisp_Marker): New field `charpos'. 4358 * lisp.h (struct Lisp_Marker): New field `charpos'.
4359 (pos_tab_offset): Decl deleted. 4359 (pos_tab_offset): Decl deleted.
4360 (insert_1, indented_beyond_p): Decls changed. 4360 (insert_1, indented_beyond_p): Decls changed.
4361 (move_gap_both, del_range_byte, del_range_both, del_range_2) 4361 (move_gap_both, del_range_byte, del_range_both, del_range_2)
4362 (scan_newline, Ffile_locked_p): New decls. 4362 (scan_newline, Ffile_locked_p): New decls.
4363 (struct Lisp_Marker): 4363 (struct Lisp_Marker):
4364 4364
4365 * search.c (scan_newline): Always restore prev value of immediate_quit. 4365 * search.c (scan_newline): Always restore prev value of immediate_quit.
4366 4366
4367 1997-12-31 Richard Stallman <rms@psilocin.gnu.org> 4367 1997-12-31 Richard Stallman <rms@psilocin.gnu.org>
4368 4368
4386 * doprnt.c (doprnt1): Call to CHAR_HEAD_P fixed. 4386 * doprnt.c (doprnt1): Call to CHAR_HEAD_P fixed.
4387 4387
4388 * charset.h (CHAR_HEAD_P): Take char, not pointer, as arg. 4388 * charset.h (CHAR_HEAD_P): Take char, not pointer, as arg.
4389 4389
4390 * window.c (unshow_buffer): Set PT with TEMP_SET_PT_BOTH. 4390 * window.c (unshow_buffer): Set PT with TEMP_SET_PT_BOTH.
4391 4391
4392 * indent.c (indented_beyond_p): Take POS in bytes and chars. 4392 * indent.c (indented_beyond_p): Take POS in bytes and chars.
4393 Callers changed. 4393 Callers changed.
4394 (pos_tab_indent): Function moved to xdisp.c. 4394 (pos_tab_indent): Function moved to xdisp.c.
4395 4395
4396 1997-12-30 Richard Stallman <rms@psilocin.gnu.org> 4396 1997-12-30 Richard Stallman <rms@psilocin.gnu.org>
4398 * xdisp.c (redisplay_internal): Use scan_newline. 4398 * xdisp.c (redisplay_internal): Use scan_newline.
4399 (display_text_line, try_window_id): Use scan_newline. 4399 (display_text_line, try_window_id): Use scan_newline.
4400 4400
4401 * xdisp.c (pos_tab_indent): Moved from indent,c. Now static. 4401 * xdisp.c (pos_tab_indent): Moved from indent,c. Now static.
4402 Take POS in bytes and chars. Callers changed. 4402 Take POS in bytes and chars. Callers changed.
4403 4403
4404 * indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH. 4404 * indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH.
4405 (indented_beyond_p, current_column_1): Likewise. 4405 (indented_beyond_p, current_column_1): Likewise.
4406 4406
4407 * fileio.c (Fwrite_region): Use scan_newline. 4407 * fileio.c (Fwrite_region): Use scan_newline.
4408 4408
4419 and set_marker_restricted_both. 4419 and set_marker_restricted_both.
4420 (temp_output_buffer_show): Use set_marker_restricted_both. 4420 (temp_output_buffer_show): Use set_marker_restricted_both.
4421 (window_scroll): Save and restore both kinds of pointers. 4421 (window_scroll): Save and restore both kinds of pointers.
4422 4422
4423 * process.c (status_notify): Use byte and char pointers. 4423 * process.c (status_notify): Use byte and char pointers.
4424 4424
4425 * callint.c (Fcall_interactively) <'d', 'r'>: Use set_marker_both. 4425 * callint.c (Fcall_interactively) <'d', 'r'>: Use set_marker_both.
4426 4426
4427 * emacs.c (abort): New function. 4427 * emacs.c (abort): New function.
4428 4428
4429 1997-12-29 Richard Stallman <rms@psilocin.gnu.org> 4429 1997-12-29 Richard Stallman <rms@psilocin.gnu.org>
4449 (display_scan_buffer): Function deleted. 4449 (display_scan_buffer): Function deleted.
4450 (decode_mode_spec): Pass new arg. 4450 (decode_mode_spec): Pass new arg.
4451 (message_log_check_duplicate): Take charpos and bytepos args. 4451 (message_log_check_duplicate): Take charpos and bytepos args.
4452 (message_dolog): Use markers to update old PT, BEGV, ZV. 4452 (message_dolog): Use markers to update old PT, BEGV, ZV.
4453 Use scan_newline. Handle positions in bytes and chars. 4453 Use scan_newline. Handle positions in bytes and chars.
4454 4454
4455 1997-12-28 Richard Stallman <rms@psilocin.gnu.org> 4455 1997-12-28 Richard Stallman <rms@psilocin.gnu.org>
4456 4456
4457 * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix. 4457 * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix.
4458 4458
4459 * coding.c (code_convert_region): Handle bytepos and charpos. 4459 * coding.c (code_convert_region): Handle bytepos and charpos.
4460 (Fdetect_coding_region): Likewise. 4460 (Fdetect_coding_region): Likewise.
4461 4461
4462 * Makefile.in (marker.o): Depend on charset.h. 4462 * Makefile.in (marker.o): Depend on charset.h.
4463 4463
4464 1997-12-27 Richard Stallman <rms@psilocin.gnu.org> 4464 1997-12-27 Richard Stallman <rms@psilocin.gnu.org>
4465 4465
4466 * casefiddle.c (casify_region): Scan in bytes and chars. 4466 * casefiddle.c (casify_region): Scan in bytes and chars.
4489 (del_range_1): Use del_range_2. 4489 (del_range_1): Use del_range_2.
4490 (del_range_byte, del_range_both): New functions. 4490 (del_range_byte, del_range_both): New functions.
4491 4491
4492 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos. 4492 * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos.
4493 Wrap in if (1) ... else. 4493 Wrap in if (1) ... else.
4494 4494
4495 * minibuf.c (Fminibuffer_complete_word): Handle bytes vs characters 4495 * minibuf.c (Fminibuffer_complete_word): Handle bytes vs characters
4496 when comparing buffer against string. 4496 when comparing buffer against string.
4497 (temp_echo_area_glyphs): Save, update, delete text using 4497 (temp_echo_area_glyphs): Save, update, delete text using
4498 byte and char positions. 4498 byte and char positions.
4499 (read_minibuf): BACKUP_N counts bytes. 4499 (read_minibuf): BACKUP_N counts bytes.
4503 (scan_words, scan_sexps_forward): Scan bytes as well as chars. 4503 (scan_words, scan_sexps_forward): Scan bytes as well as chars.
4504 (skip_chars, scan_lists): Scan by bytes and chars. Now static. 4504 (skip_chars, scan_lists): Scan by bytes and chars. Now static.
4505 4505
4506 * buffer.h (DECODE_POSITION): New macro. 4506 * buffer.h (DECODE_POSITION): New macro.
4507 (CHAR_TO_BYTE, BYTE_TO_CHAR): New macros. 4507 (CHAR_TO_BYTE, BYTE_TO_CHAR): New macros.
4508 4508
4509 * buffer.h (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE) 4509 * buffer.h (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE)
4510 (ZV_BYTE, Z_BYTE): New macros. 4510 (ZV_BYTE, Z_BYTE): New macros.
4511 (BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE) 4511 (BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE)
4512 (BUF_ZV_BYTE, BUF_Z_BYTE): New macros. 4512 (BUF_ZV_BYTE, BUF_Z_BYTE): New macros.
4513 (BUF_GAP_END_ADDR): New macro. 4513 (BUF_GAP_END_ADDR): New macro.
4514 (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR): 4514 (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR):
4515 Use the new ..._byte buffer data. 4515 Use the new ..._byte buffer data.
4516 (BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise. 4516 (BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise.
4517 (BUF_GPT_ADDR, BUF_Z_ADDR): Likewise. 4517 (BUF_GPT_ADDR, BUF_Z_ADDR): Likewise.
4518 (SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros. 4518 (SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros.
4519 (SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT): 4519 (SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT):
4541 4541
4542 * abbrev.c (describe_abbrev): Return void. 4542 * abbrev.c (describe_abbrev): Return void.
4543 (write_abbrev): Return void. 4543 (write_abbrev): Return void.
4544 (Fexpand_abbrev): Scan in bytepos along with charpos. 4544 (Fexpand_abbrev): Scan in bytepos along with charpos.
4545 (Funexpand_abbrev): Use bytepos to delete the expansion. 4545 (Funexpand_abbrev): Use bytepos to delete the expansion.
4546 4546
4547 * charset.h (INC_POS, DEC_POS): Fix because arg is a bufpos. 4547 * charset.h (INC_POS, DEC_POS): Fix because arg is a bufpos.
4548 (BUF_INC_POS, BUF_DEC_POS): New macros. 4548 (BUF_INC_POS, BUF_DEC_POS): New macros.
4549 (INC_BOTH, DEC_BOTH): New macros. 4549 (INC_BOTH, DEC_BOTH): New macros.
4550 4550
4551 * minibuf.c (Fread_command, Fread_variable): Fix previous change. 4551 * minibuf.c (Fread_command, Fread_variable): Fix previous change.
4565 * lread.c (readchar_backlog): New variable. 4565 * lread.c (readchar_backlog): New variable.
4566 (readchar): When fetching from buffer or marker, 4566 (readchar): When fetching from buffer or marker,
4567 use readchar_backlog to fetch bytes from a character. 4567 use readchar_backlog to fetch bytes from a character.
4568 (unreadchar): Increment readchar_backlog. 4568 (unreadchar): Increment readchar_backlog.
4569 (readevalloop, Fread): Init readchar_backlog. 4569 (readevalloop, Fread): Init readchar_backlog.
4570 4570
4571 * charset.c (Fchar_boundary_p): Always return 0. 4571 * charset.c (Fchar_boundary_p): Always return 0.
4572 (Fchars_in_region): Just subtract the arguments. 4572 (Fchars_in_region): Just subtract the arguments.
4573 (chars_in_text): New function. 4573 (chars_in_text): New function.
4574 (Ffind_charset_region): Scan in bytepos as well as charpos. 4574 (Ffind_charset_region): Scan in bytepos as well as charpos.
4575 4575
4610 (position_indentation): Take bytepos as arg, and scan with it. 4610 (position_indentation): Take bytepos as arg, and scan with it.
4611 Calls changed. 4611 Calls changed.
4612 (Fmove_to_column): Scan with bytepos and charpos. 4612 (Fmove_to_column): Scan with bytepos and charpos.
4613 (pos_tab_offset): Use bytepos to do FETCH_BYTE. 4613 (pos_tab_offset): Use bytepos to do FETCH_BYTE.
4614 (skip_invisible): Don't worry about position in middle of character. 4614 (skip_invisible): Don't worry about position in middle of character.
4615 4615
4616 * xdisp.c (try_window): Pass bytepos to and from display_text_line. 4616 * xdisp.c (try_window): Pass bytepos to and from display_text_line.
4617 (try_window_id): Likewise. Use byte pos as well as charpos. 4617 (try_window_id): Likewise. Use byte pos as well as charpos.
4618 (redisplay_internal): Handle bytepos for tlbufpos. 4618 (redisplay_internal): Handle bytepos for tlbufpos.
4619 4619
4620 * xdisp.c (message): Cast last arg to doprnt. 4620 * xdisp.c (message): Cast last arg to doprnt.
4621 4621
4622 * indent.h (struct position): New field bytepos. 4622 * indent.h (struct position): New field bytepos.
4623 4623
4624 * keyboard.c (command_loop_1): Use PT_BYTE when calling FETCH_BYTE. 4624 * keyboard.c (command_loop_1): Use PT_BYTE when calling FETCH_BYTE.
4625 Instead of Fforward_point, just add. 4625 Instead of Fforward_point, just add.
4626 4626
4627 * search.c (looking_at_1): Use bytepos to call re_search_2. 4627 * search.c (looking_at_1): Use bytepos to call re_search_2.
4628 Convert search regs to charpos, if search succeeded. 4628 Convert search regs to charpos, if search succeeded.
4629 (search_buffer): Likewise. Also convert charpos <-> bytepos 4629 (search_buffer): Likewise. Also convert charpos <-> bytepos
4630 in non-regexp case. 4630 in non-regexp case.
4631 (scan_buffer): Convert charpos <-> bytepos. 4631 (scan_buffer): Convert charpos <-> bytepos.
4632 (scan_newline): New function. 4632 (scan_newline): New function.
4633 (find_next_newline): Function deleted. 4633 (find_next_newline): Function deleted.
4634 (set_search_regs): Args now in bytes; convert to charpos. 4634 (set_search_regs): Args now in bytes; convert to charpos.
4635 (Freplace_match): Convert charpos <-> bytepos when scanning case. 4635 (Freplace_match): Convert charpos <-> bytepos when scanning case.
4636 4636
4637 * fileio.c (restore_point_unwind): Now static. Use Fgoto_char. 4637 * fileio.c (restore_point_unwind): Now static. Use Fgoto_char.
4638 (Funhandled_file_name_directory): Doc fix. 4638 (Funhandled_file_name_directory): Doc fix.
4639 (Finsert_file_contents): Handle bytes vs chars. 4639 (Finsert_file_contents): Handle bytes vs chars.
4640 (Fwrite_region): Handle bytes vs chars. 4640 (Fwrite_region): Handle bytes vs chars.
4641 (a_write): Take args in bytes; handle annotations labeled in chars. 4641 (a_write): Take args in bytes; handle annotations labeled in chars.
4642 (e_write): Rename args. 4642 (e_write): Rename args.
4643 (Funhandled_file_name_directory): Doc fix. 4643 (Funhandled_file_name_directory): Doc fix.
4644 (a_write, e_write): Now static. 4644 (a_write, e_write): Now static.
4645 4645
4646 * editfns.c (Fgoto_char): When arg is a marker, copy char and byte 4646 * editfns.c (Fgoto_char): When arg is a marker, copy char and byte
4647 positions from it. When arg is an integer, no need to worry that it 4647 positions from it. When arg is an integer, no need to worry that it
4648 is in middle of a character. 4648 is in middle of a character.
4649 (buildmark): Take 2 args (charpos and bytepos). Callers changed. 4649 (buildmark): Take 2 args (charpos and bytepos). Callers changed.
4650 (Fline_beginning_position): Save and restore both kinds of PT. 4650 (Fline_beginning_position): Save and restore both kinds of PT.
4708 4708
4709 * xdisp.c (message2_nolog): New arg MULTIBYTE. 4709 * xdisp.c (message2_nolog): New arg MULTIBYTE.
4710 (message2): Pass new arg to message2_nolog. 4710 (message2): Pass new arg to message2_nolog.
4711 (message1_nolog): Likewise. 4711 (message1_nolog): Likewise.
4712 4712
4713 * keyboard.c (Fexecute_extended_command): 4713 * keyboard.c (Fexecute_extended_command):
4714 Save message_enable_multibyte and pass it to message2_nolog. 4714 Save message_enable_multibyte and pass it to message2_nolog.
4715 4715
4716 * alloc.c (Fgarbage_collect): 4716 * alloc.c (Fgarbage_collect):
4717 Save message_enable_multibyte and pass it to message2_nolog. 4717 Save message_enable_multibyte and pass it to message2_nolog.
4718 4718
4719 1997-12-17 Richard Stallman <rms@sucrose.gnu.org> 4719 1997-12-17 Richard Stallman <rms@sucrose.gnu.org>
4720 4720
4732 buffer, when we convert between multibyte and single-byte. 4732 buffer, when we convert between multibyte and single-byte.
4733 Properly initialize i. 4733 Properly initialize i.
4734 4734
4735 * xdisp.c (message_dolog): Convert between single-byte and multibyte 4735 * xdisp.c (message_dolog): Convert between single-byte and multibyte
4736 when inserting text into *Messages*. 4736 when inserting text into *Messages*.
4737 4737
4738 1997-12-11 Richard Stallman <rms@gnu.org> 4738 1997-12-11 Richard Stallman <rms@gnu.org>
4739 4739
4740 * sysdep.c (sys_signal): Add two casts. 4740 * sysdep.c (sys_signal): Add two casts.
4741 4741
4742 1997-12-09 Richard Stallman <rms@gnu.org> 4742 1997-12-09 Richard Stallman <rms@gnu.org>
4743 4743
4744 * callproc.c (Fcall_process): Don't clobber new_argv[0] 4744 * callproc.c (Fcall_process): Don't clobber new_argv[0]
4745 in the case of no args. 4745 in the case of no args.
4746 4746
4747 1997-12-09 Kenichi Handa <handa@etl.go.jp> 4747 1997-12-09 Kenichi Handa <handa@etl.go.jp>
4748 4748
4749 * charset.c (Fget_unused_iso_final_char): New function. 4749 * charset.c (Fget_unused_iso_final_char): New function.
4750 (syms_of_charset): Declare it as a Lisp function. 4750 (syms_of_charset): Declare it as a Lisp function.
4797 Don't declare arg type taken by 2nd arg. 4797 Don't declare arg type taken by 2nd arg.
4798 4798
4799 * eval.c (do_autoload): Return void. 4799 * eval.c (do_autoload): Return void.
4800 4800
4801 * sysdep.c (reset_sigio): Return void. 4801 * sysdep.c (reset_sigio): Return void.
4802 4802
4803 * keyboard.c (Fsuspend_emacs): Cast init_sys_modes when calling 4803 * keyboard.c (Fsuspend_emacs): Cast init_sys_modes when calling
4804 record_unwind_protect. 4804 record_unwind_protect.
4805 4805
4806 * keymap.c (describe_map): Fix decl of arg ELT_DESCRIBER. 4806 * keymap.c (describe_map): Fix decl of arg ELT_DESCRIBER.
4807 4807
4816 1997-11-27 Ken'ichi Handa <handa@delysid.gnu.org> 4816 1997-11-27 Ken'ichi Handa <handa@delysid.gnu.org>
4817 4817
4818 * undo.c (record_change, record_first_change, 4818 * undo.c (record_change, record_first_change,
4819 record_property_change): Declare them as void. 4819 record_property_change): Declare them as void.
4820 (record_delete, record_marker_adjustment): Declare them as void. 4820 (record_delete, record_marker_adjustment): Declare them as void.
4821 4821
4822 * indent.c (invalidate_current_column): Declare it as void. 4822 * indent.c (invalidate_current_column): Declare it as void.
4823 4823
4824 * fileio.c (report_file_error): Declare it as void. 4824 * fileio.c (report_file_error): Declare it as void.
4825 4825
4826 * filelock.c (unlock_buffer): Declare it as void. 4826 * filelock.c (unlock_buffer): Declare it as void.
4855 input_poll_signal. 4855 input_poll_signal.
4856 4856
4857 * xdisp.c (redisplay_preserve_echo_area): Declare it as void. 4857 * xdisp.c (redisplay_preserve_echo_area): Declare it as void.
4858 4858
4859 * charset.c (strwidth): Remove extra argument to buffer_display_table. 4859 * charset.c (strwidth): Remove extra argument to buffer_display_table.
4860 4860
4861 1997-11-25 Andreas Schwab <schwab@delysid.gnu.org> 4861 1997-11-25 Andreas Schwab <schwab@delysid.gnu.org>
4862 4862
4863 * charset.h (SPLIT_STRING): Remove extra argument to 4863 * charset.h (SPLIT_STRING): Remove extra argument to
4864 split_non_ascii_string. 4864 split_non_ascii_string.
4865 4865
5124 5124
5125 * xterm.c (XTread_socket): Check for bogus (0,0) location. 5125 * xterm.c (XTread_socket): Check for bogus (0,0) location.
5126 5126
5127 1997-10-24 Richard Stallman <rms@gnu.org> 5127 1997-10-24 Richard Stallman <rms@gnu.org>
5128 5128
5129 * frame.c (Fmouse_pixel_position, Fmouse_position): 5129 * frame.c (Fmouse_pixel_position, Fmouse_position):
5130 Pass -1 as INSIST arg to mouse_position_hook. 5130 Pass -1 as INSIST arg to mouse_position_hook.
5131 * w32term.c (w32_mouse_position): Handle INSIST < 0. 5131 * w32term.c (w32_mouse_position): Handle INSIST < 0.
5132 * xterm.c (XTmouse_position): Handle INSIST < 0. 5132 * xterm.c (XTmouse_position): Handle INSIST < 0.
5133 5133
5134 1997-10-23 Simon Marshall <simon@gnu.org> 5134 1997-10-23 Simon Marshall <simon@gnu.org>
5464 (file_name_completion): Do completion on encoded name, then decode. 5464 (file_name_completion): Do completion on encoded name, then decode.
5465 (Fdirectory_files): Encode the argument. 5465 (Fdirectory_files): Encode the argument.
5466 Decode all result file names using Vfile_name_coding_system. 5466 Decode all result file names using Vfile_name_coding_system.
5467 5467
5468 * coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes. 5468 * coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes.
5469 5469
5470 1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 5470 1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5471 5471
5472 * lread.c (Feval_buffer): New arg FILENAME. 5472 * lread.c (Feval_buffer): New arg FILENAME.
5473 5473
5474 * buffer.c (modify_overlay): Update overlay_modiff of proper buffer. 5474 * buffer.c (modify_overlay): Update overlay_modiff of proper buffer.
5475 5475
5476 1997-09-07 Geoff Voelker <voelker@cs.washington.edu> 5476 1997-09-07 Geoff Voelker <voelker@cs.washington.edu>
5477 5477
5478 * firstfile.c: New file. 5478 * firstfile.c: New file.
5479 5479
5480 1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 5480 1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5481 5481
5482 * xdisp.c (display_string): Determine multibyte from current buffer, 5482 * xdisp.c (display_string): Determine multibyte from current buffer,
5483 not from W's buffer. 5483 not from W's buffer.
5484 5484
5489 * m/ns32000.h, m/sparc.h, m/alpha.h, m/pmax.h, unexalpha.c: 5489 * m/ns32000.h, m/sparc.h, m/alpha.h, m/pmax.h, unexalpha.c:
5490 Test __OpenBSD__ along with __NetBSD__. 5490 Test __OpenBSD__ along with __NetBSD__.
5491 5491
5492 * unexelf.c: Test __OpenBSD__ along with __NetBSD__. 5492 * unexelf.c: Test __OpenBSD__ along with __NetBSD__.
5493 [__OpenBSD__]: Include sys/exec_elf.h. 5493 [__OpenBSD__]: Include sys/exec_elf.h.
5494 5494
5495 1997-09-05 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> 5495 1997-09-05 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
5496 5496
5497 * coding.c (Ffind_operation_coding_system): If a function in 5497 * coding.c (Ffind_operation_coding_system): If a function in
5498 XXX-coding-system-alist returns a coding system (instead of cons 5498 XXX-coding-system-alist returns a coding system (instead of cons
5499 of coding systems), return cons of it. 5499 of coding systems), return cons of it.
5503 * coding.c (Fread_coding_system): 5503 * coding.c (Fread_coding_system):
5504 New optional arg DEFAULT_CODING_SYSTEM. 5504 New optional arg DEFAULT_CODING_SYSTEM.
5505 * lisp.h (Fread_coding_system): Update decl. 5505 * lisp.h (Fread_coding_system): Update decl.
5506 5506
5507 * callint.c (Fcall_interactively): Pass new arg to Fread_coding_system. 5507 * callint.c (Fcall_interactively): Pass new arg to Fread_coding_system.
5508 5508
5509 1997-09-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 5509 1997-09-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5510 5510
5511 * m/alpha.h (PTY_OPEN): Call sigblock properly. 5511 * m/alpha.h (PTY_OPEN): Call sigblock properly.
5512 5512
5513 * fileio.c (Fexpand_file_name): If default dir isn't string, use `/'. 5513 * fileio.c (Fexpand_file_name): If default dir isn't string, use `/'.
5579 (find_section, rva_to_section): New functions. 5579 (find_section, rva_to_section): New functions.
5580 (get_section_info) [SEPARATE_BSS_SECTION]: Make code for using 5580 (get_section_info) [SEPARATE_BSS_SECTION]: Make code for using
5581 a separate .bss section conditional. 5581 a separate .bss section conditional.
5582 Use my_begbss and my_endbss to determine .bss size by default. 5582 Use my_begbss and my_endbss to determine .bss size by default.
5583 Look for Emacs data in EMDATA section. 5583 Look for Emacs data in EMDATA section.
5584 5584
5585 * w32.c: Include stddef.h. 5585 * w32.c: Include stddef.h.
5586 (getwd): Delete macro. 5586 (getwd): Delete macro.
5587 (startup_dir): New variable. 5587 (startup_dir): New variable.
5588 (getwd): Return directory in which Emacs started. 5588 (getwd): Return directory in which Emacs started.
5589 (init_user_info): Set SHELL environment variable if not set. 5589 (init_user_info): Set SHELL environment variable if not set.
5596 5596
5597 (sys_fopen): Use _fdopen. 5597 (sys_fopen): Use _fdopen.
5598 (sys_link): Support NTFS links. 5598 (sys_link): Support NTFS links.
5599 (sys_rename): Use a long file name for temporary name. 5599 (sys_rename): Use a long file name for temporary name.
5600 (sys_pipe): Make pipes binary and non-inheritable. 5600 (sys_pipe): Make pipes binary and non-inheritable.
5601 (sys_read, sys_write): Spoof text mode translation for pipes 5601 (sys_read, sys_write): Spoof text mode translation for pipes
5602 and sockets. 5602 and sockets.
5603 5603
5604 (hashval): Simplify. 5604 (hashval): Simplify.
5605 (generate_inode_val): Use long file name version of file. 5605 (generate_inode_val): Use long file name version of file.
5606 5606
5607 (stat): Optimize by using active readdir info. 5607 (stat): Optimize by using active readdir info.
5608 Set fake_inode to 0 for directories. 5608 Set fake_inode to 0 for directories.
5613 (volume_info, fixed_drives, volume_cache): New variables. 5613 (volume_info, fixed_drives, volume_cache): New variables.
5614 (DRIVE_INDEX, VOLINFO_STILL_VALID): New macros. 5614 (DRIVE_INDEX, VOLINFO_STILL_VALID): New macros.
5615 (lookup_volume_info, add_volume_info, GetCachedVolumeInformation): 5615 (lookup_volume_info, add_volume_info, GetCachedVolumeInformation):
5616 New functions. 5616 New functions.
5617 (get_volume_info): Use volume_info_data. 5617 (get_volume_info): Use volume_info_data.
5618 Use GetCachedVolumeInformation. 5618 Use GetCachedVolumeInformation.
5619 5619
5620 (init_ntproc): No longer restrict to one DOS subprocess. 5620 (init_ntproc): No longer restrict to one DOS subprocess.
5621 Use CRT _open and _fdopen. 5621 Use CRT _open and _fdopen.
5622 Cache fixed drive information. 5622 Cache fixed drive information.
5623 5623
5624 * w32.h: Remove debugging macros. 5624 * w32.h: Remove debugging macros.
5625 (child_process): Remove is_dos_process field, add hwnd handle field. 5625 (child_process): Remove is_dos_process field, add hwnd handle field.
5626 (FILE_LAST_CR): New macro. 5626 (FILE_LAST_CR): New macro.
5627 (w32_get_long_filename): Declare extern. 5627 (w32_get_long_filename): Declare extern.
5628 5628
5629 * w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console): 5629 * w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console):
5630 Delete functions. 5630 Delete functions.
5631 (keyboard_init_hook): Delete variable. 5631 (keyboard_init_hook): Delete variable.
5632 (prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable. 5632 (prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
5633 (reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info. 5633 (reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info.
5634 (initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate 5634 (initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate
5638 (initialize_w32_display): Record original settings. 5638 (initialize_w32_display): Record original settings.
5639 Don't reset cursor or clear frame. 5639 Don't reset cursor or clear frame.
5640 5640
5641 * w32fns.c: Include limits.h and errno.h. 5641 * w32fns.c: Include limits.h and errno.h.
5642 Declare externs from other files. 5642 Declare externs from other files.
5643 (w32_in_use): New variable. 5643 (w32_in_use): New variable.
5644 (check_w32, have_menus_p, x_set_title, w32_msg_worker, 5644 (check_w32, have_menus_p, x_set_title, w32_msg_worker,
5645 find_deferred_msg, send_deferred_msg, complete_deferred_msg, 5645 find_deferred_msg, send_deferred_msg, complete_deferred_msg,
5646 Fw32_focus_frame, W32-send-sys-command): New functions. 5646 Fw32_focus_frame, W32-send-sys-command): New functions.
5647 (last_mouse_movement_time): Delete variable. 5647 (last_mouse_movement_time): Delete variable.
5648 5648
5652 (x_set_name): Don't update if the name is the same. 5652 (x_set_name): Don't update if the name is the same.
5653 Use title for name if available. 5653 Use title for name if available.
5654 (x_icon): Initial support for creating window iconified. 5654 (x_icon): Initial support for creating window iconified.
5655 (x_display_info_for_name): Set w32_in_use. 5655 (x_display_info_for_name): Set w32_in_use.
5656 (Fx_open_connection): Validate Vwindow_system. Set w32_in_use. 5656 (Fx_open_connection): Validate Vwindow_system. Set w32_in_use.
5657 5657
5658 (w32_create_window): Set window size to frame dimensions. 5658 (w32_create_window): Set window size to frame dimensions.
5659 Set font width, line height, border, scrollbar indexes. 5659 Set font width, line height, border, scrollbar indexes.
5660 Don't set X and Y units indexes. 5660 Don't set X and Y units indexes.
5661 (w32_msg_pump): Renamed from windows_msg_worker. 5661 (w32_msg_pump): Renamed from windows_msg_worker.
5662 Make static. Don't post done message. No longer handle 5662 Make static. Don't post done message. No longer handle
5663 create scrollbar message. Don't abort on anomalous messages. 5663 create scrollbar message. Don't abort on anomalous messages.
5664 Return when completion detected. 5664 Return when completion detected.
5665 (w32_wnd_proc): Keep track of button state. 5665 (w32_wnd_proc): Keep track of button state.
5666 For WINDOWPOSCHANGING, force window dimensions to be multiples 5666 For WINDOWPOSCHANGING, force window dimensions to be multiples
5667 of character dimensions. 5667 of character dimensions.
5668 Handle CREATESCROLLBAR. 5668 Handle CREATESCROLLBAR.
5669 Use correct arguments for SHOWWINDOW. 5669 Use correct arguments for SHOWWINDOW.
5670 For SETWINDOWPOS, use WINDOWPOS structure. 5670 For SETWINDOWPOS, use WINDOWPOS structure.
5673 (Fx_create_frame): Use title instead of name. 5673 (Fx_create_frame): Use title instead of name.
5674 GC protect frame before make_frame_without_minibuffer. 5674 GC protect frame before make_frame_without_minibuffer.
5675 Set icon name. 5675 Set icon name.
5676 Use courier new as default font (has bold and italic). 5676 Use courier new as default font (has bold and italic).
5677 Set BufferPredicate and Title default parameters. 5677 Set BufferPredicate and Title default parameters.
5678 5678
5679 (x_to_w32_weight): Support semibold weight. 5679 (x_to_w32_weight): Support semibold weight.
5680 (x_to_w32_charset): Map # to numeric charset identifier. 5680 (x_to_w32_charset): Map # to numeric charset identifier.
5681 (w32_to_x_charset): Encode unknown charsets as a number. 5681 (w32_to_x_charset): Encode unknown charsets as a number.
5682 (enum_font_cb2): Don't restrict to ANSI and OEM charsets. 5682 (enum_font_cb2): Don't restrict to ANSI and OEM charsets.
5683 5683
5695 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): New macros. 5695 (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): New macros.
5696 5696
5697 * w32inevt.c: Declare externs from other files. 5697 * w32inevt.c: Declare externs from other files.
5698 (w32_kbd_mods_to_emacs): New parameter KEY. 5698 (w32_kbd_mods_to_emacs): New parameter KEY.
5699 Use w32-capslock-is-shiftlock for old behavior. 5699 Use w32-capslock-is-shiftlock for old behavior.
5700 (key_event): Pass in new parameter to w32_kbd_mods_to_emacs. 5700 (key_event): Pass in new parameter to w32_kbd_mods_to_emacs.
5701 5701
5702 * w32menu.c (init_menu_items): Disable code. 5702 * w32menu.c (init_menu_items): Disable code.
5703 (x_activate_menubar): New function. 5703 (x_activate_menubar): New function.
5704 (initialize_frame_menubar): Pass in new param to set_frame_menubar. 5704 (initialize_frame_menubar): Pass in new param to set_frame_menubar.
5705 5705
5706 * w32proc.c: Include w32heap.h. 5706 * w32proc.c: Include w32heap.h.
5707 (Vw32_start_process_share_console, Vw32_generate_fake_inodes, 5707 (Vw32_start_process_share_console, Vw32_generate_fake_inodes,
5708 Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): 5708 Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir):
5709 New variables. 5709 New variables.
5710 (find_child_console, set_process_dir, Fw32_short_file_name, 5710 (find_child_console, set_process_dir, Fw32_short_file_name,
5711 Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info, 5711 Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info,
5712 Fw32_get_current_locale_id, Fw32_get_default_local_id, 5712 Fw32_get_current_locale_id, Fw32_get_default_local_id,
5713 Fw32_set_current_locale): New functions. 5713 Fw32_set_current_locale): New functions.
5714 (CORRECT_DIR_SEPS): New macro. 5714 (CORRECT_DIR_SEPS): New macro.
5715 (create_child): Create a new console if subprocs don't share parent's. 5715 (create_child): Create a new console if subprocs don't share parent's.
5716 (reap_subprocess): Don't check for dos subprocesses. 5716 (reap_subprocess): Don't check for dos subprocesses.
5717 Add debug support. 5717 Add debug support.
5718 (sys_wait): Ignore socket child_procs. 5718 (sys_wait): Ignore socket child_procs.
5719 Check for quit while waiting. 5719 Check for quit while waiting.
5720 (w32_executable_type): Renamed from w32_is_dos_binary. 5720 (w32_executable_type): Renamed from w32_is_dos_binary.
5721 Check for dos and Cygnus executables. 5721 Check for dos and Cygnus executables.
5758 when handling PAINT messages. 5758 when handling PAINT messages.
5759 Fixup off-by-one calculation for PAINT and SIZE. 5759 Fixup off-by-one calculation for PAINT and SIZE.
5760 Pass in new parameter to w32_kbd_mods_to_emacs. 5760 Pass in new parameter to w32_kbd_mods_to_emacs.
5761 Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW, 5761 Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW,
5762 INITMENU, and ACTIVATEAPP messages. 5762 INITMENU, and ACTIVATEAPP messages.
5763 Explicitly check for visibile and obscured frames, and to see if 5763 Explicitly check for visibile and obscured frames, and to see if
5764 any event should cause a redisplay. 5764 any event should cause a redisplay.
5765 5765
5766 (x_display_bar_cursor): Don't check whether frame is updating here. 5766 (x_display_bar_cursor): Don't check whether frame is updating here.
5767 (x_display_cursor): Check it here instead. 5767 (x_display_cursor): Check it here instead.
5768 (x_set_offset) [HAVE_NTGUI]: Don't add border widths. 5768 (x_set_offset) [HAVE_NTGUI]: Don't add border widths.
5771 window position. Mark frame garbaged earlier. Clear mouse 5771 window position. Mark frame garbaged earlier. Clear mouse
5772 highlighting state. 5772 highlighting state.
5773 (x_focus_on_frame): Set focus by making frame the foreground window. 5773 (x_focus_on_frame): Set focus by making frame the foreground window.
5774 (x_raise_frame): Support frames to be raised without grabbing focus. 5774 (x_raise_frame): Support frames to be raised without grabbing focus.
5775 (x_lower_frame): Set NOACTIVATE flag when setting window position. 5775 (x_lower_frame): Set NOACTIVATE flag when setting window position.
5776 (x_make_frame_visible, x_make_frame_invisible): Pass in frame 5776 (x_make_frame_visible, x_make_frame_invisible): Pass in frame
5777 to my_show_window. 5777 to my_show_window.
5778 (x_iconify_frame): Send a MINIMIZE message to the window. 5778 (x_iconify_frame): Send a MINIMIZE message to the window.
5779 (x_wm_set_size_hint): Set font width, line height, border, 5779 (x_wm_set_size_hint): Set font width, line height, border,
5780 and scroll bar indexes instead of X and Y unit indexes. 5780 and scroll bar indexes instead of X and Y unit indexes.
5781 5781
5782 (w32_initialize): Set input mode. Use w32_msg_worker instead 5782 (w32_initialize): Set input mode. Use w32_msg_worker instead
5783 of windows_msg_worker. Dynamically link proportional scroll bar 5783 of windows_msg_worker. Dynamically link proportional scroll bar
5784 functions and intialize proportional scroll bar variables. 5784 functions and intialize proportional scroll bar variables.
5785 (syms_of_w32term): DEFVAR new variables. 5785 (syms_of_w32term): DEFVAR new variables.
5786 5786
5787 * w32term.h (w32_output): New fields menubar_widget, menubar_active, 5787 * w32term.h (w32_output): New fields menubar_widget, menubar_active,
5788 and pending_menu_activation. 5788 and pending_menu_activation.
5789 (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables. 5789 (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables.
5790 (W32WindowPos): Delete definition. 5790 (W32WindowPos): Delete definition.
5791 (WM_EMACS_SETFOCUS, WND_*_INDEX): New macros. 5791 (WM_EMACS_SETFOCUS, WND_*_INDEX): New macros.
5792 (deferred_msg): New structure. 5792 (deferred_msg): New structure.
5793 5793
5794 * w32xfns.c (have_menus_p): Move to w32fns.c. 5794 * w32xfns.c (have_menus_p): Move to w32fns.c.
5797 (bcopy): Use memmove instead of memcpy. 5797 (bcopy): Use memmove instead of memcpy.
5798 (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define. 5798 (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define.
5799 Undef system calls before redefining. Emulated calls redefined 5799 Undef system calls before redefining. Emulated calls redefined
5800 to sys_*, real calls redefined to _*. 5800 to sys_*, real calls redefined to _*.
5801 (DebPrint): Macro defined. 5801 (DebPrint): Macro defined.
5802 5802
5803 1997-09-02 Michael Welsh Duggan <md5i@schenley.com> 5803 1997-09-02 Michael Welsh Duggan <md5i@schenley.com>
5804 5804
5805 * w32term.h (WM_MOUSEWHEEL): Define if not already defined. 5805 * w32term.h (WM_MOUSEWHEEL): Define if not already defined.
5806 Necessary for pre VC5.0 distribution. 5806 Necessary for pre VC5.0 distribution.
5807 (WM_EMACS_TRACKPOPUPMENU): New Macro. 5807 (WM_EMACS_TRACKPOPUPMENU): New Macro.
5810 input event from a WM_MOUSEWHEEL message. 5810 input event from a WM_MOUSEWHEEL message.
5811 (w32_read_socket): Handle WM_MOUSEWHEEL. 5811 (w32_read_socket): Handle WM_MOUSEWHEEL.
5812 5812
5813 * w32fns.c (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events. 5813 * w32fns.c (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events.
5814 Capture and handle WM_EMACS_TRACKPOPUPMENU events. 5814 Capture and handle WM_EMACS_TRACKPOPUPMENU events.
5815 Allow a dragged selection from a popup menu started up 5815 Allow a dragged selection from a popup menu started up
5816 by a mouse down event. 5816 by a mouse down event.
5817 (x_to_win32_color): Support for X Windows RGB string specifications. 5817 (x_to_win32_color): Support for X Windows RGB string specifications.
5818 5818
5819 * w32menu.c (get_frame_menubar_event): Check for the possibility 5819 * w32menu.c (get_frame_menubar_event): Check for the possibility
5820 of a menu-bar button. A menu-bar button is a caption on the menu 5820 of a menu-bar button. A menu-bar button is a caption on the menu
5829 (get_menu_event): Send keymap instead of menu to get_keymap_event. 5829 (get_menu_event): Send keymap instead of menu to get_keymap_event.
5830 (Fx_popup_menu): Extra parameter to mouse_position_hook. Don't 5830 (Fx_popup_menu): Extra parameter to mouse_position_hook. Don't
5831 send address of menu to win32menu_show. 5831 send address of menu to win32menu_show.
5832 (win32menu_show): Send message to call popup menu rather than 5832 (win32menu_show): Send message to call popup menu rather than
5833 trying directly. get_menu_event should take an address. 5833 trying directly. get_menu_event should take an address.
5834 Call eat_mouse_events in order to get rid of any extraneous 5834 Call eat_mouse_events in order to get rid of any extraneous
5835 mouse events. 5835 mouse events.
5836 (list_of_panes): Only bring up one pane if the length of the list 5836 (list_of_panes): Only bring up one pane if the length of the list
5837 of panes is one. 5837 of panes is one.
5838 5838
5839 1997-09-02 Nico Francois <nico.francois@scala.nl> 5839 1997-09-02 Nico Francois <nico.francois@scala.nl>
5840 5840
5841 * w32menu.c (single_keymap_panes): Fixed problem with 'descrip' 5841 * w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
5842 lisp object not being protected properly (GCPRO). 5842 lisp object not being protected properly (GCPRO).
5843 (get_single_keymap_event): Fixed problem with 'descrip' lisp 5843 (get_single_keymap_event): Fixed problem with 'descrip' lisp
5844 object not being protected properly (GCPRO). 5844 object not being protected properly (GCPRO).
5845 (name_is_separator): New function. 5845 (name_is_separator): New function.
5882 (set-input-mode) [DOS_NT]: Do not invoke reset and init sys modes. 5882 (set-input-mode) [DOS_NT]: Do not invoke reset and init sys modes.
5883 5883
5884 * sysdep.c (sys_subshell) [DOS_NT]: Save and restore parent's 5884 * sysdep.c (sys_subshell) [DOS_NT]: Save and restore parent's
5885 working directory. 5885 working directory.
5886 (sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console. 5886 (sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console.
5887 (init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with 5887 (init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with
5888 a read_socket_hook. 5888 a read_socket_hook.
5889 5889
5890 * xdisp.c (redisplay_internal): Check to see if frame is not obscured 5890 * xdisp.c (redisplay_internal): Check to see if frame is not obscured
5891 as well as visible. 5891 as well as visible.
5892 5892
5893 1997-09-02 Michael Welsh Duggan <md5i@schenley.com> 5893 1997-09-02 Michael Welsh Duggan <md5i@schenley.com>
5894 5894
5895 * lisp.h: Declare discard_mouse_events. 5895 * lisp.h: Declare discard_mouse_events.
5896 5896
5897 * keyboard.c (Qmouse_wheel) [WINDOWSNT]: New variable. 5897 * keyboard.c (Qmouse_wheel) [WINDOWSNT]: New variable.
5913 5913
5914 * coding.c (detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT 5914 * coding.c (detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT
5915 in the detect_coding_iso2022 case. 5915 in the detect_coding_iso2022 case.
5916 5916
5917 * minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes. 5917 * minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes.
5918 (Fread_no_blanks_input, Fcompleting_read): Doc fixes. 5918 (Fread_no_blanks_input, Fcompleting_read): Doc fixes.
5919 5919
5920 * unexnext.c: Include unistd.h instead of libc.h. 5920 * unexnext.c: Include unistd.h instead of libc.h.
5921 5921
5922 1997-09-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 5922 1997-09-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
5923 5923
5995 * coding.c (detect_eol): Do not select no-conversion even if EOL 5995 * coding.c (detect_eol): Do not select no-conversion even if EOL
5996 format of raw-text file is inconsistent. Just read it by 5996 format of raw-text file is inconsistent. Just read it by
5997 raw-text-unix. 5997 raw-text-unix.
5998 (Fdetect_coding_region): Do not select no-conversion even if EOL 5998 (Fdetect_coding_region): Do not select no-conversion even if EOL
5999 format of raw-text file is inconsistent. 5999 format of raw-text file is inconsistent.
6000 6000
6001 1997-08-28 Kenichi Handa <handa@etl.go.jp> 6001 1997-08-28 Kenichi Handa <handa@etl.go.jp>
6002 6002
6003 * coding.c (Qno_conversion, Qundecided): New variables. 6003 * coding.c (Qno_conversion, Qundecided): New variables.
6004 (syms_of_coding): Initialize and staticpro them. 6004 (syms_of_coding): Initialize and staticpro them.
6005 (coding_category_name): Include "coding-category-raw-test". 6005 (coding_category_name): Include "coding-category-raw-test".
6158 Lisp variable. 6158 Lisp variable.
6159 6159
6160 * fontset.c (Valternate_fontname_alist): Name changed from 6160 * fontset.c (Valternate_fontname_alist): Name changed from
6161 Valternative_fontname_alist. 6161 Valternative_fontname_alist.
6162 (syms_of_fontset): Adjusted for the above change. 6162 (syms_of_fontset): Adjusted for the above change.
6163 6163
6164 * fontset.h: Adjusted for the name change of 6164 * fontset.h: Adjusted for the name change of
6165 Valternate_fontname_alist. 6165 Valternate_fontname_alist.
6166 6166
6167 * xterm.c (x_list_fonts): Adjusted for the name change of 6167 * xterm.c (x_list_fonts): Adjusted for the name change of
6168 Valternate_fontname_alist. 6168 Valternate_fontname_alist.
6384 6384
6385 1997-08-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 6385 1997-08-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6386 6386
6387 * xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives. 6387 * xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives.
6388 6388
6389 * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore): 6389 * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore):
6390 Don't set clip_changed if the new values are the same as the old. 6390 Don't set clip_changed if the new values are the same as the old.
6391 6391
6392 * fileio.c (Fwrite_region): Turn off the feature of checking 6392 * fileio.c (Fwrite_region): Turn off the feature of checking
6393 whether another buffer has locked this file. 6393 whether another buffer has locked this file.
6394 6394
6485 variable and initialize it. 6485 variable and initialize it.
6486 6486
6487 1997-08-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 6487 1997-08-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6488 6488
6489 * coding.c: Doc fixes. 6489 * coding.c: Doc fixes.
6490 6490
6491 * lread.c (Fload): New optional arg MUST-SUFFIX. 6491 * lread.c (Fload): New optional arg MUST-SUFFIX.
6492 * fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload. 6492 * fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload.
6493 * eval.c (do_autoload): Pass new arg to Fload. 6493 * eval.c (do_autoload): Pass new arg to Fload.
6494 6494
6495 * indent.c (compute_motion): Correct the criterion for when to 6495 * indent.c (compute_motion): Correct the criterion for when to
6551 display only the eol flag. 6551 display only the eol flag.
6552 6552
6553 1997-07-29 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu> 6553 1997-07-29 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
6554 6554
6555 * xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0. 6555 * xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0.
6556 6556
6557 1997-07-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 6557 1997-07-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6558 6558
6559 * emacs.c (sort_args): Check properly for `--'. 6559 * emacs.c (sort_args): Check properly for `--'.
6560 6560
6561 * xdisp.c (redisplay_window): Fix previous change. 6561 * xdisp.c (redisplay_window): Fix previous change.
6685 (read_minibuf_unwind): Don't call choose_minibuf_frame here. 6685 (read_minibuf_unwind): Don't call choose_minibuf_frame here.
6686 6686
6687 * keyboard.c (read_char): Delete spurious UNGCPRO. 6687 * keyboard.c (read_char): Delete spurious UNGCPRO.
6688 Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf. 6688 Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf.
6689 Initialize c before the GCPRO1. 6689 Initialize c before the GCPRO1.
6690 6690
6691 * frame.c (Fdelete_frame): Undo previous change. 6691 * frame.c (Fdelete_frame): Undo previous change.
6692 6692
6693 * s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this 6693 * s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this
6694 instead of LD_SWITCH_SYSTEM. 6694 instead of LD_SWITCH_SYSTEM.
6695 6695
6696 * window.c (set_window_height): Allow all heights > 0 6696 * window.c (set_window_height): Allow all heights > 0
6697 for minibuffer windows. 6697 for minibuffer windows.
6698 (change_window_height): Fix one-off comparing DELTA with MAXIMUM. 6698 (change_window_height): Fix one-off comparing DELTA with MAXIMUM.
6699 6699
6700 * xfns.c (Fx_create_frame): Default vertical-scroll-bars 6700 * xfns.c (Fx_create_frame): Default vertical-scroll-bars
6927 6927
6928 1997-07-10 Geoff Voelker <voelker@cs.washington.edu> 6928 1997-07-10 Geoff Voelker <voelker@cs.washington.edu>
6929 6929
6930 * w32.c (sys_shutdown): New function. 6930 * w32.c (sys_shutdown): New function.
6931 * s/ms-win32.h: Define HAVE_SHUTDOWN. 6931 * s/ms-win32.h: Define HAVE_SHUTDOWN.
6932 6932
6933 1997-07-10 Eli Zaretskii <eliz@pogo.gnu.ai.mit.edu> 6933 1997-07-10 Eli Zaretskii <eliz@pogo.gnu.ai.mit.edu>
6934 6934
6935 * xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer 6935 * xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer
6936 only if HAVE_X_WINDOWS is defined. 6936 only if HAVE_X_WINDOWS is defined.
6937 6937
6959 6959
6960 * fontset.c (Ffont_info): Make vector of correct size. 6960 * fontset.c (Ffont_info): Make vector of correct size.
6961 6961
6962 * xterm.c (x_load_font): Get value of fontp->height from 6962 * xterm.c (x_load_font): Get value of fontp->height from
6963 ascent and descent members of structure font->max_bounds. 6963 ascent and descent members of structure font->max_bounds.
6964 (dumpglyphs): Draw background by FillSolid if a font is too short. 6964 (dumpglyphs): Draw background by FillSolid if a font is too short.
6965 6965
6966 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 6966 1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
6967 6967
6968 * xterm.c (x_term_init): Don't use initializer for null_bits. 6968 * xterm.c (x_term_init): Don't use initializer for null_bits.
6969 6969
6994 (echo_area_display): Use proper width when scroll bars on left. 6994 (echo_area_display): Use proper width when scroll bars on left.
6995 6995
6996 * syntax.h (struct gl_state_s): New field `offset'. 6996 * syntax.h (struct gl_state_s): New field `offset'.
6997 (SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field. 6997 (SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field.
6998 (SETUP_SYNTAX_TABLE): Clear offset field. 6998 (SETUP_SYNTAX_TABLE): Clear offset field.
6999 (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD): 6999 (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD):
7000 (UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field. 7000 (UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field.
7001 7001
7002 * s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf. 7002 * s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf.
7003 7003
7004 1997-07-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7004 1997-07-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7035 * process.c (Fstart_process): If enable-multibyte-characters is 7035 * process.c (Fstart_process): If enable-multibyte-characters is
7036 nil, set coding system for decoding output of process to 7036 nil, set coding system for decoding output of process to
7037 emacs-mule, and set coding system for encoding to nil. 7037 emacs-mule, and set coding system for encoding to nil.
7038 (Fopen_network_stream): If enable-multibyte-characters is nil, set 7038 (Fopen_network_stream): If enable-multibyte-characters is nil, set
7039 coding systems for decoding and encoding to nil. 7039 coding systems for decoding and encoding to nil.
7040 7040
7041 * fileio.c (Finsert_file_contents): If enable-multibyte-characters 7041 * fileio.c (Finsert_file_contents): If enable-multibyte-characters
7042 is nil, decode character code by emacs-mule. 7042 is nil, decode character code by emacs-mule.
7043 (Fwrite_region): Use buffer-file-coding-system for encoding if 7043 (Fwrite_region): Use buffer-file-coding-system for encoding if
7044 enable-multibyte-characters is nil. 7044 enable-multibyte-characters is nil.
7045 7045
7136 that relate to overlay_str_buf. 7136 that relate to overlay_str_buf.
7137 7137
7138 * syssignal.h (sigpause): Don't define if already defined. 7138 * syssignal.h (sigpause): Don't define if already defined.
7139 7139
7140 * Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable. 7140 * Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable.
7141 7141
7142 1997-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 7142 1997-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7143 7143
7144 * Makefile.in (lisp, shortlisp): Add widget.elc. 7144 * Makefile.in (lisp, shortlisp): Add widget.elc.
7145 7145
7146 1997-07-02 Kenichi Handa <handa@etl.go.jp> 7146 1997-07-02 Kenichi Handa <handa@etl.go.jp>
7224 7224
7225 * process.c (READ_CHILD_OUTPUT): Deleted. 7225 * process.c (READ_CHILD_OUTPUT): Deleted.
7226 (read_process_output): Use read instead of READ_CHILD_OUTPUT. 7226 (read_process_output): Use read instead of READ_CHILD_OUTPUT.
7227 7227
7228 * makefile.nt (OBJ2): Include new source files. 7228 * makefile.nt (OBJ2): Include new source files.
7229 7229
7230 * s/ms-w32.h: Duplicate undefs from config.in to check completeness. 7230 * s/ms-w32.h: Duplicate undefs from config.in to check completeness.
7231 (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value. 7231 (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value.
7232 (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET, 7232 (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET,
7233 HAVE_LIMITS_H, HAVE_STRERROR): Define. 7233 HAVE_LIMITS_H, HAVE_STRERROR): Define.
7234 [HAVE_NTGUI] (HAVE_MENUS): Define. 7234 [HAVE_NTGUI] (HAVE_MENUS): Define.
7235 (SYSTEM_PURESIZE_EXTRA): Increase value. 7235 (SYSTEM_PURESIZE_EXTRA): Increase value.
7236 7236
7237 * unexw32.c, w32heap.c: Add pragma to force zero initialized 7237 * unexw32.c, w32heap.c: Add pragma to force zero initialized
7238 data into .data segment. 7238 data into .data segment.
7239 7239
7240 * w32console.c, w32term.c: Include charset.h. 7240 * w32console.c, w32term.c: Include charset.h.
7241 7241
7242 * w32fns.c (syms_of_w32fns): Delete defsubrs of Sfocus_frame and 7242 * w32fns.c (syms_of_w32fns): Delete defsubrs of Sfocus_frame and
7323 * fns.c (Freverse): Simplify. 7323 * fns.c (Freverse): Simplify.
7324 7324
7325 1997-06-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7325 1997-06-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7326 7326
7327 * s/bsdos3.h: New file. 7327 * s/bsdos3.h: New file.
7328 7328
7329 * s/bsdos2.h (KERNEL_FILE): New overriding definition. 7329 * s/bsdos2.h (KERNEL_FILE): New overriding definition.
7330 7330
7331 * keyboard.c (read_avail_input): Check for failure with EIO. 7331 * keyboard.c (read_avail_input): Check for failure with EIO.
7332 7332
7333 * s/gnu-linux.h (LD_SWITCH_SYSTEM) [__mips__]: Alternate definition. 7333 * s/gnu-linux.h (LD_SWITCH_SYSTEM) [__mips__]: Alternate definition.
7334 7334
7335 * m/mips.h: Test __linux__ along with NEWSOS5. 7335 * m/mips.h: Test __linux__ along with NEWSOS5.
7336 (KERNEL_FILE, UNEXEC): Don't redefine them if __linux__. 7336 (KERNEL_FILE, UNEXEC): Don't redefine them if __linux__.
7337 [__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS): 7337 [__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS):
7338 Alternate definitions. 7338 Alternate definitions.
7339 7339
7340 * emacs.c (Fdump_emacs): Bind command-line-processed to nil here. 7340 * emacs.c (Fdump_emacs): Bind command-line-processed to nil here.
7341 7341
7342 * xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES. 7342 * xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES.
7343 7343
7344 * emacs.c (Fdump_emacs): Error if not run in batch mode. 7344 * emacs.c (Fdump_emacs): Error if not run in batch mode.
7398 7398
7399 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7399 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7400 7400
7401 * process.c (Fprocess_send_eof): Use shutdown, if it's a socket. 7401 * process.c (Fprocess_send_eof): Use shutdown, if it's a socket.
7402 Don't close the output descriptor if that is also the input descriptor. 7402 Don't close the output descriptor if that is also the input descriptor.
7403 7403
7404 * config.in (HAVE_SHUTDOWN): Add #undef. 7404 * config.in (HAVE_SHUTDOWN): Add #undef.
7405 7405
7406 * editfns.c (Fchar_before): Validate N after decrementing. 7406 * editfns.c (Fchar_before): Validate N after decrementing.
7407 Don't use POS as integer. 7407 Don't use POS as integer.
7408 7408
7425 replace method if the coding remains undecided. 7425 replace method if the coding remains undecided.
7426 7426
7427 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7427 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7428 7428
7429 * process.c (wait_reading_process_input): When exiting because 7429 * process.c (wait_reading_process_input): When exiting because
7430 the process WAIT_PROC has terminated, first read all its output. 7430 the process WAIT_PROC has terminated, first read all its output.
7431 7431
7432 1997-06-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7432 1997-06-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7433 7433
7434 * editfns.c (Fchar_after, Fchar_before): Make arg optional. 7434 * editfns.c (Fchar_after, Fchar_before): Make arg optional.
7435 7435
7459 7459
7460 * s/netbsd.h (HAVE_TEXT_START, START_FILES, UNEXEC): 7460 * s/netbsd.h (HAVE_TEXT_START, START_FILES, UNEXEC):
7461 Don't define these if __ELF__. 7461 Don't define these if __ELF__.
7462 (RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise. 7462 (RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise.
7463 7463
7464 * m/alpha.h (TEXT_END, COFF, DATA_END): 7464 * m/alpha.h (TEXT_END, COFF, DATA_END):
7465 Define them if __NetBSD__ just as if LINUX. 7465 Define them if __NetBSD__ just as if LINUX.
7466 (HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__. 7466 (HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__.
7467 7467
7468 1997-06-10 Erik Naggum <erik@naggum.no> 7468 1997-06-10 Erik Naggum <erik@naggum.no>
7469 7469
7482 * sysdep.c (init_sys_modes): Enable VSTART and VSTOP 7482 * sysdep.c (init_sys_modes): Enable VSTART and VSTOP
7483 if flow_control. 7483 if flow_control.
7484 7484
7485 * editfns.c (Finsert_char): Check QUIT. 7485 * editfns.c (Finsert_char): Check QUIT.
7486 7486
7487 * fontset.c (list_fontsets, fs_load_font): 7487 * fontset.c (list_fontsets, fs_load_font):
7488 fast_c_string_match_ignore_case renamed. 7488 fast_c_string_match_ignore_case renamed.
7489 7489
7490 * xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed. 7490 * xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed.
7491 7491
7492 * search.c (fast_c_string_match_ignore_case): 7492 * search.c (fast_c_string_match_ignore_case):
7493 Renamed from fast_string_match_ignore_case. Set re_match_object. 7493 Renamed from fast_string_match_ignore_case. Set re_match_object.
7494 7494
7559 * intervals.c (find_interval): No longer inline. 7559 * intervals.c (find_interval): No longer inline.
7560 7560
7561 1997-06-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7561 1997-06-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7562 7562
7563 * lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG) 7563 * lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG)
7564 (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK): 7564 (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK):
7565 Define regardless of NO_UNION_TYPE. 7565 Define regardless of NO_UNION_TYPE.
7566 7566
7567 * xfns.c (Fx_create_frame): Use XINT to access parent. 7567 * xfns.c (Fx_create_frame): Use XINT to access parent.
7568 7568
7569 * syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ. 7569 * syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ.
7570 (Fmodify_syntax_entry): Use XINT to access c. 7570 (Fmodify_syntax_entry): Use XINT to access c.
7571 (describe_syntax): Use XINT to access first. 7571 (describe_syntax): Use XINT to access first.
7598 7598
7599 * m/alpha.h [__NetBSD__]: Include stdlib.h, not alloca.h. 7599 * m/alpha.h [__NetBSD__]: Include stdlib.h, not alloca.h.
7600 (ORDINARY_LINK): Defined (if __NetBSD__). 7600 (ORDINARY_LINK): Defined (if __NetBSD__).
7601 7601
7602 * s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined. 7602 * s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined.
7603 7603
7604 1997-05-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7604 1997-05-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7605 7605
7606 * lread.c (init_lread): Sometimes add to load-path 7606 * lread.c (init_lread): Sometimes add to load-path
7607 the lisp and site-lisp dirs under the source directory. 7607 the lisp and site-lisp dirs under the source directory.
7608 7608
7640 * s/dgux.h (signal): Define only if not NO_DGUX_SIGNAL_REDEF. 7640 * s/dgux.h (signal): Define only if not NO_DGUX_SIGNAL_REDEF.
7641 * s/dgux4.h: New file. 7641 * s/dgux4.h: New file.
7642 7642
7643 1997-05-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7643 1997-05-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7644 7644
7645 * xterm.c (process_expose_from_menu, XTread_socket): 7645 * xterm.c (process_expose_from_menu, XTread_socket):
7646 Set has_been_visible field. 7646 Set has_been_visible field.
7647 (x_make_frame_visible): Don't do XMoveWindow unles has_been_visible. 7647 (x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.
7648 7648
7649 * xterm.h (struct x_output): New field has_been_visible. 7649 * xterm.h (struct x_output): New field has_been_visible.
7650 7650
7751 * xterm.c (XTread_socket) <ConfigureNotify>: Don't call 7751 * xterm.c (XTread_socket) <ConfigureNotify>: Don't call
7752 x_wm_set_size_hint if window has no parent yet. 7752 x_wm_set_size_hint if window has no parent yet.
7753 Simplify the call to x_real_positions. 7753 Simplify the call to x_real_positions.
7754 (x_make_frame_visible): Use win_gravity to decide whether to 7754 (x_make_frame_visible): Use win_gravity to decide whether to
7755 call XMoveWindow. Also, don't do it if frame already visible. 7755 call XMoveWindow. Also, don't do it if frame already visible.
7756 7756
7757 * xfns.c (x_real_positions): Subtract border width from results. 7757 * xfns.c (x_real_positions): Subtract border width from results.
7758 7758
7759 1997-05-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7759 1997-05-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7760 7760
7761 * window.c (syms_of_window): Initialize inhibit_frame_unsplittable. 7761 * window.c (syms_of_window): Initialize inhibit_frame_unsplittable.
7801 Handle errors in XTranslateCoordinates. 7801 Handle errors in XTranslateCoordinates.
7802 (XTread_socket): Simplify handling of ConfigureNotify events. 7802 (XTread_socket): Simplify handling of ConfigureNotify events.
7803 Always call x_wm_set_size_hint for them. 7803 Always call x_wm_set_size_hint for them.
7804 No need to call XTranslateCoordinates here. 7804 No need to call XTranslateCoordinates here.
7805 (x_clear_errors): New function. 7805 (x_clear_errors): New function.
7806 7806
7807 1997-05-20 Erik Naggum <erik@naggum.no> 7807 1997-05-20 Erik Naggum <erik@naggum.no>
7808 7808
7809 * editfns.c (Fformat_time_string): Doc update. 7809 * editfns.c (Fformat_time_string): Doc update.
7810 7810
7811 1997-05-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7811 1997-05-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7812 7812
7813 * editfns.c (Fformat_time_string): Doc update. 7813 * editfns.c (Fformat_time_string): Doc update.
7814 Handle emacs_strftime returning -1. 7814 Handle emacs_strftime returning -1.
7815 If it returns 0, compute actual buffer size needed. 7815 If it returns 0, compute actual buffer size needed.
7967 CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE, 7967 CODING_CATEGORY_MASK_INTERNAL => CODING_CATEGORY_MASK_EMACS_MULE,
7968 CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE, 7968 CODING_CATEGORY_IDX_INTERNAL => CODING_CATEGORY_IDX_EMACS_MULE,
7969 CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED. 7969 CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED.
7970 * coding.c: Likewise. 7970 * coding.c: Likewise.
7971 * fileio.c: Likewise. 7971 * fileio.c: Likewise.
7972 7972
7973 * xfns.c (Fx_create_frame): Delete unnecessary code. 7973 * xfns.c (Fx_create_frame): Delete unnecessary code.
7974 7974
7975 1997-05-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 7975 1997-05-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
7976 7976
7977 * fileio.c (Finsert_file_contents): Use xmalloc. not malloc. 7977 * fileio.c (Finsert_file_contents): Use xmalloc. not malloc.
8007 (compute_trt_inverse): Totally rewritten. 8007 (compute_trt_inverse): Totally rewritten.
8008 Args are now Lisp_Object. Callers changed. 8008 Args are now Lisp_Object. Callers changed.
8009 (compute_trt_identity, compute_trt_shuffle): New subroutines. 8009 (compute_trt_identity, compute_trt_shuffle): New subroutines.
8010 (init_casetab_once): Use XSETFASTINT to store into case table; 8010 (init_casetab_once): Use XSETFASTINT to store into case table;
8011 use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop. 8011 use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
8012 8012
8013 1997-05-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 8013 1997-05-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
8014 8014
8015 * syntax.c (describe_syntax_1): Pass new args to describe_vector. 8015 * syntax.c (describe_syntax_1): Pass new args to describe_vector.
8016 8016
8017 * category.c (describe_category_1): Pass new args to describe_vector. 8017 * category.c (describe_category_1): Pass new args to describe_vector.
8046 (describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise. 8046 (describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
8047 (Fwhere_is_internal, Fcopy_keymap): Handle a char-table. 8047 (Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
8048 (copy_keymap_1, accessible_keymaps_char_table): New subroutines. 8048 (copy_keymap_1, accessible_keymaps_char_table): New subroutines.
8049 (where_is_internal_1, where_is_internal_2): New functions. 8049 (where_is_internal_1, where_is_internal_2): New functions.
8050 (syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap. 8050 (syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
8051 8051
8052 1997-05-10 Ken'ichi Handa <handa@etl.go.jp> 8052 1997-05-10 Ken'ichi Handa <handa@etl.go.jp>
8053 8053
8054 * callproc.c (Fcall_process_region): Supply 7th new arg 8054 * callproc.c (Fcall_process_region): Supply 7th new arg
8055 CODING_SYSTEM as Qnil to Fwrite_region. 8055 CODING_SYSTEM as Qnil to Fwrite_region.
8056 8056
8149 (Fcompleting_read): Past DEF to Fread_from_minibuffer; 8149 (Fcompleting_read): Past DEF to Fread_from_minibuffer;
8150 no need to use it directly here. 8150 no need to use it directly here.
8151 8151
8152 * fileio.c (Fread_file_name): Finish previous change. 8152 * fileio.c (Fread_file_name): Finish previous change.
8153 8153
8154 * coding.c (Fread_coding_system, Fread_non_nil_coding_system): 8154 * coding.c (Fread_coding_system, Fread_non_nil_coding_system):
8155 Pass new arg to Fcompleting_read. 8155 Pass new arg to Fcompleting_read.
8156 8156
8157 * callint.c (Fcall_interactively): Pass new arg to Fcompleting_read. 8157 * callint.c (Fcall_interactively): Pass new arg to Fcompleting_read.
8158 8158
8159 * xmenu.c (Fx_popup_menu): Doc fix. 8159 * xmenu.c (Fx_popup_menu): Doc fix.
8229 8229
8230 * xselect.c (x_reply_selection_request): Fix previous change. 8230 * xselect.c (x_reply_selection_request): Fix previous change.
8231 8231
8232 1997-04-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 8232 1997-04-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
8233 8233
8234 * xterm.c (XTmouse_position, x_term_init): 8234 * xterm.c (XTmouse_position, x_term_init):
8235 Save value from x_catch_errors and pass to x_uncatch_errors. 8235 Save value from x_catch_errors and pass to x_uncatch_errors.
8236 8236
8237 * xselect.c (x_own_selection, x_reply_selection_request) 8237 * xselect.c (x_own_selection, x_reply_selection_request)
8238 (x_get_foreign_selection): 8238 (x_get_foreign_selection):
8239 Save value from x_catch_errors and pass to x_uncatch_errors. 8239 Save value from x_catch_errors and pass to x_uncatch_errors.
8403 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD, 8403 (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD,
8404 UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE, 8404 UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE,
8405 SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros. 8405 SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros.
8406 (struct gl_state_s): New struct. 8406 (struct gl_state_s): New struct.
8407 8407
8408 * textprop.c: Style of comments corrected. 8408 * textprop.c: Style of comments corrected.
8409 (interval_of): New function. 8409 (interval_of): New function.
8410 8410
8411 1997-04-14 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> 8411 1997-04-14 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
8412 8412
8413 * w16select.c: New file, MS-Windows clipboard support from 8413 * w16select.c: New file, MS-Windows clipboard support from
8414 Emacs running as MSDOS application. 8414 Emacs running as MSDOS application.
8415 8415
8416 * s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'. 8416 * s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'.
8417 8417
8418 * Makefile.in (MSDOS_OBJ): Add w16select.o. 8418 * Makefile.in (MSDOS_OBJ): Add w16select.o.
8419 (dependencies): Add dependencies for w16select.o. 8419 (dependencies): Add dependencies for w16select.o.
8420 8420
8444 8444
8445 * fileio.c (Finsert_file_contents): Do call signal_after_change 8445 * fileio.c (Finsert_file_contents): Do call signal_after_change
8446 when REPLACE is handled by reading directly from the file. 8446 when REPLACE is handled by reading directly from the file.
8447 Use insert_1 to insert replacement text, to avoid 8447 Use insert_1 to insert replacement text, to avoid
8448 query about whether to modify the buffer. 8448 query about whether to modify the buffer.
8449 8449
8450 1997-04-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu> 8450 1997-04-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
8451 8451
8452 * Makefile.in (mallocobj): Make non-REL_ALLOC configuration work 8452 * Makefile.in (mallocobj): Make non-REL_ALLOC configuration work
8453 with glibc's malloc--do use vm-limit.o. 8453 with glibc's malloc--do use vm-limit.o.
8454 8454
8494 (allocate_vectorlike, make_uninit_string): 8494 (allocate_vectorlike, make_uninit_string):
8495 Prevent using mmap for possible large chunks. 8495 Prevent using mmap for possible large chunks.
8496 (init_alloc_once): Set trim and mmap malloc parms, when using glibc. 8496 (init_alloc_once): Set trim and mmap malloc parms, when using glibc.
8497 8497
8498 * config.in (DOUG_LEA_MALLOC): Add #undef. 8498 * config.in (DOUG_LEA_MALLOC): Add #undef.
8499 8499
8500 * Makefile.in (mallocobj): Don't add gmalloc if using glibc. 8500 * Makefile.in (mallocobj): Don't add gmalloc if using glibc.
8501 Drop check for `old malloc'; it isn't distributed with Emacs. 8501 Drop check for `old malloc'; it isn't distributed with Emacs.
8502 8502
8503 1997-04-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 8503 1997-04-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
8504 8504
8629 (Qfile_date_error): New variable. 8629 (Qfile_date_error): New variable.
8630 (syms_of_fileio): Set it up. 8630 (syms_of_fileio): Set it up.
8631 (Fcopy_file): Fix previous change. 8631 (Fcopy_file): Fix previous change.
8632 (Finsert_file_contents): Determine the character coding 8632 (Finsert_file_contents): Determine the character coding
8633 before we see if REPLACE can be handled. 8633 before we see if REPLACE can be handled.
8634 Do handle REPLACE even if code conversion is needed. 8634 Do handle REPLACE even if code conversion is needed.
8635 8635
8636 1997-03-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 8636 1997-03-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
8637 8637
8638 * keymap.c (Faccessible_keymaps): When metizing, convert a 8638 * keymap.c (Faccessible_keymaps): When metizing, convert a
8639 string to a vector. But don't metize a character that is 8639 string to a vector. But don't metize a character that is
8662 * buffer.c (Fbury_buffer): Call frames_bury_buffer. 8662 * buffer.c (Fbury_buffer): Call frames_bury_buffer.
8663 8663
8664 1997-03-22 Mark W. Eichin <eichin@kitten.gen.ma.us> 8664 1997-03-22 Mark W. Eichin <eichin@kitten.gen.ma.us>
8665 8665
8666 * keyboard.c (make_lispy_event): Use iso_lispy_function_keys for 8666 * keyboard.c (make_lispy_event): Use iso_lispy_function_keys for
8667 XK_ISO_* keys found in XFree86. 8667 XK_ISO_* keys found in XFree86.
8668 (ISO_FUNCTION_KEY_OFFSET): New macro. 8668 (ISO_FUNCTION_KEY_OFFSET): New macro.
8669 (iso_lispy_function_keys): New table. 8669 (iso_lispy_function_keys): New table.
8670 8670
8671 * xterm.c (XTread_socket): Accept XK_ISO_* keys. 8671 * xterm.c (XTread_socket): Accept XK_ISO_* keys.
8672 8672
8673 1997-03-19 Kenichi Handa <handa@etl.go.jp> 8673 1997-03-19 Kenichi Handa <handa@etl.go.jp>
8674 8674
8675 * xterm.c (dumpglyphs): Set a clipping region when we draw glyphs 8675 * xterm.c (dumpglyphs): Set a clipping region when we draw glyphs
8831 CODING_FLAG_ISO_DESIGNATE_AT_BOL. 8831 CODING_FLAG_ISO_DESIGNATE_AT_BOL.
8832 (detect_coding_iso2022): Detect coding-category-iso-8-2 more 8832 (detect_coding_iso2022): Detect coding-category-iso-8-2 more
8833 precisely. 8833 precisely.
8834 (Ffind_coding_system, syms_of_coding): Escape newlines in 8834 (Ffind_coding_system, syms_of_coding): Escape newlines in
8835 docstring. 8835 docstring.
8836 8836
8837 * charset.h (INC_POS, DEC_POS): Don't increase or decrease too 8837 * charset.h (INC_POS, DEC_POS): Don't increase or decrease too
8838 much if there's binary code (invalid character code). 8838 much if there's binary code (invalid character code).
8839 8839
8840 * data.c (Faref, Faset): Handle a composite char correctly in 8840 * data.c (Faref, Faset): Handle a composite char correctly in
8841 char-table. 8841 char-table.
8968 necessary. 8968 necessary.
8969 For case charset, charsetnot, wordbound, notwordbound, 8969 For case charset, charsetnot, wordbound, notwordbound,
8970 wordbeg, wordend, matchsyntax, and matchnotsyntax, code 8970 wordbeg, wordend, matchsyntax, and matchnotsyntax, code
8971 re-written to handle multibyte characters. 8971 re-written to handle multibyte characters.
8972 Add code for case categoryspec and notcategoryspec. 8972 Add code for case categoryspec and notcategoryspec.
8973 8973
8974 * regex.h (struct re_pattern_buffer): New member multibyte. 8974 * regex.h (struct re_pattern_buffer): New member multibyte.
8975 8975
8976 1997-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> 8976 1997-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
8977 8977
8978 * window.c (Fset_window_buffer): Increment display_count 8978 * window.c (Fset_window_buffer): Increment display_count
9379 * charset.c, coding.h, coding.c, fontset.h, fontset.c: New files. 9379 * charset.c, coding.h, coding.c, fontset.h, fontset.c: New files.
9380 9380
9381 1997-02-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 9381 1997-02-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
9382 9382
9383 * print.c (print): Generate a backslash in \2e10. 9383 * print.c (print): Generate a backslash in \2e10.
9384 9384
9385 1997-02-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 9385 1997-02-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
9386 9386
9387 * window.c (change_window_height): Take size from multiple siblings, 9387 * window.c (change_window_height): Take size from multiple siblings,
9388 nearest ones first, when that can be done without deleting any of them. 9388 nearest ones first, when that can be done without deleting any of them.
9389 9389
9430 (fmod): Ensure that the magnitude of the result does not exceed that 9430 (fmod): Ensure that the magnitude of the result does not exceed that
9431 of the divisor, and that the sign of the result does not disagree with 9431 of the divisor, and that the sign of the result does not disagree with
9432 that of the dividend. This does not yield a 9432 that of the dividend. This does not yield a
9433 particularly accurate result, but at least it will be in the 9433 particularly accurate result, but at least it will be in the
9434 range promised by fmod. 9434 range promised by fmod.
9435 9435
9436 * doprnt.c: Include <float.h> if STDC_HEADERS. 9436 * doprnt.c: Include <float.h> if STDC_HEADERS.
9437 (DBL_MAX_10_EXP): Define if not defined; default is IEEE double. 9437 (DBL_MAX_10_EXP): Define if not defined; default is IEEE double.
9438 (doprnt1): Allocate enough buffer space to handle very large floating 9438 (doprnt1): Allocate enough buffer space to handle very large floating
9439 point numbers, or very large field widths or precisions. 9439 point numbers, or very large field widths or precisions.
9440 Detect overflow in field widths or precisions. 9440 Detect overflow in field widths or precisions.
9485 Put "+" in value; needed if we are a Solaris 1 executable 9485 Put "+" in value; needed if we are a Solaris 1 executable
9486 running under Solaris 2. 9486 running under Solaris 2.
9487 Define these variables only if LOCALTIME_CACHE is defined. 9487 Define these variables only if LOCALTIME_CACHE is defined.
9488 9488
9489 1997-01-21 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu> 9489 1997-01-21 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
9490 9490
9491 * msdos.c (run_msdos_command): Remove unused variables. 9491 * msdos.c (run_msdos_command): Remove unused variables.
9492 (crlf_to_lf): Remove unused variables. 9492 (crlf_to_lf): Remove unused variables.
9493 (Fmsdos_downcase_filename): Remove unused variable. 9493 (Fmsdos_downcase_filename): Remove unused variable.
9494 (IT_set_frame_parameters): Declare prototypes for external functions. 9494 (IT_set_frame_parameters): Declare prototypes for external functions.
9495 (IT_set_frame_parameters): Correct format specifier. 9495 (IT_set_frame_parameters): Correct format specifier.
9515 9515
9516 * eval.c (Fsignal): Call fatal if no error handlers and no catch. 9516 * eval.c (Fsignal): Call fatal if no error handlers and no catch.
9517 9517
9518 * dispnew.c (init_display): Check for overflow in screen size. 9518 * dispnew.c (init_display): Check for overflow in screen size.
9519 Use `fatal'. 9519 Use `fatal'.
9520 9520
9521 1997-01-19 Geoff Voelker <voelker@cs.washington.edu> 9521 1997-01-19 Geoff Voelker <voelker@cs.washington.edu>
9522 9522
9523 * w32.c (init_environment): Rebuild Vsystem_configuration at startup. 9523 * w32.c (init_environment): Rebuild Vsystem_configuration at startup.
9524 9524
9525 * w32gui.h: Update include conditionals to use new name. 9525 * w32gui.h: Update include conditionals to use new name.
9526 9526
9527 * w32gui.h: Renamed from win32.h. 9527 * w32gui.h: Renamed from win32.h.
9528 * dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h. 9528 * dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h.
9529 * makefile.nt: Update header comment. 9529 * makefile.nt: Update header comment.
9530 9530
9531 * w32console.c (initialize_w32_display): Renamed from 9531 * w32console.c (initialize_w32_display): Renamed from
9532 initialize_win_nt_display. 9532 initialize_win_nt_display.
9533 * term.c (term_init): Use new name initialize_w32_display. 9533 * term.c (term_init): Use new name initialize_w32_display.
9534 9534
9535 * w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c, 9535 * w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c,
9536 w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c, 9536 w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c,
9537 w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95, 9537 w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95,
9538 winnt, and win32 into Windows 95, Windows NT, and W32, respectively. 9538 winnt, and win32 into Windows 95, Windows NT, and W32, respectively.
9539 Expand "win" substring in variables referring to Microsoft Windows 9539 Expand "win" substring in variables referring to Microsoft Windows
9540 constructs into "windows". 9540 constructs into "windows".
9541 Canonicalize header comments to use same terminology. 9541 Canonicalize header comments to use same terminology.
9542 9542
9543 1997-01-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu> 9543 1997-01-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
9544 9544
9682 * s/nextstep.h, s/sco4.h (BROKEN_MKTIME): New macro. 9682 * s/nextstep.h, s/sco4.h (BROKEN_MKTIME): New macro.
9683 * Makefile.in (MKTIME_OBJ), config.in (mktime): 9683 * Makefile.in (MKTIME_OBJ), config.in (mktime):
9684 Use BROKEN_MKTIME to determine whether mktime is broken. 9684 Use BROKEN_MKTIME to determine whether mktime is broken.
9685 9685
9686 1996-12-30 Paul Eggert <eggert@twinsun.com> 9686 1996-12-30 Paul Eggert <eggert@twinsun.com>
9687 9687
9688 * data.c, floatfns.c: <float.h>: Include if STDC_HEADERS. 9688 * data.c, floatfns.c: <float.h>: Include if STDC_HEADERS.
9689 (IEEE_FLOATING_POINT): New symbol. 9689 (IEEE_FLOATING_POINT): New symbol.
9690 * data.c (float_arith_driver, Fmod), floatfns.c (Ffloor): 9690 * data.c (float_arith_driver, Fmod), floatfns.c (Ffloor):
9691 Test for division by 0 only if ! IEEE_FLOATING_POINT. 9691 Test for division by 0 only if ! IEEE_FLOATING_POINT.
9692 * floatfns.c (fmod_float): New function. 9692 * floatfns.c (fmod_float): New function.
9723 1996-12-25 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> 9723 1996-12-25 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
9724 9724
9725 * window.c (window_scroll): Preserve vpos of point 9725 * window.c (window_scroll): Preserve vpos of point
9726 if we cannot preserve the actual position of it. 9726 if we cannot preserve the actual position of it.
9727 Make it static. New arg WHOLE; callers changed. 9727 Make it static. New arg WHOLE; callers changed.
9728 9728
9729 * keyboard.c (read_char_x_menu_prompt): Unread and record all the 9729 * keyboard.c (read_char_x_menu_prompt): Unread and record all the
9730 input events from here. 9730 input events from here.
9731 (record_menu_key): New subroutine. 9731 (record_menu_key): New subroutine.
9732 9732
9733 * xmenu.c (single_keymap_panes): New arg DEPTH. 9733 * xmenu.c (single_keymap_panes): New arg DEPTH.
9874 1996-12-06 Eli Zaretskii <eliz@is.elta.co.il> 9874 1996-12-06 Eli Zaretskii <eliz@is.elta.co.il>
9875 9875
9876 * msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor 9876 * msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor
9877 is in echo area. 9877 is in echo area.
9878 9878
9879 1996-12-05 Erik Naggum <erik@naggum.no> 9879 1996-12-05 Erik Naggum <erik@naggum.no>
9880 9880
9881 * keyboard.c (syms_of_keyboard): Doc fix. 9881 * keyboard.c (syms_of_keyboard): Doc fix.
9882 9882
9883 1996-11-28 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu> 9883 1996-11-28 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
9884 9884
9942 * w32inevt.c, w32inevt.h: Renamed from ntinevt.c, ntinevt.h. 9942 * w32inevt.c, w32inevt.h: Renamed from ntinevt.c, ntinevt.h.
9943 * w32proc.c: Renamed from ntproc.c. 9943 * w32proc.c: Renamed from ntproc.c.
9944 * w32console.c: Renamed from w32term.c. 9944 * w32console.c: Renamed from w32term.c.
9945 * unexw32.c: Renamed from unexnt.c. 9945 * unexw32.c: Renamed from unexnt.c.
9946 * s/ms-w32.h: Renamed from s/windowsnt.h. 9946 * s/ms-w32.h: Renamed from s/windowsnt.h.
9947 9947
9948 * dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system. 9948 * dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system.
9949 9949
9950 * Makefile.in, callproc.c, makefile.nt: Use new names for w32 files. 9950 * Makefile.in, callproc.c, makefile.nt: Use new names for w32 files.
9951 9951
9952 1996-11-18 Geoff Voelker <voelker@cs.washington.edu> 9952 1996-11-18 Geoff Voelker <voelker@cs.washington.edu>
10255 (find_handler_clause): If Vdebug_force, call debugger 10255 (find_handler_clause): If Vdebug_force, call debugger
10256 even if there are handlers. 10256 even if there are handlers.
10257 10257
10258 1996-09-26 Marcus Daniels <marcus@sayre.sysc.pdx.edu> 10258 1996-09-26 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
10259 10259
10260 * xfns.c (x_set_scroll_bar_width): Move cursor to the 10260 * xfns.c (x_set_scroll_bar_width): Move cursor to the
10261 left margin, past a scroll bar, if any. 10261 left margin, past a scroll bar, if any.
10262 10262
10263 1996-09-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10263 1996-09-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10264 10264
10265 * lread.c (isfloat_string): Accept E like e. 10265 * lread.c (isfloat_string): Accept E like e.
10370 10370
10371 * xdisp.c (echo_area_display): Clear the left-side scroll bar columns. 10371 * xdisp.c (echo_area_display): Clear the left-side scroll bar columns.
10372 10372
10373 1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10373 1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10374 10374
10375 * xterm.c (x_scroll_bar_create, x_scroll_bar_move): 10375 * xterm.c (x_scroll_bar_create, x_scroll_bar_move):
10376 (x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM. 10376 (x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
10377 10377
10378 * xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from 10378 * xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from
10379 LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM. 10379 LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM.
10380 (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM. 10380 (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
10419 (x_scroll_bar_expose): Narrow the box slightly for a left-side 10419 (x_scroll_bar_expose): Narrow the box slightly for a left-side
10420 scroll bar. 10420 scroll bar.
10421 10421
10422 * xfns.c: Add the symbol `right'; this symbol is used to indicate 10422 * xfns.c: Add the symbol `right'; this symbol is used to indicate
10423 that a right-side scroll bar is wanted. 10423 that a right-side scroll bar is wanted.
10424 (x_set_vertical_scroll_bars): Check for left<->right<->none 10424 (x_set_vertical_scroll_bars): Check for left<->right<->none
10425 scroll bar changes, and modify the vertical scroll bar type 10425 scroll bar changes, and modify the vertical scroll bar type
10426 as appropriate. 10426 as appropriate.
10427 (x_figure_window_size): Use new SET_FRAME_WIDTH macro. 10427 (x_figure_window_size): Use new SET_FRAME_WIDTH macro.
10428 (Fx_create_frame): Likewise. 10428 (Fx_create_frame): Likewise.
10429 (Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN. 10429 (Fx_horizontal_line): Use new macro WINDOW_LEFT_MARGIN.
10460 * w32term.c (fast_find_position, show_macro_face): Use new 10460 * w32term.c (fast_find_position, show_macro_face): Use new
10461 WINDOW_LEFT_MARGIN macro. 10461 WINDOW_LEFT_MARGIN macro.
10462 10462
10463 * w32fns.c (Qright): New variable. 10463 * w32fns.c (Qright): New variable.
10464 (syms_of_win32fns): Initialize and staticpro Qright. 10464 (syms_of_win32fns): Initialize and staticpro Qright.
10465 (x_set_vertical_scroll_bars): Check for left<->right<->none 10465 (x_set_vertical_scroll_bars): Check for left<->right<->none
10466 scroll bar changes, and modify the vertical scroll bar type 10466 scroll bar changes, and modify the vertical scroll bar type
10467 as appropriate. 10467 as appropriate.
10468 (x_figure_window_size): Use new SET_FRAME_WIDTH macro. 10468 (x_figure_window_size): Use new SET_FRAME_WIDTH macro.
10469 (Fx_create_frame): Likewise. 10469 (Fx_create_frame): Likewise.
10470 10470
10495 new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't 10495 new macro FRAME_WINDOW_WIDTH instead of FRAME_WIDTH; they aren't
10496 necessarily the same any more. 10496 necessarily the same any more.
10497 (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes. 10497 (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes.
10498 Give `set_window_width' the window width value. 10498 Give `set_window_width' the window width value.
10499 Use new macro SET_FRAME_WIDTH. 10499 Use new macro SET_FRAME_WIDTH.
10500 10500
10501 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an 10501 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an
10502 argument, and use it to decrease the width in the case of a 10502 argument, and use it to decrease the width in the case of a
10503 left-side scroll bar; this prevents the bar and adjacent text 10503 left-side scroll bar; this prevents the bar and adjacent text
10504 from scrunching together. 10504 from scrunching together.
10505 (LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant. 10505 (LEFT_VERTICAL_SCROLL_BAR_WIDTH_TRIM): Add constant.
10515 (FRAME_WINDOW_WIDTH, FRAME_WINDOW_WIDTH_ARG): New macros. 10515 (FRAME_WINDOW_WIDTH, FRAME_WINDOW_WIDTH_ARG): New macros.
10516 (SET_FRAME_WIDTH): New macro for assigning to both 10516 (SET_FRAME_WIDTH): New macro for assigning to both
10517 `external_width' and `width'. 10517 `external_width' and `width'.
10518 (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side 10518 (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side
10519 scroll bars too. 10519 scroll bars too.
10520 10520
10521 * window.h (WINDOW_LEFT_MARGIN): New macro. 10521 * window.h (WINDOW_LEFT_MARGIN): New macro.
10522 (WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros. 10522 (WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros.
10523 (WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros. 10523 (WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.
10524 10524
10525 1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10525 1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10526 10526
10527 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used). 10527 * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_HEIGHT): New arg F (not used).
10528 (VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used). 10528 (VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
10529 * xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT 10529 * xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT
10530 and VERTICAL_SCROLL_BAR_TOP_RANGE. 10530 and VERTICAL_SCROLL_BAR_TOP_RANGE.
10531 10531
10532 * sysdep.c (init_system_name): Retry gethostbyname only 5 times 10532 * sysdep.c (init_system_name): Retry gethostbyname only 5 times
10533 and don't sleep after the last time. 10533 and don't sleep after the last time.
10534 10534
10535 1996-09-19 Eli Zaretskii <eliz@is.elta.co.il> 10535 1996-09-19 Eli Zaretskii <eliz@is.elta.co.il>
10536 10536
10590 10590
10591 * xterm.c (note_mouse_highlight): Test last_overlay_modified field. 10591 * xterm.c (note_mouse_highlight): Test last_overlay_modified field.
10592 10592
10593 * window.c (Fset_window_start): Clear last_overlay_modified field. 10593 * window.c (Fset_window_start): Clear last_overlay_modified field.
10594 (set_window_height, set_window_width, Fset_window_buffer) 10594 (set_window_height, set_window_width, Fset_window_buffer)
10595 (change_window_height, window_scroll, Fset_window_configuration): 10595 (change_window_height, window_scroll, Fset_window_configuration):
10596 Clear last_overlay_modified field. 10596 Clear last_overlay_modified field.
10597 (Fpos_visible_in_window_p): Test last_overlay_modified field. 10597 (Fpos_visible_in_window_p): Test last_overlay_modified field.
10598 10598
10599 * Makefile.in (frame.o, textprop.o, abbrev.o): Depend on window.h. 10599 * Makefile.in (frame.o, textprop.o, abbrev.o): Depend on window.h.
10600 10600
10625 * keyboard.c (command_loop_1): Test last_overlay_modified 10625 * keyboard.c (command_loop_1): Test last_overlay_modified
10626 along with last_modified. 10626 along with last_modified.
10627 10627
10628 * xdisp.c (overlay_unchanged_modified): New variable. 10628 * xdisp.c (overlay_unchanged_modified): New variable.
10629 (redisplay_internal): Set overlay_unchanged_modified. 10629 (redisplay_internal): Set overlay_unchanged_modified.
10630 * insdel.c (gap_left, gap_right, modify_region): 10630 * insdel.c (gap_left, gap_right, modify_region):
10631 Compare overlay_unchanged_modified with OVERLAY_MODIFF. 10631 Compare overlay_unchanged_modified with OVERLAY_MODIFF.
10632 10632
10633 * buffer.c (modify_overlay): Renamed from redisplay_region 10633 * buffer.c (modify_overlay): Renamed from redisplay_region
10634 moved here from xdisp.c, and made static. Callers changed. 10634 moved here from xdisp.c, and made static. Callers changed.
10635 Update OVERLAY_MODIFF instead of MODIFF. 10635 Update OVERLAY_MODIFF instead of MODIFF.
10636 * xdisp.c (redisplay_region): Renamed and moved to buffer.c. 10636 * xdisp.c (redisplay_region): Renamed and moved to buffer.c.
10637 10637
10638 * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): 10638 * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM):
10639 Don't define them if using GCC. 10639 Don't define them if using GCC.
10640 10640
10641 1996-09-13 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10641 1996-09-13 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10642 10642
10643 * keyboard.c (recursive_edit_1): Handle a string as the 10643 * keyboard.c (recursive_edit_1): Handle a string as the
10672 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10672 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10673 10673
10674 * keyboard.c (Fexecute_extended_command): Delete junk lines. 10674 * keyboard.c (Fexecute_extended_command): Delete junk lines.
10675 Print the key bindings after the command, temporarily; 10675 Print the key bindings after the command, temporarily;
10676 then bring back the previous message. 10676 then bring back the previous message.
10677 10677
10678 * buffer.c (syms_of_buffer): Doc fixes. 10678 * buffer.c (syms_of_buffer): Doc fixes.
10679 10679
10680 * filelock.c (lock_superlock): Delete superlock file if it stayed 10680 * filelock.c (lock_superlock): Delete superlock file if it stayed
10681 locked for 20 seconds. 10681 locked for 20 seconds.
10682 10682
10706 (Fcompare_buffer_substrings): Likewise. 10706 (Fcompare_buffer_substrings): Likewise.
10707 10707
10708 1996-09-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10708 1996-09-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10709 10709
10710 * lisp.h: Add many declarations. 10710 * lisp.h: Add many declarations.
10711 10711
10712 * lisp.h (BITS_PER_EMACS_INT): New macro. 10712 * lisp.h (BITS_PER_EMACS_INT): New macro.
10713 (XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition. 10713 (XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition.
10714 * m/alpha.h (BITS_PER_EMACS_INT): New definition. 10714 * m/alpha.h (BITS_PER_EMACS_INT): New definition.
10715 10715
10716 * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm 10716 * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm
10769 * fns.c (map_char_table): Declare depth as int. 10769 * fns.c (map_char_table): Declare depth as int.
10770 10770
10771 * xterm.c (note_mouse_highlight): 10771 * xterm.c (note_mouse_highlight):
10772 Pass POS argument to fast_find_position as int. 10772 Pass POS argument to fast_find_position as int.
10773 10773
10774 * textprop.c (set_properties, add_properties, remove_properties): 10774 * textprop.c (set_properties, add_properties, remove_properties):
10775 Call modify_region with ints. 10775 Call modify_region with ints.
10776 10776
10777 * insdel.c (prepare_to_modify_buffer): Take integer arguments. 10777 * insdel.c (prepare_to_modify_buffer): Take integer arguments.
10778 (signal_before_change): Take integer arguments. 10778 (signal_before_change): Take integer arguments.
10779 10779
10803 * xfns.c, w32fns.c (Ffocus_frame, Funfocus_frame): Functions deleted. 10803 * xfns.c, w32fns.c (Ffocus_frame, Funfocus_frame): Functions deleted.
10804 10804
10805 * xfns.c (x_get_and_record_arg): New function. 10805 * xfns.c (x_get_and_record_arg): New function.
10806 (x_icon): Use that, for Qicon_top and Qicon_left. 10806 (x_icon): Use that, for Qicon_top and Qicon_left.
10807 (x_report_frame_params): Report the Qparent_id parameter. 10807 (x_report_frame_params): Report the Qparent_id parameter.
10808 10808
10809 1996-09-03 Paul Eggert <eggert@twinsun.com> 10809 1996-09-03 Paul Eggert <eggert@twinsun.com>
10810 10810
10811 * config.in (mktime): Define to emacs_mktime if we are using our own 10811 * config.in (mktime): Define to emacs_mktime if we are using our own
10812 mktime, since Nextstep doesn't let Emacs redefine the builtin mktime. 10812 mktime, since Nextstep doesn't let Emacs redefine the builtin mktime.
10813 * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's, 10813 * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's,
10877 * fileio.c (build_annotations): Remember original buffer that the 10877 * fileio.c (build_annotations): Remember original buffer that the
10878 region came from; pass this to `format-annotate-function'. 10878 region came from; pass this to `format-annotate-function'.
10879 10879
10880 1996-08-31 Geoff Voelker <voelker@cs.washington.edu> 10880 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
10881 10881
10882 * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP): 10882 * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP):
10883 Include dos-nt.elc. 10883 Include dos-nt.elc.
10884 10884
10885 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu> 10885 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
10886 10886
10887 * keyboard.c (requeued_events_pending_p): New function. 10887 * keyboard.c (requeued_events_pending_p): New function.
10964 10964
10965 * keyboard.c (cmd_error): Add number of kbd macro iterations 10965 * keyboard.c (cmd_error): Add number of kbd macro iterations
10966 to the error message. 10966 to the error message.
10967 10967
10968 * macros.h (executing_macro_iterations, executing_macro): Declared. 10968 * macros.h (executing_macro_iterations, executing_macro): Declared.
10969 10969
10970 * macros.c (executing_macro_iterations, executing_macro): New vars. 10970 * macros.c (executing_macro_iterations, executing_macro): New vars.
10971 (Fexecute_kbd_macro): Set them. 10971 (Fexecute_kbd_macro): Set them.
10972 10972
10973 1996-08-28 Morten Welinder <terra@diku.dk> 10973 1996-08-28 Morten Welinder <terra@diku.dk>
10974 10974
11014 Renamings to avoid conflicting names on MSDOS. 11014 Renamings to avoid conflicting names on MSDOS.
11015 * s/riscix12.h: Renamed from s/riscix12.h. 11015 * s/riscix12.h: Renamed from s/riscix12.h.
11016 * s/sunos413.h: Renamed from s/sunos4-1-3.h. 11016 * s/sunos413.h: Renamed from s/sunos4-1-3.h.
11017 * s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h. 11017 * s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h.
11018 * s/sunos4-1-2.h: File deleted. 11018 * s/sunos4-1-2.h: File deleted.
11019 11019
11020 * xmenu.c (set_frame_menubar): Don't add ibw to menubar_size. 11020 * xmenu.c (set_frame_menubar): Don't add ibw to menubar_size.
11021 11021
11022 * xfns.c (x_window): Don't add ibw to menubar_size. 11022 * xfns.c (x_window): Don't add ibw to menubar_size.
11023 11023
11024 1996-08-24 Paul Eggert <eggert@twinsun.com> 11024 1996-08-24 Paul Eggert <eggert@twinsun.com>