+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>
+
+ * 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>
+
+ * indent.c (skip_invisible): Use new retval of
+ TEXT_PROP_MEANS_INVISIBLE.
+
+ * keymap.c (access_keymap): Unify handling of `t' and generic-char.
+ If a parent is reached and noinherit is set, exit immediately.
+ Use AREF and ASIZE macros. Call get_keyelt before checking KEYMAPP.
+
+ * s/ms-w32.h (EXEC_SUFFIXES):
+ * s/msdos.h (EXEC_SUFFIXES):
+ * process.h (EXEC_SUFFIXES): Remove.
+
+ * callproc.c (syms_of_callproc): Init Vexec_suffixes to Qnil.
+ (decode_suffixes): Remove.
+
+ * intervals.h (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS)
+ (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS, invisible_noellipsis_p)
+ (invisible_ellipsis_p): Remove.
+
+ * xdisp.c (DOLIST, LOOP_PROPVAL): Remove.
+ (invisible_p): Return 1 or 2 depending on whether an ellipsis is used.
+ (invisible_ellipsis_p, invisible_noellipsis_p): Remove.
+ (in_ellipses_for_invisible_text_p, handle_invisible_prop):
+ Use new retval of TEXT_PROP_MEANS_INVISIBLE.
+
+2001-10-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * lisp.h (Ftop_level): Add prototype.
+
+ * xterm.c: (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes.
+ (XTread_socket): Improve style of comments to follow other
+ comments.
+
+ * keyboard.c (Fcommand_execute): Remove unnecessary prototype (it
+ is already prototyped in included lisp.h).
+
+ * frame.c (Fset_mouse_position): Improve style of comment to
+ follow other comments.
+ (Fset_mouse_pixel_position): Improve style of comment to follow
+ other comments.
+ (Fmake_frame_visible): Doc fix and typo in comment.
+ (Fmake_frame_invisible): Doc fix and typo in comment.
+ (Ficonify_frame): Fix typo in comment.
+
+2001-10-14 Gerd Moellmann <gerd@gnu.org>
+
+ * xfns.c, dispnew.c, xterm.c, xdisp.c, xfaces.c, xmenu.c
+ * term.c, alloc.c: Put doc strings in comments.
+
+2001-10-13 Gerd Moellmann <gerd@gnu.org>
+
+ * lisp.h (DEFUN, DEFVAR_LISP, ...) [DOC_STRINGS_IN_COMMENTS]:
+ Provide definitions for doc strings in comments.
+
+ * fns.c: Put doc strings in comments.
+
+2001-10-13 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * dired.c (file_name_completion): Ignore a candidate directory if
+ it matches an element in completion-ignored-extensions that ends
+ in a slash.
+ (syms_of_dired) <completion-ignored-extensions>: Mention the above
+ feature in the doc string.
+ (Ffile_name_completion): Ditto.
+
+2001-10-12 Stefan Monnier <monnier@cs.yale.edu>
+
+ * indent.c (skip_invisible): Don't skip "ellipsisized" text.
+
+ * xfns.c (syms_of_xfns): Update calls to Fprovide.
+
+ * lisp.h (Fprovide): Update prototype.
+ (Ffeaturep, invisible_p): Remove.
+
+ * xdisp.c (init_iterator): Be more strict with bytepos and charpos.
+ (DOLIST, LOOP_PROPVAL): New macros.
+ (invisible_p, invisible_ellipsis_p): Use them.
+ (invisible_noellipsis_p): New function.
+ (syms_of_xdisp): Use empty_string.
+
+ * alloc.c (mark_interval_tree): Use traverse_intervals_noorder.
+
+ * lread.c (substitute_object_recurse): Use traverse_intervals_noorder.
+ (syms_of_lread) <Vafter_load_alist>: Update docstring.
+
+ * print.c (Fwith_output_to_temp_buffer): Align with
+ internal_with_output_to_temp_buffer.
+ (print_preprocess): Use traverse_intervals_noorder.
+ (print_object): Update call to traverse_intervals.
+
+ * intervals.h (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): New macro.
+ (traverse_intervals_noorder, invisible_noellipsis_p): New funs.
+
+ * intervals.c (traverse_intervals_noorder): New function.
+ (search_for_interval, count_intervals): Use it.
+ (traverse_intervals): Use less stack space and drop `depth' arg.
+
+ * fns.c (Ffeaturep): Add new `subfeature' arg.
+ (Fprovide): Add new `subfeatures' arg. Use `after-load-alist'.
+ (Qsubfeatures): New var.
+ (syms_of_fns): Initialize it.
+
+ * keymap.c (Fkey_description): Use empty_string.
+ (Fdescribe_bindings_internal, describe_buffer_bindings): Remove.
+ (syms_of_keymap): Setup inheritance between maps.
+ Don't export Sdescribe_bindings_internal any more.
+
+ * minibuf.c (keys_of_minibuf): Eliminate redundant bindings.
+
+2001-10-12 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (notice_overwritten_cursor): Renamed from
+ note_overwritten_text_cursor. Rewritten to take glyph widths into
+ account.
+
+2001-10-12 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * lread.c (syms_of_lread) <load-suffixes>: Fix last change:
+ multi-line strings without a trailing "\n\".
+
+2001-10-12 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * floatfns.c: float_error() is defined iff FLOAT_CATCH_SIGILL is
+ defined.
+
+2001-10-11 Stefan Monnier <monnier@cs.yale.edu>
+
+ * callint.c (Fcall_interactively): Remove unused code. Use XCAR.
+
+ * xfns.c (x_create_bitmap_from_file, x_find_image_file):
+ * w32proc.c (sys_spawnve):
+ * w32fns.c (x_create_bitmap_from_file, x_find_image_file):
+ * w32.c (check_windows_init_file):
+ * sound.c (Fplay_sound):
+ * emacs.c (init_cmdargs):
+ * process.c (Fstart_process): Update calls to openp.
+
+ * callproc.c (Vexec_suffixes): New var.
+ (Fcall_process): Update call to openp.
+ (decode_suffixes): New function.
+ (syms_of_callproc): Init exec-suffixes.
+
+ * lread.c (Vload_suffixes, default_suffixes): New vars.
+ (openp): Take a lisp list of suffixes.
+ Check for file-name-handlers even if the file was absolute already.
+ (syms_of_lread): Declare load-suffixes.
+ (Fload): Fix up call to openp.
+ Don't bother checking for file-name-handler at the very beginning.
+
+ * keymap.h (Fcopy_keymap): Don't export.
+
+ * lisp.h (empty_string): Declare.
+ (Vload_suffixes, Vexec_suffixes): Declare.
+ (openp): Update prototype.
+
+ * emacs.c (empty_string): New var.
+ (syms_of_emacs): Initialize it.
+
+ * search.c (wordify): Use it.
+
+ * buffer.c (Fbury_buffer): Don't try to remove the buffer from the
+ selected window if it's not displayed there. Handle the case
+ when the window is dedicated.
+ (syms_of_buffer): Fix docstrings not to mention "buffer-local" anymore.
+
+ * undo.c (Fprimitive_undo): Use XCAR/XCDR.
+
+ * syntax.h (struct gl_state_s): Change the meaning of b_property.
+ Remove left_ok and right_ok.
+ (UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE)
+ (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): Update to the
+ new meaning of b_property.
+
+ * syntax.c (update_syntax_table): Simplify.
+ (Fforward_comment): Don't skip quoted chars when going backward.
+
+2001-10-11 Gerd Moellmann <gerd@gnu.org>
+
+ * lisp.h (FIXNUM_OVERFLOW_P): Cast I to EMACS_INT in comparisons
+ in case I is of some unsigned type, in which case
+ MOST_NEGATIVE_FIXNUM will be converted to unsigned, and the
+ comparison becomes bogus.
+
+ * editfns.c (Fuser_uid, Fuser_real_uid): Use make_fixnum_or_float.
+ (Fuser_full_name): Fix bug treating a float as a fixnum.
+
+ * data.c (Fstring_to_number): Use make_fixnum_or_float.
+
+ * lisp.h (make_fixnum_or_float): New macro.
+
+ * lisp.h (circular_list_error): Add prototype.
+
+ * data.c (Qcircular_list): New variable.
+ (circular_list_error): New function.
+ (syms_of_data): Initialize it Qcircular_list.
+
+2001-10-10 Stefan Monnier <monnier@cs.yale.edu>
+
+ * window.c, syntax.c, macros.c, frame.c, emacs.c, cmds.c, category.c,
+ casefiddle.c, buffer.c: Include keymap.h.
+
+2001-10-10 Gerd Moellmann <gerd@gnu.org>
+
+ * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics'
+ options. From Dave Love <d.love@dl.ac.uk>.
+
+2001-10-09 Gerd Moellmann <gerd@gnu.org>
+
+ * regex.c (WIDE_CHAR_SUPPORT): Do not use defined() in macro.
+ From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
+
+ * editfns.c (Fcurrent_time_zone): Cast isalnum() argument to
+ unsigned char.
+ From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
+
2001-10-08 Andrew Innes <andrewi@gnu.org>
* lisp.h [max]: Undef min and max before redefining them.
* minibuf.c, sunfns.c, w16select.c: Use SYMBOL_VALUE/
SET_SYMBOL_VALUE macros instead of accessing symbol values directly.
+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