(Fbury_buffer): Use braces to follow GNU Coding Standards.
[bpt/emacs.git] / src / ChangeLog
index 955c8d9..5cee3a4 100644 (file)
@@ -1,5 +1,400 @@
+2001-11-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xfaces.c (merge_face_vectors): Use braces to follow GNU
+       Coding Standards.
+       (Finternal_set_lisp_face_attribute): Likewise.
+
+       * buffer.c (Fbury_buffer): Likewise.
+
+       * indent.c (current_column_1): Remove unused variable `prev_col'.
+
+2001-11-07  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (x_display_and_set_cursor): Do not move system caret
+       if cursor_glyph is NULL.
+
+2001-11-07  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * keymap.c (access_keymap): Fix compilation error.
+
+2001-11-07  Miles Bader  <miles@gnu.org>
+
+       * xfns.c (x_set_frame_parameters): Avoid infinite recursion.
+
+2001-11-07  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * intervals.c (graft_intervals_into_buffer):
+       Remove #ifdef'd-out code.
+       (graft_intervals_into_buffer): Remove unused variable `middle'.
+
+       * lread.c (Feval_region): Remove obsolete #ifdef'd-out
+       code (eval-current-buffer).
+       Change doc-string comments to `new style' [w/`doc:' keyword].
+
+2001-11-06  Richard M. Stallman  <rms@gnu.org>
+
+       * keymap.c (access_keymap): Don't use initializers on Lisp_Object.
+
+2001-11-06  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * lread.c (read1): Fix behavior with nested backquoting.
+
+       * keyboard.c (make_lispy_event): Check integerness and fix
+       Lisp_Object/int mixup.
+
+2001-11-06  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * fns.c (copy_hash_table): Remove unused variable `v'.
+
+       * fontset.c (fontset_font_pattern): Remove unused variable
+       `family_registry'.
+
+       * indent.c (current_column_1): Remove unused variable `prev_col'.
+
+2001-11-05  Richard M. Stallman  <rms@gnu.org>
+
+       * m/news-risc.h (BROKEN_PROTOTYPES): Defined.
+
+       * buffer.c (Fkill_buffer): Don't delete auto save file
+       if buffer is modified.
+
+2001-11-05  Andrew Innes  <andrewi@gnu.org>
+
+       * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and
+       CHECK_NUMBER_CDR.
+
+2001-11-05  Richard M. Stallman  <rms@gnu.org>
+
+       * unexelf.c (unexec): Minor changes; clean up comments.
+
+2001-11-05  Sam Steingold  <sds@gnu.org>
+
+       * w32term.c (x_display_and_set_cursor): Fix w32 compilation error.
+
+2001-11-05  Andreas Schwab  <schwab@suse.de>
+
+       * sound.c (sound_perror): Save errno from being clobbered.
+
+2001-11-05  Dale Hagglund  <rdh@yottayotta.com>
+
+       * unexelf.c (unexec): Don't use `mmap'.  Instead, read and write
+       the program image directly.
+
+2001-11-05  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * buffer.h (Fbuffer_local_value): Add prototype.
+
+2001-11-04  Richard M. Stallman  <rms@gnu.org>
+
+       * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL
+       and CHECK_BUFFER.
+
+       * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth.
+       (record_char): Likewise.
+
+       * keyboard.c (make_lispy_event): Don't insist a drag event must
+       move to a different buffer position.  Instead, check for moving at
+       least double_click_fuzz.
+
+       * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength.
+
+       * keyboard.c (echo-area-clear-hook): Undo Oct 29 change.
+
+       * indent.c (current_column_1, Fmove_to_column): Separate the code
+       for display-table glyphs from the code buffer text, to fix
+       bugs in the former.
+
+2001-11-04  Michael Welsh Duggan  <md5i@cs.cmu.edu>
+
+       * buffer.c (Fbuffer_local_value): New function.
+       (syms_of_buffer): Defsubr it.
+
+       * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local
+       value of `cursor-in-non-selected-windows'.
+
+       * lisp.h (Qcursor_in_non_selected_windows): New declaration.
+       * xdisp.c (Qcursor_in_non_selected_windows): New variable.
+       (syms_of_xdisp): Initialize it.
+
+2001-11-04  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xfns.c (Fx_create_frame): Doc fix.
+
+       * coding.c: Change doc-string comments to `new style' [w/`doc:'
+       keyword].
+
+       * eval.c (top_level_value, top_level_set): Remove commented and
+       #ifdef'd-out code.
+       (Fdefvar): Fix usage in doc-string.
+
+2001-11-03  Richard M. Stallman  <rms@gnu.org>
+
+       * xfns.c: Include unistd.h, if it exists.
+
+       * editfns.c: Move the include of ctype.h after unistd.h.
+
+       * gmalloc.c: Test BROKEN_PROTOTYPES.
+
+2001-11-03  Ken Raeburn  <raeburn@gnu.org>
+
+       * lisp.h (CHECK_STRING_CAR): New macro.
+       * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of
+       treating XCAR and XCDR as lvalues.
+       (openp): Use CHECK_STRING_CAR.
+       (read_list): Use XSETCDR instead of treating XCDR as lvalue.
+
+2001-11-03  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE.
+       (SIGMASKTYPE): Define.
+
+       * syssignal.h (sigunblock): Don't define if already defined.
+
+2001-11-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * eval.c (debugger_may_continue, Vdebug_ignored_errors)
+       (call_debugger, Fcondition_case, skip_debugger, unbind_to):
+       Fix typos in comments.
+
+       * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented
+       and #ifdef'd-out code.
+       Fix and reindent comments.
+
+       * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c.
+
+       * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused
+       argument `i' in macros.
+
+       * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument
+       `i' in macros.
+
+       * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST)
+       (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE)
+       (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER)
+       (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER)
+       (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER)
+       (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT)
+       (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY)
+       (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i'
+       in macros.
+
+       * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c,
+       casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c,
+       composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c,
+       eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h,
+       indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c,
+       minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c,
+       sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c,
+       w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c,
+       xfaces.c, xmenu.c, xselect.c : Update usage of CHECK_ macros
+       (remove unused second argument).
+
+2001-11-02  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * syntax.c (describe_syntax): New wrapper.
+       (Finternal_describe_syntax_value): Rename from describe_syntax.
+       Don't insert space at front and \n at the end.
+       (syms_of_syntax): Defsubr Sinternal_describe_syntax_value.
+
+       * regex.c (re_wctype): Try to fix some warnings.
+       (regcomp, regexec): Don't forget the __restrict.
+
+2001-11-02  Richard M. Stallman  <rms@gnu.org>
+
+       * textprop.c (Fget_char_property): Doc fix.
+
+2001-11-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * process.c (Fstart_process): Add usage to doc-string.
+
+       * data.c (Fsetq_default): Ditto.
+
+       * callint.c (Finteractive): Ditto.
+
+2001-11-01  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * macros.c: Don't include keymap.h any more.
+
+2001-11-01  Richard M. Stallman  <rms@gnu.org>
+
+       * data.c (Fmake_local_variable): Doc fix.
+
+       * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix.
+       (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix.
+
+       * keymap.c (Fdescribe_buffer_bindings): Print character property
+       bindings along with or instead of the buffer local map.
+       Make the overriding maps override what they should.
+
+2001-11-01  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * window.c (grow_mini_window): Fix typo in comment.
+
+2001-11-01  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_scroll_bar_create): Check for width and height > 0.
+       (XTset_vertical_scroll_bar): Likewise.
+
+       * xfns.c (x_build_heuristic_mask): Use four_corners_best
+       instead of IMAGE_BACKGROUND.
+
+       * xfns.c (four_corners_best): Reindent.
+
+       * xfaces.c (Finternal_set_lisp_face_attribute_from_resource):
+       Handle :box so that it is possible to specify sexprs.
+
+2001-11-01  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xfaces.c (Finternal_merge_in_global_face): Reindent.
+       (Fface_font): Ditto.
+       (Finternal_set_alternative_font_registry_alist): Ditto.
+       (Ftty_suppress_bold_inverse_default_colors): Ditto.
+
+       * xfns.c (x-get-resource): Reindent.
+
+2001-10-31  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * s/hpux11.h: New file.
+
+2001-10-31  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * emacs.c (USAGE1): Show command line option --no-window-system
+       instead of --no-windows in usage.
+       (standard_args): Rename --no-windows to --no-window-system.
+       (bug_reporting_address): Follow Emacs coding conventions.
+
+       * eval.c (Fcommandp): Doc fix.
+       Change doc-string comments to `new style' [w/`doc:' keyword].
+
+       * frame.c (Fframe_live_p): Doc fix.
+
+       * buffer.c (selective-display-ellipses): Doc fix.
+
+2001-10-31  Gerd Moellmann  <gerd@gnu.org>
+
+       * lread.c (to_multibyte): Fix computation of new read_buffer_size.
+
+       * xfaces.c (realize_x_face): If C is not a single-byte character,
+       set the face's colors_copied_bitwise_p instead of the defaulted_p
+       members which have a different meaning.
+       (free_face_colors): Do nothing for a face whose colors have been
+       copied bitwise.
+
+       * dispextern.h (struct face) <colors_copied_bitwise_p>: New member.
+
+2001-10-31  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * marker.c, mocklisp.c: Change doc-string comments to `new style'
+       [w/`doc:' keyword].
+
+2001-10-31  Gerd Moellmann  <gerd@gnu.org>
+
+       * fns.c (require_unwind): Return Lisp_Object.
+
+2001-10-31  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix.
+       (last-input-char): Revert doc-string to be the same as the
+       doc-string of `last-input-event'.
+
+       * xdisp.c:  Fix typos in comments.
+
+2001-10-31  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (grow_mini_window): Handle case that the root
+       window is already smaller than the nominal mininum height.
+
+2001-10-30  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * emacs.c (main): Don't call keys_of_macros any more.
+
+       * lisp.h (keys_of_macros): Remove.
+
+       * macros.c (keys_of_macros): Remove.
+
+       * xfaces.c (Fface_attribute_relative_p): Declare args.
+
+2001-10-30  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer.
+       (enum_font_cb2): Ignore fonts with vertical orientation.
+
+2001-10-30  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.c (Finput_pending_p): Doc fix.
+
+2001-10-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_after_update_window_line): Don't run the code
+       clearing in borders for rows whose visible height is 0.
+
+       * xdisp.c (clear_garbaged_frames): Redraw the frame only if its
+       resized_p flag is set.  If not set, use the much less flickering
+       method previously used.
+
+       * dispnew.c (change_frame_size_1): Set frame's resized_p.
+
+       * frame.h (struct frame) <resized_p>: New member.
+
+       * lread.c (to_multibyte): Ensure read_buffer is at least twice
+       as large as the number of bytes to convert.
+
+       * lread.c (to_multibyte): New function.
+       (read1): Use it.
+
+2001-10-30  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c).
+
+2001-10-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel.
+       (x_set_glyph_string_background_width): Set extends_to_end_of_line_p
+       if the row's fill_line_p is set and drawing the last glyph with
+       DRAW_IMAGE_{RAISED,SUNKEN}.
+
+       * xdisp.c (clear_garbaged_frames): Call Fredraw_frame.
+
+2001-10-29  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xmenu.c: Include coding.h and charset.h.
+       (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT.
+       (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part.
+       (single_submenu, xmenu_show): Use ENCODE_SYSTEM.
+       Explicitly set wv->help.  Use `TRUE' rather than `True'.
+       (menu_help_callback): Use empty_string.
+
+       * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos.
+       (Fx_popup_dialog): Explicitly init f.
+       (w32_menu_display_help): Use empty_string.
+
+2001-10-29  Richard M. Stallman  <rms@gnu.org>
+
+       * fns.c (Frequire): Detect recursive try to require the same
+       feature 3 or more levels deep, and get error.
+       (require_unwind): New subroutine.
+       (require_nesting_list): New variable.
+       (syms_of_fns): Init and staticpro it.
+
+       * print.c (print_object): Clarify indication of insertion type.
+
+2001-10-29  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * coding.c (syms_of_coding): Document that locale-coding-system is
+       used for decoding input on X.
+
+       * window.c (Fscroll_left, Fscroll_right): Doc fix.
+
+2001-10-29  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * keyboard.c (Finput_pending_p): Fix typo in doc-string.
+       (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it.
+
 2001-10-29  Gerd Moellmann  <gerd@gnu.org>
 
+       * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area,
+       use NO_CURSOR if cursor_in_non_selected_windows is false.
+
        * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for
        the slant attribute if FRAME is t.
 
@@ -8,7 +403,7 @@
 
        * xterm.c (x_after_update_window_line): Clear internal border
        in different circumstances.
-       
+
        * xterm.c (XTread_socket) <KeyPress>: Don't use
        STRING_CHAR_AND_LENGTH if nchars == nbytes.  From Kenichi Handa
        <handa@etl.go.jp>.
 2001-10-28  Gerd Moellmann  <gerd@gnu.org>
 
        * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color.
-       
+
        * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing
        a loop counter.
 
        * keyboard.c: Change doc-string comments to `new style' [w/`doc:'
        keyword].
        Fix typos in comments.
-       
+
        * emacs.c (bug_reporting_address): New function.
        Use it when displaying usage message.
 
 
        * frame.c (Fframe_parameter): Fix last change.
 
+       * fileio.c: Revert last change (which removed old commented-out
+       version of expand-file-name).  Add a comment that explains why
+       this old version should not be removed.
+
 2001-10-25  Gerd Moellmann  <gerd@gnu.org>
 
        * frame.c (Fframe_parameter): Fix a bug whereby some