X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/b2b413042833aa30ac42d36c7b588315deff53e8..ff5dec5cd103f6a9b030d295b014f0ff81025def:/src/ChangeLog.7 diff --git a/src/ChangeLog.7 b/src/ChangeLog.7 index 45877c99cd..6cc3d0f9e3 100644 --- a/src/ChangeLog.7 +++ b/src/ChangeLog.7 @@ -22,7 +22,7 @@ 1998-08-18 Kenichi Handa - * ccl.c (CCL_READ_CHAR): If eof is encounterd while processing the + * ccl.c (CCL_READ_CHAR): If eof is encountered while processing the last block, don't just finish but processes eol block of the current CCL program. (ccl_driver): Add a new jump label ccl_repeat for the above change. @@ -83,7 +83,7 @@ * xterm.c, xterm.h: x_display_unibyte_char_with_fontset renamed to unibyte_display_via_language_environment. - + * xfns.c (unibyte_display_through_language_environment): Renamed from x_display_unibyte_char_with_fontset. @@ -124,7 +124,7 @@ 1998-08-13 Andrew Innes - * w32.c (stat): Fall-back to default behaviour when we cannot get + * w32.c (stat): Fall-back to default behavior when we cannot get accurate information on file attributes. 1998-08-12 Richard Stallman @@ -200,7 +200,7 @@ * commands.h (Vthis_command): Renamed from this_command. - * minibuf.c (Fminibuffer_complete): + * minibuf.c (Fminibuffer_complete): this_command renamed to Vthis_command. * macros.c (Fcall_last_kbd_macro): @@ -210,7 +210,7 @@ (real_this_command): New variable, but not a Lisp variable; updated like Vthis_command, but never altered by Lisp programs. (command_loop_1): Use real_this_command to set Vreal_last_command. - + 1998-08-07 Kenichi Handa * cmds.c (internal_self_insert): If enable-multibyte-characters is @@ -266,7 +266,7 @@ to XLoadQueryFont. (fast_find_position): Handle case where position is before an invisible character, thus not actually listed in charstarts. - + * keyboard.c (Vinput_method_previous_message): New variable. (syms_of_keyboard): Set up lisp variable. (Qinput_method_exit_on_first_char, Qinput_method_use_echo_area): @@ -278,7 +278,7 @@ * lisp.h (Fread_key_sequence): Update declaration. * callint.c (Fcall_interactively): Pass new arg to Fread_key_sequence. - + 1998-08-03 Richard Stallman * window.c (Fmove_to_window_line): Doc fix. @@ -312,7 +312,7 @@ (coding_category_name): Include "coding-category-ccl". (detect_coding_ccl): New function. (setup_coding_system): Setup coding->spec.ccl.valid_codes from the - coding system priority `valid-codes' for CCL based coding systesm. + coding system priority `valid-codes' for CCL based coding systems. (detect_coding_mask): Check also a CCL based coding system. (Fupdate_coding_systems_internal): Renamed from Fupdate_iso_coding_systems. @@ -320,9 +320,8 @@ translation-table to 1. Initialize and static pro Qvalid_codes. * coding.h (CODING_CATEGORY_IDX_CCL): New macro. - (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT, - CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by - one. + (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT) + (CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by one. (CODING_CATEGORY_MASK_CCL): New macro. (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL. @@ -331,7 +330,7 @@ account. 1998-07-30 Paul Eggert - + * src/Makefile.in (widget.o, xfns.o, xmenu.o): Prepend $(srcdir)/ to rule dependencies outside this dir. @@ -373,7 +372,7 @@ * fileio.c (Finsert_file_contents): Call Vset_auto_coding_function with two arguments. (Fwrite_region): If buffer-file-coding-system is set locally, use - the coding system whithout checking file-coding-system-alist. + the coding system without checking file-coding-system-alist. (syms_of_fileio): Docstring of set-auto-coding-function adjusted for the change of argument number. @@ -422,13 +421,13 @@ 1998-07-13 Eli Zaretskii - * w16select.c (set_clipboard_data, get_clipboard_data, - Fw16_set_clipboard_data, Fw16_get_clipboard_data, - Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT. + * w16select.c (set_clipboard_data, get_clipboard_data) + (Fw16_set_clipboard_data, Fw16_get_clipboard_data) + (Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT. 1998-07-12 Andrew Innes - * w32select.c: (Fw32_set_clipboard_data): Set Vlast_coding_system_used. + * w32select.c (Fw32_set_clipboard_data): Set Vlast_coding_system_used. (Fw32_get_clipboard_data): Likewise. 1998-07-12 Richard Stallman @@ -450,7 +449,7 @@ (syms_of_keyboard): Set up Lisp vars. (command_loop_1): Check Vunread_input_method_events and Vunread_post_input_method_events along with Vunread_command_events. - + 1998-07-11 Andrew Innes * w32menu.c (w32_menu_show): Set widget call_data to 0 if @@ -486,7 +485,7 @@ * ccl.c: Typo in comments fixed. * coding.c (DECODE_ISO_CHARACTER): While decoding two-byte code, - if the sencond byte is invalid, produce the first byte as is. + if the second byte is invalid, produce the first byte as is. * fontset.c (fs_load_font): Typo in comments fixed. @@ -509,11 +508,11 @@ * charset.h (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR - 1), one less than the previous value. - (GENERIC_COMPOSITION_CHAR): New macro. + (GENERIC_COMPOSITION_CHAR): New macro. * charset.c (Vgeneric_character_list): New variable. (init_charset_once): Init and staticpro it. - (Fgeneric_character_list): New function. + (Fgeneric_character_list): New function. (syms_of_charset): defsubr it. * fns.c (Fset_char_table_default): Check only if the charset of @@ -550,8 +549,8 @@ 1998-07-03 Kenichi Handa * editfns.c (Finsert): Typo in doc-string fixed. - (Finsert_and_inherit, Finsert_before_markers, - Finsert_and_inherit_before_markers): Likewize. + (Finsert_and_inherit, Finsert_before_markers) + (Finsert_and_inherit_before_markers): Likewise. 1998-07-02 Ken'ichi Handa @@ -630,7 +629,7 @@ * doc.c (get_doc_string): Take both UNIBYTE and DEFINITION as args. All callers changed. * lisp.h (get_doc_string): Adjust declaration. - + * lread.c (read_list): Pass new arg to get_doc_string. * doc.c (get_doc_string): 2nd arg is now DEFINITION; @@ -646,7 +645,7 @@ * emacs.c (sort_args): Discard duplicate options with no args. (main): With duplicate -d options, use the last one. Likewise for -t. Check -d last, by checking for -nl earlier on. - + 1998-06-22 Andreas Schwab * keyboard.c (command_loop): Reset executing_macro after @@ -708,7 +707,7 @@ * xterm.c (x_list_fonts): Keep alloca usage simple. -1998-06-20 Per Starback +1998-06-20 Per Starbäck * xdisp.c, charset.h, coding.c, emacs.c: Doc fixes. @@ -724,7 +723,7 @@ * process.c (read_process_output): Handle carryover correctly. * xterm.c (dumpglyphs): Check the case that FACE_FONT (face) is - NULL. While displaing cursor with non-default face, if the + NULL. While displaying cursor with non-default face, if the variable `font' is NULL, don't set GCFont. 1998-06-19 Richard Stallman @@ -737,8 +736,8 @@ 1998-06-17 Geoff Voelker - * w32.c (is_unc_volume, open_unc_volume, read_unc_volume, - close_unc_volume, unc_volume_file_attributes): New functions. + * w32.c (is_unc_volume, open_unc_volume, read_unc_volume) + (close_unc_volume, unc_volume_file_attributes): New functions. (wnet_enum_handle): New variable. (opendir, readdir, closedir, sys_access, stat): Handle UNC volumes. @@ -775,7 +774,7 @@ 1998-06-14 Eli Zaretskii * msdos.c (dos_set_keyboard): Call Int 2Fh via the DPMI server, - not directly. + not directly. (dos_yield_time_slice): New function. (sys_select): Use it instead of __dpmi_yield. @@ -809,7 +808,7 @@ 1998-06-12 Ken'ichi Handa * fileio.c (Finsert_file_contents): Undo the previous change for - handling set-ault-coding. + handling set-auto-coding. 1998-06-11 Richard Stallman @@ -895,7 +894,7 @@ (display_text_line): If cursor's in the frame's echo area, don't set this_line_endpos. (redisplay_window): Use Fwindow_end to find lower scroll margin. - + * syntax.c (scan_lists): Properly skip the comment-fence character that ends a comment, when moving forward. (Fbackward_prefix_chars): Return immediately if point is at BEGV. @@ -912,10 +911,9 @@ (scan_lists): Likewise. (prev_char_comstart_first): New function. - * syntax.c 1998-06-05 Andrew Innes - * w32.c: #include sys/file.h + * w32.c: #include sys/file.h. (sys_access): Provide our own implementation which recognizes D_OK. (is_exec): New function. (stat): Use it. @@ -949,7 +947,7 @@ in a string's intervals start from zero. (validate_interval_range, interval_of, Fnext_property_change) (property_change_between_p, Fnext_single_property_change) - (Fprevious_property_change, Fprevious_single_property_change): + (Fprevious_property_change, Fprevious_single_property_change) (Ftext_property_any, Ftext_property_not_all): Implement that. * textprop.c: Undo previous change. @@ -1008,7 +1006,7 @@ * w32.c (sys_rename): Handle filenames with accented characters. (stat): Handle "c:/.." and "/.." specially. - + * unexw32.c (w32_fatal_reload_error): Update error message. 1998-05-30 Karl Heuer @@ -1065,7 +1063,7 @@ (read1): Enable saving of doc strings on WINDOWSNT. (read_list): Call get_doc_string instead of read_doc_string, when forced to load doc strings. - + 1998-05-25 Andreas Schwab * s/gnu-linux.h (setpgrp): Remove extra parens around parameters. @@ -1130,7 +1128,7 @@ * window.c (select_window_1): New subroutine, from Fselect_window. (Fselect_window): Use select_window_1. (temp_output_buffer_show): Use select_window_1. - + 1998-05-22 Kenichi Handa * ccl.c: Change term "character translation table" to "translation @@ -1198,7 +1196,7 @@ * minibuf.c (syms_of_minibuf): Doc fix. * window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes. - + * frame.c (make_frame_visible_1): New function. (Fmake_frame_visible): Use that. @@ -1242,7 +1240,7 @@ * coding.h: Change terms unify/unification to translate/translation respectively throughout the file. - * fns.c (concat): Fix bug in concatinating a list of multibyte and + * fns.c (concat): Fix bug in concatenating a list of multibyte and unibyte characters. * lisp.h (Vnonascii_translation_table): Name changed from @@ -1275,7 +1273,7 @@ * window.c (Fset_window_buffer): Update buffer's display_time. * insdel.c (insert_1_both, insert_from_string_1, replace_range) - (insert_from_buffer_1, adjust_before_replace, adjust_after_replace): + (insert_from_buffer_1, adjust_before_replace, adjust_after_replace): Don't copy text being deleted, if undo is disabled. * lread.c (readchar): Use readchar_backlog again @@ -1380,7 +1378,7 @@ * xdisp.c (redisplay_window): Handle scroll_step along with scroll_conservatively. Fix 1-off error checking the limit for them. - * filelock.c (unlock_file): Encode the file name. + * filelock.c (unlock_file): Encode the file name. 1998-05-10 Richard Stallman @@ -1482,7 +1480,7 @@ 1998-05-07 Eli Zaretskii * process.c (init_process, syms_of_process) [not subprocesses]: - Make definition consistent with prototypes on lisp.h + Make definition consistent with prototypes on lisp.h. 1998-05-07 Kenichi Handa @@ -1517,7 +1515,7 @@ * emacs.c (main): Call the syms_of_... and keys_of_... functions earlier, before init_vms_input and init_display. - + 1998-05-04 E. Jay Berkenbilt * window.h (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when @@ -1585,7 +1583,7 @@ 1998-05-02 Hrvoje Niksic - * fileio.c (Fmake_temp_name): Improve randomness of generated file + * fileio.c (Fmake_temp_name): Improve randomness of generated file names. 1998-05-01 Richard Stallman @@ -1599,7 +1597,7 @@ 1998-04-30 Geoff Voelker - * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names) + * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names) New variables. (make_lispy_event): Handle drag_n_drop events. (syms_of_keyboard): Initialize new symbols. @@ -1610,7 +1608,7 @@ * termhooks.h (event_kind): New event type `drag_n_drop'. * makefile.nt (LIBS): Link in shell32.lib. - + * w32fns.c: Include shellapi.h. (w32_createwindow): Enable drag-n-drop on new windows. (w32_wnd_proc): Handle WM_DROPFILES messages. @@ -1618,7 +1616,7 @@ * w32term.c: Include shellapi.h. (construct_drag_n_drop): New function. - (w32_read_socket): Handle WM_DROPFILES messages. + (w32_read_socket): Handle WM_DROPFILES messages. 1998-04-30 Skip Collins @@ -1637,7 +1635,7 @@ * indent.c (compute_motion): When invisible text cross TO, return TO, not the start of the invisible text. - * process.c (Fset_process_inherit_coding_system_flag, Fstart_process): + * process.c (Fset_process_inherit_coding_system_flag, Fstart_process): Store inherit_coding_system_flag as a Lisp_Object. (Fopen_network_stream): Likewise. (Fprocess_inherit_coding_system_flag): Access it as Lisp_Object. @@ -1650,7 +1648,7 @@ * unexelf.c [__alpha__ && !__NetBSD__ && !__OpenBSD__]: Include definition of HDRR structure that used to be in sym.h, - instead of sym.h + instead of sym.h. 1998-04-29 Andreas Schwab @@ -1686,7 +1684,7 @@ * emacs.c (abort): Omit this definition, if NO_ABORT. End by calling exit, to avoid warning. - + 1998-04-28 Richard Stallman * filelock.c: Include coding.h. @@ -1717,10 +1715,10 @@ 1998-04-28 Eli Zaretskii - * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o, - frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o, - term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o): Depend - on msdos.h. + * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o) + (frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o) + (term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o): + Depend on msdos.h. (print.o): Depend on dispextern.h. 1998-04-28 Andreas Schwab @@ -1749,12 +1747,12 @@ * callproc.c, fileio.c: Include msdos.h after lisp.h. - * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line, - IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to, - IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight, - IT_update_begin, IT_update_end, IT_set_terminal_modes, - IT_reset_terminal_modes, IT_set_terminal_window, - pixel_to_glyph_coords, IT_menu_display): Bring definitions in + * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line) + (IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to) + (IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight) + (IT_update_begin, IT_update_end, IT_set_terminal_modes) + (IT_reset_terminal_modes, IT_set_terminal_window) + (pixel_to_glyph_coords, IT_menu_display): Bring definitions in accordance with prototype declarations. * msdos.h [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle @@ -1767,7 +1765,7 @@ * minibuf.c (minibuf_conform_representation): New function. (Ftry_completion): Use it to return multibyte string if and only if the completion table has a multibyte string. - (Fdisplay_completion_list): + (Fdisplay_completion_list): Convert string to unibyte before displaying it, if default is unibyte. * eval.c (find_handler_clause): Cast Fbacktrace to proper type. @@ -1778,7 +1776,7 @@ * emacs.c (standard_args): Apply --unibyte/multibyte after --nw. - * lisp.h: Include initial_obarray from lread.c + * lisp.h: Include initial_obarray from lread.c. * data.c (set_internal): Test keywordness only in initial obarray. @@ -1853,7 +1851,7 @@ 1998-04-23 Inge Frick - * keyboard.c: (parse_menu_item): Support keywords :keys and + * keyboard.c (parse_menu_item): Support keywords :keys and :key-sequence. Some changes to provide GC-protection. Some cosmetic changes. (syms_of_keyboard): Define new symbols `:keys' and `:key-sequence'. @@ -1881,7 +1879,7 @@ * xfaces.c (unload_color): No longer static. - * insdel.c (insert_from_string, insert_from_string_before_markers): + * insdel.c (insert_from_string, insert_from_string_before_markers): Don't special case LENGTH = 0. (insert_from_buffer): Likewise. @@ -1894,8 +1892,8 @@ 1998-04-22 Eli Zaretskii * w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT - before calling sit_for. - (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance + before calling sit_for. + (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance the calls to BLOCK_INPUT and UNBLOCK_INPUT. (alloc_xfer_buf): If want_size is more than 1MB, return immediately with failure. @@ -1911,7 +1909,7 @@ 1998-04-21 Eli Zaretskii * callproc.c (Fcall_process) [MSDOS]: Call child_setup instead of - run_msdos_command. + run_msdos_command. (child_setup) [MSDOS]: Call run_msdos_command here. (child_setup) [DOS_NT]: Get past drive letter in pwd. Don't call close_load_descs, since we are not in a vfork. @@ -1940,7 +1938,7 @@ Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking for read_buffer full; this way need not check specially for multibyte. - * emacs.c: Include buffer.h + * emacs.c: Include buffer.h. (main): When handling --unibyte, mark all existing buffers as unibyte; but don't handle it when dumping. @@ -1957,7 +1955,7 @@ (load_convert_to_unibyte): New variable. (syms_of_lread): Set up Lisp var. (read1): If load_convert_to_unibyte, convert strings to unibyte. - + * insdel.c (copy_text): Count down bytes_left properly in multibyte to unibyte case. @@ -1979,8 +1977,8 @@ * process.h (struct Lisp_Process): Add inherit_coding_system_flag member. - * process.c (Fset_process_inherit_coding_system_flag, - Fprocess_inherit_coding_system_flag): New functions. + * process.c (Fset_process_inherit_coding_system_flag) + (Fprocess_inherit_coding_system_flag): New functions. (syms_of_process): Defsubr them. (Fstart_process, Fopen_network_stream): Initialize inherit_coding_system_flag. @@ -2038,7 +2036,7 @@ (w32_fatal_reload_error): New function. (read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error. - * w32.c (sys_read): Clear carriage return flag. + * w32.c (sys_read): Clear carriage return flag. Report normal EOF when read fails if nothing in buffer. Only read more if more remaining. (check_windows_init_file): New function. @@ -2062,7 +2060,7 @@ (map_virt_key): Brazilian keyboards use 0xc1 for /(?) key. * w32menu.c (Vmenu_updating_frame): New variable. - (Fx_popup_menu, set_frame_menubar): Record frame whose menu is + (Fx_popup_menu, set_frame_menubar): Record frame whose menu is being updated. (syms_of_w32menu): Define Vmenu_updating_frame. @@ -2082,7 +2080,7 @@ * w32term.c (Vw32_recognize_altgr): New variable. (dumpglyphs): Update from xterm.c. (w32_ring_bell): Flash window, don't just reset its state. - (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new + (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new args to dumpglyphs. (my_set_foreground_window): New function. (w32_condemn_scroll_bars): Mark all as condemned scroll bars. @@ -2169,7 +2167,6 @@ CCL_ReadMultibyteCharacter. (CCL_WriteMultibyteChar2): Macro name changed from CCL_WriteMultibyteChar2. - (CCL_ (MAX_TABLE_SET_LEVEL): New macro. (tr_stack): New type. (translate_stack, translate_stack_pointer): New variables. @@ -2177,10 +2174,10 @@ (ccl_driver): Adjusted for the above changes. (resolve_symbol_ccl_program): New function. (Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL - program. If CCL-PRGRAM is a vector, convert symbols in it to ID + program. If CCL-PROGRAM is a vector, convert symbols in it to ID numbers by resolve_symbol_ccl_program. (Fccl_execute_on_string): Likewise. - (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector, + (Fregister_ccl_program): If the arg CCL-PROGRAM is a vector, convert symbols in it to ID numbers by resolve_symbol_ccl_program. * ccl.h (Vccl_program_table, Qccl_program_idx): Extern them. @@ -2193,7 +2190,7 @@ * fontset.h (FONT_ENCODING_NOT_DECIDED): The value is changed to 255. (find_ccl_program_func): Extern it. (Fquery_fontset): Args number changed to 2. - + * xfns.c (syms_of_xfns): Initialize find_ccl_program_func. * xterm.c (x_find_ccl_program): New function. @@ -2218,7 +2215,7 @@ * window.c (Fset_window_configuration): Fix mixing of Lisp_Object and int. - * sysdep.c (init_sys_modes): Fix mixing of Lisp_Object and int + * sysdep.c (init_sys_modes): Fix mixing of Lisp_Object and int. * search.c (compile_pattern, compile_pattern_1): Fix mixing of Lisp_Object and int. @@ -2241,13 +2238,13 @@ * frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Fix mixing of Lisp_Object and int. - * fns.c (Fsubstring, substring_both, Fchar_table_range, - Fset_char_table_range): Fix mixing of Lisp_Object and int. + * fns.c (Fsubstring, substring_both, Fchar_table_range) + (Fset_char_table_range): Fix mixing of Lisp_Object and int. * fileio.c (Fwrite_region): Fix mixing of Lisp_Object and int. * editfns.c (Fchar_after, Fchar_before): Fix mixing of Lisp_Object - and int + and int. * coding.c (code_convert_region): Fix mixing of Lisp_Object and int. @@ -2260,18 +2257,18 @@ * cm.h: Update return types of declarations. * xterm.h, puresize.h, termhooks.h, lisp.h, keyboard.h, - intervals.h, dispextern.h, blockinput.h, coding.h: Add more - prototypes. + * intervals.h, dispextern.h, blockinput.h, coding.h: + Add more prototypes. * xterm.c, xselect.c, xrdb.c, xmenu.c, xdisp.c, window.c, - widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c, - search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c, - marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c, - frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c, - eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c, - data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c, - casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c, - buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings. + * widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c, + * search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c, + * marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c, + * frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c, + * eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c, + * data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c, + * casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c, + * buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings. * buffer.c (Fset_buffer_multibyte): Do nothing if nothing actually changes. @@ -2293,7 +2290,7 @@ (printchar, strout): If echo area text converted to multibyte does not all fit, truncate it at char boundary. - * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): + * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): When calling set_marker_both, pass the right buffer. * indent.c (Fcompute_motion): Check that TO and FROM are in range. @@ -2367,7 +2364,7 @@ (syms_of_charset): Defsubr it. (multibyte_form_length): Modified to be consistent with string_to_non_ascii_char. - + * charset.h (MULTIBYTE_FORM_LENGTH): Don't check LEN here. * xdisp.c (display_text_line): Code for displaying a character by @@ -2477,7 +2474,7 @@ Function moved after set_intervals_multibyte_1. * xdisp.c (redisplay_window): If updating mode line, - temporarily change selected_frame + temporarily change selected_frame. 1998-04-02 Dave Love @@ -2547,7 +2544,7 @@ * fileio.c (barf_or_query_if_file_exists): New arg QUICK. All calls changed. - + 1998-03-27 Richard Stallman * insdel.c (check_markers_debug_flag): New variable. @@ -2568,7 +2565,7 @@ * coding.c (code_convert_region): Call adjust_before_replace in the no-conversion case. Adjust GPT, ZV and Z in chars. - + 1998-03-25 Richard Stallman * lread.c (init_lread): Init Vstandard_input. @@ -2625,7 +2622,7 @@ 1998-03-21 Richard Stallman * dired.c (Fdirectory_files): - In FULL case, compute number of characters + In FULL case, compute number of characters. * fns.c (substring_both, Fsubstring): Use make_specified_string. (concat): Make string result unibyte or multibyte as appropriate. @@ -2670,7 +2667,7 @@ * xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes. - * insdel.c: (insert_from_string_1, replace_range): + * insdel.c (insert_from_string_1, replace_range): Use STRING_MULTIBYTE to determine whether string is multibyte. * editfns.c: Use STRING_BYTES and SET_STRING_BYTES. @@ -2678,11 +2675,11 @@ (Ftranspose_regions): Try to handle combining bytes. * alloc.c, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, search.c, - process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c, - frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c, - charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c, - bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c: Use - STRING_BYTES and SET_STRING_BYTES. + * process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c, + * frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c, + * charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c, + * bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c: + Use STRING_BYTES and SET_STRING_BYTES. * xmenu.c: Don't include puresize.h any more as code that needs it has moved to keyboard.c. @@ -2714,7 +2711,7 @@ 1998-03-21 Richard Stallman * dired.c (Fdirectory_files): In FULL case, - compute number of characters + compute number of characters. * insdel.c (insert_from_string_1, replace_range): Use STRING_MULTIBYTE to determine whether string is multibyte. @@ -2733,7 +2730,7 @@ * fns.c (substring_both, Fsubstring): Use make_specified_string. (concat): Make string result unibyte or multibyte as appropriate. - + * doc.c (Fsubstitute_command_keys): Use make_string_from_bytes. * coding.c (code_convert_string): Use make_string_from_bytes. @@ -2748,7 +2745,7 @@ * editfns.c (Fchar_to_string): Use make_string_from_bytes. (Fformat): Use make_specified_string. (make_buffer_string_both): Use make_uninit_string if buffer is unibyte. - + * sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string. * lread.c (read1): Pass new arg to make_pure_string. @@ -2769,16 +2766,16 @@ * lisp.h (STRING_BYTES, SET_STRING_BYTES): New macros. * All files: Use STRING_BYTES and SET_STRING_BYTES. - + * editfns.c (Ftranspose_regions): Try to handle combining bytes. * insdel.c (replace_range): New arg NOMARKERS. - + 1998-03-20 Richard Stallman * cmds.c (internal_self_insert): Pass new arg to replace_range. - - * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1): - (adjust_before_replace, adjust_after_replace, replace_range): + + * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1) + (adjust_before_replace, adjust_after_replace, replace_range) (del_range_2): Call record_delete the new way. Use make_buffer_string_both to make the string to pass. @@ -2787,7 +2784,7 @@ * undo.c (record_delete): Replace LENGTH arg with STRING. (record_change): Call record_delete the new way. - + * Makefile.in (keymap.o): Depend on puresize.h. (xmenu.o): Don't depend on puresize.h. @@ -2796,17 +2793,17 @@ * keyboard.h (item_properties): New variable. (ITEM_PROPERTY_...): New macros. - * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap, - copy-keymap, where_is_internal_1): Support new format for menu items. + * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap) + (copy-keymap, where_is_internal_1): Support new format for menu items. (syms_of_keymap): New symbol `menu-item'. - + * keyboard.c: Include puresize.h for CHECK_IMPURE. (parse_menu_item): New function. (menu_item_eval_property_1, menu_item_eval_property) New suroutines. (menu_bar_one_keymap): Moved some code to menu_bar_item. (menu_bar_item): Rewritten to use parse_menu_item. (menu_bar_item_1): Function deleted. - (QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio): + (QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio) (Qmenu_alias): New variables. (syms_of_keyboard): Initialize them, and item_properties. @@ -2919,7 +2916,7 @@ * process.c (exec_sentinel, read_process_output): Fstore_match_data => Fset_match_data. - + * xmenu.c (set_frame_menubar): Fstore_match_data => Fset_match_data. * xdisp.c (message_dolog): Save and restore Vdeactivate_mark. @@ -3018,14 +3015,14 @@ * lisp.h (struct Lisp_Buffer_Local_Value): Field car renamed to realvalue. New fields check_frame, found_for_buffer, found_for_frame, buffer, frame. - + * data.c (store_symval_forwarding, swap_in_symval_forwarding) (set_internal, default_value, Fset_default, Fmake_local_variable) (Fmake_variable_buffer_local, Fkill_local_variable): Handle new data structure for struct Lisp_Buffer_Local_Value. (Fmake_variable_frame_local): New function. - * buffer.c (set_buffer_internal_1) + * buffer.c (set_buffer_internal_1) (swap_out_buffer_local_variables): Handle new data structure for struct Lisp_Buffer_Local_Value. @@ -3044,7 +3041,7 @@ Call set_search_regs differently in a forward search. (boyer_moore): Fix up the code that translates the pattern and loops thru equivalent characters. - + 1998-03-07 Richard Stallman * insdel.c (adjust_markers_for_insert): New arg COMBINED_AFTER_BYTES. @@ -3078,7 +3075,7 @@ 1998-03-04 Kenichi HANDA * buffer.c (Fset_buffer_multibyte): Fix arg for chars_in_text. - Be sure not to have a multibyte sequence striding over the GAP + Be sure not to have a multibyte sequence striding over the GAP. * charset.c (strwidth): Make it work for invalid bytes sequence. (Fstring_width): Give byte length of STR to strwidth. @@ -3178,7 +3175,7 @@ (list2, list3, list4, list5): New function decl. (Fwrite_region): Add an argument. (compare_window_configurations): New function decl. - + * keyboard.c: Include syntax.h. (interrupt_signal): Save and restore gl_state around an immediate quit, in case debugger returns. @@ -3200,7 +3197,7 @@ * callproc.c (Fcall_process_region): Pass new arg to Fwrite_region. 1998-03-01 Ilya Zakharevich - + * syntax.c (update_syntax_table): Properly update `position' field of used intervals. @@ -3312,27 +3309,27 @@ 1998-02-19 Kenichi Handa - * buffer.c (advance_to_char_boundary): Make the behaviour + * buffer.c (advance_to_char_boundary): Make the behavior consistent with INC_POS. * ccl.c (Fccl_execute_on_string): Add new arg UNIBYTE-P. * charset.h (INC_POS): Use macro BASE_LEADING_CODE_P. - (DEC_POS): Make the behaviour consistent with INC_POS. + (DEC_POS): Make the behavior consistent with INC_POS. (BUF_INC_POS, BUF_DEC_POS): Likewise. * charset.c (invalid_character): New function. - (chars_in_text): Make the behaviour consistent with INC_POS. + (chars_in_text): Make the behavior consistent with INC_POS. (multibyte_chars_in_text): Likewise. (str_cmpchar_id): Likewise. (non_ascii_char_to_string): Call invalid_character. (Fchar_direction): Likewise. * coding.c (decode_coding_iso2022): Update coding->fake_multibyte. - (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3, - encode_coding_iso2022, decode_coding_sjis_big5, - encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding, - encode_coding): Likewise. + (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3) + (encode_coding_iso2022, decode_coding_sjis_big5) + (encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding) + (encode_coding): Likewise. (shrink_decoding_region, shrink_encoding_region): Do not skip non-ASCII code in any cases. Bug fix for getting starting address from BEG. @@ -3371,7 +3368,7 @@ * search.c (search_buffer): Update POS_BYTE for regexp search. * xdisp.c (display_text_line): Handling of a wide-column character - fixed. Make the behaviour consistent with INC_POS. + fixed. Make the behavior consistent with INC_POS. 1998-02-18 Richard Stallman @@ -3486,7 +3483,7 @@ * buffer.c (advance_to_char_boundary): New function. (Fset_buffer_multibyte): Advance all byte-positions to char boundaries. Clear undo list. - + * fontset.h (GENERIC_FONT_PTR): Commented-out definition deleted. 1998-02-06 Kenichi Handa @@ -3504,7 +3501,7 @@ * editfns.c (Fposition_bytes): New function. (syms_of_editfns): defsubr it. - * fns.c (Fstring_bytes): New function. + * fns.c (Fstring_bytes): New function. (syms_of_fns): defsubr it. 1998-02-05 Richard Stallman @@ -3562,7 +3559,7 @@ * callproc.c (Fcall_process): Allow creating a new buffer for the output. -1998-01-30 Kenichi Handa Kenichi Handa +1998-01-30 Kenichi Handa * coding.c (ENCODE_ISO_CHARACTER): Pay attention to CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS. @@ -3678,12 +3675,12 @@ heading_ascii. Deleted members last_block, direction, selective, carryover, carryover_size. (CODING_MAY_REQUIRE_DECODING): New macro. - (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT, - CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): New - macros. + (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT) + (CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): + New macros. (Qraw_text): Extern it. - * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char; + * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char. (DECODE_CHARACTER_DIMENSION1): Likewise. (Qraw_text, Qcoding_category): New variables. (syms_of_coding): Intern and staticpro them. @@ -3705,7 +3702,7 @@ Update coding->heading_ascii. (detect_eol_type): New arg SKIP. (detect_eol): Adjusted for the change of detect_eol_type. - (ccl_codign_driver): New function. + (ccl_coding_driver): New function. (decode_coding): Arg CONSUMED deleted, and the meaning of return value changed. Update members produced, produced_char, consumed, consumed_char of the struct *coding. @@ -3721,13 +3718,13 @@ change of code_convert_string. (Fupdate_iso_coding_systems): New function. (init_coding_once): Initialize coding_system_table. - + * data.c (Faset): Allow setting a multibyte character in a multibyte string as far as it doesn't change the size_byte of the string. * fileio.c (Finsert_file_contents): Adjusted for the change of - struct coding_system and function decode_coding. For normail file + struct coding_system and function decode_coding. For normal file reading, use code_convert_region. (Fwrite_region): Adjusted for the change of struct coding_system. (e_write): Adjusted for the change of encode_coding. @@ -3803,32 +3800,31 @@ (struct iso2022_spec): New member. last_invalid_designation_register. (struct coding_system): New member inhibit_inconsistent_eol_type. - (CODING_CATEGORY_IDX_ISO_7_TIGHT, - CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros. - (CODING_CATEGORY_MASK_ANY): Include - CODING_CATEGORY_MASK_ISO_7_TIGHT. + (CODING_CATEGORY_IDX_ISO_7_TIGHT, CODING_CATEGORY_MASK_ISO_7_TIGHT): + New macros. + (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_ISO_7_TIGHT. (coding_category_table, coding_category_name): Extern deleted. (Vselect_safe_coding_system_function): Extern it. - + * charset.h (MAX_CHAR_COMPOSITION): New macro. (CHAR_CHARSET): Check more strictly. (CODING_FLAG_ISO_DESIGNATION): New macro. 1998-01-21 Kenichi Handa - * ccl.h: (struct ccl_program): New member private_state. + * ccl.h (struct ccl_program): New member private_state. - * ccl.c (Vccl_translation_table_vector, Qccl_program, - Qccl_translation_table, Qccl_translation_table_id): New variables. - append new symbols. Qccl_translation_table and + * ccl.c (Vccl_translation_table_vector, Qccl_program) + (Qccl_translation_table, Qccl_translation_table_id): New variables. + Append new symbols. Qccl_translation_table and Qccl_translation_table_id. (CCL_Call): Fix the comment. - (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter, - CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl, - CCL_IterateMultipleMap, CCL_TranslateMultipleMap): New macros for - CCL Commands. + (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter) + (CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl) + (CCL_IterateMultipleMap, CCL_TranslateMultipleMap): + New macros for CCL Commands. (EXCMD): New macro. - (ccl_driver): New case lable `CCL_Extention'. + (ccl_driver): New case label `CCL_Extention'. (setup_ccl_program): Initialize the member `private_state' of CCL. (Fregister_ccl_program): Delete unused variable IDX. (Fregister_ccl_translation_table): New function. @@ -3864,20 +3860,20 @@ * charset.c (nonascii_insert_offset): Variable moved from cmds.c. (syms_of_charset): Initialize variable. - * cmds.c (internal_self_insert, Fself_insert_command): + * cmds.c (internal_self_insert, Fself_insert_command): Use unibyte_char_to_multibyte. (nonascii_insert_offset): Variable moved to charset.c. (syms_of_cmds): Don't initialize nonascii_insert_offset. * fileio.c (Fsubstitute_in_file_name): Use unibyte_char_to_multibyte. - + * keyboard.c (command_loop_1): Use unibyte_char_to_multibyte. * xdisp.c (message_dolog): Use unibyte_char_to_multibyte. Pass different args to scan_newline. Properly compare oldpoint with Z. - - * syntax.c (skip_chars): Use unibyte_char_to_multibyte, + + * syntax.c (skip_chars): Use unibyte_char_to_multibyte. * fns.c (concat): Use unibyte_char_to_multibyte. @@ -4100,7 +4096,7 @@ (insert_from_buffer_1): Call copy_text to convert between single-byte and multibyte text. (insert_from_string_1): Likewise. - + * process.c (read_process_output): New var `multibyte'. Set it according to which coding system was used. @@ -4168,7 +4164,7 @@ insert_from_string. Scan string by bytes and chars. (Ftry_completion): Use size_byte while comparing. (Fall_completions): Use size_byte while comparing. - (test_completion): + (test_completion): Pass both kinds of size to oblookup. * editfns.c (syms_of_editfns): Delete defsubr for sref. @@ -4218,8 +4214,8 @@ * keyboard.c (read_char): Use Faref on Vkeyboard_translate_table if it is a string. (apply_modifiers_uncached): New arg base_len_byte. Calls changed. - (read_char_minibuf_menu_prompt): - (read_key_sequence): Access buffer's downcase_table with XCHAR_TABLE. + (read_char_minibuf_menu_prompt, read_key_sequence): Access buffer's + downcase_table with XCHAR_TABLE. (Fexecute_extended_command): Use Faref to access FUNCTION. Use size_byte of BINDING. (stuff_buffered_input): Use size_byte of STUFFSTRING. @@ -4263,7 +4259,7 @@ Initialize print_buffer_pos_byte. Use insert_1_both. (printchar): Update print_buffer_pos_byte and print_buffer_pos. (print_buffer_pos_byte): New variable. - + * editfns.c (general_insert_function): Pass the additional args to INSERT_FROM_STRING_FUNC. (Fchar_to_string): Use make_multibyte_string. @@ -4274,9 +4270,8 @@ (Fmessage, Fmessage_box): Update message_text based on size_byte. * insdel.c (insert_from_string): New args POS_BYTE, LENGTH. - (insert_from_string_before_markers): - (insert_from_string_1): New arg POS_BYTE. Swap args NCHARS, NBYTES. - Don't fail to use POS_BYTE! + (insert_from_string_before_markers, insert_from_string_1): New arg + POS_BYTE. Swap args NCHARS, NBYTES. Don't fail to use POS_BYTE! (insert_from_buffer_1): Get both inschars and insbytes from NEW. * alloc.c (make_uninit_multibyte_string): New function. @@ -4301,13 +4296,13 @@ (Fstring): Renamed from Fconcat_chars. Handle bytes vs chars in string. (syms_of_charset): Corresponding changes. - + * fns.c (concat, Fsubstring, internal_equal, mapcar1): Distinguish bytes and chars when indexing strings. (Fstring_equal, Fstring_lessp): Likewise. (substring_both): New function. (string_char_to_byte, string_byte_to_char): New functions. - + * charset.h (FETCH_STRING_CHAR_ADVANCE): New macro. * lisp.h (struct lisp_String): New field size_byte. @@ -4319,16 +4314,16 @@ * window.c (Fselect_window): Don't set OW->pointm if OW->buffer is nil. (Fset_window_configuration): Set old selected window's pointm. - + * minibuf.c (Fcompleting_read): Doc fix. - * keymap.c (current_minor_maps): + * keymap.c (current_minor_maps): If a variable has an entry in Vminor_mode_overriding_map_alist, and also an entry in Vminor_mode_map_alist, ignore the latter. 1998-01-01 Richard Stallman - * Markers now have an ordinary bytepos, not including the gap: + Markers now have an ordinary bytepos, not including the gap: * marker.c (buf_bytepos_to_charpos): Use marker bytepos, not bufpos. (buf_charpos_to_bytepos, marker_byte_position): Likewise. @@ -4350,7 +4345,7 @@ * lisp.h (struct Lisp_Marker): Rename `bufpos' to `bytepos'. Its value no longer includes the gap space. - + * editfns.c (Fchar_after): Fix previous change. * fileio.c (a_write): Fix prototype. @@ -4360,7 +4355,6 @@ (insert_1, indented_beyond_p): Decls changed. (move_gap_both, del_range_byte, del_range_both, del_range_2) (scan_newline, Ffile_locked_p): New decls. - (struct Lisp_Marker): * search.c (scan_newline): Always restore prev value of immediate_quit. @@ -4388,7 +4382,7 @@ * charset.h (CHAR_HEAD_P): Take char, not pointer, as arg. * window.c (unshow_buffer): Set PT with TEMP_SET_PT_BOTH. - + * indent.c (indented_beyond_p): Take POS in bytes and chars. Callers changed. (pos_tab_indent): Function moved to xdisp.c. @@ -4398,9 +4392,9 @@ * xdisp.c (redisplay_internal): Use scan_newline. (display_text_line, try_window_id): Use scan_newline. - * xdisp.c (pos_tab_indent): Moved from indent,c. Now static. + * xdisp.c (pos_tab_indent): Moved from indent.c. Now static. Take POS in bytes and chars. Callers changed. - + * indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH. (indented_beyond_p, current_column_1): Likewise. @@ -4421,7 +4415,7 @@ (window_scroll): Save and restore both kinds of pointers. * process.c (status_notify): Use byte and char pointers. - + * callint.c (Fcall_interactively) <'d', 'r'>: Use set_marker_both. * emacs.c (abort): New function. @@ -4451,14 +4445,14 @@ (message_log_check_duplicate): Take charpos and bytepos args. (message_dolog): Use markers to update old PT, BEGV, ZV. Use scan_newline. Handle positions in bytes and chars. - + 1997-12-28 Richard Stallman * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix. * coding.c (code_convert_region): Handle bytepos and charpos. (Fdetect_coding_region): Likewise. - + * Makefile.in (marker.o): Depend on charset.h. 1997-12-27 Richard Stallman @@ -4491,7 +4485,7 @@ * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos. Wrap in if (1) ... else. - + * minibuf.c (Fminibuffer_complete_word): Handle bytes vs characters when comparing buffer against string. (temp_echo_area_glyphs): Save, update, delete text using @@ -4505,13 +4499,13 @@ * buffer.h (DECODE_POSITION): New macro. (CHAR_TO_BYTE, BYTE_TO_CHAR): New macros. - + * buffer.h (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE) (ZV_BYTE, Z_BYTE): New macros. (BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE) (BUF_ZV_BYTE, BUF_Z_BYTE): New macros. (BUF_GAP_END_ADDR): New macro. - (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR): + (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR): Use the new ..._byte buffer data. (BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise. (BUF_GPT_ADDR, BUF_Z_ADDR): Likewise. @@ -4543,7 +4537,7 @@ (write_abbrev): Return void. (Fexpand_abbrev): Scan in bytepos along with charpos. (Funexpand_abbrev): Use bytepos to delete the expansion. - + * charset.h (INC_POS, DEC_POS): Fix because arg is a bufpos. (BUF_INC_POS, BUF_DEC_POS): New macros. (INC_BOTH, DEC_BOTH): New macros. @@ -4567,7 +4561,7 @@ use readchar_backlog to fetch bytes from a character. (unreadchar): Increment readchar_backlog. (readevalloop, Fread): Init readchar_backlog. - + * charset.c (Fchar_boundary_p): Always return 0. (Fchars_in_region): Just subtract the arguments. (chars_in_text): New function. @@ -4612,28 +4606,28 @@ (Fmove_to_column): Scan with bytepos and charpos. (pos_tab_offset): Use bytepos to do FETCH_BYTE. (skip_invisible): Don't worry about position in middle of character. - + * xdisp.c (try_window): Pass bytepos to and from display_text_line. (try_window_id): Likewise. Use byte pos as well as charpos. (redisplay_internal): Handle bytepos for tlbufpos. * xdisp.c (message): Cast last arg to doprnt. - + * indent.h (struct position): New field bytepos. * keyboard.c (command_loop_1): Use PT_BYTE when calling FETCH_BYTE. Instead of Fforward_point, just add. - + * search.c (looking_at_1): Use bytepos to call re_search_2. Convert search regs to charpos, if search succeeded. (search_buffer): Likewise. Also convert charpos <-> bytepos in non-regexp case. - (scan_buffer): Convert charpos <-> bytepos. + (scan_buffer): Convert charpos <-> bytepos. (scan_newline): New function. (find_next_newline): Function deleted. (set_search_regs): Args now in bytes; convert to charpos. (Freplace_match): Convert charpos <-> bytepos when scanning case. - + * fileio.c (restore_point_unwind): Now static. Use Fgoto_char. (Funhandled_file_name_directory): Doc fix. (Finsert_file_contents): Handle bytes vs chars. @@ -4642,7 +4636,7 @@ (e_write): Rename args. (Funhandled_file_name_directory): Doc fix. (a_write, e_write): Now static. - + * editfns.c (Fgoto_char): When arg is a marker, copy char and byte positions from it. When arg is an integer, no need to worry that it is in middle of a character. @@ -4710,9 +4704,9 @@ (message2): Pass new arg to message2_nolog. (message1_nolog): Likewise. - * keyboard.c (Fexecute_extended_command): + * keyboard.c (Fexecute_extended_command): Save message_enable_multibyte and pass it to message2_nolog. - + * alloc.c (Fgarbage_collect): Save message_enable_multibyte and pass it to message2_nolog. @@ -4734,7 +4728,7 @@ * xdisp.c (message_dolog): Convert between single-byte and multibyte when inserting text into *Messages*. - + 1997-12-11 Richard Stallman * sysdep.c (sys_signal): Add two casts. @@ -4742,7 +4736,7 @@ 1997-12-09 Richard Stallman * callproc.c (Fcall_process): Don't clobber new_argv[0] - in the case of no args. + in the case of no args. 1997-12-09 Kenichi Handa @@ -4799,51 +4793,49 @@ * eval.c (do_autoload): Return void. * sysdep.c (reset_sigio): Return void. - + * keyboard.c (Fsuspend_emacs): Cast init_sys_modes when calling record_unwind_protect. * keymap.c (describe_map): Fix decl of arg ELT_DESCRIBER. - * process.c (create_process, deactivate_process, close_process_descs): + * process.c (create_process, deactivate_process, close_process_descs) (kill_buffer_processes, status_notify): Return void. (Fstart_process): Cast arg to create_process. - * undo.c (record_insert, record_delete, record_marker_adjustment): + * undo.c (record_insert, record_delete, record_marker_adjustment) (record_change, record_first_change, record_property_change): Return void. 1997-11-27 Ken'ichi Handa - * undo.c (record_change, record_first_change, - record_property_change): Declare them as void. + * undo.c (record_change, record_first_change, record_property_change): + Declare them as void. (record_delete, record_marker_adjustment): Declare them as void. - + * indent.c (invalidate_current_column): Declare it as void. * fileio.c (report_file_error): Declare it as void. * filelock.c (unlock_buffer): Declare it as void. - * buffer.c (nsberror, record_buffer, validate_region, - fix_overlay_before): Declare them as void. + * buffer.c (nsberror, record_buffer, validate_region) + (fix_overlay_before): Declare them as void. - * sysdep.c (discard_tty_input, init_baud_rate, - wait_for_termination, flush_pending_output, child_setup_tty, - sys_suspend, sys_subshell, init_sigio, request_sigio, - unrequest_sigio, init_sys_modes, get_frame_size, reset_sys_modes, - setup_pty): Declare them as void. + * sysdep.c (discard_tty_input, init_baud_rate, wait_for_termination) + (flush_pending_output, child_setup_tty, sys_suspend, sys_subshell) + (init_sigio, request_sigio, unrequest_sigio, init_sys_modes) + (get_frame_size, reset_sys_modes, setup_pty): Declare them as void. * keymap.c (describe_vector): Declaration fixed (delete `.' at the tail of type `void'. (fix_submap_inheritance): Declare it as void. - * keyboard.c (echo_now, record_auto_save, cmd_error_internal, - start_polling, stop_polling, bind_polling_period, - timer_start_idle, timer_stop_idle, gobble_input, - record_asynch_buffer_change, clear_input_pending, - stuff_buffered_input, clear_waiting_for_input, - quit_throw_to_read_char): Declare these as void. + * keyboard.c (echo_now, record_auto_save, cmd_error_internal) + (start_polling, stop_polling, bind_polling_period, timer_start_idle) + (timer_stop_idle, gobble_input, record_asynch_buffer_change) + (clear_input_pending, stuff_buffered_input, clear_waiting_for_input) + (quit_throw_to_read_char): Declare these as void. (Fsuspend_emacs): Delete unnecessary extern declaration for init_sys_mode. (Fexecute_extended_command): Give Voverriding_local_map as the @@ -4857,7 +4849,7 @@ * xdisp.c (redisplay_preserve_echo_area): Declare it as void. * charset.c (strwidth): Remove extra argument to buffer_display_table. - + 1997-11-25 Andreas Schwab * charset.h (SPLIT_STRING): Remove extra argument to @@ -4898,7 +4890,8 @@ (Fformat_time_string): Doc fix: %b, %h, %B, %a, %A, and %p depend on locale; don't use actual chars to describe %n and %t. - * src/Makefile.in (strftime.o), src/makefile.nt ($(BLD)\strftime.obj): + * src/Makefile.in (strftime.o): + * src/makefile.nt ($(BLD)\strftime.obj): No need to compile with -Dstrftime=emacs_strftime any more. 1997-11-22 Richard Stallman @@ -4956,7 +4949,7 @@ * buffer.h: Add more prototypes and function declarations. * print.c (printchar): Declare `work' as unsigned char. - (internal_with_output_to_temp_buffer): Protoype parameter + (internal_with_output_to_temp_buffer): Prototype parameter FUNCTION. (Ferror_message_string): Remove extra argument of print_error_message. @@ -5024,7 +5017,7 @@ * xdisp.c (display_text_line): Make decision about which windows highlight the region in just once place. - When minibuffer is selected, show the region in the previous window, + When minibuffer is selected, show the region in the previous window. * charset.h (ASCII_BYTE_P): New macro. @@ -5041,12 +5034,12 @@ 1997-11-10 Eli Zaretskii * msdos.c: Support for Japanese display on DOS/V systems. - (screen_old_address, screen_virtual_segment, - screen_virtual_offset): New variables. + (screen_old_address, screen_virtual_segment, screen_virtual_offset): + New variables. (dosv_refresh_virtual_screen): New function. - (dos_direct_output, dos_set_window_size, IT_write_glyphs, - IT_clear_end_of_line, IT_clear_screen, IT_display_cursor, - IT_reset_terminal_modes, XMenuActivate, abort): Call + (dos_direct_output, dos_set_window_size, IT_write_glyphs) + (IT_clear_end_of_line, IT_clear_screen, IT_display_cursor) + (IT_reset_terminal_modes, XMenuActivate, abort): Call dosv_refresh_virtual_screen if under DOS/V. (IT_set_terminal_modes): If under DOS/V, update the address of primary screen buffer. @@ -5069,13 +5062,13 @@ * coding.h (struct coding_system): Add member common_flags, delete member require_flushing. - (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK, - CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): New - macros. + (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK) + (CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): + New macros. (CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION): These macros deleted. - (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING, - CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros. + (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING) + (CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros. * editfns.c (Fsref): If IDX points an 8-bit code which is not part of multibyte characters, return it. Pay attention to @@ -5126,7 +5119,7 @@ 1997-10-24 Richard Stallman - * frame.c (Fmouse_pixel_position, Fmouse_position): + * frame.c (Fmouse_pixel_position, Fmouse_position): Pass -1 as INSIST arg to mouse_position_hook. * w32term.c (w32_mouse_position): Handle INSIST < 0. * xterm.c (XTmouse_position): Handle INSIST < 0. @@ -5146,7 +5139,7 @@ * charset.h (CHAR_VALID_P): Renamed from VALID_CHAR_P, new argument GENERICP. Call char_valid_p for a non-ASCII character. - * charset.c (char_valid_p): New function + * charset.c (char_valid_p): New function. (Fchar_valid_p): New function. (syms_of_charset): Declare it as a Lisp function. @@ -5203,7 +5196,7 @@ 1997-10-21 Kenichi Handa - * Makefile.in (xselect.o): Depend on buffer.h + * Makefile.in (xselect.o): Depend on buffer.h. * coding.c (Qcoding_system_spec): Deleted. (Vcoding_system_list, Vcoding_system_alist): New variables. @@ -5295,7 +5288,7 @@ * emacs.c (shut_down_emacs): Call `dos_cleanup'. - * msdos.c (mouse_get_pos): Remove reduntant call to `int86'. + * msdos.c (mouse_get_pos): Remove redundant call to `int86'. Clear the mouse-moved flag for all frames. Update last mouse position. (IT_set_menu_bar_lines): Remove. @@ -5309,9 +5302,9 @@ * dosfns.c (__tb): Define. (restore_parent_vm_title): New function. (ms_windows_version): New function. - (w95_set_virtual_machine_title): New function + (w95_set_virtual_machine_title): New function. (x_set_title): New function. - (dos_cleanup): New function + (dos_cleanup): New function. (syms_of_dosfns): Define `dos-windows-version' Lisp variable. (init_dosfns): Compute MS-Windows version and save the original title of our DOS box. @@ -5466,7 +5459,7 @@ Decode all result file names using Vfile_name_coding_system. * coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes. - + 1997-09-07 Richard Stallman * lread.c (Feval_buffer): New arg FILENAME. @@ -5476,7 +5469,7 @@ 1997-09-07 Geoff Voelker * firstfile.c: New file. - + 1997-09-07 Richard Stallman * xdisp.c (display_string): Determine multibyte from current buffer, @@ -5491,7 +5484,7 @@ * unexelf.c: Test __OpenBSD__ along with __NetBSD__. [__OpenBSD__]: Include sys/exec_elf.h. - + 1997-09-05 Ken'ichi Handa * coding.c (Ffind_operation_coding_system): If a function in @@ -5505,7 +5498,7 @@ * lisp.h (Fread_coding_system): Update decl. * callint.c (Fcall_interactively): Pass new arg to Fread_coding_system. - + 1997-09-04 Richard Stallman * m/alpha.h (PTY_OPEN): Call sigblock properly. @@ -5581,7 +5574,7 @@ a separate .bss section conditional. Use my_begbss and my_endbss to determine .bss size by default. Look for Emacs data in EMDATA section. - + * w32.c: Include stddef.h. (getwd): Delete macro. (startup_dir): New variable. @@ -5598,9 +5591,9 @@ (sys_link): Support NTFS links. (sys_rename): Use a long file name for temporary name. (sys_pipe): Make pipes binary and non-inheritable. - (sys_read, sys_write): Spoof text mode translation for pipes + (sys_read, sys_write): Spoof text mode translation for pipes and sockets. - + (hashval): Simplify. (generate_inode_val): Use long file name version of file. @@ -5615,18 +5608,18 @@ (lookup_volume_info, add_volume_info, GetCachedVolumeInformation): New functions. (get_volume_info): Use volume_info_data. - Use GetCachedVolumeInformation. + Use GetCachedVolumeInformation. (init_ntproc): No longer restrict to one DOS subprocess. Use CRT _open and _fdopen. Cache fixed drive information. - + * w32.h: Remove debugging macros. (child_process): Remove is_dos_process field, add hwnd handle field. (FILE_LAST_CR): New macro. (w32_get_long_filename): Declare extern. - * w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console): + * w32console.c (DebPrint, reset_kbd, unset_kbd, take_console): Delete functions. (keyboard_init_hook): Delete variable. (prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable. @@ -5640,10 +5633,10 @@ * w32fns.c: Include limits.h and errno.h. Declare externs from other files. - (w32_in_use): New variable. - (check_w32, have_menus_p, x_set_title, w32_msg_worker, - find_deferred_msg, send_deferred_msg, complete_deferred_msg, - Fw32_focus_frame, W32-send-sys-command): New functions. + (w32_in_use): New variable. + (check_w32, have_menus_p, x_set_title, w32_msg_worker) + (find_deferred_msg, send_deferred_msg, complete_deferred_msg) + (Fw32_focus_frame, W32-send-sys-command): New functions. (last_mouse_movement_time): Delete variable. (x_frame_parms): Alphabetize. Add title parm. @@ -5654,7 +5647,7 @@ (x_icon): Initial support for creating window iconified. (x_display_info_for_name): Set w32_in_use. (Fx_open_connection): Validate Vwindow_system. Set w32_in_use. - + (w32_create_window): Set window size to frame dimensions. Set font width, line height, border, scrollbar indexes. Don't set X and Y units indexes. @@ -5662,7 +5655,7 @@ Make static. Don't post done message. No longer handle create scrollbar message. Don't abort on anomalous messages. Return when completion detected. - (w32_wnd_proc): Keep track of button state. + (w32_wnd_proc): Keep track of button state. For WINDOWPOSCHANGING, force window dimensions to be multiples of character dimensions. Handle CREATESCROLLBAR. @@ -5675,7 +5668,7 @@ Set icon name. Use courier new as default font (has bold and italic). Set BufferPredicate and Title default parameters. - + (x_to_w32_weight): Support semibold weight. (x_to_w32_charset): Map # to numeric charset identifier. (w32_to_x_charset): Encode unknown charsets as a number. @@ -5697,23 +5690,23 @@ * w32inevt.c: Declare externs from other files. (w32_kbd_mods_to_emacs): New parameter KEY. Use w32-capslock-is-shiftlock for old behavior. - (key_event): Pass in new parameter to w32_kbd_mods_to_emacs. - + (key_event): Pass in new parameter to w32_kbd_mods_to_emacs. + * w32menu.c (init_menu_items): Disable code. (x_activate_menubar): New function. (initialize_frame_menubar): Pass in new param to set_frame_menubar. - + * w32proc.c: Include w32heap.h. - (Vw32_start_process_share_console, Vw32_generate_fake_inodes, - Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): + (Vw32_start_process_share_console, Vw32_generate_fake_inodes) + (Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir): New variables. - (find_child_console, set_process_dir, Fw32_short_file_name, - Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info, - Fw32_get_current_locale_id, Fw32_get_default_local_id, - Fw32_set_current_locale): New functions. + (find_child_console, set_process_dir, Fw32_short_file_name) + (Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info) + (Fw32_get_current_locale_id, Fw32_get_default_local_id) + (Fw32_set_current_locale): New functions. (CORRECT_DIR_SEPS): New macro. (create_child): Create a new console if subprocs don't share parent's. - (reap_subprocess): Don't check for dos subprocesses. + (reap_subprocess): Don't check for dos subprocesses. Add debug support. (sys_wait): Ignore socket child_procs. Check for quit while waiting. @@ -5734,19 +5727,19 @@ * w32term.c (SIF_*): Win95 macros defined for NT. (struct tagSCROLLINFO): Win95 struct defined for NT. - (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border, - vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos, - Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): New - variables. + (vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border) + (vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos) + (Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): + New variables. (w32_frame_up_to_date): Block input. (do_line_dance): Use DC while erasing, release at end. (show_mouse_face): Use column and endcolumn calculated at start of loop. - (my_create_scrollbar, my_show_window, my_set_window_pos, - my_set_focus) [! ATTACH_THREADS]: Send message to window instead - of invoking Windows procedure. - (x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click, - x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle. + (my_create_scrollbar, my_show_window, my_set_window_pos, my_set_focus) + [! ATTACH_THREADS]: Send message to window instead of invoking + Windows procedure. + (x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click) + (x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle. (x_scroll_bar_set_handle): Create proportional sized scroll handle. (w32_set_vertical_scroll_bar): Size handle according to how much is showing in window. @@ -5760,7 +5753,7 @@ Pass in new parameter to w32_kbd_mods_to_emacs. Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW, INITMENU, and ACTIVATEAPP messages. - Explicitly check for visibile and obscured frames, and to see if + Explicitly check for visible and obscured frames, and to see if any event should cause a redisplay. (x_display_bar_cursor): Don't check whether frame is updating here. @@ -5773,9 +5766,9 @@ (x_focus_on_frame): Set focus by making frame the foreground window. (x_raise_frame): Support frames to be raised without grabbing focus. (x_lower_frame): Set NOACTIVATE flag when setting window position. - (x_make_frame_visible, x_make_frame_invisible): Pass in frame + (x_make_frame_visible, x_make_frame_invisible): Pass in frame to my_show_window. - (x_iconify_frame): Send a MINIMIZE message to the window. + (x_iconify_frame): Send a MINIMIZE message to the window. (x_wm_set_size_hint): Set font width, line height, border, and scroll bar indexes instead of X and Y unit indexes. @@ -5786,7 +5779,7 @@ * w32term.h (w32_output): New fields menubar_widget, menubar_active, and pending_menu_activation. - (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables. + (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables. (W32WindowPos): Delete definition. (WM_EMACS_SETFOCUS, WND_*_INDEX): New macros. (deferred_msg): New structure. @@ -5799,7 +5792,7 @@ Undef system calls before redefining. Emulated calls redefined to sys_*, real calls redefined to _*. (DebPrint): Macro defined. - + 1997-09-02 Michael Welsh Duggan * w32term.h (WM_MOUSEWHEEL): Define if not already defined. @@ -5812,11 +5805,11 @@ * w32fns.c (win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events. Capture and handle WM_EMACS_TRACKPOPUPMENU events. - Allow a dragged selection from a popup menu started up + Allow a dragged selection from a popup menu started up by a mouse down event. (x_to_win32_color): Support for X Windows RGB string specifications. - * w32menu.c (get_frame_menubar_event): Check for the possibility + * w32menu.c (get_frame_menubar_event): Check for the possibility of a menu-bar button. A menu-bar button is a caption on the menu bar with no submenu. (set_frame_menubar): Correctly handle menu-bar buttons. @@ -5831,23 +5824,23 @@ send address of menu to win32menu_show. (win32menu_show): Send message to call popup menu rather than trying directly. get_menu_event should take an address. - Call eat_mouse_events in order to get rid of any extraneous + Call eat_mouse_events in order to get rid of any extraneous mouse events. (list_of_panes): Only bring up one pane if the length of the list of panes is one. 1997-09-02 Nico Francois - - * w32menu.c (single_keymap_panes): Fixed problem with 'descrip' + + * w32menu.c (single_keymap_panes): Fixed problem with 'descrip' lisp object not being protected properly (GCPRO). - (get_single_keymap_event): Fixed problem with 'descrip' lisp + (get_single_keymap_event): Fixed problem with 'descrip' lisp object not being protected properly (GCPRO). (name_is_separator): New function. (list_of_panes): If a pane's name is empty ("") items are now placed in the main popup instead of a blank-named submenu. This seems to be an undocumented feature of x-popup-menu. - (list_of_items): New argument HMENU. - Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item + (list_of_items): New argument HMENU. + Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item. 1997-09-02 Geoff Voelker @@ -5860,7 +5853,7 @@ override CRT routines. * w32inevt.c (key_event): New parameter isdead. Set isdead if the - key press was done using a dead key. + key press was done using a dead key. * w32term.c (w32_read_socket): Pass in new parameter to key_event. Let key_event determine whether key is dead. @@ -5884,12 +5877,12 @@ * sysdep.c (sys_subshell) [DOS_NT]: Save and restore parent's working directory. (sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console. - (init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with + (init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with a read_socket_hook. * xdisp.c (redisplay_internal): Check to see if frame is not obscured as well as visible. - + 1997-09-02 Michael Welsh Duggan * lisp.h: Declare discard_mouse_events. @@ -5915,7 +5908,7 @@ in the detect_coding_iso2022 case. * minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes. - (Fread_no_blanks_input, Fcompleting_read): Doc fixes. + (Fread_no_blanks_input, Fcompleting_read): Doc fixes. * unexnext.c: Include unistd.h instead of libc.h. @@ -5997,7 +5990,7 @@ raw-text-unix. (Fdetect_coding_region): Do not select no-conversion even if EOL format of raw-text file is inconsistent. - + 1997-08-28 Kenichi Handa * coding.c (Qno_conversion, Qundecided): New variables. @@ -6014,7 +6007,7 @@ detect it as no-conversion. (decode_coding): Handle coding_type_raw_text. (encode_coding): Likewise. - (Fdetect_coding_region): Ajusted for the above changes. + (Fdetect_coding_region): Adjusted for the above changes. (shrink_conversion_area): Handle coding_type_raw_text. * coding.h (coding_type): New member coding_type_raw_text. @@ -6069,12 +6062,12 @@ (Fread_string): New argument INHERIT_INPUT_METHOD. (Fread_no_blanks_input): Likewise. (Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil. - (Fread_function, Fread_variable, Fread_buffer): Likewise + (Fread_function, Fread_variable, Fread_buffer): Likewise. (Fcompleting_read): New argument INHERIT_INPUT_METHOD. * lisp.h (DEFUN_ARGS_8): New macro. - (Fcompleting_read, Fread_from_minibuffer, Fread_string, - Fread_no_blanks_input): Number of arguments fixed. + (Fcompleting_read, Fread_from_minibuffer, Fread_string) + (Fread_no_blanks_input): Number of arguments fixed. * eval.c (Feval): Handle a subr which takes 8 arguments. (Ffuncall): Likewise. @@ -6160,7 +6153,7 @@ * fontset.c (Valternate_fontname_alist): Name changed from Valternative_fontname_alist. (syms_of_fontset): Adjusted for the above change. - + * fontset.h: Adjusted for the name change of Valternate_fontname_alist. @@ -6278,7 +6271,7 @@ * emacs.c (main): Fix previous change. -1997-08-11 +03 Eli Zaretskii +1997-08-11 Eli Zaretskii * dosfns.c (init_dosfns): Avoid calling DOS memory-allocation service, NT DPMI server will crash Emacs in DOS box, if we do. @@ -6386,7 +6379,7 @@ * xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives. - * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore): + * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore): Don't set clip_changed if the new values are the same as the old. * fileio.c (Fwrite_region): Turn off the feature of checking @@ -6440,7 +6433,7 @@ * callproc.c (Fcall_process_region): Use cdr part (not car part) of Vdefault_process_coding_system for writing out text. - * coding.c (detect_coding_iso2022): Do not exclude posibility of + * coding.c (detect_coding_iso2022): Do not exclude possibility of 7-bit encoding when designation to G1 occurs. If CSI, SS2, or SS3 is found, return CODING_CATEGORY_MASK_ISO_8_ELSE. (Fdetect_coding_region): Doc-string modified. @@ -6487,7 +6480,7 @@ 1997-08-02 Richard Stallman * coding.c: Doc fixes. - + * lread.c (Fload): New optional arg MUST-SUFFIX. * fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload. * eval.c (do_autoload): Pass new arg to Fload. @@ -6498,7 +6491,7 @@ 1997-07-31 Ken'ichi Handa * coding.c (encode_coding_iso2022): When source data ends not at - character boundardy, set data in coding->carryover correctly, and + character boundary, set data in coding->carryover correctly, and set SRC to SRC_END. (encode_coding_sjis_big5): Likewise. (encode_coding): Don't set coding->carryover_size to 0. @@ -6553,7 +6546,7 @@ 1997-07-29 Ken'ichi Handa * xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0. - + 1997-07-28 Richard Stallman * emacs.c (sort_args): Check properly for `--'. @@ -6609,21 +6602,19 @@ 1997-07-25 Ken'ichi Handa - * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to - Qnil. + * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to Qnil. - * coding.h (CODING_REQUIRE_TEXT_CONVERSION, - CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted. + * coding.h (CODING_REQUIRE_TEXT_CONVERSION) + (CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted. (CODING_REQUIRE_NO_CONVERSION): New macro. (CODING_MAY_REQUIRE_NO_CONVERSION): New macro. * fileio.c (Finsert_file_contents): Use new macros - CODING_MAY_REQUIRE_NO_CONVERSION and - CODING_MAY_REQUIRE_NO_CONVERSION. + CODING_MAY_REQUIRE_NO_CONVERSION and CODING_REQUIRE_NO_CONVERSION. (Fwrite_region): Correct the logic for deciding coding system. * process.c (read_process_output): Use new macro - CODING_REQUIRE_NO_CONVERSION + CODING_REQUIRE_NO_CONVERSION. (send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION. * xterm.c (dumpglyphs): Check the member `encoding' of *FONTP while @@ -6687,12 +6678,12 @@ * keyboard.c (read_char): Delete spurious UNGCPRO. Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf. Initialize c before the GCPRO1. - + * frame.c (Fdelete_frame): Undo previous change. * s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this instead of LD_SWITCH_SYSTEM. - + * window.c (set_window_height): Allow all heights > 0 for minibuffer windows. (change_window_height): Fix one-off comparing DELTA with MAXIMUM. @@ -6781,9 +6772,9 @@ 1997-07-15 Kenichi HANDA - * coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted + * coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted. (CODING_CATEGORY_IDX_ISO_7_ELSE): New macro. - (CODING_CATEGORY_IDX_ISO_8_ELSE): New macro + (CODING_CATEGORY_IDX_ISO_8_ELSE): New macro. (CODING_CATEGORY_MASK_ISO_ELSE): This macro is deleted. (CODING_CATEGORY_MASK_ISO_7_ELSE): New macro. (CODING_CATEGORY_MASK_ISO_8_ELSE): New macro. @@ -6929,7 +6920,7 @@ * w32.c (sys_shutdown): New function. * s/ms-win32.h: Define HAVE_SHUTDOWN. - + 1997-07-10 Eli Zaretskii * xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer @@ -6961,7 +6952,7 @@ * xterm.c (x_load_font): Get value of fontp->height from ascent and descent members of structure font->max_bounds. - (dumpglyphs): Draw background by FillSolid if a font is too short. + (dumpglyphs): Draw background by FillSolid if a font is too short. 1997-07-08 Richard Stallman @@ -6996,7 +6987,7 @@ * syntax.h (struct gl_state_s): New field `offset'. (SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field. (SETUP_SYNTAX_TABLE): Clear offset field. - (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD): + (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD) (UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field. * s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf. @@ -7015,7 +7006,7 @@ * window.c: Include blockinput.h. (Fset_window_configuration): Block input around frobbing the frame. - Preseve point in the current buffer if we do not switch + Preserve point in the current buffer if we do not switch to a different one. 1997-07-06 Richard Stallman @@ -7037,7 +7028,7 @@ emacs-mule, and set coding system for encoding to nil. (Fopen_network_stream): If enable-multibyte-characters is nil, set coding systems for decoding and encoding to nil. - + * fileio.c (Finsert_file_contents): If enable-multibyte-characters is nil, decode character code by emacs-mule. (Fwrite_region): Use buffer-file-coding-system for encoding if @@ -7100,9 +7091,9 @@ * editfns.c (Fformat): Add second argument in call to Ftruncate. * alloc.c, buffer.c, casefiddle.c, casetab.c, category.c, - category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c, - intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c, - syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous + * category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c, + * intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c, + * syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous bugs with inappropriate mixing of Lisp_Object with int. * config.in (RE_TRANSLATE): Define to extract integers from array of Lisp_Objects. @@ -7130,7 +7121,7 @@ 1997-07-02 Richard Stallman - * process.c (send_process): Make buf and temp_buf `unsigned char *'. + * process.c (send_process): Make buf and temp_buf `unsigned char *'. * buffer.c (overlay_strings): Use unsigned char for things that relate to overlay_str_buf. @@ -7138,7 +7129,7 @@ * syssignal.h (sigpause): Don't define if already defined. * Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable. - + 1997-07-02 Andreas Schwab * Makefile.in (lisp, shortlisp): Add widget.elc. @@ -7163,9 +7154,9 @@ (ENCODE_ISO_CHARACTER): Bug of handling return value of unify_char fixed. (DECODE_SJIS_BIG5_CHARACTER): New macro. - (decode_coding_sjis_big5): Handle character unificatoin table. + (decode_coding_sjis_big5): Handle character unification table. Use macro DECODE_SJIS_BIG5_CHARACTER. - (encode_coding_sjis_big5): Handle character unificatoin table. + (encode_coding_sjis_big5): Handle character unification table. Use macro ENCODE_SJIS_BIG5_CHARACTER. (setup_coding_system): Handle members character_unification_table_for_decode and @@ -7184,7 +7175,7 @@ * fileio.c (Finsert_file_contents): Doc-string fixed. Call Ffind_operation_coding_system. - (Fwrite_region): Call Ffind_operation_coding_system. + (Fwrite_region): Call Ffind_operation_coding_system. * callproc.c: Call Ffind_operation_coding_system. @@ -7226,15 +7217,15 @@ (read_process_output): Use read instead of READ_CHILD_OUTPUT. * makefile.nt (OBJ2): Include new source files. - + * s/ms-w32.h: Duplicate undefs from config.in to check completeness. (STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value. - (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET, - HAVE_LIMITS_H, HAVE_STRERROR): Define. + (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET) + (HAVE_LIMITS_H, HAVE_STRERROR): Define. [HAVE_NTGUI] (HAVE_MENUS): Define. (SYSTEM_PURESIZE_EXTRA): Increase value. - * unexw32.c, w32heap.c: Add pragma to force zero initialized + * unexw32.c, w32heap.c: Add pragma to force zero initialized data into .data segment. * w32console.c, w32term.c: Include charset.h. @@ -7325,7 +7316,7 @@ 1997-06-22 Richard Stallman * s/bsdos3.h: New file. - + * s/bsdos2.h (KERNEL_FILE): New overriding definition. * keyboard.c (read_avail_input): Check for failure with EIO. @@ -7336,7 +7327,7 @@ (KERNEL_FILE, UNEXEC): Don't redefine them if __linux__. [__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS): Alternate definitions. - + * emacs.c (Fdump_emacs): Bind command-line-processed to nil here. * xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES. @@ -7376,7 +7367,7 @@ * fontset.h (font_idx_temp): Extern it. (FS_LOAD_FONT): New macro. - * fontset.c (font_idx_temp): New temprary variable used in + * fontset.c (font_idx_temp): New temporary variable used in FS_LOAD_FONT. * xfaces.c (Fset_face_attribute_internal): Use FS_LOAD_FONT @@ -7386,7 +7377,7 @@ (x_new_fontset): If frame F has already using FONTSET, avoid the duplicated work. Use FS_LOAD_FONT. (x_list_fonts): Call Fassoc to search Valternate_charset_table. - (x_load_font): Get around a buf of XListFonts + (x_load_font): Get around a buf of XListFonts. 1997-06-20 Richard Stallman @@ -7400,7 +7391,7 @@ * process.c (Fprocess_send_eof): Use shutdown, if it's a socket. Don't close the output descriptor if that is also the input descriptor. - + * config.in (HAVE_SHUTDOWN): Add #undef. * editfns.c (Fchar_before): Validate N after decrementing. @@ -7427,7 +7418,7 @@ 1997-06-15 Richard Stallman * process.c (wait_reading_process_input): When exiting because - the process WAIT_PROC has terminated, first read all its output. + the process WAIT_PROC has terminated, first read all its output. 1997-06-14 Richard Stallman @@ -7461,7 +7452,7 @@ Don't define these if __ELF__. (RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise. - * m/alpha.h (TEXT_END, COFF, DATA_END): + * m/alpha.h (TEXT_END, COFF, DATA_END): Define them if __NetBSD__ just as if LINUX. (HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__. @@ -7484,9 +7475,9 @@ * editfns.c (Finsert_char): Check QUIT. - * fontset.c (list_fontsets, fs_load_font): + * fontset.c (list_fontsets, fs_load_font): fast_c_string_match_ignore_case renamed. - + * xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed. * search.c (fast_c_string_match_ignore_case): @@ -7503,9 +7494,9 @@ * coding.c (Vcoding_system_alist): Deleted. (Qcoding_system_spec): Renamed from Qcoding_system_vector. - (Vdefault_process_coding_system, Vfile_coding_system_alist, - Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New - variables. + (Vdefault_process_coding_system, Vfile_coding_system_alist) + (Vprocess_coding_system_alist, Vnetwork_coding_system_alist): + New variables. (Ffind_coding_system): Adjusted for the above change. (syms_of_coding): Declare them as lisp variables. (Fcheck_coding_system): Pass list as DATA argument to Fsignal. @@ -7533,7 +7524,7 @@ name to iso-latin-1. (lisp_data_to_selection_data): Likewise. - * xterm.c (dumpglyph): Shift baseline for such a font that is + * xterm.c (dumpglyphs): Shift baseline for such a font that is shorter but ascent or descent exceed the line height. For a larger font, draw a small hook at right-bottom edge instead of a rectangle. @@ -7561,9 +7552,9 @@ 1997-06-01 Richard Stallman * lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG) - (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK): + (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK): Define regardless of NO_UNION_TYPE. - + * xfns.c (Fx_create_frame): Use XINT to access parent. * syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ. @@ -7600,7 +7591,7 @@ (ORDINARY_LINK): Defined (if __NetBSD__). * s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined. - + 1997-05-31 Richard Stallman * lread.c (init_lread): Sometimes add to load-path @@ -7622,7 +7613,7 @@ * Makefile.in (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o. (obj): Add xfaces.o. (FACE_SUPPORT, SOME_MACHINE_LISP): Delete faces.elc. - (shortlisp, lisp): Add faces.elc + (shortlisp, lisp): Add faces.elc. * emacs.c (main): Call syms_of_xfaces whenever ! HAVE_NTGUI. @@ -7642,9 +7633,9 @@ 1997-05-30 Richard Stallman - * xterm.c (process_expose_from_menu, XTread_socket): + * xterm.c (process_expose_from_menu, XTread_socket): Set has_been_visible field. - (x_make_frame_visible): Don't do XMoveWindow unles has_been_visible. + (x_make_frame_visible): Don't do XMoveWindow unless has_been_visible. * xterm.h (struct x_output): New field has_been_visible. @@ -7753,7 +7744,7 @@ Simplify the call to x_real_positions. (x_make_frame_visible): Use win_gravity to decide whether to call XMoveWindow. Also, don't do it if frame already visible. - + * xfns.c (x_real_positions): Subtract border width from results. 1997-05-26 Richard Stallman @@ -7803,11 +7794,11 @@ Always call x_wm_set_size_hint for them. No need to call XTranslateCoordinates here. (x_clear_errors): New function. - + 1997-05-20 Erik Naggum * editfns.c (Fformat_time_string): Doc update. - + 1997-05-20 Richard Stallman * editfns.c (Fformat_time_string): Doc update. @@ -7872,7 +7863,7 @@ 1997-05-18 Erik Naggum * lisp.h (Vtty_erase_char): Declared. - * keyboard.c (Vtty_erase_char): Variable defined + * keyboard.c (Vtty_erase_char): Variable defined. (syms_of_keyboard): Set up Lisp variable. Also set up `num-nonmacro-input-chars' to report actual keystrokes. * sysdep.c (init_sys_modes): Initialize Vtty_erase_char if @@ -7910,7 +7901,7 @@ (r_alloc_init) [DOUG_LEA_MALLOC]: Call mallopt, instead of setting __malloc_extra_blocks. -Thu May 15 22:21:18 1997 Ken'ichi Handa +1997-05-15 Ken'ichi Handa * Makefile.in (charset.o): Add disptab.h in dependency list. @@ -7927,7 +7918,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa * fontset.c (fontset_pattern_regexp): Cast to (char *) before assigning to P0. - * ccl.c (struct ccl_prog_stack): Declear the member ccl_prog as + * ccl.c (struct ccl_prog_stack): Declare the member ccl_prog as Lisp_Object *. * editfns.c: Declare Fuser_full_name as Lisp_Object in advance to @@ -7957,7 +7948,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa argument C is an invalid character code. (Fconcat_chars): Use alloca instead of malloc. - * charset.h (CHAR_STRING): Comment reflect the above change. + * charset.h (CHAR_STRING): Comment reflect the above change. * coding.h: Name change through the code: coding-category-internal => coding-category-emacs-mule, @@ -7969,7 +7960,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED. * coding.c: Likewise. * fileio.c: Likewise. - + * xfns.c (Fx_create_frame): Delete unnecessary code. 1997-05-15 Richard Stallman @@ -8009,7 +8000,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa (compute_trt_identity, compute_trt_shuffle): New subroutines. (init_casetab_once): Use XSETFASTINT to store into case table; use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop. - + 1997-05-13 Richard Stallman * syntax.c (describe_syntax_1): Pass new args to describe_vector. @@ -8042,13 +8033,13 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa Pass index character as a Lisp_Object. * keymap.c (Fmake_keymap): Make a char-table. - (access_keymap, store_in_keymap): Likewise, + (access_keymap, store_in_keymap): Likewise. (describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise. (Fwhere_is_internal, Fcopy_keymap): Handle a char-table. (copy_keymap_1, accessible_keymaps_char_table): New subroutines. (where_is_internal_1, where_is_internal_2): New functions. (syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap. - + 1997-05-10 Ken'ichi Handa * callproc.c (Fcall_process_region): Supply 7th new arg @@ -8068,10 +8059,10 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa * charset.h (unify_char): Extern it. * coding.c (Valternate_charset_table): The variable deleted. - (Venable_character_unification, - Vstandard_character_unification_table_for_read, - Vstandard_character_unification_table_for_write, - Qcharacter_unification_table): New variables. + (Venable_character_unification) + (Vstandard_character_unification_table_for_read) + (Vstandard_character_unification_table_for_write) + (Qcharacter_unification_table): New variables. (syms_of_coding): Initialize and declare them. (DECODE_ISO_CHARACTER): Modified to handle a character unification table instead of Valternate_charset_table. @@ -8107,7 +8098,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa * fontset.c (Vfontset_alias_alist): New variable. (fontset_pattern_regexp): Delete code for handling nickname of a - fonset. It is now handled in Fquery_fontset by consulting + fontset. It is now handled in Fquery_fontset by consulting Vfontset_alias_alist. (Fquery_fontset): Handle Vfontset_alias_alist. (syms_of_fontset): Terminate each line by `\n\' in doc-string of @@ -8116,7 +8107,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa and clip-large-size-font modified. * xfns.c (Fx_create_frame): Delete code for handling the X - resouce "Fontset". + resource "Fontset". * xselect.c (selection_data_to_lisp_data): If TYPE is `STRING' and DATA contains 8-bit codes, decode them as Latin-1 characters. @@ -8151,7 +8142,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa * fileio.c (Fread_file_name): Finish previous change. - * coding.c (Fread_coding_system, Fread_non_nil_coding_system): + * coding.c (Fread_coding_system, Fread_non_nil_coding_system): Pass new arg to Fcompleting_read. * callint.c (Fcall_interactively): Pass new arg to Fcompleting_read. @@ -8231,7 +8222,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa 1997-04-30 Richard Stallman - * xterm.c (XTmouse_position, x_term_init): + * xterm.c (XTmouse_position, x_term_init): Save value from x_catch_errors and pass to x_uncatch_errors. * xselect.c (x_own_selection, x_reply_selection_request) @@ -8378,7 +8369,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa (char_quoted): Move earlier, update gl_state when needed. (find_defun_start): Update gl_state when needed. (back_comment): New function. - (Scomment_fence, Sstring_fence): New delimeter char classes + (Scomment_fence, Sstring_fence): New delimiter char classes denoted by `!' and `|'. (Fchar_syntax, Fmatching_paren): Update gl_state to whole-buffer state. (scan_words): Update gl_state when needed. @@ -8400,19 +8391,19 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa New members Scomment_fence, Sstring_fence. (SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY may do a lookup for syntax table in gl_state. - (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD, - UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE, - SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros. + (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD) + (UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE) + (SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros. (struct gl_state_s): New struct. - * textprop.c: Style of comments corrected. + * textprop.c: Style of comments corrected. (interval_of): New function. 1997-04-14 Eli Zaretskii * w16select.c: New file, MS-Windows clipboard support from Emacs running as MSDOS application. - + * s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'. * Makefile.in (MSDOS_OBJ): Add w16select.o. @@ -8446,7 +8437,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa when REPLACE is handled by reading directly from the file. Use insert_1 to insert replacement text, to avoid query about whether to modify the buffer. - + 1997-04-10 Marcus G. Daniels * Makefile.in (mallocobj): Make non-REL_ALLOC configuration work @@ -8496,7 +8487,7 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa (init_alloc_once): Set trim and mmap malloc parms, when using glibc. * config.in (DOUG_LEA_MALLOC): Add #undef. - + * Makefile.in (mallocobj): Don't add gmalloc if using glibc. Drop check for `old malloc'; it isn't distributed with Emacs. @@ -8523,14 +8514,14 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa (copy_category_table, Fmodify_category_entry): Adjusted for the new structure of Lisp_Char_Table. - * ccl.c: (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump. + * ccl.c (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump. * charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly. (SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1 characters. - * charset.c (non_ascii_char_to_string, update_charset_table, - Fsplit_char): Adjusted for the above change. + * charset.c (non_ascii_char_to_string, update_charset_table) + (Fsplit_char): Adjusted for the above change. * coding.c (detect_coding_iso2022, detect_coding_mask): Ignore invalid ESC sequence for ISO 2022. @@ -8546,8 +8537,8 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa * fns.c (copy_sub_char_table): New function. (Fcopy_sequence): Call copy_sub_char_table for copying a sub char table. - (Fchar_table_range, Fset_char_table_range, map_char_table, - Fmap_char_table): Handle multibyte characters correctly. + (Fchar_table_range, Fset_char_table_range, map_char_table) + (Fmap_char_table): Handle multibyte characters correctly. * fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font): New variables. @@ -8581,13 +8572,12 @@ Thu May 15 22:21:18 1997 Ken'ichi Handa * xterm.c (dumpglyphs): Clip and highlight glyphs displayed with fonts of wrong size. -Sun Apr 6 10:26:53 1997 Eli Zaretskii +1997-04-06 Eli Zaretskii * emacs.c (init_cmdargs) [MSDOS]: Make the change that sets `installation-directory' if `info' is found as its subdirectory or sibling, be conditioned on MSDOS (it makes trouble on Unix). - 1997-04-05 Richard Stallman * coding.c (Ffind_coding_system): Doc fix. @@ -8631,7 +8621,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii (Fcopy_file): Fix previous change. (Finsert_file_contents): Determine the character coding before we see if REPLACE can be handled. - Do handle REPLACE even if code conversion is needed. + Do handle REPLACE even if code conversion is needed. 1997-03-30 Richard Stallman @@ -8664,10 +8654,10 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii 1997-03-22 Mark W. Eichin * keyboard.c (make_lispy_event): Use iso_lispy_function_keys for - XK_ISO_* keys found in XFree86. + XK_ISO_* keys found in XFree86. (ISO_FUNCTION_KEY_OFFSET): New macro. (iso_lispy_function_keys): New table. - + * xterm.c (XTread_socket): Accept XK_ISO_* keys. 1997-03-19 Kenichi Handa @@ -8773,7 +8763,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii 1997-03-05 NIIBE Yutaka - * indent.c: (compute_motion): When POS >= TO, don't call + * indent.c (compute_motion): When POS >= TO, don't call find_before_next_newline as it assumes POS < TO. 1997-03-02 Ken'ichi Handa @@ -8821,7 +8811,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii * coding.c (setup_coding_system): Now, flags of ISO2022 coding systems contains charsets instead of charset IDs. Correct setting coding->symbol and coding->eol_type. The performance improved. - (encode_coding) : Fix typo ("=" -> "=="). + (encode_coding): Fix typo ("=" -> "=="). (detect_coding_iso2022, decode_coding_iso2022): Make the code robust against invalid SI and SO. (ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is deleted. @@ -8833,7 +8823,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii precisely. (Ffind_coding_system, syms_of_coding): Escape newlines in docstring. - + * charset.h (INC_POS, DEC_POS): Don't increase or decrease too much if there's binary code (invalid character code). @@ -8864,9 +8854,9 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii * keymap.c (describe_vector): Do not describe deeper char-table if enable-multibyte-characters is nil. - * process.c (proc_decode_coding_system, - proc_encode_coding_system): Changed to array of pointers to struct - coding_system to reduce the size of dumped Emacs. + * process.c (proc_decode_coding_system, proc_encode_coding_system): + Changed to array of pointers to struct coding_system to reduce the + size of dumped Emacs. (create_process, Fopen_network_stream): Allocate them dynamically. (init_process): Initialize these pointers to NULL. (Fstart_process, Fopen_network_stream): Do not perform character @@ -8915,36 +8905,36 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii * lread.c (Fload): Call Vload_source_file_function with 4 args. -1997-02-22 Tsugutomo ENAMI +1997-02-22 Tsugutomo ENAMI - * regex.c: Include charset.h and category.h + * regex.c: Include charset.h and category.h. - [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P, - SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH, - STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2): + [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P) + (SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH) + (STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2): New dummy macros. (enum re_opcode_t): New member categoryspec and notcategoryspec. - (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER, - CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT, - CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE, - CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE - CHARSET_PAST_RANGE_TABLE): New macros. + (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER) + (CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT) + (CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE) + (CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABL) + (CHARSET_PAST_RANGE_TABLE): New macros. (TRANSLATE): Cast return value to unsigned char, not char. (struct range_table_work_area): New structure. - (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA, - FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED, - RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros. + (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA) + (FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED) + (RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros. (FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA. (regex_compile): Declare `c' and `c1' as int to store multibyte characters. - Declare range_table_work and initialize it. + Declare range_table_work and initialize it. Initialize bufp->multibyte to 0 if not emacs. For case '[' and `default', code re-written to handle multibyte characters. @@ -8970,7 +8960,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii wordbeg, wordend, matchsyntax, and matchnotsyntax, code re-written to handle multibyte characters. Add code for case categoryspec and notcategoryspec. - + * regex.h (struct re_pattern_buffer): New member multibyte. 1997-02-21 Richard Stallman @@ -9033,7 +9023,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii * xdisp.c (try_window): Change the way of calculation of tab offset. We now use val.tab_offset to maintain tab offset. - Removed local variable tab_offset. + Removed local variable tab_offset. (try_window_id): Likewise. * indent.c: Include "charset.h". @@ -9085,8 +9075,8 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii (xterm.o): Depend on charset.h, ccl.h, and fontset.h. (category.o, ccl.o, charset.o, coding.o, fontset.o): New targets. - * alloc.c (Fmake_char_table): Typo in doc-string fixed. Handle - the case that PURPOSE is nil (in a deeper char-table). + * alloc.c (Fmake_char_table): Typo in doc-string fixed. + Handle the case that PURPOSE is nil (in a deeper char-table). (Fmake_bool_vector): Make correct size of Lisp_Object for bool-vector. @@ -9234,7 +9224,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii * lread.c: Include charset.h. (Vload_source_file_function): New variable. (Fload): Call Vload_source_file_function if defined while loading - an Emacs Lisp source file. */ + an Emacs Lisp source file. (read_multibyte): New function. (read_escape): Handle multibyte characters. (read1): Correct the value of size_in_chars of a bool vector. @@ -9381,7 +9371,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii 1997-02-14 Richard Stallman * print.c (print): Generate a backslash in \2e10. - + 1997-02-08 Richard Stallman * window.c (change_window_height): Take size from multiple siblings, @@ -9410,7 +9400,7 @@ Sun Apr 6 10:26:53 1997 Eli Zaretskii * emacs.c (main): Don't extend stack limit too far. -Sun Feb 2 10:36:26 1997 Eli Zaretskii +1997-02-02 Eli Zaretskii * msdos.c (dos_rawgetc): When international keyboard doesn't have to be supported, recognize Alt-key combinations even if the Alt @@ -9432,7 +9422,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii that of the dividend. This does not yield a particularly accurate result, but at least it will be in the range promised by fmod. - + * doprnt.c: Include if STDC_HEADERS. (DBL_MAX_10_EXP): Define if not defined; default is IEEE double. (doprnt1): Allocate enough buffer space to handle very large floating @@ -9487,7 +9477,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii Define these variables only if LOCALTIME_CACHE is defined. 1997-01-21 Eli Zaretskii - + * msdos.c (run_msdos_command): Remove unused variables. (crlf_to_lf): Remove unused variables. (Fmsdos_downcase_filename): Remove unused variable. @@ -9517,7 +9507,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * dispnew.c (init_display): Check for overflow in screen size. Use `fatal'. - + 1997-01-19 Geoff Voelker * w32.c (init_environment): Rebuild Vsystem_configuration at startup. @@ -9527,16 +9517,16 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * w32gui.h: Renamed from win32.h. * dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h. * makefile.nt: Update header comment. - - * w32console.c (initialize_w32_display): Renamed from + + * w32console.c (initialize_w32_display): Renamed from initialize_win_nt_display. * term.c (term_init): Use new name initialize_w32_display. - + * w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c, - w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c, - w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95, + * w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c, + * w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95, winnt, and win32 into Windows 95, Windows NT, and W32, respectively. - Expand "win" substring in variables referring to Microsoft Windows + Expand "win" substring in variables referring to Microsoft Windows constructs into "windows". Canonicalize header comments to use same terminology. @@ -9556,7 +9546,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii 1997-01-15 Eli Zaretskii * keyboard.c (interrupt_signal): Make emergency exit work on MSDOS - frames. Block further SIGINTs while `interrupt_signal' runs. + frames. Block further SIGINTs while `interrupt_signal' runs. * msdos.c (sigprocmask, sig_suspender): New functions, implement signal blocking on MSDOS. @@ -9684,7 +9674,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii Use BROKEN_MKTIME to determine whether mktime is broken. 1996-12-30 Paul Eggert - + * data.c, floatfns.c: : Include if STDC_HEADERS. (IEEE_FLOATING_POINT): New symbol. * data.c (float_arith_driver, Fmod), floatfns.c (Ffloor): @@ -9725,7 +9715,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * window.c (window_scroll): Preserve vpos of point if we cannot preserve the actual position of it. Make it static. New arg WHOLE; callers changed. - + * keyboard.c (read_char_x_menu_prompt): Unread and record all the input events from here. (record_menu_key): New subroutine. @@ -9733,7 +9723,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * xmenu.c (single_keymap_panes): New arg DEPTH. Cut off recursion at that depth. Callers changed. -1996-12-23 +02 Eli Zaretskii +1996-12-23 Eli Zaretskii * msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed for international keyboard support. @@ -9835,7 +9825,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * xfns.c (x_set_scroll_bar_width): Reject a width that's too small. -1006-12-10 Richard Stallman +1996-12-10 Richard Stallman * buffer.c (syms_of_buffer): Doc fix (transient-mark-mode). @@ -9876,7 +9866,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor is in echo area. -1996-12-05 Erik Naggum +1996-12-05 Erik Naggum * keyboard.c (syms_of_keyboard): Doc fix. @@ -9895,7 +9885,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * editfns.c (Fline_beginning_position, Fline_end_position): New fns. * cmds.c (Fend_of_line, Fbeginning_of_line): Use Fline_beginning_position, Fline_end_position. - * lisp.h (Fend_of_line, Fbeginning_of_line): Declared. + * lisp.h (Fend_of_line, Fbeginning_of_line): Declared. 1996-11-23 Richard Stallman @@ -9944,7 +9934,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * w32console.c: Renamed from w32term.c. * unexw32.c: Renamed from unexnt.c. * s/ms-w32.h: Renamed from s/windowsnt.h. - + * dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system. * Makefile.in, callproc.c, makefile.nt: Use new names for w32 files. @@ -9952,9 +9942,9 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii 1996-11-18 Geoff Voelker * emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h, - ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c, - termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c, - w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h: + * ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c, + * termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c, + * w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h: Change identifiers of the form win32* to w32*. * window.c (special-display-p, same-window-p): Add missing @@ -10099,11 +10089,11 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii Reorganize function definitions so etags finds them. * abbrev.c (Finsert_abbrev_table_description). * editfns.c (Finsert_and_inherit_before_markers). - * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success, - Frun_hook_with_args_until_failure). + * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success) + (Frun_hook_with_args_until_failure). * window.c (Fcurrent_window_configuration). - * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal, - Fx_disown_selection_internal). + * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal) + (Fx_disown_selection_internal). 1996-10-30 Richard Stallman @@ -10180,7 +10170,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * frame.h (struct frame): New field phys_cursor_on. -1996-10-08 David Kågedal +1996-10-08 David KÃ¥gedal * xmenu.c (Fx_popup_menu): Give the menu a title when the menu is a single keymap. @@ -10211,7 +10201,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii 1996-10-05 Marcus G. Daniels - * xfns.c (x_set_internal_border_width): Only change + * xfns.c (x_set_internal_border_width): Only change an edit_widget's internal_border_width for the toolkit case. 1996-10-04 Richard Stallman @@ -10255,9 +10245,9 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii (find_handler_clause): If Vdebug_force, call debugger even if there are handlers. -1996-09-26 Marcus Daniels +1996-09-26 Marcus G. Daniels - * xfns.c (x_set_scroll_bar_width): Move cursor to the + * xfns.c (x_set_scroll_bar_width): Move cursor to the left margin, past a scroll bar, if any. 1996-09-26 Richard Stallman @@ -10279,7 +10269,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * window.c (syms_of_window): Doc fixes. -1996-09-25 Marcus Daniels +1996-09-25 Marcus G. Daniels * s/irix5-0.h (sigsetmask, _longjmp, _setjmp): #undef them. (_BSD_SIGNALS): Definition deleted. @@ -10372,7 +10362,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii 1996-09-20 Richard Stallman - * xterm.c (x_scroll_bar_create, x_scroll_bar_move): + * xterm.c (x_scroll_bar_create, x_scroll_bar_move) (x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM. * xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from @@ -10406,7 +10396,7 @@ Sun Feb 2 10:36:26 1997 Eli Zaretskii * xfns.c (Fx_create_frame): Default Qvertical_scroll_bars to `left'. -Fri Sep 20 02:37:37 1996 Marcus Daniels +1996-09-20 Marcus G. Daniels * xterm.c (XTclear_end_of_line): Shift end-of-line when there is a left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH. @@ -10419,9 +10409,9 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels (x_scroll_bar_expose): Narrow the box slightly for a left-side scroll bar. - * xfns.c: Add the symbol `right'; this symbol is used to indicate + * xfns.c: Add the symbol `right'; this symbol is used to indicate that a right-side scroll bar is wanted. - (x_set_vertical_scroll_bars): Check for left<->right<->none + (x_set_vertical_scroll_bars): Check for left<->right<->none scroll bar changes, and modify the vertical scroll bar type as appropriate. (x_figure_window_size): Use new SET_FRAME_WIDTH macro. @@ -10462,7 +10452,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * w32fns.c (Qright): New variable. (syms_of_win32fns): Initialize and staticpro Qright. - (x_set_vertical_scroll_bars): Check for left<->right<->none + (x_set_vertical_scroll_bars): Check for left<->right<->none scroll bar changes, and modify the vertical scroll bar type as appropriate. (x_figure_window_size): Use new SET_FRAME_WIDTH macro. @@ -10477,7 +10467,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * keyboard.c (make_lispy_event): When converting from pixel to glyph coordinates, offset by WINDOW_LEFT_MARGIN instead of XINT - (XWINDOW (window)->left; this is necessary when there are + (XWINDOW (window)->left); this is necessary when there are left-side scrollbars. * frame.c (make_frame): Switch from boolean @@ -10496,8 +10486,8 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels necessarily the same any more. (change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes. Give `set_window_width' the window width value. - Use new macro SET_FRAME_WIDTH. - + Use new macro SET_FRAME_WIDTH. + * xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an argument, and use it to decrease the width in the case of a left-side scroll bar; this prevents the bar and adjacent text @@ -10517,7 +10507,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels `external_width' and `width'. (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side scroll bars too. - + * window.h (WINDOW_LEFT_MARGIN): New macro. (WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros. (WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros. @@ -10528,7 +10518,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels (VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used). * xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT and VERTICAL_SCROLL_BAR_TOP_RANGE. - + * sysdep.c (init_system_name): Retry gethostbyname only 5 times and don't sleep after the last time. @@ -10592,7 +10582,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * window.c (Fset_window_start): Clear last_overlay_modified field. (set_window_height, set_window_width, Fset_window_buffer) - (change_window_height, window_scroll, Fset_window_configuration): + (change_window_height, window_scroll, Fset_window_configuration): Clear last_overlay_modified field. (Fpos_visible_in_window_p): Test last_overlay_modified field. @@ -10627,15 +10617,15 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * xdisp.c (overlay_unchanged_modified): New variable. (redisplay_internal): Set overlay_unchanged_modified. - * insdel.c (gap_left, gap_right, modify_region): + * insdel.c (gap_left, gap_right, modify_region): Compare overlay_unchanged_modified with OVERLAY_MODIFF. * buffer.c (modify_overlay): Renamed from redisplay_region moved here from xdisp.c, and made static. Callers changed. Update OVERLAY_MODIFF instead of MODIFF. * xdisp.c (redisplay_region): Renamed and moved to buffer.c. - - * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): + + * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM): Don't define them if using GCC. 1996-09-13 Richard Stallman @@ -10674,7 +10664,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * keyboard.c (Fexecute_extended_command): Delete junk lines. Print the key bindings after the command, temporarily; then bring back the previous message. - + * buffer.c (syms_of_buffer): Doc fixes. * filelock.c (lock_superlock): Delete superlock file if it stayed @@ -10687,7 +10677,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels before read0 call. (read1): New variable `uninterned_symbol', which controls how to make symbols. Support #:, #n=object and #n#. - (make_symbol): New function, used in read1 to make uninterned symbols + (make_symbol): New function, used in read1 to make uninterned symbols. (Fintern): Set `obarray' field of interned symbols. (init_obarray): Explicit set `obarray' field of symbol `nil'. (syms_of_lread): staticpro read_objects, the list of read objects. @@ -10695,8 +10685,8 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * print.c: Add #n=object, #n#, and #:symbol constructs to printer. (PRINTDECLARE): New macro to declare required variables. (PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil. - (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1, - Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE. + (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1) + (Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE. (print): Print uninterned symbols readable. (syms_of_print): Defvar `print-gensym', staticpro printed_gensyms. @@ -10708,18 +10698,18 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels 1996-09-04 Richard Stallman * lisp.h: Add many declarations. - + * lisp.h (BITS_PER_EMACS_INT): New macro. (XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition. * m/alpha.h (BITS_PER_EMACS_INT): New definition. - * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm + * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm. * process.c (create_process): Test HAVE_SETPGID for using setpgid. * config.in (HAVE_SETPGID): Add #undef. - * keymap.c (syms_of_keymap): staticpro current_global_map; + * keymap.c (syms_of_keymap): staticpro current_global_map. * intervals.c (get_local_map): Call indirect-function. @@ -10771,7 +10761,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * xterm.c (note_mouse_highlight): Pass POS argument to fast_find_position as int. - * textprop.c (set_properties, add_properties, remove_properties): + * textprop.c (set_properties, add_properties, remove_properties): Call modify_region with ints. * insdel.c (prepare_to_modify_buffer): Take integer arguments. @@ -10805,15 +10795,15 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * xfns.c (x_get_and_record_arg): New function. (x_icon): Use that, for Qicon_top and Qicon_left. (x_report_frame_params): Report the Qparent_id parameter. - + 1996-09-03 Paul Eggert * config.in (mktime): Define to emacs_mktime if we are using our own mktime, since Nextstep doesn't let Emacs redefine the builtin mktime. - * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's, + * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's, since NEXTSTEP's wrongly ignores TZ. (mktime): #undef, to avoid messing up the file name mktime.c. - * editfns.c (Fencode_time): Remove NEXTSTEP workaround; + * editfns.c (Fencode_time): Remove NEXTSTEP workaround; we now use our mktime instead. 1996-09-03 Richard Stallman @@ -10824,7 +10814,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels * editfns.c (Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE. - * Make region highlighting show in just one window. + Make region highlighting show in just one window. * xdisp.c (redisplay_internal): Test last_selected_window slot. (mark_window_display_accurate, display_text_line): Likewise. * window.c (unshow_buffer): Clear last_selected_window slot, maybe. @@ -10879,7 +10869,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels 1996-08-31 Geoff Voelker - * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP): + * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP): Include dos-nt.elc. 1996-08-31 Richard Stallman @@ -10966,7 +10956,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels to the error message. * macros.h (executing_macro_iterations, executing_macro): Declared. - + * macros.c (executing_macro_iterations, executing_macro): New vars. (Fexecute_kbd_macro): Set them. @@ -11011,12 +11001,12 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels 1996-08-24 Richard Stallman - * Renamings to avoid conflicting names on MSDOS. + Renamings to avoid conflicting names on MSDOS. * s/riscix12.h: Renamed from s/riscix12.h. * s/sunos413.h: Renamed from s/sunos4-1-3.h. * s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h. * s/sunos4-1-2.h: File deleted. - + * xmenu.c (set_frame_menubar): Don't add ibw to menubar_size. * xfns.c (x_window): Don't add ibw to menubar_size. @@ -11032,7 +11022,7 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels (print): Print certain expressions more compactly when set. Also use XCAR and XCDR directly -- we know we have conses. -1996-08-23 Marcus Daniels +1996-08-23 Marcus G. Daniels * xterm.c (x_term_init): If the default Xt font does not exist on the X server, add a resource so that dialog boxes use a common font. @@ -11098,6 +11088,26 @@ Fri Sep 20 02:37:37 1996 Marcus Daniels See ChangeLog.6 for earlier changes. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. - Copying and distribution of this file, with or without modification, - are permitted provided the copyright notice and this notice are preserved. +;; Local Variables: +;; coding: utf-8 +;; End: + + Copyright (C) 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 + Free Software Foundation, Inc. + + This file is part of GNU Emacs. + + GNU Emacs is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + GNU Emacs is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNU Emacs. If not, see . + +;;; arch-tag: 3b03e091-1123-4031-b67d-41683932cc48