*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
index 8a7653d..3931c39 100644 (file)
@@ -1,7 +1,308 @@
+2001-10-21  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords.
+
+       * alloc.c: Reindent DEFUNs with doc: keywords.
+
+       * abbrev.c (Finsert_abbrev_table_description): Reindent.
+
+       * frame.c: Change doc-string comments to `new style' [w/`doc:'
+       keyword].
+
+2001-10-20  Gerd Moellmann  <gerd@gnu.org>
+
+       * Version 21.1 released.
+
+2001-10-20  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xfns.c (x_laplace_read_row, x_laplace_write_row): Prototypes
+       removed.
+
+       * xdisp.c (invisible_text_between_p): Put prototype inside #if
+       0 because unused.
+
+       * bytecode.c, callint.c, callproc.c, casefiddle.c, casetab.c
+       * category.c, ccl.c, charset.c, process.c, syntax.c, window.c: Change
+       doc-string comments to `new style' [w/`doc:' keyword].
+
+2001-10-20  Miles Bader  <miles@gnu.org>
+
+       The following changes remove the glyph_row `inverse_p' field,
+       which is never set anymore, due to other changes:
+
+       * dispextern.h (struct glyph_row): Remove `inverse_p' field.
+       (reassert_line_highlight, change_line_highlight): Declarations removed.
+       * dispnew.c (update_frame_line): Don't call reassert_line_highlight.
+       (line_hash_code, row_equal_p, fake_current_matrices) 
+       (build_frame_matrix_from_leaf_window, update_frame_line) 
+       (update_frame_line, update_frame_line, update_frame_line):
+       Don't use `inverse_p' field.
+       * xterm.c (x_initialize): Don't set reassert_line_highlight_hook or
+       change_line_highlight_hook.
+       (XTreassert_line_highlight, x_change_line_highlight):
+       Functions removed.
+       (x_fix_overlapping_area, x_write_glyphs, expose_area) 
+       (expose_line, x_erase_phys_cursor): Don't use `inverse_p' field.
+       * xdisp.c (dump_glyph_row, display_mode_line): Don't use
+       `inverse_p' field.
+       * w32term.c (x_fix_overlapping_area, x_write_glyphs, expose_area) 
+       (expose_line, x_erase_phys_cursor): Don't use `inverse_p' field.
+       (w32_reassert_line_highlight, x_change_line_highlight):
+       Functions removed.
+       * w32console.c (reassert_line_highlight, change_line_highlight):
+       Functions removed.
+       (initialize_w32_display): Don't set reassert_line_highlight_hook
+       or change_line_highlight_hook.
+       (hl_mode): Function removed.
+       (reset_terminal_modes, set_terminal_modes, update_begin) 
+       (update_end, w32_face_attributes, initialize_w32_display): 
+       (clear_frame, ins_del_lines): Don't call it.
+       * termhooks.h (reassert_line_highlight_hook)
+       (change_line_highlight_hook): Declarations removed.
+       * term.c (reassert_line_highlight_hook)
+       (change_line_highlight_hook): Variables removed.
+       (reassert_line_highlight, change_line_highlight): Functions removed.
+       * msdos.c (IT_reassert_line_highlight)
+       (IT_change_line_highlight): Functions removed.
+       (internal_terminal_init): Don't set reassert_line_highlight_hook
+       or change_line_highlight_hook.
+       (highlight): Variable removed.
+       (IT_set_face, IT_update_begin, IT_update_end) 
+       (IT_set_terminal_modes): Don't set or use it.
+
+       The following changes remove inverse-video support for terminals
+       that use a `magic cookie' standout mode.  Due to changes in the
+       way mode-lines are displayed, such support no longer works
+       anyway, and it's probable that almost no one uses such terminals
+       anymore:
+
+       * term.c (standout_requested): Variable removed.
+       (update_end, highlight_if_desired): Don't use it.
+       (chars_wasted, copybuf): Variables removed.
+       (write_standout_marker): Function removed.
+       (cursor_to, clear_to_end, clear_frame, clear_end_of_line_raw) 
+       (clear_end_of_line_raw, write_glyphs, ins_del_lines):
+       Don't use `chars_wasted' or `copybuf'.
+       (calculate_costs): Don't allocate `chars_wasted' or `copybuf'.
+       Set `costs_set' to true.
+       (cursor_to, clear_end_of_line): Test `costs_set' instead of
+       `chars_wasted'.
+       (clear_end_of_line): Function removed.
+       (clear_end_of_line_raw): Renamed to `clear_end_of_line'.
+       (clear_to_end): Call `clear_end_of_line' instead of
+       `clear_end_of_line_raw'.
+       (TN_standout_width, TF_xs, TN_magic_cookie_glitch_ul): Vars removed.
+       (term_init): Don't set them.
+       Turn off any standout/underline modes that require magic cookies.
+       (ins_del_lines, highlight_if_desired, background_highlight) 
+       (turn_on_highlight, turn_off_highlight, reset_terminal_modes):
+       Remove special processing for magic-cookie standout modes.
+       (turn_off_face, turn_on_face): Remove special processing for
+       underline magic-cookie glitch.
+
+2001-10-19  Richard M. Stallman  <rms@gnu.org>
+
+       * eval.c (syms_of_eval): Doc fixes.
+
+2001-10-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (redisplay_internal): Don't clear echo area if the
+       mini-window is selected.
+
+2001-10-19  Miles Bader  <miles@gnu.org>
+
+       * editfns.c (text_property_stickiness): Non-rear-non-stickiness
+       doesn't take precedence if the affected property's value is nil.
+
+       * editfns.c (Fencode_time): Escape a BOL paren in the doc-string.
+
+       * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify interaction
+       with fields and suggest using `forward-line' to avoid them.
+       * editfns.c (Fline_beginning_position, Fline_end_position):
+       Clarify documentation.
+
+2001-10-18  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keymap.c (current_minor_maps): `override' only shadows its
+       correspondent in minor-mode-map-alist, not the whole tail.
+
+2001-10-18  Andrew Innes  <andrewi@gnu.org>
+
+       * fontset.c (fs_load_font) [WINDOWSNT && _MSC_VER]: Disable
+       optimization.  The fontp->encoding array was not being initialized
+       correctly when compiled with optimizations by MSVC.
+
+2001-10-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (display_line): Indicate empty lines in active mini-window.
+
+2001-10-17  Andrew Innes  <andrewi@gnu.org>
+
+       * fontset.h (struct font_info) [WINDOWSNT]: Add codepage field.
+
+       * w32fns.c (w32_load_system_font): Cache codepage for font, in
+       font_info.charset field.
+
+       * w32term.c (w32_encode_char): Get cached codepage from font_info,
+       rather than working it out by calling w32_codepage_for_font for
+       every glyph.
+
+2001-10-17  Andrew Innes  <andrewi@gnu.org>
+
+       * w32term.c (w32_read_socket): Determine clipping rectangle for
+       the entire frame, including areas covered by scrollbars and the
+       menubar.  This avoids internal arguments about whether a frame is
+       fully obscured or not.
+
+2001-10-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (try_window_id): Undo last change.  Give up if
+       window ends in strings.
+
+       * xdisp.c (try_window_id): Don't display lines after the window
+       end if the rest of the window after the window end was already blank.
+
+       * xdisp.c (try_window_id): Remove code that was only there
+       for the release of 21.1.
+
+       * xdisp.c (display_line): Don't indicate empty lines in mini-windows.
+
+2001-10-17  Miles Bader  <miles@gnu.org>
+
+       * lisp.h (DEFUN): Remove `DOC_STRINGS_IN_COMMENTS' case.
+       * xmenu.c, xdisp.c, term.c, dispnew.c, abbrev.c, editfns.c, buffer.c
+       * xfns.c, alloc.c, minibuf.c, xterm.c, xfaces.c:
+       Change doc-string comments to `new style' [w/`doc:' keyword].
+       (DOC_STRINGS_IN_COMMENTS): Macro removed.
+       * minibuf.c: Remove old commented-out-DEFUN that was used to fake
+       out make-docfile.
+
+2001-10-16  Miles Bader  <miles@gnu.org>
+
+       * fns.c: Change doc-string comments to `new style' [w/`doc:' keyword].
+
+2001-10-16  Gerd Moellmann  <gerd@gnu.org>
+
+       * buffer.c (Fset_buffer_major_mode): Use initial-major-mode for
+       *scratch*.
+
+2001-10-16  Ken Raeburn  <raeburn@gnu.org>
+
+       Avoid the assumption that car and cdr slots of cons cells are
+       addressable lvalues; this allows for easier experimentation with
+       other lisp implementations that may not permit such accesses for
+       various reasons.  Not quite complete -- buffer.c still needs some
+       work, and w32/mac files need rechecking -- so compile-time
+       enforcement is left disabled for now.
+
+       * lisp.h (LISP_MAKE_RVALUE): New macro, or function in the case of
+       gcc with a union-based Lisp object rep.  Redefine as no-op for now.
+       (XCAR_AS_LVALUE, XCDR_AS_LVALUE): Rename from old XCAR, XCDR.
+       (XCAR, XCDR): Apply LISP_MAKE_RVALUE to the _AS_LVALUE versions.
+       (XSETCAR, XSETCDR): New macros.
+       (XSETCARFASTINT, XSETCDRFASTINT): New macros.
+       (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): New macros.
+       * keyboard.h (POSN_BUFFER_SET_POSN): New macro.
+       * alloc.c (Fcons, pure_cons, Fgarbage_collect): Use XSETCAR and
+       XSETCDR.
+       (mark_buffer): Use XCAR_AS_LVALUE, XCDR_AS_LVALUE.
+       * buffer.c (record_buffer, Fbury_buffer)
+       (swap_out_buffer_local_variables, recenter_overlay_lists)
+       (Foverlay_put): Use XSETCAR and XSETCDR to set the car and cdr
+       fields of a cons cell respectively.
+       * callint.c (quotify_args, Fcall_interactively): Likewise.
+       * ccl.c (Fregister_code_conversion_map): Likewise.
+       * coding.c (detect_coding_system): Likewise.
+       * composite.c (get_composition_id, make_composition_value_copy):
+       Likewise.
+       * data.c (Fsetcar, Fsetcdr, swap_in_global_binding)
+       (swap_in_symval_forwarding, set_internal, Fset_default)
+       (Fmake_variable_buffer_local, Fmake_local_variable)
+       (Fmake_variable_frame_local): Likewise.
+       * fns.c (concat, Fcopy_alist, Fwidget_put): Likewise.
+       * keymap.c (Fset_keymap_parent, store_in_keymap)
+       (accessible_keymaps_1, where_is_internal_2, Fcopy_keymap):
+       Likewise.
+       * minibuf.c (get_minibuffer): Likewise.
+       * search.c (Fmatch_data): Likewise.
+       * textprop.c (extend_property_ranges): Likewise.
+       * undo.c (record_insert, Fundo_boundary, truncate_undo_list):
+       Likewise.
+       * w32fns.c (w32_msg_pump, Fw32_register_hot_key, w32_list_fonts):
+       Likewise.
+       * w32term.c (x_delete_display): Likewise.
+       * xfaces.c (remove_duplicates, Finternal_set_lisp_face_attribute):
+       Likewise.
+       * xterm.c (x_list_fonts, x_load_font, x_delete_display):
+       Likewise.
+       * doc.c (store_function_docstring): Use XSETCARFASTINT.
+       * fileio.c (Fdo_auto_save): Use XSETCARFASTINT and XSETCDRFASTINT.
+       (Fread_file_name): Use XSETCAR.
+       * fontset.c (Fset_fontset_font): Use CHECK_NUMBER_CAR and
+       CHECK_NUMBER_CDR.
+       (accumulate_font_info, Ffontset_info): Use XSETCAR and XSETCDR.
+       * frame.c (Fmake_terminal_frame): Use XSETCDR.
+       * indent.c (Fcompute_motion): Use CHECK_NUMBER_CAR and
+       CHECK_NUMBER_CDR.
+       * keyboard.c (read_char): Alter list traversal to avoid taking the
+       address of cons cell slots.  Use POSN_BUFFER_SET_POSN.
+       (parse_menu_item): Use XSETCAR and XSETCDR.
+       (reach_char_x_menu_prompt): Use XSETCAR.
+       (read_key_sequence): Use POSN_BUFFER_SET_POSN.
+       (Fcommand_execute): Use XSETCDR.
+       * lread.c (Fload): Use XSETCARFASTINT and XSETCDRFASTINT.
+       (openp): Change list traversal to avoid using XCAR as lvalue.
+       (read_list): Use XSETCDR.
+       * process.c (wait_reading_process_input): Change wait_for_cell
+       handling to avoid taking addresses of cons cell slots.
+       * xselect.c (x_own_selection, x_handle_selection_clear)
+       (x_clear_frame_selections): Use XSETCDR.
+       (wait_for_property_change): Use XSETCARFASTINT and XSETCDRFASTINT.
+       (x_handle_property_notify, x_get_foreign_selection)
+       (x_handle_selection_notify): Use XSETCAR.
+
 2001-10-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
-       * callint.c (prefix-arg, current-prefix-arg): Fix typo in a doc
-       string.
+       * buffer.c: Put doc strings in comments.
+
+       * sound.c: Include <sys/ioctl.h> also on systems without <soundcard.h>.
+
+2001-10-15  Sam Steingold  <sds@gnu.org>
+
+       * fns.c (Vafter_load_alist): Declare extern (w32 build problem).
+
+2001-10-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * process.c (process-inherit-coding-system-flag)
+       (get-buffer-process): Do not confuse make-docfile with doc strings
+       in comment.
+
+       * editfns.c (Fchar_to_string): Make doc string consistent with
+       arguments.  Put doc strings in comments.
+
+       * abbrev.c, minibuf.c: Put doc strings in comments.
+
+2001-10-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (window_loop): Don't check for Fother_buffer returning nil.
+
+       * window.c (select_window_1): Unfreeze window start.  Remove a
+       doubled test for WINDOW being live.
+
+2001-10-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * fns.c (Fmapconcat): Fix typo in a doc string.
+
+       * dispnew.c (Fsleep_for): Fix typo in a doc string.
+
+2001-10-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_draw_glyph_string): Restore clipping after
+       drawing box.
+
+2001-10-15  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * callint.c (prefix-arg, current-prefix-arg): Fix typo in a doc string.
 
 2001-10-14  Stefan Monnier  <monnier@cs.yale.edu>
 
 2001-10-04  Gerd Moellmann  <gerd@gnu.org>
 
        * Branch for 21.1.
-       
+
 2001-10-03  Miles Bader  <miles@gnu.org>
 
        * callproc.c (syms_of_callproc): Explicitly state in the
 2001-09-11  Gerd Moellmann  <gerd@gnu.org>
 
        * minibuf.c (read_minibuf_unwind): Bind inhibit-modification-hooks.
-       
+
        * minibuf.c (read_minibuf): Bind inhibit-modification-hooks to t,
        in addition to read-only.
 
 
        * xdisp.c (string_buffer_position): Use *single_char_property*
        functions instead of the *single_property* functions.
-       
+
 2001-09-04  Andrew Innes  <andrewi@gnu.org>
 
        * w32term.c (w32_read_socket): Add more information to debugging