ChangeLog.5 249 KB
Newer Older
Dave Love's avatar
#  
Dave Love committed
1 2 3 4 5 6 7
1995-06-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* Version 19.29 released.

	* xfns.c (Fx_display_grayscale_p): Return t or nil.
	Return t for color displays.

Stefan Monnier's avatar
Stefan Monnier committed
8
	* s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increase to 68000.
Dave Love's avatar
#  
Dave Love committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57

	* xdisp.c (decode_mode_spec) [!MULTI_FRAME]: Handle %F properly.

1995-06-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (read_key_sequence): Don't use Vprefix_help_command
	for the first character in a key seq.

	* ntinevt.c (map_virt_key): Mark some additional chars as valid ASCII.

	* ntterm.c (ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals.

1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* sysdep.c (rmdir): Fix up Aug 19 1993 change that wasn't done right.

	* ntproc.c (win32_wait): Massage retval into what is expected in Unix.

	* process.c (sigchld_handler): Change XSETFASTINT to XSETINT.

	* keyboard.c (Freset_this_command_lengths): New function.
	(before_command_key_count, before_command_echo_length)
	(before_command_restore_flag): New variables.
	(add_command_key): If requested, reset the lengths.
	(command_loop_1): Record current lengths before reading cmd.
	(read_char): Update the recorded length before echoing.

	* xfns.c (Fx_create_frame): Fix last arg to x_get_arg for Qdisplay.

	* s/linux.h (LIB_GCC): Fix previous change.
	If we redefine it later, #undef it first.

1995-06-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (quit_throw_to_read_char): Turn off the error check
	testing poll_suppress_count.

	* s/linux.h (LIB_GCC): Define here, overriding Makefile.in.in,
	so as to use C_SWITCH_X_MACHINE.

1995-06-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* m/alpha.h (SYSTEM_MALLOC): Definition deleted.

	* keymap.c (Vdefine_key_rebound_commands): New variable.
	(syms_of_keymap): Set up Lisp var.
	(Fdefine_key): Put new definition onto Vdefine_key_rebound_commands.

	* xmenu.c (menu_item_equiv_key): Do reconsider a command that had
Stefan Monnier's avatar
Stefan Monnier committed
58
	no equivalent before, if it is in Vdefine_key_rebound_commands.
Dave Love's avatar
#  
Dave Love committed
59 60 61 62 63 64 65 66 67 68 69 70 71 72

	* data.c (Flocal_variable_if_set_p): New function.
	(syms_of_data): Call defsubr.

	* xdisp.c (display_text_line): Fill in charstart for end of buffer.

1995-06-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* puresize.h [MULTI_FRAME] (BASE_PURESIZE): Increase to 315000.

	* frame.c (Fdelete_frame): Use do_switch_frame directly.
	(do_switch_frame): No longer static.
	* window.c (Fset_window_configuration): Use do_switch_frame directly.
	* keyboard.c (quit_throw_to_read_char): Use do_switch_frame directly.
Stefan Monnier's avatar
Stefan Monnier committed
73
	* lisp.h (do_switch_frame): Declare.
Dave Love's avatar
#  
Dave Love committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178

1995-06-16  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* frame.c [MULTI_FRAME] (Fignore_event): New function.
	[MULTI_FRAME] (keys_of_frame): Bind iconify-frame and
	make-frame-visible to it.

1995-06-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* .gdbinit: Use long, not EMACS_INT.
	Do `set main' to make gdb_valbits etc. available.

	* frame.h (struct frame): New field icon_name.
	* xterm.h (struct x_display): icon_name deleted.
	* xfns.c (x_report_frame_params, x_set_icon_type, x_set_icon_name)
	(x_set_name, x_icon, Fx_create_frame): Use moved icon_name field.
	* alloc.c (mark_object): Mark icon_name field.

1995-06-15  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.h (struct kboard): Add Voverriding_terminal_local_map.
	* keyboard.c (init_kboard): Initialize it.
	(syms_of_keyboard): Defvar it.
	(read_key_sequence, menu_bar_items):
	Check Voverriding_terminal_local_map before Voverriding_local_map.
	* doc.c (Fsubstitute_command_keys): Likewise.
	* keymap.c (Fkey_binding, describe_buffer_bindings): Likewise.

	* xdisp.c (Qoverriding_terminal_local_map): New variable.
	(syms_of_xdisp): staticpro it.
	(update_menu_bar): If we bind overriding-local-map, also bind
	overriding-terminal-local-map.

	* frame.c (Fhandle_switch_frame): Preserve prefix arg.
	* keyboard.c (command_loop_1): In special handling for commands
	that create a prefix arg, don't handle commands that merely
	preserve one that was previously created.

	* .gdbinit ($valmask): Use EMACS_INT, not int.

	* lisp.h (enum pvec_type): Don't use trailing comma.

1995-06-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* m/alpha.h (malloc, realloc): If not _MALLOC_INTERNAL,
	always use void *.

1995-06-15  Geoff Voelker  <voelker@cs.washington.edu>

	* callproc.c (call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.
	(call-process-region) [WINDOWSNT]: Use proper temp file template.

	* ntproc.c (win32_spawnve): Accept program names without executable
	suffixes.

	* makefile.nt (TRES) [MSVCNT11]: Use emacs.res, and don't compile it.

1995-06-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* m/alpha.h (LD_SWITCH_MACHINE): Don't define it.
	(malloc, realloc): If non-ANSI C, declare value as char *.

1995-06-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* sysdep.c (emacs_set_tty): Swap TCSETAF and TCSETAW.
	Rename arg waitp to flushp.

1995-06-14  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* callint.c (Fprefix_numeric_value): Fix type check.

	* keyboard.c (command_loop_1): Clear prefix arg (undo Feb 1 change).

1995-06-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* data.c (Flocal_variable_p): Fix backwards logical operator.

1995-06-14  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* m/intel386.h: If NOT_C_CODE, don't include alloca.h.
	[!__GNUC__] (C_SWITCH_MACHINE): Disable this; it seems to confuse cpp.

1995-06-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* frame.c (Fdelete_frame): If the minibuf window was selected,
	make that remain so.

	* process.c (status_notify): Undo May 18 change.
	Set update_tick at the beginning not at end.

	* buffer.c (Fprevious_overlay_change): Check for overlays that
	end at POS.

1995-06-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfns.c (syms_of_xfns): Initialize Vx_no_window_manager.  Doc fix.

1995-06-13  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* m/ibmrs6000.h (LIBS_MACHINE): Use -lpthreads, not -lpthread.
	* config.h.in (HAVE_LIBPTHREADS): Add #undef.

1995-06-12  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* mem-limits.h [_LIBC] (start_of_data): Define to &__data_start
Juanma Barranquero's avatar
Juanma Barranquero committed
179
	for GNU libc.
Dave Love's avatar
#  
Dave Love committed
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217

1995-06-11  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xmenu.c (frame_vector_add_frame): Don't forget to store
	the longer vector.

	* xterm.h (struct x_display): New field asked_for_visible.
	* xterm.c (x_make_frame_visible): Test and set asked_for_visible.

	* widget.c (EmacsFrameSetCharSize): Manually alter the height
	and width of the outer widget (and the width of the column widget)
	carefully using deltas.
	Set update_hints_inhibit nonzero while updating.
	Then call update_wm_hints explicitly.
	(update_wm_hints): Use 0 for min_rows, min_cols.
	Do nothing if update_hints_inhibit is nonzero.

	* xterm.c: Include widget.h.
	(x_wm_set_size_hint) [USE_X_TOOLKIT]:
	Get the size from the outer widget.
	Copy the base and minimum sizes from the old hint.

	* xfns.c [USE_X_TOOLKIT] (x_window): If using Motif,
	add some extra to sizes, for consistent behavior.

1995-06-10  Richard Stallman  <rms@gnu.ai.mit.edu>

	* dispnew.c (Fframe_or_buffer_changed_p): Calculate vector size right.
	Add hysteresis when making it larger.  Fill it up reliably
	and check at the end for overflowing it.
	(syms_of_display): Make frame_and_buffer_state initially with 20 elts.

	* keyboard.c (read_char_minibuf_menu_prompt):
	If the char to type doesn't match the prompt string,
	show the char explicitly.

1995-06-10  Geoff Voelker  <voelker@cs.washington.edu>

Glenn Morris's avatar
Glenn Morris committed
218
	* ntterm.c, ntproc.c, nt.c: Include config.h before stdio.h.
Dave Love's avatar
#  
Dave Love committed
219 220 221 222 223 224 225 226 227 228 229

1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>

	* makefile.nt (TEMACS): Depend upon $(BLD).
	(temacs): Remove $(BLD) dependency.

1995-06-09  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xterm.c (x_get_keysym_name): New function.
	* keyboard.c (modify_event_symbol): Mask out high bits here,
	and only for certain purposes.  table_size now unsigned.
Juanma Barranquero's avatar
Juanma Barranquero committed
230
	(modify_event_symbol) [HAVE_X_WINDOWS]: Use x_get_keysym_name.
Dave Love's avatar
#  
Dave Love committed
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
	(make_lispy_event): Don't mask high bits here.
	Supply -1 as table_size for system-specific keys.

	* xdisp.c (update_menu_bar): Use set_buffer_internal_1 to switch bufs.
	Run the hooks in the proper buffer.
	Normally bind overriding-local-map to nil.
	(Qoverriding_local_map): New variable.
	(syms_of_xdisp): staticpro it.

1995-06-09  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.h (struct kboard): New member system_key_syms.
	* alloc.c (mark_kboards): Mark it.
	* keyboard.c (system_key_syms): Deleted; now part of struct kboard.
	(make_lispy_event): Use the struct member.
	(init_kboard): Initialize it.
	(syms_of_keyboard): Delete initialization and staticpro.

	* Makefile.in.in (SOURCES): Makefile isn't source; Makefile.in.in is.

1995-06-08  Richard Stallman  <rms@gnu.ai.mit.edu>

	* keyboard.c (Fevent_convert_list): Renamed from
	convert_event_type_list.
	(syms_of_keyboard): defsubr it.
	* keymap.c (Flookup_key, Fdefine_key): Use Fevent_convert_list.

	* xmenu.c (xmenu_show): Do call lw_destroy_all_widgets.
	(xdialog_show): Likewise.
	(popup_get_selection): Don't call it here.

	* search.c (Freplace_match): Fix check for valid reg in string replace.
	Do the right thing with backslash.

	* keyboard.c (Vhelp_event_list): New var.
	(syms_of_keyboard): Set up Lisp var.
	(help_char_p): New function.
	(read_char, echo_char, read_key_sequence): Use help_char_p.

	* keyboard.h (Vlucid_menu_bar_dirty_flag): Declare this variable.
	(Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.

	* keyboard.c (read_key_sequence): Don't run activate-menubar-hook
	or call recompute-lucid-menubar.

	* xdisp.c (update_menu_bar): Run activate-menubar-hook
	and call recompute-lucid-menubar.

1995-06-08  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* commands.h (last_command): Declaration deleted.
	* keyboard.h (struct kboard): New member Vlast_command.
	* keyboard.c (last_command): Var deleted; now part of struct kboard.
	(init_kboard): Initialize it.
	(syms_of_keyboard): Defvar it.
	(command_loop_1): Make last_command be kboard-local.
	* cmds.c (internal_self_insert): Likewise.
	* minibuf.c (Fminibuffer_complete): Likewise.

	* m/ibmrs6000.h (LIBS_MACHINE): Use -lpthread if it exists.

	* m/alpha.h (LIBS_MACHINE): Define to -ldnet or -ldnet_stub.

	* s/msdos.h (SYSTEM_PURESIZE_EXTRA) [!HAVE_X_WINDOWS]:
	Increase to 62000.

	* process.c [!subprocesses]: Include sysselect.h.

	* xmenu.c (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.

1995-06-07  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.h (struct kboard): member Vprefix_arg restored, replacing
	prefix_factor, prefix_value, prefix_sign, and prefix_partial.
	* callint.c (current_prefix_partial): Deleted.
	(Vprefix_arg): Deleted; not part of struct kboard again.
	(Funiversal_argument, Fnegative_argument, Fdigit_argument)
	(clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): Deleted.
	(syms_of_callint): Use DEFVAR_KBOARD for Vprefix_arg.
	Remove defsubrs for deleted functions.
	* lisp.h: Remove declarations for deleted vars and functions.
	* alloc.c (mark_kboards): Mark Vprefix_arg instead of
	prefix_factor and prefix_value.
	* macros.c (Fexecute_kbd_macro): Vprefix_arg is now part of kboard.
	* keyboard.c (cmd_error, command_loop_1, Fcommand_execute)
	(Fexecute_extended_command, init_kboard, syms_of_keyboard):
	Undo Feb 28 change; prefix arg handling is now in Lisp code again.

Juanma Barranquero's avatar
Juanma Barranquero committed
319
	* buffer.c (syms_of_buffer): Doc fix.
Dave Love's avatar
#  
Dave Love committed
320

Juanma Barranquero's avatar
Juanma Barranquero committed
321
	* buffer.c (Fbuffer_disable_undo): Make this function interactive.
Dave Love's avatar
#  
Dave Love committed
322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337

1995-06-07  Richard Stallman  <rms@gnu.ai.mit.edu>

	* data.c (Flocal_variable_p): New optional arg BUFFER.
	Really check whether var is local in *that* buffer.

	* xfns.c (x_real_positions): Uncatch and recatch X errors in the loop.

	* filelock.c (unlock_file, lock_file): Call Fexpand_file_name.

1995-06-05  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* Makefile.in.in (TOOLKIT_DEFINES): Define.
	(ALL_CFLAGS): Insert $(TOOLKIT_DEFINES) here.
	* xfns.c (syms_of_xfns): Provide motif in Motif version.

Juanma Barranquero's avatar
Juanma Barranquero committed
338
	* lisp.h (Fwaiting_for_user_input_p): Function declared.
Dave Love's avatar
#  
Dave Love committed
339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
	(Fupcase_initials, Fupcase_initials_region): Likewise.
	(Fplist_get, get_local_map, Fx_popup_menu, Fx_popup_dialog): Likewise.
	(Fframe_first_window): Likewise.
	* keyboard.c (cmd_error): Use NULL, not 0, as arg to
	cmd_error_internal.
	(menu_bar_items): Likewise, for arg of current_minor_maps.
	(record_char): Add cast.
	* indent.c (Fvertical_motion): Add cast.
	* undo.c (record_insert): Change args to be ints, not Lisp_Objects.
	* casefiddle.c (casify_region): Use explicit local vars for start
	and end, so that the type will be correct.
	(operate_on_word): Likewise for iarg in this function.
	(upcase_initials, upcase_initials_region): Deleted; these were
	redundant copies of Fupcase_initials and Fupcase_initials_region.
	* abbrev.c (Fexpand_abbrev): Call to upcase_initials_region
	changed to Fupcase_initials_region for consistency.
	* search.c (Freplace_match): Likewise.
	* alloc.c: Declare sbrk.

	* xdisp.c: Include keyboard.h.

	* s/irix5-0.h (POSIX_SIGNALS): Defined.

1995-06-03  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xterm.c (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases.

	* buffer.c (Fkill_buffer): When killing indirect buffer,
	unchain that buffer's markers (only) from the common chain.
	Don't rekill this buffer's indirect buffers that are dead.
	Do nothing if this buffer is already dead.

1995-06-03  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Doc fix.

	* fns.c (NULL): Define if not defined.

1995-06-02  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xfns.c (Fx_create_frame): Make sure icon_name is a string or nil.

	* xterm.h (struct x_display): Rename icon_label to icon_name
	and make it a Lisp_Object.

	* xfns.c (Qicon_name): New variable.
	(Fx_create_frame): Look for icon-name parm and set icon_label field.
	(x_set_icon_type): Compute arg to x_text_icon
	based on frame name and icon_name fields.
	(x_set_icon_name): New function.
	(x_icon): Call x_text_icon.
Juanma Barranquero's avatar
Juanma Barranquero committed
390
	(x_set_name): Look at icon_name field when setting the icon name.
Dave Love's avatar
#  
Dave Love committed
391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
	(x_frame_parms): Add icon-name.
	(syms_of_xfns): Set up Qicon_name.

	* xterm.c (x_text_icon): Do call XSetIconName or XSetWMIconName.
	Don't save ICON_NAME anywhere.

	* sysdep.c (old_tty_valid): New variable.
	(init_sys_modes): Set old_tty_valid if we set old_tty.
	(reset_sys_modes): Restore tty settings only if old_tty_valid.

	* term.c (cursor_to, clear_to_end_of_line_raw):
	If chars_wasted is 0, do nothing.
	(clear_end_of_line): Don't die if chars_wasted is 0.

	* search.c (trivial_regexp_p): = is special after \.

	* s/ptx.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.

1995-06-01  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* xfns.c (x_destroy_bitmap): Block and unblock input.
	(Fx_horizontal_line): Add one UNBLOCK_INPUT to fix a misbalance,
	and move another one to include the call to XFreeGC, in case we
	someday remove the "#if 0" conditions.
	* widget.c (EmacsFrameDestroy): Block and unblock input.

1995-05-31  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xfns.c (x_display_info_for_name): Fix error message.
	(Fx_open_connection): Fix error messages.

1995-05-30  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* s/sol2-4.h (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
	added references to /usr/dt/lib.

	* xfns.c (syms_of_xfns): Allow PATH_BITMAPS to be a
	colon-separated list.

	* editfns.c (syms_of_editfns): user-login-name renamed from user-name.
	user-real-login-name renamed from user-real-name.
	C names changed to Vuser_real_login_name, Vuser_login_name as well.
	* nt.c: Change Vuser_real_name to Vuser_real_login_name.

1995-05-30  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xfns.c (x_top_window_to_frame): Don't match menu-bar widget.

	* xdisp.c (update_menu_bar): Reverse test of save_match_data.

	* xmenu.c (set_frame_menubar): Always call update_frame_menubar.

	* xfns.c (x_window): Use applicationShellWidgetClass,
	not topLevelShellWidgetClass.  Call lw_set_main_areas after
	creating the menubar widget.

1995-05-29  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* xdisp.c (update_menu_bar): Do update if region display has changed.

	* frame.c (make_frame_without_minibuffer): New arg DISPLAY.
	If there's no minibuffer frame to use, create one.
	* xfns.c (Fx_create_frame): Pass new arg to
	make_frame_without_minibuffer.

	* fns.c (Frandom): Use EMACS_INT, not int.
	Use NULL, not 0, as arg of `time'.

	* frame.c: Declare x_get_focus_frame.
	(Fmouse_position): Use NULL, not 0, as arg of pixel_to_glyph_coords.
	* keyboard.c (make_lispy_event, make_lispy_movement): Likewise.

1995-05-29  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xterm.c (XTread_socket) [USE_X_TOOLKIT]: Do pass MotionNotify events
	to the toolkit.

	* keyboard.c (Fset_input_mode): When read_socket_hook, ignore
	what the user specified, and set interrupt_input in the preferred
	way for this system.

	* xterm.c (x_term_init): Call init_sigio only if interrupt_input.

1995-05-28  Morten Welinder  <terra+@cs.cmu.edu>

476 477 478 479
	* s/osf1.h (COFF): Define.
	* m/alpha.h (LD_SWITCH_MACHINE) [!__GNUC__]: Don't define.
	(r_alloc, r_re_alloc, r_alloc_free) [REL_ALLOC,
	!_MALLOC_INTERNAL, !NOT_C_CODE]: Prototype.
Dave Love's avatar
#  
Dave Love committed
480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732

1995-05-28  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xterm.c (x_set_offset): Distinguish CHANGE_GRAVITY < 0 case.
	* xfns.c (x_set_frame_parameters): Pass -1 to x_set_offset.

	* xfns.c (x_report_frame_params): Report top and left
	in a way that represents negative offsets correctly.

	* syntax.c (describe_syntax_1): Pass new arg to describe_vector.

	* keymap.c (describe_vector): New arg entire_map.
	Don't show bindings shadowed earlier on in the same map.
	(Fdescribe_vector, describe_map): Pass new arg.

	* xdisp.c (redisplay_window): Don't use try_window_id if
	newline has a display table entry.

	* xdisp.c (update_menu_bar):
	Call set_frame_menubar with proper buffer current.

1995-05-26  Geoff Voelker  <voelker@cs.washington.edu>

	* lread.c (init_lread) [CANNOT_DUMP]: Set Vload_path to EMACSLOADPATH.

1995-05-26  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xfns.c (x_window): Call initialize_frame_menubar
	near the end, after UNBLOCK_INPUT.

	* xmenu.c (popup_get_selection): Force deactivation if key pressed.
	New arg `id'.
	(xdialog_show, xmenu_show): Pass new arg to popup_get_selection.
	* xterm.c (XTread_socket): Don't call popup_get_selection here.

1995-05-26  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* sysdep.c (VFORK_RETURN_TYPE): Use int if not already defined.
	(vfork): Declare the return type.
	* s/sol2-3.h (HAVE_VFORK): Moved here from s/sol2-4.h.
	(VFORK_RETURN_TYPE): Defined.
	* s/sol2-4.h (HAVE_VFORK): Moved to s/sol2-3.h.
	(pid_t): Deleted; s/sol2-3.h now defines a symbol for this.

	* xdisp.c (x_consider_frame_title): Use FRAME_KBOARD.

1995-05-26  Geoff Voelker  <voelker@cs.washington.edu>

	* s/windows95.h: New file.

	* ntheap.h (get_data_region_base): Undefined.
	(get_reserved_heap_size): Use reserved_heap_size.
	(reserved_heap_size): Declared.
	* ntheap.c (reserved_heap_size,allocate_heap): Defined.
	(sbrk): Use allocate_heap.

	* ntterm.c (set_terminal_modes): Set cursor size appropriate for
	Windows 95.
	(write_glyphs): Don't memset attrs, which is a word array.

	* nt.c (configuration_buffer): Increase size.
	(get_emacs_configuration) [WINDOWS95]: Use appropriate string.
	(prepare_standard_handles) [WINDOWS95]: Disable subprocesses.
	(reset_standard_handles): Check error number on failure.

	* makefile.nt (LIBS): Use BASE_LIBS and ADVAPI32.
	(config.h,paths.h): Use $(CP) instead of cp.
	(config.h): Use $(CONFIG_H).
	(EMACS) [WINDOWS95]: Don't dump temacs.exe.
	(clean): Cleanup MSVC files and config.h.
	(cleandump): Separate commands onto multiple lines.
	Cleanup comments.

1995-05-26  Michael Ernst  <mernst@research.microsoft.com>

	* emacs.c (standard_args): -i, -itype, --icon-type take 0, not 1, args

1995-05-25  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* process.c (create_process, send_process): Add volatile qualifiers.
	(wait_reading_process_input) [both versions]: Cast args of select.

	* syntax.c (scan_lists): Make stringterm an unsigned char.

	* dispnew.c (change_frame_size_1): Declare arg DELAY.

	* insdel.c (adjust_point): Declare arg AMOUNT.

	* lisp.h (do_symval_forwarding): Declare this function.
	(frame_buffer_predicate, Foverlay_start, Foverlay_end): Ditto.
	(Fprevious_single_property_change, Fend_of_line, Felt): Ditto.
	(Fforward_line, Fforward_word, Fdelete_region, Fforward_char): Ditto.
	(Fnarrow_to_region, Fwiden, Fmatch_beginning, Fmatch_end): Ditto.
	(Fskip_chars_forward, Fskip_chars_backward): Ditto.
	(Ffile_name_absolute_p, read_doc_string): Ditto.
	(get_frame_param, store_frame_param, store_in_alist): Ditto.
	(describe_map_tree): Declaration moved here from keymap.c.
	* keymap.c (describe_map_tree): Move declaration to lisp.h.

	* doc.c (Fsubstitute_command_keys): Cast arg of describe_map_tree.
	* frame.c [MULTI_FRAME] (Fmouse_position): Cast arg of
	pixel_to_glyph_coords.
	* callint.c (Fcall_interactively): Cast arg of doprnt.
	* editfns.c (format1): Likewise.
	* xdisp.c (message): Likewise.
	(scroll_bottom_vpos, fmodetrunc): Declarations deleted.

1995-05-25  Richard Stallman  <rms@gnu.ai.mit.edu>

	* dispnew.c (Fframe_or_buffer_changed_p): Record frame names
	as well as the frame objects.

	* xterm.c (XTread_socket):
	For MapNotify, call record_asynch_buffer_change.

	* xdisp.c (prepare_menu_bars): Update frame titles before menu bars.

	* xfns.c (Fx_get_resource): Major rewrite to make it clearer.
	(validate_x_resource_name): Use build_string, not make_string.
	(Fx_create_frame): Initially use Vinvocation_name as resource name.
	Switch to frame name if frame name is explicit.
	(x_display_info_for_name, Fx_open_connection): Add casts.
	Initially use Vinvocation_name as resource name.
	[USE_X_TOOLKIT] (x_window): Use Vx_resource_name for widget names.

	* xmenu.c (xmenu_show, xdialog_show): Increment widget_id_tick
	in the same way as in xfns.c.  Use LWLIB_ID type where appropriate.
	(set_frame_menubar, free_frame_menubar): Add casts to LWLIB_ID.

	* xterm.c (XTflash): Use pointers as args to select.
	(XTread_socket, x_set_offset, x_set_window_size)
	(x_make_frame_invisible): Cast 2nd arg to x_wm_set_size_hint.
	(XTclear_end_of_line): Don't specify return type.
	(note_mouse_highlight): Declare args x and y.
	(x_icon_type): New declaration.
	(flashback): Declaration deleted.

1995-05-24  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* lisp.h (menu_bar_items): Declare this function.

1995-05-24  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xmenu.c (Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.

	* frame.c (Fdelete_frame): When updating Vdefault_minibuffer_frame,
	insist on a frame on the proper keyboard.

	* xterm.c (x_connection_closed): Unblock input, first thing.
	Set Vdefault_minibuffer_frame to t
	before deleting a frame that might have its own minibuffer.

1995-05-23  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* xfns.c (hack_wm_protocols): Use cast instead of suffix.

1995-05-23  Richard Stallman  <rms@gnu.ai.mit.edu>

	* xfns.c (x_set_frame_parameters): Pass 1 as change_gravity
	when calling x_set_offset.
	(x_real_positions): Don't add border_width into win_x, win_y.
	* xterm.c (x_set_offset): Add border_width when calling XMoveWindow.

	* xterm.h (struct x_display): New field menubar_height.
	* xmenu.c (set_frame_menubar): Set menubar_height field.
	* xfns.c (x_window) [both versions]: Set menubar_height.

	* xfns.c [USE_X_TOOLKIT] (x_window): Don't call XMoveWindow
	or x_calc_absolute_position.  Do use the border_width.

	* xterm.c (x_calc_absolute_position): Use menubar_height field.
	In toolkit case, use outermost Emacs widget and its parent.
	[USE_X_TOOLKIT] (x_make_frame_visible): Do call x_set_offset.


	* xfns.c [USE_X_TOOLKIT] (x_window): Pass position to toolkit
	only if user-specified.  But always use XMoveWindow to move the
	window to that position.

	* alloc.c (Fgarbage_collect): Clear consing_since_gc first thing.

	* xdisp.c (redisplay_window): Use set_buffer_internal_1.

	* buffer.c (set_buffer_internal_1): New subroutine.
	(Fmove_overlay): Don't set windows_or_buffers_changed.

1995-05-22  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* xselect.c (x_get_window_property): Cast args of XGetWindowProperty.
	* xfaces.c (unload_color): Cast args of XFreeColors.
	* xfns.c (hack_wm_protocols): Cast args of XGetWindowProperty.
	(x_set_border_pixel): Cast args of XSetWindowBorder.
	* widget.c (create_frame_gcs): Cast args of XCreateGC.
	(setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.

	* data.c (long_to_cons): Don't assume 32-bit longs.
	* fileio.c (Fvisited_file_modtime): Cast arg of long_to_cons.

	* editfns.c (Fformat): Split double into two pointers, not two ints.

	* s/hpux9.h: Delete HAVE_FMOD; configure handles that correctly now.

1995-05-22  Richard Stallman  <rms@waves>

	* xdisp.c (display_text_line): Enter a char in charstarts
	at the very end of the character loop.
	Enter newline or ^M (if selective display) separately.

	* lisp.h (gdb_lisp_params): New enum type.
	* .gdbinit: Use gdb_lisp_params to get storage layout info.
	Set and use $valmask and $nonvalbits.

	* lread.c (oblookup): Delete argument hashp.

1995-05-19  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* floatfns.c (Flogb): frexp needs a pointer to int, not EMACS_INT.

1995-05-19  Richard Stallman  <rms@waves>

	* dispnew.c (buffer_posn_from_coords): Don't let startp be before BEGV.

1995-05-18  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* indent.c (compute_motion): Handle overlay strings.
	New arg DID_MOTION.  All callers changed.
	* dispnew.c, window.c: Add new argument to calls of compute_motion.
	* xdisp.c: Add new argument to calls of compute_motion.
	(zv_strings_seen): New variable.
	(redisplay, try_window, try_window_id): Clear zv_strings_seen.
	(display_text_line): Handle overlay strings.

1995-05-18  Richard Stallman  <rms@waves>

	* s/sol2-4.h: Undo previous change.

	* emacs.c (Fkill_emacs): Delete the auto-save-list file
	after shut_down_emacs.

	* process.c (status_notify): If Vprocess_alist changes within
	the loop, do the whole loop again.

1995-05-17  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* emacs.c (Fdump_emacs): Don't take address of array.

	* buffer.c (Fmake_indirect_buffer): Fix interactive spec.

	* Makefile.in.in (SOURCES): Fix reference to ymakefile.

	* keyboard.c (syms_of_keyboard): Always define track-mouse.
	(do_mouse_tracking): Always declare this var.

733
1995-05-15  Marcus G. Daniels  <marcus@ee.pdx.edu>
Dave Love's avatar
#  
Dave Love committed
734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813

	* s/linux.h: Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
	[__ELF__] (START_FILES, LIB_STANDARD, LIB_GCC, UNEXEC): Define these.
	[__ELF__] (UNEXEC_USE_MAP_PRIVATE): Define this.

	* unexelf.c (unexec) [UNEXEC_USE_MAP_PRIVATE]: New logic for
	systems that don't support MAP_SHARED with PROT_WRITE.

1995-05-15  Richard Stallman  <rms@churchy.gnu.ai.mit.edu>

	* s/sol2-4.h (LD_SWITCH_SYSTEM): Define.

1995-05-15  Simon Leinen  <simon@lia.di.epfl.ch>

	* indent.c (vmotion): handle the case where `minibuf_prompt' is nil.

1995-05-12  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* indent.c (vmotion): Simplify.  Replace last three args with a single
	struct window *.  All callers changed.
	* xdisp.c (minmax): New macro.
	(redisplay, redisplay_window, try_window_id): Clip cursor hpos at both
	low and high extremes, in anticipation of a change to compute_motion.

	* xterm.c (Qvendor_specific_keysyms): New var.
	(syms_of_xterm): Initialize and staticpro it.
	(x_term_init): Initialize Vsystem_key_alist according to vendor.

	* emacs.c (main) [NeXT]: Add missing braces.

1995-05-11  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* sysdep.c (init_system_name): Clean up signedness mismatch.
	* unexelf.c (unexec): Fix type mismatch.
	* print.c (float_to_string): Fix type mismatch and simplify.

	* dispnew.c [!MULTI_FRAME] (Fredraw_frame): Delete extra docstring.
	* frame.c [!MULTI_FRAME] (Fframe_height, Frame_width): Likewise.

1995-05-09  enami tsugutomo  <enami@sys.ptg.sony.co.jp>

	* window.c [MULTI_FRAME] (init_window_once): Set Vterminal_frame
	to selected_frame.
	* frame.c [MULTI_FRAME] (make_terminal_frame): Don't set
	Vterminal_frame.
	(do_switch_frame): Set Vterminal_frame to selected_frame.

1995-05-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makefile.in.in (VMS_SUPPORT): Add missing `.elc'.
	(SOME_MACHINE_LISP): New variable.
	(${etc}DOC): Use it.

	* buffer.c (syms_of_buffer): Doc fix.

	* frame.c (frame-height, frame-width, set-screen-height,
	set-screen-width, termal-frame) [!MULTI_FRAME]: Delete doc strings.

1995-05-08  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (init_kboard): Initialize Vdefault_minibuffer_frame.
	* keyboard.h (struct kboard): New member Vdefault_minibuffer_frame.
	* frame.c: Vdefault_minibuffer_frame is now part of KBOARD instead
	of a variable.  All references changed.
	(make_frame_without_minibuffer): New arg KB.
	Require the new frame's minibuffer to be on the same display.
	* xfns.c (Fx_create_frame): Pass kb to make_frame_without_minibuffer.

	* xdisp.c (x_consider_frame_title): When setting multiple_frames,
	ignore invisible frames and frames on other displays.

	* keyboard.c [MULTI_KBOARD] (read_char): If the character was for
	the wrong kboard, don't let it get processed twice.

1995-05-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Keep reading till buffer is nearly full.

	* emacs.c (Fdump_emacs): Don't use & before my_edata.

814
1995-05-08  Francesco Potortì  (pot@cnuce.cnr.it)
Dave Love's avatar
#  
Dave Love committed
815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851

	* m/delta.h (C_SWITCH_MACHINE): Let configure decide if this is
	a 68040 or 68030.  Don't condition on __STDC__.

1995-05-08  enami tsugutomo  <enami@sys.ptg.sony.co.jp>

	* frame.c (Fraise_frame, Flower_frame): Make arg FRAME optional.

	* keyboard.c (Fread_key_sequence): Doc fix.

1995-05-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* window.c (Fdisplay_buffer): Initialize other, upper, lower.

1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* lisp.h (Fmatch_data, Fstore_match_data): Declared.

	* xdisp.c (prepare_menu_bars): Save and restore the match data.
	(update_menu_bar): New arg save_match_data.
	Maybe save and restore match data here.

1995-05-07  Geoff Voelker  <voelker@cs.washington.edu>

	* makefile.nt (region-cache.obj,vm-limit.obj): Dependencies defined.
	(OBJ1): Don't compile xfaces.c.
	(buffer.obj,indent.obj,search.obj): Add region-cache.h dependency.

1995-05-07  Paul Eggert  <eggert@twinsun.com>

	* data.c (Fmod): Fix the final adjustment, when f2 < 0 and f1 == 0.

	* lread.c (isfloat_string): Reject strings like "0.5+".

1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* process.c (wait_reading_process_input): Pass arg in new call to
Juanma Barranquero's avatar
Juanma Barranquero committed
852
	set_waiting_for_input.
Dave Love's avatar
#  
Dave Love committed
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905

	* xfns.c (Funfocus_frame): Check for live X frame.

	* lread.c (init_lread): Don't warn about missing installation dirs
	when using dirs derived from the executable.

1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>

	* makefile.nt (TRES): Defined.
	(TLIB1,TLIB2): Created out of TLIB.
	(TLIB): Split to reduce time to do library updates.
	(DOC): Use DOC-X.
	(strftime.obj): Compile with -Dstrftime=emacs_strftime.

1995-05-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* window.c (syms_of_window): Doc fix.
	(temp_output_buffer_show): If we use Vtemp_buffer_show_function,
	do nothing else.

	* s/bsd386.h (GETPGRP_NO_ARG): New definition.
	(BSD): Include sys/param.h instead of redefining BSD.
	But do this only if emacs is defined.

	* lisp.h (gc_cons_threshold): Change back to int.
	* alloc.c (gc_cons_threshold): Change back to int.
	(min): New macro.
	(inhibit_garbage_collection): Don't exceed value an int can hold.

	* xdisp.c (prepare_menu_bars): Clear size-change flag before running
	size-change functions.
	(scroll_step, debug_end_pos, line_number_display_limit): Now static.

1995-05-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* emacs.c (Fdump_emacs_data): Don't use & before my_edata.

	* editfns.c (Fencode_time): Rename arg from min to minute.
	(days_per_month): Move variable to top level.

	* process.c (wait_reading_process_input): Don't call prepare_menu_bars.
	Clear waiting_for_input around calling redisplay_preserve_echo_area.

	* xfns.c [USE_X_TOOLKIT] (x_window): Always pass position in geometry.
	Set XtNmappedWhenManaged to 0 for shell_widget.
	(Fx_create_frame): Always call x_wm_set_size_hints.

	* s/sol2-4.h (HAVE_VFORK): Add #undef.

	* s/netbsd.h (GETPGRP_NO_ARG): Defined.

1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
906
	* s/freebsd.h (GETPGRP_NO_ARG): Define.
Dave Love's avatar
#  
Dave Love committed
907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283
	(HAVE_GETPAGESIZE): Definition deleted.

	* data.c (store_symval_forwarding): Error if value out of range
	for an integer variable.
	(Fstring_to_number): Avoid using make_number to return value.
	Maybe use atol.

1995-05-04  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* buffer.c (Qbefore_string, Qafter_string): New vars.
	(syms_of_buffer): Initialize and staticpro them.
	(cmp_for_strings, overlay_strings): New functions.

1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* indent.c (string_display_width): Renamed from string_width.
	(vmotion): Use new name.

	* s/sco4.h [!__GNUC__] (LINKER): Defined.

	* insdel.c (make_gap): Don't allow buffer size that won't fit in int.
	Make this new error check also check exceeding VALBITS.
	(insert_1): Delete old error test.
	(min): New macro.

	* Makefile.in.in (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.

	* xfaces.c (region_face, next_face_id): Make static.

	* xselect.c (Vselection_converter_alist, x_selection_timeout)
	(Vx_sent_selection_hooks, Vx_lost_selection_hooks, Vselection_alist):
	Make static.

	* alloc.c (inhibit_garbage_collection):
	Use XSETINT, and do arithmetic in type EMACS_INT.

	* s/hpux9.h (HAVE_FMOD): Defined.

	* sysdep.c (bcmp, bcopy): Fix backward BSTRING conditionals.

	* emacs.c (Fkill_emacs): Delete the Vauto_save_list_file_name file.

1995-05-04  Morten Welinder  <terra+@cs.cmu.edu>

	* data.c (arith_driver): Make accum and next EMACS_INTs.
	(Fmod): i1 and i2 are EMACS_INT.

	* editfns.c (Fformat): Allow 30 characters in the printed version
	of integers and floats.

	* print.c (print): Handle long EMACS_INT in sprintf.
	* keyboard.c (Fexecute_extended_command):
	Handle long EMACS_INT in sprintf.
	* lread.c (read1): Handle long EMACS_INT in atol.
	* doprnt.c (doprnt): Handle long EMACS_INT in sprintf.
	* data.c (Fnumber_to_string, Fstring_to_number):
	Handle long EMACS_INT in sprintf and atol.

	* process.c (list_processes_1): Cast XFASTINT for passing to sprintf.

	* m/alpha.h (bcopy, bzero, bcmp): Don't let string.h prototype these.

1995-05-03  Morten Welinder  <terra+@cs.cmu.edu>

	* keyboard.c (parse_modifiers, apply_modifiers): Don't assume
	32-bit EMACS_INT.
	(parse_modifiers): modifiers is an int, not an EMACS_INT.
	(read_key_sequence): Pass modifiers as int, not EMACS_INT.

	* buffer.h (Fdelete_overlay): Was mistakenly called Fdelete_overlays.

	* lisp.h (gc_cons_threshold): Make this an EMACS_INT.

	* alloc.c (gc_cons_threshold): Make this an EMACS_INT.
	(gc_sweep): Make already_free an EMACS_INT.

	* search.c (search_buffer): Cast p_limit to EMACS_INT not int.

	* s/osf1.h (GETPGRP_NO_ARG): Define.

1995-05-03  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (reorder_modifiers): Use XINT.
	Cast apply_modifiers arg to int.

	* unexapollo.c: New file.

	* m/apollo.h (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
	(NO_X_DESTROY_DATABASE): Macros deleted.
	(BSTRING): #undef deleted.
	(SYSTEM_TYPES): Redefinition deleted.
	(UNEXEC): New definition.
	(LD_SWITCH_SYSTEM): Define as empty.
	(C_SWITCH_MACHINE, LD_SWITCH_MACHINE): New definitions.
	(OLDXMENU_OPTIONS): New definition.

	* fileio.c (directory_file_name): Add APOLLO conditional.
	(Fcopy_file, Fset_file_modes): Delete APOLLO conditionals.

	* emacs.c: Delete all APOLLO conditionals.

1995-05-02  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* intervals.c (get_local_map): Use Fget_char_property, so that
	overlay properties will be considered as well as text properties.

1995-05-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* insdel.c (prepare_to_modify_buffer): Use file_truename for locking.

	* fileio.c (Finsert_file_contents): Use file_truename for unlocking.

	* buffer.c (Fset_buffer_modified_p): Use the truename for locking.

	* lread.c (read1): New arg FIRST_IN_LIST; all callers changed.
	Special handling for backquote and comma.
	(Qbackquote, Qcomma, Qcomma_at, Qcomma_dot): New variables.
	(syms_of_lread): Initialize and staticpro them.
	(Fread, Fread_from_string): Initialize new_backquote_flag.

1995-05-01  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show, menubar_selection_callback): Move declaration
	of entry to an outer block, to guarantee its value is preserved.

	* keyboard.c (kbd_buffer_get_event): New arg USED_MOUSE_MENU.
	[USE_X_TOOLKIT]: Set *USED_MOUSE_MENU if returning menu-bar symbols.
	(read_char): Pass used_mouse_menu to kbd_buffer_get_event.
	This variable is now meaningful for toolkit menus as well as
	non-toolkit menus.

	* dispnew.c (update_frame): Don't put cursor in echo area unless
	the echo area is on this frame.
	* xdisp.c (redisplay): Don't move the cursor if it's supposed to
	be in the echo area.
	(display_text_line): Likewise.
	(echo_area_display): Put cursor in echo area if appropriate.

1995-04-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* emacs.c (standard_args): Add #ifdef VMS for -map.
	(main): Delete duplicate code for -version.
	(standard_args): Add -help and -version.

	* fileio.c (Fdo_auto_save): Record visited file name
	as well as auto-save file name in the auto-save-list-file-name file.
	Call Fexpand_file_name for auto-save-list-file-name.

1995-04-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* sysdep.c [HAVE_UNISTD_H]: Include unistd.h.

	* emacs.c (standard_args): Add -L/--directory/-directory.

	* s/sunos4shr.h (ORDINARY_LINK): Defined.
	(LINKER): Definition deleted.

1995-04-28  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* xfns.c (x_non_menubar_window_to_frame): New function.
	* xterm.h: Declare x_non_menubar_window_to_frame.
	* xmenu.c (popup_get_selection): Use x_non_menubar_window_to_frame.
	Either queue or dispatch the event, but not both.
	(dialog_selection_callback): Clear popup_activated_flag.

	* xmenu.c (Fx_popup_menu): If POSITION is just (menu-bar), use the
	current mouse position.
	(menubar_selection_callback): Use (menu-bar) instead of 'menu-bar.
	* keyboard.c (read_char, read_char_x_menu_prompt): Exclude
	menu-bar clicks when processing mouse clicks.

	* xterm.c (x_term_init): Add stub to initialize Vsystem_key_alist.

1995-04-27  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* process.c (create_process): Don't reference pty_name if !HAVE_PTYS.

1995-04-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* fileio.c (Ffile_regular_p): Use Qfile_regular_p.
	(syms_of_fileio): Set up Qfile_regular_p.

	* emacs.c (standard_args): Move -iconic and --icon-type
	to the end of the initial args.

1995-04-25  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* alloc.c (mark_kboards): Mark the kbd macro and Vsystem_key_alist.

1995-04-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* s/linux.h (REGEXP_IN_LIBC): Defined.

	* callproc.c (Fcall_process): Use bigger buffer, and grow it
	as we get more and more data.

1995-04-24  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* xterm.c (x_term_init): If the previous kboard was the dummy one,
	switch to the new one immediately.

	* keyboard.h (struct kboard): New member Vsystem_key_alist.
	* keyboard.c (Vsystem_key_alist): Delete global variable.
	(init_kboard): Initialize Vsystem_key_alist member.
	(syms_of_keyboard): Change DEFVAR_LISP to DEFVAR_KBOARD.
	(make_lispy_event): Use the kboard's alist instead of the global.

	* fns.c (Fplist_put): Don't signal an error if plist isn't a cons.

	* xterm.c (x_focus_frame, x_focus_event_frame, x_highlight_frame):
	Delete these vars; now part of struct x_display_info.
	(x_new_focus_frame): New arg DPYINFO.  Callers changed.
	Use the struct members instead of the globals.
	Call x_frame_rehighlight instead of XTframe_rehighlight, so we can
	pass on the dpyinfo pointer.
	(x_mouse_leave): New arg DPYINFO.  Callers changed.
	(XTframe_rehighlight): New arg FRAME.  Callers changed.
	Now does all the work in x_frame_rehighlight.
	(x_frame_rehighlight): New function, code from XTframe_rehighlight.
	(XTread_socket): Use the struct members instead of the globals.
	(x_unfocus_frame, x_iconify_frame, x_destroy_window): Likewise.
	(x_display_box_cursor, x_make_frame_invisible): Likewise.
	(x_term_init): Initialize the struct members.
	(x_initialize): Delete initialization of deleted globals.
	* xfns.c (x_get_focus_frame): New arg FRAME.  Callers changed.
	(Funfocus_frame): Unfocus on selected_frame's display.
	* xterm.h (struct x_display_info): New members x_focus_frame,
	x_focus_event_frame, x_highlight_frame, replacing global vars.
	* frame.c (do_switch_frame): Don't try to refocus termcap frames.

	* Makefile.in.in: Make dispnew.o and keyboard.o depend on xterm.h.
	Make intervals.o and term.o depend on keyboard.h.

	* xfns.c (x_window): Fix type mismatch.

	* xdisp.c (message_dolog): The message log doesn't need an undo list.

	* term.c (term_init): MagicWrap implies AutoWrap.

1995-04-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (safe_run_hooks_1, safe_run_hooks_error): New subroutines.
	(safe_run_hooks): Handle errors to clear the hook,
	instead of always clearing it temporarily.

	* callproc.c (child_setup): Reword "can't exec" message.
	Add newline after message.

	* process.c (create_process): Don't abort if can't reopen
	pty_name in the child.  Exit the child instead.

1995-04-20  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* abbrev.c (Fexpand_abbrev): Add some error checking.

	* xmenu.c (Fx_popup_dialog): Don't pass menubarp arg to xdialog_show.

1995-04-19  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* frame.h (struct frame): New member namebuf.
	* frame.c (make_frame): Initialize it.
	(Fdelete_frame): Free it.
	* xfns.c (x_window): Use (or reuse) frame's namebuf instead of a
	temp var.  This avoids a storage leak.

1995-04-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show, xdialog_show): Delete menubarp arg.
	(Fx_popup_menu): Don't compute menubarp.

1995-04-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* callproc.c (Fcall_process): Call Fexpand_file_name for error_file.

	* keyboard.c (map_event_to_object): Declaration deleted.

1995-04-18  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* eval.c (Ffetch_bytecode): Check the type of the object being
	read from the file.

1995-04-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Don't treat years < 100 as special.

1995-04-17  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* lisp.h: Declare some functions.
	* buffer.c (adjust_overlays_for_insert): New function.
	(adjust_overlays_for_delete): New function.
	* insdel.c (insert_1): Adjust overlay center after inserting.
	(insert_from_string_1, insert_from_buffer_1): Likewise.
	(del_range_1): Adjust overlay center after deleting.

1995-04-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Rewrite by Naggum.

1995-04-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfns.c (x_report_frame_params): Report value of `display' parm.

	* Makefile.in.in (really-lwlib, really-oldXMenu): Mark as .PHONY.

1995-04-14  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* editfns.c (Fencode_time): Fix missing \n\'s.

1995-04-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* editfns.c (init_editfns): Add casts.

	* doc.c (get_doc_string): Add cast.

	* keyboard.c (kbd_buffer_get_event): Don't use prototype.

	* xdisp.c (message_log_check_duplicate): Make p1 and p2
	unsigned char *.

1995-04-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_term_init): Call XtSetLanguageProc only if HAVE_X11XTR6.

1995-04-13  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* editfns.c (Fbuffer_string): Doc clarification.

	* alloc.c: Delete the #if that compares MARKBIT.

	* window.c (Fdisplay_buffer): Search the proper frame when the
	current frame is minibuffer-only.

	* fileio.c (Fexpand_file_name): Use IS_DIRECTORY_SEP instead of
	special code for WINDOWSNT.

1995-04-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfaces.c (compute_char_face): Don't use NULL.

	* buffer.c (Foverlays_at, Fnext_overlay_change): Don't use NULL.
	(Fprevious_overlay_change): Don't use NULL.

	* xfns.c (Fx_color_defined_p): Doc fix.

	* xfaces.c [! HAVE_X_WINDOWS] (build_face): Deleted.

1995-04-12  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* callint.c (Fcall_interactively): Fix paren nesting.

	* buffer.c (evaporate_overlays): Fix type error.

1995-04-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (XTmouse_position): Handle X errors in XTranslateCoordinates.

	* lisp.h (MARKBIT): Do the shifting as unsigned int.
	Delete the #if that compares MARKBIT.

1995-04-12  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (XTread_socket): For ConfigureNotify,
	combine the USE_X_TOOLKIT and non-toolkit cases, which provides
	some things that were missing in the former.

	* alloc.c (gc_sweep): If a misc has type Lisp_Misc_Free,
	keep it on the free list.  Sum pseudovector sizes properly.

	* dispnew.c (Fframe_or_buffer_changed_p): Ignore buffers whose names
	start with space.

	* editfns.c (Fencode_time): Use XINT to examine `zone'.

1995-04-11  Geoff Voelker  <voelker@cs.washington.edu>

	* ntinevt.c (nt_kdb_patch_event): Created.

1284
	* callproc.c (child_setup) [WINDOWSNT]: Removed syntax errors.
Dave Love's avatar
#  
Dave Love committed
1285 1286 1287 1288 1289

	* dired.c (Ffile_attributes) [WINDOWSNT]: Removed syntax errors.

	* fileio.c (Fexpand_file_name) [DOS_NT]: Preserve drive letter case.
	Fix syntax errors.
1290
	Check drive letter when expanding ~\.
Dave Love's avatar
#  
Dave Love committed
1291 1292 1293 1294

	* sysdep.c (sys_subshell) [WINDOWSNT]: Don't invoke restore_console.

	* ntproc.c (win32_wait): Reap synchronous subprocesses, and place
1295
	return code in synch_process_retcode.
Dave Love's avatar
#  
Dave Love committed
1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310

	* s/windowsnt.h (ctime): Defined to be nt_ctime.
	(NULL): Defined when missing from included system files.
	(EMACS_CONFIG_OPTIONS): Defined.
	(LISP_FLOAT_TYPE): Defined.
	(HAVE_TZNAME): Defined.
	(HAVE_TIMEVAL): Defined.
	(struct timeval): Defined.
	(struct timezone): Defined.

	* nt.c (nt_ctime): Defined.
	(gettimeofday): Defined.

	* ntinevt.c (do_mouse_event): Use XSETFASTINT.
	(SET_FRAME): Undefined.
Juanma Barranquero's avatar
Juanma Barranquero committed
1311
	(select): Renamed to sys_select to correspond to routine in sysdep.c.
Dave Love's avatar
#  
Dave Love committed
1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353
	(sys_select): Support struct timeval.
	(key_event): Support German keyboard.
	Replace SET_FRAME with XSETFRAME.
	(nt_kbd_mods_to_emacs): Renamed to win32_kbd_mods_to_emacs.
	(win32_kbd_mods_to_emacs): Support AltGr on German keyboards.
	(win32_number_shift_map): Defined.
	(WIN32_KEY_SHIFTED): Defined.
	(win32_patch_key): Defined.
	(map_virt_key): Support VK_OEM_102 for German keyboards.
	(win32_mouse_position): Add arg insist.
	(do_mouse_event): Replace SET_FRAME with XSETFRAME.
	Use win32_kbd_mods_to_emacs.

	* fileio.c (directory_file_name) [WINDOWSNT]: Handle UNC format.

	* nt.c (nt_stat): Defined.

	* s/windowsnt.h (struct nt_stat): Defined.

	* ntinevt.h: Fixed function prototypes.

	* makefile.nt (TEMACS): Add dependence on $(BLD).

	* ntterm.c (Fset_message_beep): Defined.
	(ring_bell): Support audio cards.

	* makefile.nt (DOC): Defined.

	* s/windowsnt.h (HAVE_RANDOM): Defined.
	(random): Macro undefined.
	(srandom): Macro undefined.
	(HAVE_UTIME): Defined.
	(utime): Defined.
	(EMACS_CONFIGURATION): Defined.

	* nt.c (random): Defined.
	(srandom): Defined.

	* nt.c (readdir): Include "." and "..".
	(get_inode_and_device_vals): Handle directories.

	* fileio.c (Fexpand_file_name) [DOS_NT]: Don't strip slash from
1354
	default dirs like "C:\\"
Dave Love's avatar
#  
Dave Love committed
1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368

	* makefile.nt (all): Use COMPAT_LIB in library list.
	Use DEL_TREE instead of delnode.

	* ntheap.c (sbrk): Shrink heap by arbitrary amounts.

	* m/intel386.h (NO_ARG_ARRAY) [WINDOWSNT]: Defined.

	* s/windowsnt.h (_VARARGS_): Defined.
	(_CALLBACK_): Defined.

1995-04-11  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

	* process.c (create_process): Set PROCESS's tty_name to Qnil when
Juanma Barranquero's avatar
Juanma Barranquero committed
1369 1370
	!PTY_FLAG, so Fprocess_tty_name returns nil for pipes as its
	docstring says.
Dave Love's avatar
#  
Dave Love committed
1371 1372 1373 1374

1995-04-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (read_char): Rearrange code so that getcjmp is set
1375
	only around sit_for and kbd_buffer_get_event,
Dave Love's avatar
#  
Dave Love committed
1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505
	and polling is stopped only around the kbd_buffer_get_event call.
	(Ftrack_mouse, tracking_off, read_char): Don't call prepare_menu_bars.

	* dispnew.c (init_desired_glyphs): New function.
	* xdisp.c (redisplay): Call init_desired_glyphs for each frame.
	Call prepare_menu_bars.
	(prepare_menu_bars): Delete code at beginning that duplicates
	things done at the beginning of redisplay.

	* alloc.c (inhibit_garbage_collection): New function.

	* xterm.c (XTread_socket): Pass dpyinfo to popup_get_selection.

	* xmenu.c (popup_get_selection): Queue up events that aren't
	for the menu, and process them afterward.  New arg dpyinfo.
	(set_frame_menubar): Use inhibit_garbage_collection.
	[USE_X_TOOLKIT] (xmenu_show): Delete the queue code here.
	Pass dpyinfo to popup_get_selection.
	Don't call lw_destroy_all_widgets.
	[USE_X_TOOLKIT] (xdialog_show): Simplify using popup_get_selection.

1995-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Fix handling of @
	when it tests whether the event has a window in it.

	* s/sco4.h (NO_SOCKETS_IN_FILE_SYSTEM): Defined.

	* eval.c (internal_condition_case): Abort if interrupt_input_blocked>0.

	* xmenu.c (set_frame_menubar): Don't block input until after
	the menubar maps have been decoded.

1995-04-10  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (push_frame_kboard, pop_frame_kboard): Do nothing if
	!MULTI_KBOARD.

	* keyboard.c (init_keyboard): Don't malloc a new structure;
	initial_kboard should already exist for that.
	* frame.c (make_terminal_frame): Put initial_kboard on the list of
	all kboard objects.

1995-04-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xmenu.c (popup_get_selection): For ButtonRelease event,
	clear dpyinfo->grabbed.

	* window.c (temp_output_buffer_show): Select the chosen window
	temporarily for running temp-buffer-show-hook.
	(syms_of_window): Fix typo.

	* s/osf1.h: Don't include alloca.h, string.h here.
	(malloc. realloc, xmalloc, xrealloc): Declarations moved to m/alpha.h.
	* m/alpha.h: Include alloca.h, string.h here.
	(malloc. realloc, xmalloc, xrealloc): Declarations moved from s/osf1.h.

	* xdisp.c (display_mode_line): Use push_frame_kboard, pop_frame_kboard.

	* xfns.c (x_window): Copy the frame name to non-Lisp string.

	* keyboard.c (any_kboard_state): Renamed from unlock_kboard.
	Define it unconditionally, but it's a no-op unless MULTI_KBOARD.
	(single_kboard_state): New function.
	(push_frame_kboard, pop_frame_kboard): New functions.
	(single_kboard): Renamed from kboard_locked.

	* keyboard.h (single_kboard): Renamed from kboard_locked.
	All refs renamed.
	(struct kboard): Move flag fields to the end, and make them chars.
	Delete the `unused' field.

	* callint.c (Fcall_interactively): Call single_kboard_state
	to switch to the single-kboard state.
	* minibuf.c (read_minibuf): Call single_kboard_state
	to switch to the single-kboard state.

	* alloc.c, data.c, macros.c, print.c: Include keyboard.h.

	* Makefile.in.in (alloc.o, data.o, macros.o, print.o):
	Depend on keyboard.h.

	* xterm.h (x_display_info): Use `struct kboard', not KBOARD.
	* frame.h (struct frame): Use `struct kboard', not KBOARD.

	* keyboard.h (KBOARD, etc): Moved from lisp.h.
	(struct kboard): Renamed from struct KBOARD.
	* lisp.h (KBOARD, etc): Moved to keyboard.h.

1995-04-09  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (unlock_kboard): Do nothing with Vunread_command_events.
	(read_char): Clean up logic for reading from KBOARD queues.

	* xfns.c (defined_color): Fix typo (duplicate +).

	* keyboard.c (kbd_buffer_get_event): Set copy by assignment, not init.

	* xterm.c (XTread_socket): Make deiconify event
	only if frame was iconified.

	* xrdb.c (xmalloc, xrealloc): Declare them here.

1995-04-08  Erik Naggum  <erik@naggum.no>

	* editfns.c (Fencode_time): New function, to match `decode-time'.

1995-04-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* intervals.c (set_point): When skipping intangible text,
	stop where property value changes.

	* indent.c (Fmove_to_column): Fix minor bug in prev change.

	* lread.c (read_escape): Undo Nov 15 change.

	* xdisp.c (display_mode_line): Test mode_line_inverse_video
	before highlighting partial-width mode line.

	* xmenu.c (popup_activate_callback): Increment popup_activated_flag.
	(popup_deactivate_callback): Decrement it.

	* s/linux.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.
	config.h should handle them.

	* xdisp.c (redisplay): Don't call update_frame for non-selected
	termcap frame.

1995-04-08  Noah Friedman  <friedman@prep.ai.mit.edu>

1506 1507 1508
	* window.c (Fnext_window, Fprevious_window): If all_frames is a
	frame and window is not on that frame, return the first window on
	that frame.
Dave Love's avatar
#  
Dave Love committed
1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588

1995-04-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* lread.c (init_lread): Add site-lisp under the installation dir
	to Vload_path if that exists.

	* s/osf1.h (xmalloc, xrealloc): Declare them.

	* frame.c (make_terminal_frame): Use Emacs, Emacs-2, ... as name.

	* xdisp.c (decode_mode_spec): Add %F code.
	Order alternatives alphabetically.

	* s/aix4.h: Use "..." in #include.

1995-04-07  Morten Welinder  <terra+@cs.cmu.edu>

	* s/osf1.h: Include alloca.h, string.h.  Test NOT_C_CODE.

	* m/alpha.h (SPECIAL_EMACS_INT): Defined.

1995-04-07  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (kbd_buffer_get_event): Check for frame buried in a cons.
	Delete menu_bar_event handling code.
	(make_lispy_event): Move it here, so it gets a switch-frame if needed.

	* callint.c (Fcall_interactively): Fix previous change.

1995-04-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* doprnt.c (xmalloc, xrealloc): Declare them here.

	* callint.c (Fcall_interactively): `+' is reserved for user changes.

	* process.c (read_process_output_error_handler)
	(exec_sentinel_error_handler): Fsleep_for wants two args.

	* xfns.c (validate_x_resource_name): Change invalid chars to `_'.

	* doprnt.c (doprnt): Cast pointer to int by way of EMACS_INT.

	* xmenu.c (menubar_selection_callback, dialog_selection_callback)
	(single_submenu): Cast pointer to int by way of EMACS_INT.

	* floatfns.c (Flogb): Use EMACS_INT for `value'.

	* editfns.c (Fformat): Cast int to pointer by way of EMACS_INT.

	* search.c (search_buffer): Avoid casting trt to int.
	Use EMACS_INT for comparing pointers.

	* buffer.h (Fdelete_overlays): Add declaration.

	* keyboard.c (parse_modifiers): Use type EMACS_INT for `modifiers'.

	* xterm.c (dumpglyphs): Cast FACE_DEFAULT to (XFontStruct *)
	for comparison with face->font.

	* sysdep.c (bcopy): If NEED_BCOPY, do compile this.

	* m/ncr386.h: New file.

	* s/hpux9.h (LD_SWITCH_X_DEFAULT): New definition.
	(C_SWITCH_X_DEFAULT): New definition.

	* doc.c (get_doc_string): In (STRING . INTEGER), if INTEGER
	is negative, negate it.

	* eval.c (Fuser_variable_p): For (STRING . INTEGER), test sign.

	* s/sol2.h (C_SWITCH_X_SYSTEM): Defined.

	* s/usg5-4-2.h (LIBS_SYSTEM): New override definition.

	* lisp.h (XMISCTYPE): New macro.
	(union Lisp_Misc): Delete the `type' field.
	Use XMISCTYPE instead of that.

	* alloc.c (Fmake_marker, mark_object): Use XMISCTYPE.
Juanma Barranquero's avatar
Juanma Barranquero committed
1589
	(clear_marks, gc_sweep): Use u_marker union elt to extract misc type.
Dave Love's avatar
#  
Dave Love committed
1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766

	* lread.c (defvar_int, defvar_bool, defvar_lisp_nopro, defvar_kboard)
	(defvar_per_buffer): Use XMISCTYPE.
	* print.c (print): Use XMISCTYPE.
	* fns.c (internal_equal): Use XMISCTYPE.
	* buffer.c (Fmake_overlay): Use XMISCTYPE.
	* data.c (Ftype_of, do_symval_forwarding, store_symval_forwarding)
	(find_symbol_value, Fmake_variable_buffer_local, Fmake_local_variable):
	Use XMISCTYPE.

	* xdisp.c (prepare_menu_bars): Do the frame titles last.

1995-04-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfaces.c (intern_face): Cast FACE_DEFAULT to (XFontStruct *)
	for comparison with face->font.

	* puresize.h (CHECK_IMPURE): Remove & from before my_edata.

	* editfns.c (Fformat_time_string): Use emacs_strftime.  Doc fix.

	* Makefile.in.in (strftime.o): Define strftime as emacs_strftime.

	* xmenu.c (frame_vector): New static variable.
	(syms_of_xmenu): staticpro it.
	(frame_vector_add_frame): New function.
	(set_frame_menubar): Use frame_vector; use index as the widget id.
	(free_frame_menubar): Likewise.  Remove the frame from frame_vector.
	(menubar_selection_callback): Use frame_vector to turn id into frame.

	* emacs.c (main): Cast arg to `brk'.

	* sysdep.c (init_sys_modes): Use TCOON only if defined.

	* s/netbsd.h (NO_MATHERR): Defined.
	(LIBS_SYSTEM): Definition deleted.

	* unexsunos4.c: Treat __NetBSD__ like __FreeBSD__.

1995-04-06  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* fns.c (Fplist_put): Fix missing \n\.

	* xfns.c (x_window_to_frame): Skip non-X frames before testing dpyinfo.
	[USE_X_TOOLKIT] (x_any_window_to_frame, x_top_window_to_frame): Ditto.

1995-04-06  Simon Marshall  <simon@duality.gnu.ai.mit.edu>

	* data.c (Fcar, Fcdr, Fsetcar, Fsetcdr): Arg name doc fixes.

1995-04-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* puresize.h (BASE_PURESIZE): Increment to 310000.

	* indent.c (string_width): New function.
	(vmotion): Compute the width of minibuf_prompt
	if it isn't already known.

	* buffer.c (Fkill_buffer): Call reset_buffer_local_variables
	and swap_out_buffer_local_variables.
	(swap_out_buffer_local_variables): New subroutine.
	(Fkill_all_local_variables): Use that subroutine.

	* search.c (Flooking_at, Fposix_looking_at): Change arg name.

1995-04-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* frame.c (Fraise_frame, Flower_frame): Now interactive.

1995-04-04  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* lisp.h: Declare Ffetch_bytecode.
	* eval.c (Ffetch_bytecode): New function.
	(funcall_lambda): Call it.
	(syms_of_eval): defsubr it.

1995-04-03  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* xfns.c (x_window_to_frame): New arg DPYINFO.  All callers changed.
	(x_any_window_to_frame, x_top_window_to_frame): Likewise.

	* lisp.h (Vmessage_log_max): Declare this variable.
	(message_nolog): Declare this function.
	* emacs.c (main): Start with an empty message log.
	* xdisp.c (message_nolog): New function.
	* fns.c (Fy_or_n_p): Don't log prompt.
	(Fyes_or_no_p): Fix typo in doc string.

1995-04-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* lread.c (oblookup): Save bucket num in oblookup_last_bucket_number.
	(Funintern): New function.
	(syms_of_lread): defsubr it.

1995-03-31  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* dired.c (Fdirectory_files): Fix bug in IS_ANY_SEP usage
	introduced in Oct 30 change.

1995-03-31  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): If we ignore force_start, then also
	ignore beg_unchanged and end_unchanged.

1995-03-31  Michael Ernst  <mernst@research.microsoft.com>

	* lread.c (isfloat_string): Permit trailing space.

1995-03-30  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (event_to_kboard): Ignore dead frames.
	(kbd_buffer_get_event): In batch mode, use current_kboard.

	* xterm.c (x_delete_display): Extract kboard deletion, for modularity.
	* keyboard.c (wipe_kboard): Make this function static.
	(delete_kboard): New function, extracted from x_delete_display.

	* lisp.h: Declare function delete_kboard.

	* xterm.h (struct x_display_info): New member cut_buffers_initialized.
	* xterm.c (x_term_init): Initialize it.
	* xselect.c (Fx_store_cut_buffer_internal): Use the flag in the
	frame's x_display_info, not a global flag.
	(Fx_rotate_cut_buffers_internal): Likewise.

	* emacs.c (sort_args): Skip strncmp if longname is a null pointer.

1995-03-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* data.c (Fmod): Fix the final adjustment, when i2 < 0 and i1 == 0.

1995-03-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* frame.c [MULTI_FRAME] (Factive_minibuffer_window): New function.
	[MULTI_FRAME] (syms_of_frame): Defsubr it.

1995-03-28  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* process.c (Fsignal_process): SIGCODE is a symbol, not a string.

1995-03-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* fns.c (Fconcat): Undo previous change.

1995-03-27  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* fns.c (Fget, Fput): Fetch and store symbol's plist directly.

1995-03-27  Boris Goldowsky  <boris@cs.rochester.edu>

	* fns.c (Fplist_put, Fplist_get): New fns.
	(Fget): Use Fplist_get to do the work.
	(Fput): Use Fplist_put to do the work.

	* textprop.c (Vdefault_text_properties): name changed from
	Vdefault_properties.
	* intervals.h: As above.
	* intervals.c (textget): As above.

	* intervals.c (textget_direct): Fn deleted.
	(textget, verify_interval_modification): Use Fplist_get instead.
	* intervals.h: Remove declaration.

1995-03-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (XTmouse_position): New arg `insist'.
	* ntinevt.c (win32_mouse_position): New arg `insist'.
	* msdos.c (mouse_get_pos): New arg `insist'.

	* xmenu.c (Fx_popup_menu): Pass 1 for `insist' arg.
	(Fx_popup_dialog): Likewise.
	* frame.c (Fmouse_position--both definitions): Pass 0 for `insist'.
	(Fmouse_pixel_position): Pass 0 for `insist'.
	Add HAVE_MOUSE conditional.
	* keyboard.c (kbd_buffer_get_event): Pass 0 for `insist' arg.

	* m/intel386.h (C_SWITCH_SYSTEM): Don't #undef or define it.
Juanma Barranquero's avatar
Juanma Barranquero committed
1767
	[SOLARIS2, SOLARIS2_4, !__GNUC__] (C_SWITCH_MACHINE): Define instead.
Dave Love's avatar
#  
Dave Love committed
1768

1769
1995-03-26  Germano Caronni  <caronni@tik.ethz.ch>
Dave Love's avatar
#  
Dave Love committed
1770 1771

	* ralloc.c (r_re_alloc): Correct realloc behavior--allow shrinking
Juanma Barranquero's avatar
Juanma Barranquero committed
1772
	of blocks while reallocating, if shrinking by more than one page.
Dave Love's avatar
#  
Dave Love committed
1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791
	(relocate_blocs, resize_blocs): Added failsafe to protect future
	calling of these routines when in frozen state.
	(r_alloc_thaw): Added call to r_alloc_init.
	(relocate_blocks, resize_bloc, r_alloc_sbrk, r_alloc_thaw): Extended
	functionality to let ralloc package work in frozen state, allowing
	for the existence of unused blocks.

1995-03-25  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* process.c (Fsignal_process): Allow signal names as well as numbers.

1995-03-24  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* editfns.c (init_editfns): Use NAME envvar to init user-full-name.

1995-03-24  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* textprop.c (Fnext_property_change): Fix previous change.

Juanma Barranquero's avatar
Juanma Barranquero committed
1792
1995-03-23  Kevin Rodgers  <kevinr@ihs.com>  (tiny change)
Dave Love's avatar
#  
Dave Love committed
1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822

	* print.c (temp_output_buffer_setup): (Re)set the default
	directory of the temp buffer to that of the current buffer.

1995-03-23  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* buffer.c (syms_of_buffer): Doc fix.

	* xdisp.c (redisplay): Make sure pause is set before used.
	Delete unused vars.
	(redisplay_window): Make sure update_mode_line is set before used.
	If startp might not have been set, use w->start directly.
	(try_window_id): In the easy case, find cursor pos before returning.
	(try_window_id): Stop scan at bottom of window, not one line later.
	Don't fail on account of continuation line below window.
	(redisplay_window): Stop scan at bottom of window.
	Fix reversed condition.

	* Makefile.in.in (FRAME_SUPPORT, MSDOS_SUPPORT): Don't list face
	and mouse related files here.
	(FACE_SUPPORT, MOUSE_SUPPORT): New lists.
	(FACE_SUPPORT): Add facemenu.elc.
	(WINNT_SUPPORT): New list.
	(lisp): Add format.elc, FACE_SUPPORT, MOUSE_SUPPORT, WINNT_SUPPORT.

1995-03-23  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* m/sparc.h: Don't include alloca.h if NOT_C_CODE.

	* m/mips-siemens.h (UNEXEC): Override the definition.
Juanma Barranquero's avatar
Juanma Barranquero committed
1823
	(LIBS_DEBUG, ORDINARY_LINK): Add #undefs.
Dave Love's avatar
#  
Dave Love committed
1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902

1995-03-22  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* dispnew.c (direct_output_forward_char): Don't use direct output
	at an overlay boundary.
	* buffer.c (overlay_touches_p): New function.
	* lisp.h: Declare overlay_touches_p.

	* fns.c (concat): Treat integers as characters, not strings.
	This makes `concat' more like `insert'.

	* window.c (syms_of_window): Fix missing \n\.
	* keymap.c (Fwhere_is_internal): Fix missing \n\.
	* fileio.c (syms_of_fileio): Fix missing \n\.

1995-03-21  Marco Walther  <Marco.Walther@mch.sni.de.>

	* unexelfsni.c: New file.

	* m/mips-siemens.h: Total rewrite.

1995-03-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (redisplay_window): Skip the only-point-has-changed
	optimization if updating the window's mode line.

1995-03-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (invisible_p, invisible_ellipsis_p): Handle list
	as invisible property value.

1995-03-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (display_menu_bar): Just one space between menu items.

1995-03-18  Ted Lemon  <mellon@toccata.fugue.com>

	* emacs.c (dump-emacs-data, dump-emacs): Declare my_edata as
	char array.
	* lastfile.c (my_edata): Declare as char array, not int.
	* puresize.h (CHECK_IMPURE): Declare my_edata as char array.

1995-03-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* lread.c (Vload_read_function): New variable.
	(readevalloop): Use that variable.
	(syms_of_lread): Set up Lisp variable.

1995-03-17  Boris Goldowsky  <boris@spiff.gnu.ai.mit.edu>

	* buffer.h (struct buffer): Add file_format member.

	* buffer.c (reset_buffer): Reset file_format element too.
	(init_buffer_once): Define file_format flag; reset file_format.
	(syms_of_buffer): New vbl buffer-file-format.

	* fileio.c (Finsert_file_contents): Call format-decode.
	(build_annotations): Call format-annotate-function for each element of
	buffer-file-format.
	(Vauto_save_file_format): New vbl.
	(build_annotations): Use it.

1995-03-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* alloc.c (init_alloc_once): Increase gc_cons_threshold to 300000.

1995-03-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xfns.c (x_decode_color): Don't use cdef if defined_color failed.

1995-03-15  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* config.h.in [HAVE_X_WINDOWS] (MULTI_KBOARD): Define this symbol.

1995-03-14  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* lisp.h (struct KBOARD, MULTI_KBOARD, current_kboard, all_kboards):
	(Lisp_Misc_Kboard_Objfwd, Lisp_Kboard_Objfwd, XKBOARD_OBJFWD):
	(KBOARD_OBJFWDP, GC_KBOARD_OBJFWDP, kboard_locked, the_only_kboard):
Stefan Monnier's avatar
Stefan Monnier committed
1903
	(DEFVAR_KBOARD): Rename from PERDISPLAY, MULTI_PERDISPLAY,
Dave Love's avatar
#  
Dave Love committed
1904 1905 1906 1907 1908 1909
	current_perdisplay, all_perdisplays, Lisp_Misc_Display_Objfwd,
	Lisp_Display_Objfwd, XDISPLAY_OBJFWD, DISPLAY_OBJFWDP,
	GC_DISPLAY_OBJFWDP, display_locked, the_only_perdisplay,
	DEFVAR_DISPLAY.  All uses changed.
	(struct KBOARD): New member reference_count.
	(initial_kboard): Declare this var.
Stefan Monnier's avatar
Stefan Monnier committed
1910
	* .gdbinit (xkbobjfwd): Rename from xdispobjfwd.
Dave Love's avatar
#  
Dave Love committed
1911 1912 1913
	* frame.h (struct frame): New member kboard.
	(FRAME_KBOARD): Accessor macro for that member, replacing
	get_perdisplay.
Stefan Monnier's avatar
Stefan Monnier committed
1914
	* xterm.h (struct x_display_info): Member kboard (formerly
Dave Love's avatar
#  
Dave Love committed
1915
	perdisplay) is now a pointer, not an actual struct.
Stefan Monnier's avatar
Stefan Monnier committed
1916 1917 1918
	(get_perdisplay, get_perdisplay_macro): Delete.
	* xfns.c (Fx_create_frame): Set the frame's kboard member.
	* xterm.c (get_perdisplay): Delete.
Dave Love's avatar
#  
Dave Love committed
1919 1920 1921 1922 1923
	(same_x_server): New function.
	(x_term_init): If this display shares a keyboard with one we've
	already opened, then share the structure.
	(x_delete_display): Don't delete the kboard until the reference
	count becomes zero.
Stefan Monnier's avatar
Stefan Monnier committed
1924 1925
	* lread.c (defvar_kboard): Rename from defvar_display.
	* alloc.c (mark_kboards): Rename from mark_perdisplays.
Dave Love's avatar
#  
Dave Love committed
1926 1927
	* frame.c (make_frame): Initialize kboard member.
	(make_terminal_frame): Create initial_kboard if not already set.
Stefan Monnier's avatar
Stefan Monnier committed
1928 1929 1930
	* keyboard.c (unlock_kboard): Rename from unlock_display.
	(wrong_kboard_jmpbuf): Rename from wrong_display_jmpbuf.
	(event_to_kboard): Rename from event_to_perdisplay.
Dave Love's avatar
#  
Dave Love committed
1931 1932
	(kbd_buffer_get_event): If no associated kboard, store
	current_kboard rather than the first kboard in the global list.
Stefan Monnier's avatar
Stefan Monnier committed
1933
	(init_kboard): Rename from init_perdisplay.  Initialize reference
Dave Love's avatar
#  
Dave Love committed
1934
	count.
Stefan Monnier's avatar
Stefan Monnier committed
1935
	(wipe_kboard): Rename from wipe_perdisplay.
Dave Love's avatar
#  
Dave Love committed
1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336
	* data.c (find_symbol_value): current_perdisplay now is never null.
	(store_symval_forwarding, do_symval_forwarding): Likewise.

1995-03-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* data.c (Fash): Fix previous change.

	* buffer.c (Fmake_indirect_buffer): Invert the arguments.

	* marker.c (unchain_marker): Allow differing buffers
	as long as they have the same text.

1995-03-13  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* keyboard.c (event_to_perdisplay): New function.
	(kbd_buffer_get_event): Use event_to_perdisplay.
	(kbd_buffer_store_event): If C-g arrives while we're in the run
	state on behalf of another display, just clear the queue and
	deposit the C-g to be read later.
	(read_key_sequence): After a throw, unwind delayed_switch_frame as
	well as keybuf.  Don't insert an extra switch-frame if empty.

	* print.c (print): current_perdisplay now is never null.
	* callint.c (clear_prefix_arg): Likewise.
	* macros.c (Fexecute_kbd_macro): Likewise.

1995-03-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* minibuf.c (read_minibuf): Save Voverriding_local_map.
	(read_minibuf_unwind): Restore Voverriding_local_map.

1995-03-13  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* unexelf.c (unexec): Adjust the file offset of sections located
	after the section header table.

1995-03-12  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* keyboard.c (unlock_display): current_perdisplay now is never null.
	(cmd_error, command_loop_1, read_char): Likewise.
	(kbd_buffer_get_event, read_key_sequence): Likewise.
	(read_char): Handle synchronous quit_char on a different display.
	(read_char): Rewrite queue-searching code.
	(read_key_sequence): Save selected_frame.
	(init_keyboard): Initialize current_perdisplay.

1995-03-12  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (parse_modifiers_uncached): Delete the code for
	multi-character modifiers and for recognizing a modifier alone.
	(parse_solitary_modifier): New function.
	(convert_event_type_list): Use parse_solitary_modifier.
	Also convert symbol A to character A.
	Handle shift modifier with lower-case letters.

	* window.c (Fdisplay_buffer): Fix prev change--return sel window.

	* indent.c (compute_motion, Fmove_to_column, current_column)
	(character_width): Let display table handle \n, \r, \t.
	(compute_motion): Fix logic in previous change wrt skipping invisible.

1995-03-11  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (display_text_line): When setting selective_rlen,
	ignore whether selective display is on or off.

	* textprop.c (Fnext_property_change): Handle LIMIT = t.

	* indent.c (compute_motion): Call recenter_overlay_lists sooner.
	Use Fnext_property_change to get a quick lower bound for
	where `invisible' changes.

1995-03-10  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* data.c (Fash, Flsh): Change arg names.

1995-03-09  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* intervals.h (TEXT_PROP_MEANS_INVISIBLE): New macro.
	(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro.

	* xdisp.c (display_text_line, try_window): Check `invisible' prop
	using TEXT_PROP_MEANS_INVISIBLE.
	(display_text_line): Check TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS;
	if it says so, use ellipses after invisible text.
	(invisible_p, invisible_ellipsis_p): New functions.

	* indent.c (compute_motion, vmotion): Check `invisible' prop
	using TEXT_PROP_MEANS_INVISIBLE.

	* buffer.h (struct buffer): New field `invisibility_spec'.
	* buffer.c (reset_buffer_local_variables): Init invisibility.
	(init_buffer_once): Set up buffer_local_flags for it.
	(syms_of_buffer): New variable `buffer-invisibility-spec'.

1995-03-08  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* syntax.c (Fforward_comment): Always clear immediate_quit for return.

1995-03-08  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* sysdep.c (read_input_waiting): Fix Lisp_Object vs. int problem.

1995-03-07  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* lisp.h (struct PERDISPLAY): New member kbd_queue_has_data.
	* keyboard.c (unlock_display): If adding to kbd_queue, set
	kbd_queue_has_data.
	(read_char): Set and clear kbd_queue_has_data appropriately, but
	leave it unset when we push back an incomplete sequence.
	(read_char): Take the longjmp even if current_perdisplay was null.
	(readable_events): Check kbd_queue_has_data instead of kbd_queue.
	(init_perdisplay): Initialize kbd_queue_has_data.

	* keyboard.c (command_loop_1): Removed inline code for prefix args.
	* callint.c (current_prefix_partial): New var.
	(Funiversal_argument): New function, formerly inlined in keyboard.c.
	(Fnegative_argument, Fdigit_argument): Likewise.
	(clear_prefix_arg): Moved here from keyboard.c.
	Don't clear the internal state if we're still building a prefix arg.
	(finalize_prefix_arg, describe_prefix_arg): Moved from keyboard.c.
	(syms_of_callint): defsubr the new functions.
	* lisp.h: Declare new var and functions.

	* lisp.h (struct PERDISPLAY): New member Vlast_kbd_macro.
	* alloc.c (mark_perdisplays): Mark it here.
	* keyboard.c (init_perdisplay): Initialize it here.

	* macros.c (Fstart_kbd_macro): Access Vlast_kbd_macro via perdisplay.
	(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
	(init_macros): Delete initialization.
	(syms_of_macros): Use DEFVAR_DISPLAY for Vlast_kbd_macro.
	Doc fix for executing-macro, executing-kbd-macro, last-kbd-macro.

	* keyboard.c (cmd_error): Bind Vprint_level and Vprint_length.

1995-03-06  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (command_loop_1): Fix test for prefix arg.

1995-03-06  Boris Goldowsky  <boris@cs.rochester.edu>

	* textprop.c (Vdefault_properties): New variable.
	* intervals.h: Declare it.
	* intervals.c (textget): Check it.

1995-03-03  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Fix Feb 22 change.

	* keyboard.c (read_key_sequence): Update orig_local_map
	for some additional gotos to replay_sequence.

	* process.c (exec_sentinel, read_process_output): If running filter
	or sentinel changes the local map, call record_asynch_buffer_change.

1995-03-02  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* xdisp.c (display_mode_line): Temporarily set current_perdisplay
	to reference the frame we're updating.

	* lisp.h (struct PERDISPLAY): New members defining_kbd_macro,
	kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end, kbd_macro_bufsize.
	* macros.h (defining_kbd_macro): Delete declaration.
	* macros.c (defining_kbd_macro): Delete; now part of perdisplay.
	All uses changed.
	(kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): Likewise.
	(kbd_macro_bufsize): Likewise.
	(Fstart_kbd_macro): Initialize kbd_macro_buffer if not already done.
	(init_macros): Delete initialization of defining_kbd_macro.
	(syms_of_macros): Delete initialization of kbd_macro_buffer.
	* keyboard.c (read_char_minibuf_menu_prompt): orig_defn_macro is
	now a Lisp_Object, not an int.
	(init_perdisplay): Initialize some of the new members.
	(wipe_perdisplay): Free kbd_macro_buffer.

	* keyboard.c (cmd_error): Allow current_perdisplay to be null.

	* keyboard.c (read_key_sequence): New arg can_return_switch_frame.
	All callers changed.
	(Fread_key_sequence): Likewise.
	* callint.c (Fcall_interactively): Defer switch-frame events when
	reading `k' or `K' specification.

1995-03-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* emacs.c (syms_of_emacs): Doc fix.

1995-03-02  John Grabowski  <johng@media.mit.edu>

	* xfns.c (defined_color): If colormap is full, find closest match.
	* xfaces.c (load_color): Call defined_color to allocate the color.

1995-03-01  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xterm.c (x_connection_closed): Ignore non-X frames.
	Fix the logic for deleting frames that use separate minibuffers
	that are on the dead connection.

	* buffer.c (Fpop_to_buffer): Call Fset_buffer_major_mode
	if we create a buffer.

1995-02-28  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>

	* keyboard.c (cmd_error): Use clear_prefix_arg.
	(internal_last_event_frame, Vlast_event_frame): Normal vars again.
	All uses changed.
	(Quniversal_argument, Qdigit_argument, Qnegative_argument): Declare.
	(clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): New fns.
	(command_loop_1): Handle digits and minus specially, when they're
	part of a prefix arg.
	Handle universal-argument and digit-argument and negative-argument
	bindings here, rather than doing I/O in the Lisp code.
	(read_char): When reading switch-frame events from the side queue,
	set internal_last_event_frame.
	(readable_events): Return non-zero if a side queue has data.
	(kbd_buffer_get_event): Don't abort if event has no associated frame.
	(read_key_sequence): Improve behavior when there's no current display.
	(init_perdisplay): Initialize the new members.
	* callint.c (Fcall_interactively, syms_of_callint): Undo Jan 31 change.
	(Vprefix_arg, Vcurrent_prefix_arg): Undo Jan 31 change.
	* mocklisp.c (Fml_provide_prefix_argument, Fml_prefix_argument_loop):
	Undo Jan 31 change.
	* minibuf.c (read_minibuf, read_minibuf_unwind): Undo Jan 31 change.
	* frame.c (do_switch_frame): Undo Feb 6 change.
	* macros.c (Fexecute_kbd_macro): Use clear_prefix_arg.
	* lisp.h (struct PERDISPLAY): Add prefix_factor, prefix_value,
	prefix_sign, prefix_partial.  Delete Vcurrent_prefix_arg and
	Vprefix_arg; those are now plain vars again.
	* alloc.c (mark_perdisplays): Update to reflect current Lisp_Objects.
	(NSTATICS): Increase to 768.

1995-02-28  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* frame.c (Fframep): Doc fix.

1995-02-28  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Lock the display before
	executing the command, no matter how we execute it.

1995-02-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keyboard.c (convert_event_type_list): New function.
	(lucid_event_type_list_p): New function.
	(parse_modifiers_uncached): If MODIFIERS_END is -1,
	look for just a modifier.  Guts rewritten.

	* keymap.c (Fdefine_key): Handle Lucid-style (crtl backspace) etc.
	(Flookup_key): Likewise.

	* callproc.c (Fcall_process): Extend BUFFER arg so it can specify
	a separate output file for stderr output.
	(Fcall_process_region): Doc fix.

1995-02-25  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xmenu.c (Fx_popup_menu): Init f from selected_frame
	before calling mouse_position_hook.

	* window.c (Vsame_window_buffer_names, Vsame_window_regexps): New vars.
	(syms_of_window): Set up Lisp vars.
	(Fdisplay_buffer): Use those vars--if requested, use current window.

1995-02-24  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (unlock_display): New function.
	(cmd_error, command_loop_1): Call it when appropriate.
	(read_char): If no current display, don't try to echo.

	* term.c (term_init) [TERMINFO]: Make error message more accurate.

1995-02-23  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* keymap.c (Fglobal_set_key, Flocal_set_key, Fglobal_unset_key)
	(Flocal_unset_key): Functions deleted (moved to simple.el).
	(syms_of_keymap): Don't defsubr them.

1995-02-23  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* keyboard.c (display_locked): New var to indicate when we're in
	the run state.  current_perdisplay is now meaningful in the wait
	state as well.
	(cmd_error): Clear display_locked in addition to current_perdisplay.
	(command_loop_1): outer_perdisplay renamed from global_perdisplay.
	Restore display_locked as well as current_perdisplay.
	(read_char): read_char_perdisplay merged with current_perdisplay.
	(read_key_sequence): Likewise.
	* minibuf.c (read_minibuf): Make sure the display is locked.
	* callint.c (Fcall_interactively): If the display hasn't already
	been locked by reading from the minibuffer, lock it before
	executing the command.
	* lisp.h (display_locked): Declare this var.

1995-02-23  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* window.c (syms_of_window): Doc fixes.

	* keymap.c (Fwhere_is_internal): If FIRSTONLY is not nil or non-ascii,
	completely ignore menu bindings.
	* xmenu.c (menu_item_equiv_key): Delete the code that rejected
	menu bindings returned by Fwhere_is_internal.

	* window.c (window_loop): Handle special display buffer frames
	for DELETE_BUFFER_WINDOWS as for UNSHOW_BUFFER.

1995-02-22  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* callint.c (Fcall_interactively): Use markers temporarily in
	args vector to stand for point and mark values; replace them
	with integers just before calling the command.

1995-02-21  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>

	* lisp.h (struct PERDISPLAY): New member kbd_queue.
	Delete obsolete members kbd_buffer_frame_or_window, kbd_buffer,
	kbd_fetch_ptr, kbd_store_ptr; these are regular vars again.
	* alloc.c (mark_perdisplays): Mark kbd_queue.
	Remove reference to obsolete kbd_buffer_frame_or_window.
	* xmenu.c (menubar_selection_callback): frame_or_window field of a
	menu-bar event now includes both the frame and the magic cookie.
	* keyboard.c (kbd_buffer_frame_or_window): Restored old var.
	(kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Likewise.
	(read_char_perdisplay): New var.
	(read_char): Search all appropriate perdisplay objects, and do the
	right thing if the next event comes from a different source.
	(read_key_sequence): If there's a change of display in mid-stream,
	retreat and try reading the new display.
	(find_active_event_queue): Function deleted.  All callers changed
	to just test the main kbd_buffer instead.
	(kbd_buffer_store_event): Write to the main kbd_buffer again.
	(kbd_buffer_get_event): Read from the main kbd_buffer again.
	Now returns a perdisplay pointer in addition to a lispy event.
	(Fdiscard_input, swallow_events): Use the main kbd_buffer again.
	(stuff_buffered_input): Likewise.
	(init_perdisplay): Initialize member kbd_queue.
	Remove references to obsolete members.
	(wipe_perdisplay): Remove obsolete reference.
	(init_keyboard, syms_of_keyboard): Restore initialization of vars.

1995-02-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>

	* xdisp.c (display_string, display_text_line):
	Display table overrides ordinary display even for \t, \n, etc.

1995-02-19  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* frame.c (Fmake_terminal_frame): Doc fix.

1995-02-18  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* s/hpux9.h (LIB_X11_LIB, C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT):
	Add #undef's to cancel hpux8.h's definitions.

1995-02-17  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* config.h.in (MULTI_FRAME): Define unconditionally.

1995-02-16  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* dispnew.c (change_frame_size_1): New subroutine.
	(change_frame_size): If f is termcap frame, change size of all of them.
	(remake_frame_glyphs): No longer static.
	Don't mark nonselected termcap frame as garbaged.

	* term.c (calculate_costs): Update max_frame_height, max_frame_width.
	They determine length of chars_wasted, copybuf and char_ins_del_vector.

	* xdisp.c (redisplay): Don't display nonselected terminal frames.

	* frame.c (Fmake_terminal_frame): New function.
	(syms_of_frame): defsubr it.
	(make_terminal_frame): Init Vframe_list only the first time.
	Set visible and async_visible directly.
	Give each terminal frame a unique name.

	* ralloc.c (r_alloc_check): Return void.
	(r_alloc_freeze): Initialize if it hasn't been done.
	(r_re_alloc, r_alloc_free, r_alloc_sbrk): Likewise.
	(r_alloc_init): Set __malloc_extra_blocks.

1995-02-15  Paul Reilly  <pmr@geech.gnu.ai.mit.edu>

	* s/dgux.h (LIB_MOTIF): Add -lgen to provide provide the symbols
	`regcmp' and `regex'.

1995-02-15  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* xmenu.c (xmenu_show, both versions): New arg for_click.
	(Fx_popup_menu): Compute it and pass it.

1995-02-14  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* callint.c: Doc fix.

1995-02-14  Paul Reilly  <pmr@geech.gnu.ai.mit.edu>

	* xterm.c (x_bitmap_icon): Fix test for unallocated icon bitmap.

1995-02-14  Richard Stallman  <rms@geech.gnu.ai.mit.edu>

Juanma Barranquero's avatar
Juanma Barranquero committed
2337
	* filelock.c (unlock_buffer, unlock_all_files, Flock_buffer)
Dave Love's avatar
#  
Dave Love committed
2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818
	(Funlock_buffer): Use buffer's file_truename, not filename.

	* buffer.c (syms_of_buffer): Set up Lisp var buffer-file-truename.
	(init_buffer_once): Set up flag and default value for file_truename.
	(reset_buffer): Init file_truename slot.

	* buffer.h (struct buffer): New field file_truename.

	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs.

	Include getpagesize.h unconditionally.
	(free_bloc): Don't die if bloc->next or bloc->prev is null.
	[!emacs] (bzero): New macro definition.

	* keyboard.c (input_poll_signal): Add ignored argument.
	(interrupt_signal): Likewise.

	* dispnew.c (window_change_signal): Add ignored argument.

	* process.c (Fstart_process): Make process marker point into proc buf.

	* xterm.c (x_display_bar_cursor): Use frame's cursor_width.

	(x_connection_signal): New function.
	(x_initialize): Use it as signal handler.

	* xfns.c (x_set_cursor_type): Set cursor_width field.
	Handle args of form (bar . WIDTH).

	* xterm.h (struct x_display): New element cursor_width.

1995-02-14  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* filelock.c (unlock_buffer, unlock_all_files, Flock_buffer)
	(Funlock_buffer): Use buffer's file_truename, not filename.

	* buffer.h (struct buffer): New field file_truename.
	* buffer.c (syms_of_buffer): Set up Lisp var buffer-file-truename.
	(init_buffer_once): Set up flag and default value for file_truename.
	(reset_buffer): Init file_truename slot.

	* xterm.h (struct x_display): New element cursor_width.
	* xfns.c (x_set_cursor_type): Set cursor_width field.
	Handle args of form (bar . WIDTH).
	* xterm.c (x_display_bar_cursor): Use frame's cursor_width.

1995-02-13  Richard Stallman  <rms@pogo.gnu.ai.mit.edu>

	* m/iris4d.h (STACK_DIRECTION): Undef before defining.
	[__GNUC__] (C_SWITCH_MACHINE): Remove -cckr.
	Add -32, only if IRIX_FORCE_32_BITS.
	* s/irix5-0.h [__GNUC__] (C_SWITCH_SYSTEM): Defined.
	* s/irix4-0.h [__GNUC__] (C_SWITCH_SYSTEM): Define this.
	(C_SWITCH_MACHINE): Instead of this.

	* ralloc.c (r_alloc_free): Call refill_memory_reserve only if emacs.

	* s/irix6-0.h: New file.

	* fileio.c (Fexpand_file_name): Copy default-directory
	before looking for a handler on the directory arg.

	* cmds.c (Vself_insert_face, Vself_insert_face_command): New variables.
	(syms_of_cmds): Set up Lisp variables.  Doc syntax fix.
	(internal_self_insert): Handle Vself_insert_face.

	* lisp.h (Qprocessp): Declared.

	* xdisp.c (redisplay_window): If we update the mode line,
	switch to the buffer for real, and switch back for real.