
1: 2001-10-20 Gerd Moellmann <gerd@gnu.org> 2: 3: * (Version 21.1 released.) 4: 5: 2001-10-20 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 6: 7: * xfns.c (x_laplace_read_row, x_laplace_write_row): Prototypes removed. 8: 9: * xdisp.c (invisible_text_between_p): Put prototype inside #if 10: 0 because unused. 11: 12: * bytecode.c, callint.c, callproc.c, casefiddle.c, casetab.c 13: * category.c, ccl.c, charset.c, process.c, syntax.c, window.c: 14: Change doc-string comments to `new style' [w/`doc:' keyword]. 15: 16: 2001-10-20 Miles Bader <miles@gnu.org> 17: 18: The following changes remove the glyph_row `inverse_p' field, 19: which is never set anymore, due to other changes: 20: 21: * dispextern.h (struct glyph_row): Remove `inverse_p' field. 22: (reassert_line_highlight, change_line_highlight): Declarations removed. 23: * dispnew.c (update_frame_line): Don't call reassert_line_highlight. 24: (line_hash_code, row_equal_p, fake_current_matrices) 25: (build_frame_matrix_from_leaf_window, update_frame_line) 26: (update_frame_line, update_frame_line, update_frame_line): 27: Don't use `inverse_p' field. 28: * xterm.c (x_initialize): Don't set reassert_line_highlight_hook or 29: change_line_highlight_hook. 30: (XTreassert_line_highlight, x_change_line_highlight): 31: Functions removed. 32: (x_fix_overlapping_area, x_write_glyphs, expose_area) 33: (expose_line, x_erase_phys_cursor): Don't use `inverse_p' field. 34: * xdisp.c (dump_glyph_row, display_mode_line): Don't use 35: `inverse_p' field. 36: * w32term.c (x_fix_overlapping_area, x_write_glyphs, expose_area) 37: (expose_line, x_erase_phys_cursor): Don't use `inverse_p' field. 38: (w32_reassert_line_highlight, x_change_line_highlight): 39: Functions removed. 40: * w32console.c (reassert_line_highlight, change_line_highlight): 41: Functions removed. 42: (initialize_w32_display): Don't set reassert_line_highlight_hook 43: or change_line_highlight_hook. 44: (hl_mode): Function removed. 45: (reset_terminal_modes, set_terminal_modes, update_begin) 46: (update_end, w32_face_attributes, initialize_w32_display): 47: (clear_frame, ins_del_lines): Don't call it. 48: * termhooks.h (reassert_line_highlight_hook) 49: (change_line_highlight_hook): Declarations removed. 50: * term.c (reassert_line_highlight_hook) 51: (change_line_highlight_hook): Variables removed. 52: (reassert_line_highlight, change_line_highlight): Functions removed. 53: * msdos.c (IT_reassert_line_highlight) 54: (IT_change_line_highlight): Functions removed. 55: (internal_terminal_init): Don't set reassert_line_highlight_hook 56: or change_line_highlight_hook. 57: (highlight): Variable removed. 58: (IT_set_face, IT_update_begin, IT_update_end) 59: (IT_set_terminal_modes): Don't set or use it. 60: 61: The following changes remove inverse-video support for terminals 62: that use a `magic cookie' standout mode. Due to changes in the 63: way mode-lines are displayed, such support no longer works 64: anyway, and it's probable that almost no one uses such terminals 65: anymore: 66: 67: * term.c (standout_requested): Variable removed. 68: (update_end, highlight_if_desired): Don't use it. 69: (chars_wasted, copybuf): Variables removed. 70: (write_standout_marker): Function removed. 71: (cursor_to, clear_to_end, clear_frame, clear_end_of_line_raw) 72: (clear_end_of_line_raw, write_glyphs, ins_del_lines): 73: Don't use `chars_wasted' or `copybuf'. 74: (calculate_costs): Don't allocate `chars_wasted' or `copybuf'. 75: Set `costs_set' to true. 76: (cursor_to, clear_end_of_line): Test `costs_set' instead of 77: `chars_wasted'. 78: (clear_end_of_line): Function removed. 79: (clear_end_of_line_raw): Renamed to `clear_end_of_line'. 80: (clear_to_end): Call `clear_end_of_line' instead of 81: `clear_end_of_line_raw'. 82: (TN_standout_width, TF_xs, TN_magic_cookie_glitch_ul): Vars removed. 83: (term_init): Don't set them. 84: Turn off any standout/underline modes that require magic cookies. 85: (ins_del_lines, highlight_if_desired, background_highlight) 86: (turn_on_highlight, turn_off_highlight, reset_terminal_modes): 87: Remove special processing for magic-cookie standout modes. 88: (turn_off_face, turn_on_face): Remove special processing for 89: underline magic-cookie glitch. 90: 91: 2001-10-19 Richard M. Stallman <rms@gnu.org> 92: 93: * eval.c (syms_of_eval): Doc fixes. 94: 95: 2001-10-19 Gerd Moellmann <gerd@gnu.org> 96: 97: * xdisp.c (redisplay_internal): Don't clear echo area if the 98: mini-window is selected. 99: 100: 2001-10-19 Miles Bader <miles@gnu.org> 101: 102: * editfns.c (text_property_stickiness): Non-rear-non-stickiness 103: doesn't take precedence if the affected property's value is nil. 104: 105: * editfns.c (Fencode_time): Escape a BOL paren in the doc-string. 106: 107: * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify interaction 108: with fields and suggest using `forward-line' to avoid them. 109: * editfns.c (Fline_beginning_position, Fline_end_position): 110: Clarify documentation. 111: 112: 2001-10-18 Stefan Monnier <monnier@cs.yale.edu> 113: 114: * keymap.c (current_minor_maps): `override' only shadows its 115: correspondent in minor-mode-map-alist, not the whole tail. 116: 117: 2001-10-18 Andrew Innes <andrewi@gnu.org> 118: 119: * fontset.c (fs_load_font) [WINDOWSNT && _MSC_VER]: Disable 120: optimization. The fontp->encoding array was not being initialized 121: correctly when compiled with optimizations by MSVC. 122: 123: 2001-10-18 Gerd Moellmann <gerd@gnu.org> 124: 125: * xdisp.c (display_line): Indicate empty lines in active mini-window. 126: 127: 2001-10-17 Andrew Innes <andrewi@gnu.org> 128: 129: * fontset.h (struct font_info) [WINDOWSNT]: Add codepage field. 130: 131: * w32fns.c (w32_load_system_font): Cache codepage for font, in 132: font_info.charset field. 133: 134: * w32term.c (w32_encode_char): Get cached codepage from font_info, 135: rather than working it out by calling w32_codepage_for_font for 136: every glyph. 137: 138: 2001-10-17 Andrew Innes <andrewi@gnu.org> 139: 140: * w32term.c (w32_read_socket): Determine clipping rectangle for 141: the entire frame, including areas covered by scrollbars and the 142: menubar. This avoids internal arguments about whether a frame is 143: fully obscured or not. 144: 145: 2001-10-17 Gerd Moellmann <gerd@gnu.org> 146: 147: * xdisp.c (try_window_id): Undo last change. Give up if 148: window ends in strings. 149: 150: * xdisp.c (try_window_id): Don't display lines after the window 151: end if the rest of the window after the window end was already blank. 152: 153: * xdisp.c (try_window_id): Remove code that was only there 154: for the release of 21.1. 155: 156: * xdisp.c (display_line): Don't indicate empty lines in mini-windows. 157: 158: 2001-10-17 Miles Bader <miles@gnu.org> 159: 160: * lisp.h (DEFUN): Remove `DOC_STRINGS_IN_COMMENTS' case. 161: * xmenu.c, xdisp.c, term.c, dispnew.c, abbrev.c, editfns.c, buffer.c 162: * xfns.c, alloc.c, minibuf.c, xterm.c, xfaces.c: 163: Change doc-string comments to `new style' [w/`doc:' keyword]. 164: (DOC_STRINGS_IN_COMMENTS): Macro removed. 165: * minibuf.c: Remove old commented-out-DEFUN that was used to fake 166: out make-docfile. 167: 168: 2001-10-16 Miles Bader <miles@gnu.org> 169: 170: * fns.c: Change doc-string comments to `new style' [w/`doc:' keyword]. 171: 172: 2001-10-16 Gerd Moellmann <gerd@gnu.org> 173: 174: * buffer.c (Fset_buffer_major_mode): Use initial-major-mode for 175: *scratch*. 176: 177: 2001-10-16 Ken Raeburn <raeburn@gnu.org> 178: 179: Avoid the assumption that car and cdr slots of cons cells are 180: addressable lvalues; this allows for easier experimentation with 181: other lisp implementations that may not permit such accesses for 182: various reasons. Not quite complete -- buffer.c still needs some 183: work, and w32/mac files need rechecking -- so compile-time 184: enforcement is left disabled for now. 185: 186: * lisp.h (LISP_MAKE_RVALUE): New macro, or function in the case of 187: gcc with a union-based Lisp object rep. Redefine as no-op for now. 188: (XCAR_AS_LVALUE, XCDR_AS_LVALUE): Rename from old XCAR, XCDR. 189: (XCAR, XCDR): Apply LISP_MAKE_RVALUE to the _AS_LVALUE versions. 190: (XSETCAR, XSETCDR): New macros. 191: (XSETCARFASTINT, XSETCDRFASTINT): New macros. 192: (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): New macros. 193: * keyboard.h (POSN_BUFFER_SET_POSN): New macro. 194: * alloc.c (Fcons, pure_cons, Fgarbage_collect): Use XSETCAR and 195: XSETCDR. 196: (mark_buffer): Use XCAR_AS_LVALUE, XCDR_AS_LVALUE. 197: * buffer.c (record_buffer, Fbury_buffer) 198: (swap_out_buffer_local_variables, recenter_overlay_lists) 199: (Foverlay_put): Use XSETCAR and XSETCDR to set the car and cdr 200: fields of a cons cell respectively. 201: * callint.c (quotify_args, Fcall_interactively): Likewise. 202: * ccl.c (Fregister_code_conversion_map): Likewise. 203: * coding.c (detect_coding_system): Likewise. 204: * composite.c (get_composition_id, make_composition_value_copy): 205: Likewise. 206: * data.c (Fsetcar, Fsetcdr, swap_in_global_binding) 207: (swap_in_symval_forwarding, set_internal, Fset_default) 208: (Fmake_variable_buffer_local, Fmake_local_variable) 209: (Fmake_variable_frame_local): Likewise. 210: * fns.c (concat, Fcopy_alist, Fwidget_put): Likewise. 211: * keymap.c (Fset_keymap_parent, store_in_keymap) 212: (accessible_keymaps_1, where_is_internal_2, Fcopy_keymap): Likewise. 213: * minibuf.c (get_minibuffer): Likewise. 214: * search.c (Fmatch_data): Likewise. 215: * textprop.c (extend_property_ranges): Likewise. 216: * undo.c (record_insert, Fundo_boundary, truncate_undo_list): Likewise. 217: * w32fns.c (w32_msg_pump, Fw32_register_hot_key, w32_list_fonts): 218: Likewise. 219: * w32term.c (x_delete_display): Likewise. 220: * xfaces.c (remove_duplicates, Finternal_set_lisp_face_attribute): 221: Likewise. 222: * xterm.c (x_list_fonts, x_load_font, x_delete_display): Likewise. 223: * doc.c (store_function_docstring): Use XSETCARFASTINT. 224: * fileio.c (Fdo_auto_save): Use XSETCARFASTINT and XSETCDRFASTINT. 225: (Fread_file_name): Use XSETCAR. 226: * fontset.c (Fset_fontset_font): Use CHECK_NUMBER_CAR and 227: CHECK_NUMBER_CDR. 228: (accumulate_font_info, Ffontset_info): Use XSETCAR and XSETCDR. 229: * frame.c (Fmake_terminal_frame): Use XSETCDR. 230: * indent.c (Fcompute_motion): Use CHECK_NUMBER_CAR and 231: CHECK_NUMBER_CDR. 232: * keyboard.c (read_char): Alter list traversal to avoid taking the 233: address of cons cell slots. Use POSN_BUFFER_SET_POSN. 234: (parse_menu_item): Use XSETCAR and XSETCDR. 235: (reach_char_x_menu_prompt): Use XSETCAR. 236: (read_key_sequence): Use POSN_BUFFER_SET_POSN. 237: (Fcommand_execute): Use XSETCDR. 238: * lread.c (Fload): Use XSETCARFASTINT and XSETCDRFASTINT. 239: (openp): Change list traversal to avoid using XCAR as lvalue. 240: (read_list): Use XSETCDR. 241: * process.c (wait_reading_process_input): Change wait_for_cell 242: handling to avoid taking addresses of cons cell slots. 243: * xselect.c (x_own_selection, x_handle_selection_clear) 244: (x_clear_frame_selections): Use XSETCDR. 245: (wait_for_property_change): Use XSETCARFASTINT and XSETCDRFASTINT. 246: (x_handle_property_notify, x_get_foreign_selection) 247: (x_handle_selection_notify): Use XSETCAR. 248: 249: 2001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 250: 251: * buffer.c: Put doc strings in comments. 252: 253: * sound.c: Include <sys/ioctl.h> also on systems without <soundcard.h>. 254: 255: 2001-10-15 Sam Steingold <sds@gnu.org> 256: 257: * fns.c (Vafter_load_alist): Declare extern (w32 build problem). 258: 259: 2001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 260: 261: * process.c (process-inherit-coding-system-flag) 262: (get-buffer-process): Do not confuse make-docfile with doc strings 263: in comment. 264: 265: * editfns.c (Fchar_to_string): Make doc string consistent with 266: arguments. Put doc strings in comments. 267: 268: * abbrev.c, minibuf.c: Put doc strings in comments. 269: 270: 2001-10-15 Gerd Moellmann <gerd@gnu.org> 271: 272: * window.c (window_loop): Don't check for Fother_buffer returning nil. 273: 274: * window.c (select_window_1): Unfreeze window start. Remove a 275: doubled test for WINDOW being live. 276: 277: 2001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 278: 279: * fns.c (Fmapconcat): Fix typo in a doc string. 280: 281: * dispnew.c (Fsleep_for): Fix typo in a doc string. 282: 283: 2001-10-15 Gerd Moellmann <gerd@gnu.org> 284: 285: * xterm.c (x_draw_glyph_string): Restore clipping after 286: drawing box. 287: 288: 2001-10-15 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 289: 290: * callint.c (prefix-arg, current-prefix-arg): Fix typo in a doc string. 291: 292: 2001-10-14 Stefan Monnier <monnier@cs.yale.edu> 293: 294: * indent.c (skip_invisible): Use new retval of 295: TEXT_PROP_MEANS_INVISIBLE. 296: 297: * keymap.c (access_keymap): Unify handling of `t' and generic-char. 298: If a parent is reached and noinherit is set, exit immediately. 299: Use AREF and ASIZE macros. Call get_keyelt before checking KEYMAPP. 300: 301: * s/ms-w32.h (EXEC_SUFFIXES): 302: * s/msdos.h (EXEC_SUFFIXES): 303: * process.h (EXEC_SUFFIXES): Remove. 304: 305: * callproc.c (syms_of_callproc): Init Vexec_suffixes to Qnil. 306: (decode_suffixes): Remove. 307: 308: * intervals.h (TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS) 309: (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS, invisible_noellipsis_p) 310: (invisible_ellipsis_p): Remove. 311: 312: * xdisp.c (DOLIST, LOOP_PROPVAL): Remove. 313: (invisible_p): Return 1 or 2 depending on whether an ellipsis is used. 314: (invisible_ellipsis_p, invisible_noellipsis_p): Remove. 315: (in_ellipses_for_invisible_text_p, handle_invisible_prop): 316: Use new retval of TEXT_PROP_MEANS_INVISIBLE. 317: 318: 2001-10-14 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 319: 320: * lisp.h (Ftop_level): Add prototype. 321: 322: * xterm.c: (xlwmenu_window_p, xlwmenu_redisplay): Add prototypes. 323: (XTread_socket): Improve style of comments to follow other 324: comments. 325: 326: * keyboard.c (Fcommand_execute): Remove unnecessary prototype (it 327: is already prototyped in included lisp.h). 328: 329: * frame.c (Fset_mouse_position): Improve style of comment to 330: follow other comments. 331: (Fset_mouse_pixel_position): Improve style of comment to follow 332: other comments. 333: (Fmake_frame_visible): Doc fix and typo in comment. 334: (Fmake_frame_invisible): Doc fix and typo in comment. 335: (Ficonify_frame): Fix typo in comment. 336: 337: 2001-10-14 Gerd Moellmann <gerd@gnu.org> 338: 339: * xfns.c, dispnew.c, xterm.c, xdisp.c, xfaces.c, xmenu.c 340: * term.c, alloc.c: Put doc strings in comments. 341: 342: 2001-10-13 Gerd Moellmann <gerd@gnu.org> 343: 344: * lisp.h (DEFUN, DEFVAR_LISP, ...) [DOC_STRINGS_IN_COMMENTS]: 345: Provide definitions for doc strings in comments. 346: 347: * fns.c: Put doc strings in comments. 348: 349: 2001-10-13 Eli Zaretskii <eliz@is.elta.co.il> 350: 351: * dired.c (file_name_completion): Ignore a candidate directory if 352: it matches an element in completion-ignored-extensions that ends 353: in a slash. 354: (syms_of_dired) <completion-ignored-extensions>: Mention the above 355: feature in the doc string. 356: (Ffile_name_completion): Ditto. 357: 358: 2001-10-12 Stefan Monnier <monnier@cs.yale.edu> 359: 360: * indent.c (skip_invisible): Don't skip "ellipsisized" text. 361: 362: * xfns.c (syms_of_xfns): Update calls to Fprovide. 363: 364: * lisp.h (Fprovide): Update prototype. 365: (Ffeaturep, invisible_p): Remove. 366: 367: * xdisp.c (init_iterator): Be more strict with bytepos and charpos. 368: (DOLIST, LOOP_PROPVAL): New macros. 369: (invisible_p, invisible_ellipsis_p): Use them. 370: (invisible_noellipsis_p): New function. 371: (syms_of_xdisp): Use empty_string. 372: 373: * alloc.c (mark_interval_tree): Use traverse_intervals_noorder. 374: 375: * lread.c (substitute_object_recurse): Use traverse_intervals_noorder. 376: (syms_of_lread) <Vafter_load_alist>: Update docstring. 377: 378: * print.c (Fwith_output_to_temp_buffer): Align with 379: internal_with_output_to_temp_buffer. 380: (print_preprocess): Use traverse_intervals_noorder. 381: (print_object): Update call to traverse_intervals. 382: 383: * intervals.h (TEXT_PROP_MEANS_INVISIBLE_NOELLIPSIS): New macro. 384: (traverse_intervals_noorder, invisible_noellipsis_p): New funs. 385: 386: * intervals.c (traverse_intervals_noorder): New function. 387: (search_for_interval, count_intervals): Use it. 388: (traverse_intervals): Use less stack space and drop `depth' arg. 389: 390: * fns.c (Ffeaturep): Add new `subfeature' arg. 391: (Fprovide): Add new `subfeatures' arg. Use `after-load-alist'. 392: (Qsubfeatures): New var. 393: (syms_of_fns): Initialize it. 394: 395: * keymap.c (Fkey_description): Use empty_string. 396: (Fdescribe_bindings_internal, describe_buffer_bindings): Remove. 397: (syms_of_keymap): Setup inheritance between maps. 398: Don't export Sdescribe_bindings_internal any more. 399: 400: * minibuf.c (keys_of_minibuf): Eliminate redundant bindings. 401: 402: 2001-10-12 Gerd Moellmann <gerd@gnu.org> 403: 404: * xterm.c (notice_overwritten_cursor): Renamed from 405: note_overwritten_text_cursor. Rewritten to take glyph widths into 406: account. 407: 408: 2001-10-12 Eli Zaretskii <eliz@is.elta.co.il> 409: 410: * lread.c (syms_of_lread) <load-suffixes>: Fix last change: 411: multi-line strings without a trailing "\n\". 412: 413: 2001-10-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 414: 415: * floatfns.c: float_error() is defined iff FLOAT_CATCH_SIGILL is 416: defined. 417: 418: 2001-10-11 Stefan Monnier <monnier@cs.yale.edu> 419: 420: * callint.c (Fcall_interactively): Remove unused code. Use XCAR. 421: 422: * xfns.c (x_create_bitmap_from_file, x_find_image_file): 423: * w32proc.c (sys_spawnve): 424: * w32fns.c (x_create_bitmap_from_file, x_find_image_file): 425: * w32.c (check_windows_init_file): 426: * sound.c (Fplay_sound): 427: * emacs.c (init_cmdargs): 428: * process.c (Fstart_process): Update calls to openp. 429: 430: * callproc.c (Vexec_suffixes): New var. 431: (Fcall_process): Update call to openp. 432: (decode_suffixes): New function. 433: (syms_of_callproc): Init exec-suffixes. 434: 435: * lread.c (Vload_suffixes, default_suffixes): New vars. 436: (openp): Take a lisp list of suffixes. 437: Check for file-name-handlers even if the file was absolute already. 438: (syms_of_lread): Declare load-suffixes. 439: (Fload): Fix up call to openp. 440: Don't bother checking for file-name-handler at the very beginning. 441: 442: * keymap.h (Fcopy_keymap): Don't export. 443: 444: * lisp.h (empty_string): Declare. 445: (Vload_suffixes, Vexec_suffixes): Declare. 446: (openp): Update prototype. 447: 448: * emacs.c (empty_string): New var. 449: (syms_of_emacs): Initialize it. 450: 451: * search.c (wordify): Use it. 452: 453: * buffer.c (Fbury_buffer): Don't try to remove the buffer from the 454: selected window if it's not displayed there. Handle the case 455: when the window is dedicated. 456: (syms_of_buffer): Fix docstrings not to mention "buffer-local" anymore. 457: 458: * undo.c (Fprimitive_undo): Use XCAR/XCDR. 459: 460: * syntax.h (struct gl_state_s): Change the meaning of b_property. 461: Remove left_ok and right_ok. 462: (UPDATE_SYNTAX_TABLE_BACKWARD, UPDATE_SYNTAX_TABLE) 463: (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): Update to the 464: new meaning of b_property. 465: 466: * syntax.c (update_syntax_table): Simplify. 467: (Fforward_comment): Don't skip quoted chars when going backward. 468: 469: 2001-10-11 Gerd Moellmann <gerd@gnu.org> 470: 471: * lisp.h (FIXNUM_OVERFLOW_P): Cast I to EMACS_INT in comparisons 472: in case I is of some unsigned type, in which case 473: MOST_NEGATIVE_FIXNUM will be converted to unsigned, and the 474: comparison becomes bogus. 475: 476: * editfns.c (Fuser_uid, Fuser_real_uid): Use make_fixnum_or_float. 477: (Fuser_full_name): Fix bug treating a float as a fixnum. 478: 479: * data.c (Fstring_to_number): Use make_fixnum_or_float. 480: 481: * lisp.h (make_fixnum_or_float): New macro. 482: 483: * lisp.h (circular_list_error): Add prototype. 484: 485: * data.c (Qcircular_list): New variable. 486: (circular_list_error): New function. 487: (syms_of_data): Initialize it Qcircular_list. 488: 489: 2001-10-10 Stefan Monnier <monnier@cs.yale.edu> 490: 491: * window.c, syntax.c, macros.c, frame.c, emacs.c, cmds.c, category.c 492: * casefiddle.c, buffer.c: Include keymap.h. 493: 494: 2001-10-10 Gerd Moellmann <gerd@gnu.org> 495: 496: * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Add `-nointrinsics' 497: options. From Dave Love <d.love@dl.ac.uk>. 498: 499: 2001-10-09 Gerd Moellmann <gerd@gnu.org> 500: 501: * regex.c (WIDE_CHAR_SUPPORT): Do not use defined() in macro. 502: From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>. 503: 504: * editfns.c (Fcurrent_time_zone): Cast isalnum() argument to 505: unsigned char. 506: From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>. 507: 508: 2001-10-08 Andrew Innes <andrewi@gnu.org> 509: 510: * lisp.h [max]: Undef min and max before redefining them. 511: 512: * w32gui.h: Do not undef min and max. 513: 514: * w32heap.h: Do not undef min and max. 515: 516: * s/ms-w32.h: Do not undef min and max. 517: 518: 2001-10-08 Stefan Monnier <monnier@cs.yale.edu> 519: 520: * xdisp.c (handle_fontified_prop): Don't bind after-change-functions. 521: 522: 2001-10-08 Sam Steingold <sds@gnu.org> 523: 524: * keymap.c (current-active-maps): Quote newlines (compilation error). 525: 526: 2001-10-08 Eli Zaretskii <eliz@is.elta.co.il> 527: 528: * Makefile.in (lisp, shortlisp): Replace bindings.el with 529: bindings.elc, since otherwise doc strings in bindings.el get wrong 530: offsets in etc/DOC. 531: 532: 2001-10-08 Stefan Monnier <monnier@cs.yale.edu> 533: 534: * lisp.h: Remove the entries for keymap.c (moved to keymap.h). 535: 536: * keyboard.h (map_prompt): Remove. 537: 538: * xterm.c, w32term.c, term.c, minibuf.c, keymap.c, 539: * intervals.c, fns.c, doc.c, callint.c: Include keymap.h. 540: 541: * xmenu.c (keymap_panes, Fx_popup_menu): Use Fkeymap_prompt. 542: 543: * w32menu.c (keymap_panes, Fx_popup_menu): Use Fkeymap_prompt. 544: 545: * keyboard.c (map_prompt): Remove. 546: (read_char_x_menu_prompt, read_char_minibuf_menu_prompt): 547: Use Fkeymap_prompt. 548: 549: * keymap.h: New file. Extracted from lisp.h. 550: 551: * keymap.c (Fkeymap_prompt, Fcurrent_active_maps): New funs. 552: (accessible_keymaps_1): New function. 553: (Faccessible_keymaps, accessible_keymaps_char_table): Use it. 554: (Fwhere_is_internal): Use Fcurrent_active_maps. 555: (Fdescribe_buffer_bindings): Renamed from describe_buffer_bindings. 556: Insert in current buffer rather than standard-output. 557: Don't call `help-mode'. Export to elisp. 558: (describe_buffer_bindings): New wrapper. 559: (syms_of_keymap): Defsubr Skeymap_prompt, Scurrent_active_maps 560: and Sdescribe_buffer_bindings. 561: 562: 2001-10-08 Gerd Moellmann <gerd@gnu.org> 563: 564: * atimer.c (alarm_signal_handler) [USG && !POSIX_SIGNALS]: 565: Remove code setting signal handler. 566: 567: * sysdep.c (child_setup_tty) [HAVE_TERMIO || HAVE_TERMIOS]: 568: Clear ICRNL and INLCR. From Daiki Ueno <ueno@unixuser.org>. 569: 570: 2001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 571: 572: * keyboard.c: Don't define min/max. 573: 574: 2001-10-08 Gerd Moellmann <gerd@gnu.org> 575: 576: * xterm.c, xmenu.c, xfns.c, xdisp.c, window.c: 577: * w32term.c, w32menu.c, w32console.c, w32bdf.c, w32.c, term.c 578: * sysdep.c, sound.c, search.c, scroll.c, minibuf.c, keymap.c 579: * intervals.c, insdel.c, indent.c, fns.c, fileio.c, editfns.c 580: * dispnew.c, dired.c, charset.c, xfaces.c, alloc.c, atimer.c: 581: Don't define min/max. 582: 583: * lisp.h (min, max): New macros. 584: 585: * puresize.h (BASE_PURESIZE): Increase to 725000. 586: 587: 2001-10-08 Pavel Jan,Bm(Bk <Pavel@Janik.cz> 588: 589: * xfaces.c (free_frame_menubar): Add prototype. 590: 591: * lisp.h (init_window): Add prototype. 592: 593: * editfns.c: Include ctype.h. 594: 595: * xterm.c: USE_LUCID can be defined iff USE_X_TOOLKIT is defined. 596: (xm_scroll_callback) [USE_MOTIF]: Remove unused variable `percent'. 597: (x_set_toolkit_scroll_bar_thumb) [USE_MOTIF]: Remove unused 598: variable `sb'. 599: 600: * xfns.c (Fx_hide_tip): Fix typo in a doc string. 601: (Fx_file_dialog) [USE_MOTIF]: Remove unused variables 602: `popup_activated_flag' and `title'. 603: 604: * doc.c (Fdocumentation_property): Fix typo in a doc string. 605: 606: * emacs.c (main): Remove extra `;'. 607: 608: * atimer.h (struct atimer): Fix typos in a comment. 609: 610: * atimer.c: Fix typo. 611: 612: * Makefile.in: Fix typo. 613: 614: * README: Remove obsolete part mentioning removed VMS file. 615: 616: 2001-10-07 Miles Bader <miles@gnu.org> 617: 618: * Makefile.in (lisp, shortlisp): Add `button.elc'. 619: 620: 2001-10-07 Ken Raeburn <raeburn@gnu.org> 621: 622: * minibuf.c (Fminibuffer_prompt_end): Don't apply make_number to a 623: Lisp_Object. 624: 625: * lisp.h (Ffield_end): Declare. 626: 627: 2001-10-07 Gerd Moellmann <gerd@gnu.org> 628: 629: * keyboard.c (parse_modifiers, apply_modifiers): Use VALMASK. 630: 631: * insdel.c (make_gap): Use MOST_POSITIVE_FIXNUM. 632: 633: * floatfns.c (FLOAT_TO_INT2, FLOAT_TO_INT): Use FIXNUM_OVERFLOW_P. 634: 635: * dired.c (Ffile_attributes): Use FIXNUM_OVERFLOW_P. 636: 637: * bytecode.c (syms_of_bytecode) [BYTE_CODE_METER]: Doc fix. 638: (METER_CODE, Fbyte_code): Use MOST_POSITIVE_FIXNUM. 639: 640: * alloc.c (inhibit_garbage_collection): Simplify. 641: (Fmemory_use_counts): Ditto. 642: 643: * data.c (most_positive_fixnum, most_negative_fixnum): New variables. 644: (syms_of_data): DEFVAR_INT most-positive-fixnum and 645: most-negative-fixnum. 646: 647: * lisp.h (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM) 648: (FIXNUM_OVERFLOW_P): New macros. 649: 650: 2001-10-06 Miles Bader <miles@gnu.org> 651: 652: * xterm.h (struct x_output): Add scroll_bar_top_shadow_pixel and 653: scroll_bar_bottom_shadow_pixel fields. 654: * xterm.c (x_create_toolkit_scroll_bar): Try to allocate colors 655: for the shadows, and tell the toolkit about them if we succeed. 656: (x_destroy_window) [USE_TOOLKIT_SCROLL_BARS]: 657: Free scroll-bar shadow colors. 658: * xfns.c (x_set_scroll_bar_background) [USE_TOOLKIT_SCROLL_BARS]: 659: Free scroll-bar shadow colors when the background color changes. 660: (Fx_create_frame, x_create_tip_frame) [USE_TOOLKIT_SCROLL_BARS]: 661: Initialize scroll-bar shadow-color fields. 662: 663: 2001-10-05 Gerd Moellmann <gerd@gnu.org> 664: 665: * fileio.c (Fcopy_file): If NEWNAME is a directory copy FILE there. 666: 667: 2001-10-05 Miles Bader <miles@gnu.org> 668: 669: * minibuf.c (Fminibuffer_prompt_end, Fminibuffer_contents) 670: (Fminibuffer_contents_no_properties, Fdelete_minibuffer_contents): 671: New functions (were in simple.el). 672: (Fminibuffer_complete_and_exit, Fminibuffer_complete_word) 673: (read_minibuf, do_completion, Fminibuffer_completion_help): Use them. 674: (syms_of_minibuf): Initialize them. 675: 676: 2001-10-05 Gerd Moellmann <gerd@gnu.org> 677: 678: * xfns.c (tiff_error_handler, tiff_warning_handler): New functions. 679: (tiff_load): Install them as error and warning handler. 680: 681: 2001-10-04 Andrew Innes <andrewi@gnu.org> 682: 683: * w32fns.c (x_to_w32_color): Fix argument to alloca. 684: (w32_load_system_font): Don't believe what GetLanguageFontInfo 685: says; query codepage info directly to determine if font is double byte. 686: (x_to_w32_charset): Handle private format for unknown charsets. 687: Handle wildcards in charset spec, by ignoring them. 688: (w32_codepage_for_font): Fix argument to alloca. Don't remove 689: "*-" prefix from charset. 690: (x_to_w32_font): Enlarge remainder array for safety. Specifically 691: handle the truncated font spec form constructed by font_list_1, so 692: that we correctly identify the charset fields. Don't remove "*-" 693: prefix from charset. 694: (w32_list_synthesized_fonts): Fix argument to alloca. 695: 696: 2001-10-04 Stefan Monnier <monnier@cs.yale.edu> 697: 698: * window.h (MINI_WINDOW_P): Use NILP. 699: 700: * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM): Define also for non-NT. 701: 702: * termhooks.h (struct input_event): Use proper type for `kind'. 703: 704: 2001-10-04 Gerd Moellmann <gerd@gnu.org> 705: 706: This handles unknown keysyms better than before. For example, 707: after `xmodmap -e 'keysym F5 = ccaron' in a Latin-1 environment, 708: Emacs formerly completely ignored F5. With the change, it derives 709: a key symbol from the name of the X keysym, `ccaron' in this case. 710: Reported by Martin Buchholz. 711: 712: * xterm.c (XTread_socket): Return a non_ascii_keystroke for 713: unknown keysyms. 714: 715: * keyboard.c (make_lispy_event) [HAVE_X_WINDOWS]: If we know 716: that EVENT->code isn't a function key, use the keysym's name. 717: 718: 2001-10-04 Gerd Moellmann <gerd@gnu.org> 719: 720: FOREACH is a macro that should make it easier to loop over Lisp 721: lists with checks for cycles and proper lists. 722: 723: * lisp.h (LIST_END_P, FOREACH): New macros. 724: 725: 2001-10-04 Gerd Moellmann <gerd@gnu.org> 726: 727: On some systems, XtCloseDisplay seems to cause a SIGSEGV when 728: called for a lost connection. Prevent dumping core in this case. 729: Instead print the X error, and exit. On user request. 730: 731: * xterm.c (error_msg): New variable. 732: (x_fatal_error_signal): New function. 733: (x_connection_closed): Set error_msg. Install x_fatal_error_signal 734: as fatal_error_signal_hook around the call to XtCloseDisplay. 735: 736: * emacs.c (fatal_error_signal_hook): New variable. 737: (fatal_error_signal): Call that function. 738: 739: 2001-10-04 Gerd Moellmann <gerd@gnu.org> 740: 741: With this, Emacs prints how much pure storage it will 742: approximately need in case pure storage overflows while dumping. 743: 744: * alloc.c (purebeg, pure_size, pure_bytes_used_before_overflow): 745: New variables. 746: (init_alloc_once): Initialize new variables. 747: (PURE_POINTER_P): Use new variables. 748: (pure_alloc): If pure storage overflows, allocate from the heap. 749: (check_pure_size): New function. 750: (Fgarbage_collect): Don't GC if pure storage has overflowed. 751: 752: * lisp.h (pure_size) [HAVE_SHM]: Declare extern size_t. 753: (check_pure_size): Add prototype.