*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
index 3afdbfc..3931c39 100644 (file)
@@ -1,7 +1,140 @@
+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.
+       * xdisp.c (display_line): Indicate empty lines in active mini-window.
 
 2001-10-17  Andrew Innes  <andrewi@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.
+       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 
+       * 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.
+       * xdisp.c (display_line): Don't indicate empty lines in mini-windows.
 
 2001-10-17  Miles Bader  <miles@gnu.org>
 
        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.
+       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.
        * 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
+       * 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.
+       * 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):
+       * 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.
        * 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.
+       * 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.
        (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.
+       * 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>
 
        * buffer.c: Put doc strings in comments.
 
-       * sound.c: Include <sys/ioctl.h> also on systems without
-        <soundcard.h>.
+       * sound.c: Include <sys/ioctl.h> also on systems without <soundcard.h>.
 
 2001-10-15  Sam Steingold  <sds@gnu.org>
 
 
 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
+       * 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.
+       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 (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>
 
-       * callint.c (prefix-arg, current-prefix-arg): Fix typo in a doc
-       string.
+       * callint.c (prefix-arg, current-prefix-arg): Fix typo in a doc string.
 
 2001-10-14  Stefan Monnier  <monnier@cs.yale.edu>