root/trunk/src/ChangeLog.5

Revision 4220, 249.3 kB (checked in by miyoshi, 5 months ago)

Sync up with Emacs22.2.

  • Property svn:eol-style set to native
Line 
1 1995-06-21  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
2
3         * Version 19.29 released.
4
5         * xfns.c (Fx_display_grayscale_p): Return t or nil.
6         Return t for color displays.
7
8         * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Increased to 68000.
9
10         * xdisp.c (decode_mode_spec) [!MULTI_FRAME]: Handle %F properly.
11
12 1995-06-20  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
13
14         * keyboard.c (read_key_sequence): Don't use Vprefix_help_command
15         for the first character in a key seq.
16
17         * ntinevt.c (map_virt_key): Mark some additional chars as valid ASCII.
18
19         * ntterm.c (ctrl_c_handler): Ignore CTRL_BREAK_EVENT signals.
20
21 1995-06-19  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
22
23         * sysdep.c (rmdir): Fix up Aug 19 1993 change that wasn't done right.
24
25         * ntproc.c (win32_wait): Massage retval into what is expected in Unix.
26
27         * process.c (sigchld_handler): Change XSETFASTINT to XSETINT.
28
29         * keyboard.c (Freset_this_command_lengths): New function.
30         (before_command_key_count, before_command_echo_length)
31         (before_command_restore_flag): New variables.
32         (add_command_key): If requested, reset the lengths.
33         (command_loop_1): Record current lengths before reading cmd.
34         (read_char): Update the recorded length before echoing.
35
36         * xfns.c (Fx_create_frame): Fix last arg to x_get_arg for Qdisplay.
37
38         * s/linux.h (LIB_GCC): Fix previous change.
39         If we redefine it later, #undef it first.
40
41 1995-06-18  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
42
43         * keyboard.c (quit_throw_to_read_char): Turn off the error check
44         testing poll_suppress_count.
45
46         * s/linux.h (LIB_GCC): Define here, overriding Makefile.in.in,
47         so as to use C_SWITCH_X_MACHINE.
48
49 1995-06-17  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
50
51         * m/alpha.h (SYSTEM_MALLOC): Definition deleted.
52
53         * keymap.c (Vdefine_key_rebound_commands): New variable.
54         (syms_of_keymap): Set up Lisp var.
55         (Fdefine_key): Put new definition onto Vdefine_key_rebound_commands.
56
57         * xmenu.c (menu_item_equiv_key): Do reconsider a command that had
58         no equivalent before, if it is in Vdefine_key_rebound_commands.
59
60         * data.c (Flocal_variable_if_set_p): New function.
61         (syms_of_data): Call defsubr.
62
63         * xdisp.c (display_text_line): Fill in charstart for end of buffer.
64
65 1995-06-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
66
67         * puresize.h [MULTI_FRAME] (BASE_PURESIZE): Increase to 315000.
68
69         * frame.c (Fdelete_frame): Use do_switch_frame directly.
70         (do_switch_frame): No longer static.
71         * window.c (Fset_window_configuration): Use do_switch_frame directly.
72         * keyboard.c (quit_throw_to_read_char): Use do_switch_frame directly.
73         * lisp.h (do_switch_frame): Declared.
74
75 1995-06-16  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
76
77         * frame.c [MULTI_FRAME] (Fignore_event): New function.
78         [MULTI_FRAME] (keys_of_frame): Bind iconify-frame and
79         make-frame-visible to it.
80
81 1995-06-16  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
82
83         * .gdbinit: Use long, not EMACS_INT.
84         Do `set main' to make gdb_valbits etc. available.
85
86         * frame.h (struct frame): New field icon_name.
87         * xterm.h (struct x_display): icon_name deleted.
88         * xfns.c (x_report_frame_params, x_set_icon_type, x_set_icon_name)
89         (x_set_name, x_icon, Fx_create_frame): Use moved icon_name field.
90         * alloc.c (mark_object): Mark icon_name field.
91
92 1995-06-15  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
93
94         * keyboard.h (struct kboard): Add Voverriding_terminal_local_map.
95         * keyboard.c (init_kboard): Initialize it.
96         (syms_of_keyboard): Defvar it.
97         (read_key_sequence, menu_bar_items):
98         Check Voverriding_terminal_local_map before Voverriding_local_map.
99         * doc.c (Fsubstitute_command_keys): Likewise.
100         * keymap.c (Fkey_binding, describe_buffer_bindings): Likewise.
101
102         * xdisp.c (Qoverriding_terminal_local_map): New variable.
103         (syms_of_xdisp): staticpro it.
104         (update_menu_bar): If we bind overriding-local-map, also bind
105         overriding-terminal-local-map.
106
107         * frame.c (Fhandle_switch_frame): Preserve prefix arg.
108         * keyboard.c (command_loop_1): In special handling for commands
109         that create a prefix arg, don't handle commands that merely
110         preserve one that was previously created.
111
112         * .gdbinit ($valmask): Use EMACS_INT, not int.
113
114         * lisp.h (enum pvec_type): Don't use trailing comma.
115
116 1995-06-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
117
118         * m/alpha.h (malloc, realloc): If not _MALLOC_INTERNAL,
119         always use void *.
120
121 1995-06-15  Geoff Voelker  <voelker@cs.washington.edu>
122
123         * callproc.c (call-process-region) [DOS_NT]: Use IS_DIRECTORY_SEP.
124         (call-process-region) [WINDOWSNT]: Use proper temp file template.
125
126         * ntproc.c (win32_spawnve): Accept program names without executable
127         suffixes.
128
129         * makefile.nt (TRES) [MSVCNT11]: Use emacs.res, and don't compile it.
130
131 1995-06-15  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
132
133         * m/alpha.h (LD_SWITCH_MACHINE): Don't define it.
134         (malloc, realloc): If non-ANSI C, declare value as char *.
135
136 1995-06-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
137
138         * sysdep.c (emacs_set_tty): Swap TCSETAF and TCSETAW.
139         Rename arg waitp to flushp.
140
141 1995-06-14  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
142
143         * callint.c (Fprefix_numeric_value): Fix type check.
144
145         * keyboard.c (command_loop_1): Clear prefix arg (undo Feb 1 change).
146
147 1995-06-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
148
149         * data.c (Flocal_variable_p): Fix backwards logical operator.
150
151 1995-06-14  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
152
153         * m/intel386.h: If NOT_C_CODE, don't include alloca.h.
154         [!__GNUC__] (C_SWITCH_MACHINE): Disable this; it seems to confuse cpp.
155
156 1995-06-14  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
157
158         * frame.c (Fdelete_frame): If the minibuf window was selected,
159         make that remain so.
160
161         * process.c (status_notify): Undo May 18 change.
162         Set update_tick at the beginning not at end.
163
164         * buffer.c (Fprevious_overlay_change): Check for overlays that
165         end at POS.
166
167 1995-06-13  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
168
169         * xfns.c (syms_of_xfns): Initialize Vx_no_window_manager.  Doc fix.
170
171 1995-06-13  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
172
173         * m/ibmrs6000.h (LIBS_MACHINE): Use -lpthreads, not -lpthread.
174         * config.h.in (HAVE_LIBPTHREADS): Add #undef.
175
176 1995-06-12  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
177
178         * mem-limits.h [_LIBC] (start_of_data): Define to &__data_start
179         for GNU libc.
180
181 1995-06-11  Richard Stallman  <rms@gnu.ai.mit.edu>
182
183         * xmenu.c (frame_vector_add_frame): Don't forget to store
184         the longer vector.
185
186         * xterm.h (struct x_display): New field asked_for_visible.
187         * xterm.c (x_make_frame_visible): Test and set asked_for_visible.
188
189         * widget.c (EmacsFrameSetCharSize): Manually alter the height
190         and width of the outer widget (and the width of the column widget)
191         carefully using deltas.
192         Set update_hints_inhibit nonzero while updating.
193         Then call update_wm_hints explicitly.
194         (update_wm_hints): Use 0 for min_rows, min_cols.
195         Do nothing if update_hints_inhibit is nonzero.
196
197         * xterm.c: Include widget.h.
198         (x_wm_set_size_hint) [USE_X_TOOLKIT]:
199         Get the size from the outer widget.
200         Copy the base and minimum sizes from the old hint.
201
202         * xfns.c [USE_X_TOOLKIT] (x_window): If using Motif,
203         add some extra to sizes, for consistent behavior.
204
205 1995-06-10  Richard Stallman  <rms@gnu.ai.mit.edu>
206
207         * dispnew.c (Fframe_or_buffer_changed_p): Calculate vector size right.
208         Add hysteresis when making it larger.  Fill it up reliably
209         and check at the end for overflowing it.
210         (syms_of_display): Make frame_and_buffer_state initially with 20 elts.
211
212         * keyboard.c (read_char_minibuf_menu_prompt):
213         If the char to type doesn't match the prompt string,
214         show the char explicitly.
215
216 1995-06-10  Geoff Voelker  <voelker@cs.washington.edu>
217
218         * ntterm.c,ntproc.c,nt.c: Include config.h before stdio.h.
219
220 1995-06-09  Geoff Voelker  <voelker@cs.washington.edu>
221
222         * makefile.nt (TEMACS): Depend upon $(BLD).
223         (temacs): Remove $(BLD) dependency.
224
225 1995-06-09  Richard Stallman  <rms@gnu.ai.mit.edu>
226
227         * xterm.c (x_get_keysym_name): New function.
228         * keyboard.c (modify_event_symbol): Mask out high bits here,
229         and only for certain purposes.  table_size now unsigned.
230         (modify_event_symbol) [HAVE_X_WINDOWS]: Use x_get_keysym_name.
231         (make_lispy_event): Don't mask high bits here.
232         Supply -1 as table_size for system-specific keys.
233
234         * xdisp.c (update_menu_bar): Use set_buffer_internal_1 to switch bufs.
235         Run the hooks in the proper buffer.
236         Normally bind overriding-local-map to nil.
237         (Qoverriding_local_map): New variable.
238         (syms_of_xdisp): staticpro it.
239
240 1995-06-09  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
241
242         * keyboard.h (struct kboard): New member system_key_syms.
243         * alloc.c (mark_kboards): Mark it.
244         * keyboard.c (system_key_syms): Deleted; now part of struct kboard.
245         (make_lispy_event): Use the struct member.
246         (init_kboard): Initialize it.
247         (syms_of_keyboard): Delete initialization and staticpro.
248
249         * Makefile.in.in (SOURCES): Makefile isn't source; Makefile.in.in is.
250
251 1995-06-08  Richard Stallman  <rms@gnu.ai.mit.edu>
252
253         * keyboard.c (Fevent_convert_list): Renamed from
254         convert_event_type_list.
255         (syms_of_keyboard): defsubr it.
256         * keymap.c (Flookup_key, Fdefine_key): Use Fevent_convert_list.
257
258         * xmenu.c (xmenu_show): Do call lw_destroy_all_widgets.
259         (xdialog_show): Likewise.
260         (popup_get_selection): Don't call it here.
261
262         * search.c (Freplace_match): Fix check for valid reg in string replace.
263         Do the right thing with backslash.
264
265         * keyboard.c (Vhelp_event_list): New var.
266         (syms_of_keyboard): Set up Lisp var.
267         (help_char_p): New function.
268         (read_char, echo_char, read_key_sequence): Use help_char_p.
269
270         * keyboard.h (Vlucid_menu_bar_dirty_flag): Declare this variable.
271         (Qrecompute_lucid_menubar, Qactivate_menubar_hook): Likewise.
272
273         * keyboard.c (read_key_sequence): Don't run activate-menubar-hook
274         or call recompute-lucid-menubar.
275
276         * xdisp.c (update_menu_bar): Run activate-menubar-hook
277         and call recompute-lucid-menubar.
278
279 1995-06-08  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
280
281         * commands.h (last_command): Declaration deleted.
282         * keyboard.h (struct kboard): New member Vlast_command.
283         * keyboard.c (last_command): Var deleted; now part of struct kboard.
284         (init_kboard): Initialize it.
285         (syms_of_keyboard): Defvar it.
286         (command_loop_1): Make last_command be kboard-local.
287         * cmds.c (internal_self_insert): Likewise.
288         * minibuf.c (Fminibuffer_complete): Likewise.
289
290         * m/ibmrs6000.h (LIBS_MACHINE): Use -lpthread if it exists.
291
292         * m/alpha.h (LIBS_MACHINE): Define to -ldnet or -ldnet_stub.
293
294         * s/msdos.h (SYSTEM_PURESIZE_EXTRA) [!HAVE_X_WINDOWS]:
295         Increase to 62000.
296
297         * process.c [!subprocesses]: Include sysselect.h.
298
299         * xmenu.c (xmenu_show): If !HAVE_X_WINDOWS, don't reference X display.
300
301 1995-06-07  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
302
303         * keyboard.h (struct kboard): member Vprefix_arg restored, replacing
304         prefix_factor, prefix_value, prefix_sign, and prefix_partial.
305         * callint.c (current_prefix_partial): Deleted.
306         (Vprefix_arg): Deleted; not part of struct kboard again.
307         (Funiversal_argument, Fnegative_argument, Fdigit_argument)
308         (clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg): Deleted.
309         (syms_of_callint): Use DEFVAR_KBOARD for Vprefix_arg.
310         Remove defsubrs for deleted functions.
311         * lisp.h: Remove declarations for deleted vars and functions.
312         * alloc.c (mark_kboards): Mark Vprefix_arg instead of
313         prefix_factor and prefix_value.
314         * macros.c (Fexecute_kbd_macro): Vprefix_arg is now part of kboard.
315         * keyboard.c (cmd_error, command_loop_1, Fcommand_execute)
316         (Fexecute_extended_command, init_kboard, syms_of_keyboard):
317         Undo Feb 28 change; prefix arg handling is now in Lisp code again.
318
319         * buffer.c: (syms_of_buffer): Doc fix.
320
321         * buffer.c: (Fbuffer_disable_undo): Make this function interactive.
322
323 1995-06-07  Richard Stallman  <rms@gnu.ai.mit.edu>
324
325         * data.c (Flocal_variable_p): New optional arg BUFFER.
326         Really check whether var is local in *that* buffer.
327
328         * xfns.c (x_real_positions): Uncatch and recatch X errors in the loop.
329
330         * filelock.c (unlock_file, lock_file): Call Fexpand_file_name.
331
332 1995-06-05  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
333
334         * Makefile.in.in (TOOLKIT_DEFINES): Define.
335         (ALL_CFLAGS): Insert $(TOOLKIT_DEFINES) here.
336         * xfns.c (syms_of_xfns): Provide motif in Motif version.
337
338         * lisp.h: (Fwaiting_for_user_input_p): Function declared.
339         (Fupcase_initials, Fupcase_initials_region): Likewise.
340         (Fplist_get, get_local_map, Fx_popup_menu, Fx_popup_dialog): Likewise.
341         (Fframe_first_window): Likewise.
342         * keyboard.c (cmd_error): Use NULL, not 0, as arg to
343         cmd_error_internal.
344         (menu_bar_items): Likewise, for arg of current_minor_maps.
345         (record_char): Add cast.
346         * indent.c (Fvertical_motion): Add cast.
347         * undo.c (record_insert): Change args to be ints, not Lisp_Objects.
348         * casefiddle.c (casify_region): Use explicit local vars for start
349         and end, so that the type will be correct.
350         (operate_on_word): Likewise for iarg in this function.
351         (upcase_initials, upcase_initials_region): Deleted; these were
352         redundant copies of Fupcase_initials and Fupcase_initials_region.
353         * abbrev.c (Fexpand_abbrev): Call to upcase_initials_region
354         changed to Fupcase_initials_region for consistency.
355         * search.c (Freplace_match): Likewise.
356         * alloc.c: Declare sbrk.
357
358         * xdisp.c: Include keyboard.h.
359
360         * s/irix5-0.h (POSIX_SIGNALS): Defined.
361
362 1995-06-03  Richard Stallman  <rms@gnu.ai.mit.edu>
363
364         * xterm.c (x_wm_set_icon_pixmap): Set IconPixmapHint in both cases.
365
366         * buffer.c (Fkill_buffer): When killing indirect buffer,
367         unchain that buffer's markers (only) from the common chain.
368         Don't rekill this buffer's indirect buffers that are dead.
369         Do nothing if this buffer is already dead.
370
371 1995-06-03  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
372
373         * editfns.c (Fencode_time): Doc fix.
374
375         * fns.c (NULL): Define if not defined.
376
377 1995-06-02  Richard Stallman  <rms@gnu.ai.mit.edu>
378
379         * xfns.c (Fx_create_frame): Make sure icon_name is a string or nil.
380
381         * xterm.h (struct x_display): Rename icon_label to icon_name
382         and make it a Lisp_Object.
383
384         * xfns.c (Qicon_name): New variable.
385         (Fx_create_frame): Look for icon-name parm and set icon_label field.
386         (x_set_icon_type): Compute arg to x_text_icon
387         based on frame name and icon_name fields.
388         (x_set_icon_name): New function.
389         (x_icon): Call x_text_icon.
390         (x_set_name): Look at icon_name field when setting the icon name,
391         (x_frame_parms): Add icon-name.
392         (syms_of_xfns): Set up Qicon_name.
393
394         * xterm.c (x_text_icon): Do call XSetIconName or XSetWMIconName.
395         Don't save ICON_NAME anywhere.
396
397         * sysdep.c (old_tty_valid): New variable.
398         (init_sys_modes): Set old_tty_valid if we set old_tty.
399         (reset_sys_modes): Restore tty settings only if old_tty_valid.
400
401         * term.c (cursor_to, clear_to_end_of_line_raw):
402         If chars_wasted is 0, do nothing.
403         (clear_end_of_line): Don't die if chars_wasted is 0.
404
405         * search.c (trivial_regexp_p): = is special after \.
406
407         * s/ptx.h (HAVE_SELECT, HAVE_TIMEVAL): Definitions deleted.
408
409 1995-06-01  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
410
411         * xfns.c (x_destroy_bitmap): Block and unblock input.
412         (Fx_horizontal_line): Add one UNBLOCK_INPUT to fix a misbalance,
413         and move another one to include the call to XFreeGC, in case we
414         someday remove the "#if 0" conditions.
415         * widget.c (EmacsFrameDestroy): Block and unblock input.
416
417 1995-05-31  Richard Stallman  <rms@gnu.ai.mit.edu>
418
419         * xfns.c (x_display_info_for_name): Fix error message.
420         (Fx_open_connection): Fix error messages.
421
422 1995-05-30  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
423
424         * s/sol2-4.h (LD_SWITCH_SYSTEM): Copied back from s/sol2-3.h;
425         added references to /usr/dt/lib.
426
427         * xfns.c (syms_of_xfns): Allow PATH_BITMAPS to be a
428         colon-separated list.
429
430         * editfns.c (syms_of_editfns): user-login-name renamed from user-name.
431         user-real-login-name renamed from user-real-name.
432         C names changed to Vuser_real_login_name, Vuser_login_name as well.
433         * nt.c: Change Vuser_real_name to Vuser_real_login_name.
434
435 1995-05-30  Richard Stallman  <rms@gnu.ai.mit.edu>
436
437         * xfns.c (x_top_window_to_frame): Don't match menu-bar widget.
438
439         * xdisp.c (update_menu_bar): Reverse test of save_match_data.
440
441         * xmenu.c (set_frame_menubar): Always call update_frame_menubar.
442
443         * xfns.c (x_window): Use applicationShellWidgetClass,
444         not topLevelShellWidgetClass.  Call lw_set_main_areas after
445         creating the menubar widget.
446
447 1995-05-29  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
448
449         * xdisp.c (update_menu_bar): Do update if region display has changed.
450
451         * frame.c (make_frame_without_minibuffer): New arg DISPLAY.
452         If there's no minibuffer frame to use, create one.
453         * xfns.c (Fx_create_frame): Pass new arg to
454         make_frame_without_minibuffer.
455
456         * fns.c (Frandom): Use EMACS_INT, not int.
457         Use NULL, not 0, as arg of `time'.
458
459         * frame.c: Declare x_get_focus_frame.
460         (Fmouse_position): Use NULL, not 0, as arg of pixel_to_glyph_coords.
461         * keyboard.c (make_lispy_event, make_lispy_movement): Likewise.
462
463 1995-05-29  Richard Stallman  <rms@gnu.ai.mit.edu>
464
465         * xterm.c (XTread_socket) [USE_X_TOOLKIT]: Do pass MotionNotify events
466         to the toolkit.
467
468         * keyboard.c (Fset_input_mode): When read_socket_hook, ignore
469         what the user specified, and set interrupt_input in the preferred
470         way for this system.
471
472         * xterm.c (x_term_init): Call init_sigio only if interrupt_input.
473
474 1995-05-28  Morten Welinder  <terra+@cs.cmu.edu>
475
476         * s/osf1.h (COFF): Define.
477         * m/alpha.h (LD_SWITCH_MACHINE) [!__GNUC__]: Don't define.
478         (r_alloc, r_re_alloc, r_alloc_free) [REL_ALLOC,
479         !_MALLOC_INTERNAL, !NOT_C_CODE]: Prototype.
480
481 1995-05-28  Richard Stallman  <rms@gnu.ai.mit.edu>
482
483         * xterm.c (x_set_offset): Distinguish CHANGE_GRAVITY < 0 case.
484         * xfns.c (x_set_frame_parameters): Pass -1 to x_set_offset.
485
486         * xfns.c (x_report_frame_params): Report top and left
487         in a way that represents negative offsets correctly.
488
489         * syntax.c (describe_syntax_1): Pass new arg to describe_vector.
490
491         * keymap.c (describe_vector): New arg entire_map.
492         Don't show bindings shadowed earlier on in the same map.
493         (Fdescribe_vector, describe_map): Pass new arg.
494
495         * xdisp.c (redisplay_window): Don't use try_window_id if
496         newline has a display table entry.
497
498         * xdisp.c (update_menu_bar):
499         Call set_frame_menubar with proper buffer current.
500
501 1995-05-26  Geoff Voelker  <voelker@cs.washington.edu>
502
503         * lread.c (init_lread) [CANNOT_DUMP]: Set Vload_path to EMACSLOADPATH.
504
505 1995-05-26  Richard Stallman  <rms@gnu.ai.mit.edu>
506
507         * xfns.c (x_window): Call initialize_frame_menubar
508         near the end, after UNBLOCK_INPUT.
509
510         * xmenu.c (popup_get_selection): Force deactivation if key pressed.
511         New arg `id'.
512         (xdialog_show, xmenu_show): Pass new arg to popup_get_selection.
513         * xterm.c (XTread_socket): Don't call popup_get_selection here.
514
515 1995-05-26  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
516
517         * sysdep.c (VFORK_RETURN_TYPE): Use int if not already defined.
518         (vfork): Declare the return type.
519         * s/sol2-3.h (HAVE_VFORK): Moved here from s/sol2-4.h.
520         (VFORK_RETURN_TYPE): Defined.
521         * s/sol2-4.h (HAVE_VFORK): Moved to s/sol2-3.h.
522         (pid_t): Deleted; s/sol2-3.h now defines a symbol for this.
523
524         * xdisp.c (x_consider_frame_title): Use FRAME_KBOARD.
525
526 1995-05-26  Geoff Voelker  <voelker@cs.washington.edu>
527
528         * s/windows95.h: New file.
529
530         * ntheap.h (get_data_region_base): Undefined.
531         (get_reserved_heap_size): Use reserved_heap_size.
532         (reserved_heap_size): Declared.
533         * ntheap.c (reserved_heap_size,allocate_heap): Defined.
534         (sbrk): Use allocate_heap.
535
536         * ntterm.c (set_terminal_modes): Set cursor size appropriate for
537         Windows 95.
538         (write_glyphs): Don't memset attrs, which is a word array.
539
540         * nt.c (configuration_buffer): Increase size.
541         (get_emacs_configuration) [WINDOWS95]: Use appropriate string.
542         (prepare_standard_handles) [WINDOWS95]: Disable subprocesses.
543         (reset_standard_handles): Check error number on failure.
544
545         * makefile.nt (LIBS): Use BASE_LIBS and ADVAPI32.
546         (config.h,paths.h): Use $(CP) instead of cp.
547         (config.h): Use $(CONFIG_H).
548         (EMACS) [WINDOWS95]: Don't dump temacs.exe.
549         (clean): Cleanup MSVC files and config.h.
550         (cleandump): Separate commands onto multiple lines.
551         Cleanup comments.
552
553 1995-05-26  Michael Ernst  <mernst@research.microsoft.com>
554
555         * emacs.c (standard_args): -i, -itype, --icon-type take 0, not 1, args
556
557 1995-05-25  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
558
559         * process.c (create_process, send_process): Add volatile qualifiers.
560         (wait_reading_process_input) [both versions]: Cast args of select.
561
562         * syntax.c (scan_lists): Make stringterm an unsigned char.
563
564         * dispnew.c (change_frame_size_1): Declare arg DELAY.
565
566         * insdel.c (adjust_point): Declare arg AMOUNT.
567
568         * lisp.h (do_symval_forwarding): Declare this function.
569         (frame_buffer_predicate, Foverlay_start, Foverlay_end): Ditto.
570         (Fprevious_single_property_change, Fend_of_line, Felt): Ditto.
571         (Fforward_line, Fforward_word, Fdelete_region, Fforward_char): Ditto.
572         (Fnarrow_to_region, Fwiden, Fmatch_beginning, Fmatch_end): Ditto.
573         (Fskip_chars_forward, Fskip_chars_backward): Ditto.
574         (Ffile_name_absolute_p, read_doc_string): Ditto.
575         (get_frame_param, store_frame_param, store_in_alist): Ditto.
576         (describe_map_tree): Declaration moved here from keymap.c.
577         * keymap.c (describe_map_tree): Move declaration to lisp.h.
578
579         * doc.c (Fsubstitute_command_keys): Cast arg of describe_map_tree.
580         * frame.c [MULTI_FRAME] (Fmouse_position): Cast arg of
581         pixel_to_glyph_coords.
582         * callint.c (Fcall_interactively): Cast arg of doprnt.
583         * editfns.c (format1): Likewise.
584         * xdisp.c (message): Likewise.
585         (scroll_bottom_vpos, fmodetrunc): Declarations deleted.
586
587 1995-05-25  Richard Stallman  <rms@gnu.ai.mit.edu>
588
589         * dispnew.c (Fframe_or_buffer_changed_p): Record frame names
590         as well as the frame objects.
591
592         * xterm.c (XTread_socket):
593         For MapNotify, call record_asynch_buffer_change.
594
595         * xdisp.c (prepare_menu_bars): Update frame titles before menu bars.
596
597         * xfns.c (Fx_get_resource): Major rewrite to make it clearer.
598         (validate_x_resource_name): Use build_string, not make_string.
599         (Fx_create_frame): Initially use Vinvocation_name as resource name.
600         Switch to frame name if frame name is explicit.
601         (x_display_info_for_name, Fx_open_connection): Add casts.
602         Initially use Vinvocation_name as resource name.
603         [USE_X_TOOLKIT] (x_window): Use Vx_resource_name for widget names.
604
605         * xmenu.c (xmenu_show, xdialog_show): Increment widget_id_tick
606         in the same way as in xfns.c.  Use LWLIB_ID type where appropriate.
607         (set_frame_menubar, free_frame_menubar): Add casts to LWLIB_ID.
608
609         * xterm.c (XTflash): Use pointers as args to select.
610         (XTread_socket, x_set_offset, x_set_window_size)
611         (x_make_frame_invisible): Cast 2nd arg to x_wm_set_size_hint.
612         (XTclear_end_of_line): Don't specify return type.
613         (note_mouse_highlight): Declare args x and y.
614         (x_icon_type): New declaration.
615         (flashback): Declaration deleted.
616
617 1995-05-24  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
618
619         * lisp.h (menu_bar_items): Declare this function.
620
621 1995-05-24  Richard Stallman  <rms@gnu.ai.mit.edu>
622
623         * xmenu.c (Fx_popup_dialog): Treat (menu-bar) like t, for POSITION.
624
625         * frame.c (Fdelete_frame): When updating Vdefault_minibuffer_frame,
626         insist on a frame on the proper keyboard.
627
628         * xterm.c (x_connection_closed): Unblock input, first thing.
629         Set Vdefault_minibuffer_frame to t
630         before deleting a frame that might have its own minibuffer.
631
632 1995-05-23  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
633
634         * xfns.c (hack_wm_protocols): Use cast instead of suffix.
635
636 1995-05-23  Richard Stallman  <rms@gnu.ai.mit.edu>
637
638         * xfns.c (x_set_frame_parameters): Pass 1 as change_gravity
639         when calling x_set_offset.
640         (x_real_positions): Don't add border_width into win_x, win_y.
641         * xterm.c (x_set_offset): Add border_width when calling XMoveWindow.
642
643         * xterm.h (struct x_display): New field menubar_height.
644         * xmenu.c (set_frame_menubar): Set menubar_height field.
645         * xfns.c (x_window) [both versions]: Set menubar_height.
646
647         * xfns.c [USE_X_TOOLKIT] (x_window): Don't call XMoveWindow
648         or x_calc_absolute_position.  Do use the border_width.
649
650         * xterm.c (x_calc_absolute_position): Use menubar_height field.
651         In toolkit case, use outermost Emacs widget and its parent.
652         [USE_X_TOOLKIT] (x_make_frame_visible): Do call x_set_offset.
653
654
655         * xfns.c [USE_X_TOOLKIT] (x_window): Pass position to toolkit
656         only if user-specified.  But always use XMoveWindow to move the
657         window to that position.
658
659         * alloc.c (Fgarbage_collect): Clear consing_since_gc first thing.
660
661         * xdisp.c (redisplay_window): Use set_buffer_internal_1.
662
663         * buffer.c (set_buffer_internal_1): New subroutine.
664         (Fmove_overlay): Don't set windows_or_buffers_changed.
665
666 1995-05-22  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
667
668         * xselect.c (x_get_window_property): Cast args of XGetWindowProperty.
669         * xfaces.c (unload_color): Cast args of XFreeColors.
670         * xfns.c (hack_wm_protocols): Cast args of XGetWindowProperty.
671         (x_set_border_pixel): Cast args of XSetWindowBorder.
672         * widget.c (create_frame_gcs): Cast args of XCreateGC.
673         (setup_frame_gcs): Cast args of XCreatePixmapFromBitmapData.
674
675         * data.c (long_to_cons): Don't assume 32-bit longs.
676         * fileio.c (Fvisited_file_modtime): Cast arg of long_to_cons.
677
678         * editfns.c (Fformat): Split double into two pointers, not two ints.
679
680         * s/hpux9.h: Delete HAVE_FMOD; configure handles that correctly now.
681
682 1995-05-22  Richard Stallman  <rms@waves>
683
684         * xdisp.c (display_text_line): Enter a char in charstarts
685         at the very end of the character loop.
686         Enter newline or ^M (if selective display) separately.
687
688         * lisp.h (gdb_lisp_params): New enum type.
689         * .gdbinit: Use gdb_lisp_params to get storage layout info.
690         Set and use $valmask and $nonvalbits.
691
692         * lread.c (oblookup): Delete argument hashp.
693
694 1995-05-19  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
695
696         * floatfns.c (Flogb): frexp needs a pointer to int, not EMACS_INT.
697
698 1995-05-19  Richard Stallman  <rms@waves>
699
700         * dispnew.c (buffer_posn_from_coords): Don't let startp be before BEGV.
701
702 1995-05-18  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
703
704         * indent.c (compute_motion): Handle overlay strings.
705         New arg DID_MOTION.  All callers changed.
706         * dispnew.c, window.c: Add new argument to calls of compute_motion.
707         * xdisp.c: Add new argument to calls of compute_motion.
708         (zv_strings_seen): New variable.
709         (redisplay, try_window, try_window_id): Clear zv_strings_seen.
710         (display_text_line): Handle overlay strings.
711
712 1995-05-18  Richard Stallman  <rms@waves>
713
714         * s/sol2-4.h: Undo previous change.
715
716         * emacs.c (Fkill_emacs): Delete the auto-save-list file
717         after shut_down_emacs.
718
719         * process.c (status_notify): If Vprocess_alist changes within
720         the loop, do the whole loop again.
721
722 1995-05-17  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
723
724         * emacs.c (Fdump_emacs): Don't take address of array.
725
726         * buffer.c (Fmake_indirect_buffer): Fix interactive spec.
727
728         * Makefile.in.in (SOURCES): Fix reference to ymakefile.
729
730         * keyboard.c (syms_of_keyboard): Always define track-mouse.
731         (do_mouse_tracking): Always declare this var.
732
733 1995-05-15  Marcus Daniels  <marcus@ee.pdx.edu>
734
735         * s/linux.h: Test _STDIO_USES_IOSTREAM as well as _IO_STDIO_H.
736         [__ELF__] (START_FILES, LIB_STANDARD, LIB_GCC, UNEXEC): Define these.
737         [__ELF__] (UNEXEC_USE_MAP_PRIVATE): Define this.
738
739         * unexelf.c (unexec) [UNEXEC_USE_MAP_PRIVATE]: New logic for
740         systems that don't support MAP_SHARED with PROT_WRITE.
741
742 1995-05-15  Richard Stallman  <rms@churchy.gnu.ai.mit.edu>
743
744         * s/sol2-4.h (LD_SWITCH_SYSTEM): Define.
745
746 1995-05-15  Simon Leinen  <simon@lia.di.epfl.ch>
747
748         * indent.c (vmotion): handle the case where `minibuf_prompt' is nil.
749
750 1995-05-12  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
751
752         * indent.c (vmotion): Simplify.  Replace last three args with a single
753         struct window *.  All callers changed.
754         * xdisp.c (minmax): New macro.
755         (redisplay, redisplay_window, try_window_id): Clip cursor hpos at both
756         low and high extremes, in anticipation of a change to compute_motion.
757
758         * xterm.c (Qvendor_specific_keysyms): New var.
759         (syms_of_xterm): Initialize and staticpro it.
760         (x_term_init): Initialize Vsystem_key_alist according to vendor.
761
762         * emacs.c (main) [NeXT]: Add missing braces.
763
764 1995-05-11  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
765
766         * sysdep.c (init_system_name): Clean up signedness mismatch.
767         * unexelf.c (unexec): Fix type mismatch.
768         * print.c (float_to_string): Fix type mismatch and simplify.
769
770         * dispnew.c [!MULTI_FRAME] (Fredraw_frame): Delete extra docstring.
771         * frame.c [!MULTI_FRAME] (Fframe_height, Frame_width): Likewise.
772
773 1995-05-09  enami tsugutomo  <enami@sys.ptg.sony.co.jp>
774
775         * window.c [MULTI_FRAME] (init_window_once): Set Vterminal_frame
776         to selected_frame.
777         * frame.c [MULTI_FRAME] (make_terminal_frame): Don't set
778         Vterminal_frame.
779         (do_switch_frame): Set Vterminal_frame to selected_frame.
780
781 1995-05-08  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
782
783         * Makefile.in.in (VMS_SUPPORT): Add missing `.elc'.
784         (SOME_MACHINE_LISP): New variable.
785         (${etc}DOC): Use it.
786
787         * buffer.c (syms_of_buffer): Doc fix.
788
789         * frame.c (frame-height, frame-width, set-screen-height,
790         set-screen-width, termal-frame) [!MULTI_FRAME]: Delete doc strings.
791
792 1995-05-08  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
793
794         * keyboard.c (init_kboard): Initialize Vdefault_minibuffer_frame.
795         * keyboard.h (struct kboard): New member Vdefault_minibuffer_frame.
796         * frame.c: Vdefault_minibuffer_frame is now part of KBOARD instead
797         of a variable.  All references changed.
798         (make_frame_without_minibuffer): New arg KB.
799         Require the new frame's minibuffer to be on the same display.
800         * xfns.c (Fx_create_frame): Pass kb to make_frame_without_minibuffer.
801
802         * xdisp.c (x_consider_frame_title): When setting multiple_frames,
803         ignore invisible frames and frames on other displays.
804
805         * keyboard.c [MULTI_KBOARD] (read_char): If the character was for
806         the wrong kboard, don't let it get processed twice.
807
808 1995-05-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
809
810         * callproc.c (Fcall_process): Keep reading till buffer is nearly full.
811
812         * emacs.c (Fdump_emacs): Don't use & before my_edata.
813
814 1995-05-08  Francesco Potorti`  (pot@cnuce.cnr.it)
815
816         * m/delta.h (C_SWITCH_MACHINE): Let configure decide if this is
817         a 68040 or 68030.  Don't condition on __STDC__.
818
819 1995-05-08  enami tsugutomo  <enami@sys.ptg.sony.co.jp>
820
821         * frame.c (Fraise_frame, Flower_frame): Make arg FRAME optional.
822
823         * keyboard.c (Fread_key_sequence): Doc fix.
824
825 1995-05-08  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
826
827         * window.c (Fdisplay_buffer): Initialize other, upper, lower.
828
829 1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
830
831         * lisp.h (Fmatch_data, Fstore_match_data): Declared.
832
833         * xdisp.c (prepare_menu_bars): Save and restore the match data.
834         (update_menu_bar): New arg save_match_data.
835         Maybe save and restore match data here.
836
837 1995-05-07  Geoff Voelker  <voelker@cs.washington.edu>
838
839         * makefile.nt (region-cache.obj,vm-limit.obj): Dependencies defined.
840         (OBJ1): Don't compile xfaces.c.
841         (buffer.obj,indent.obj,search.obj): Add region-cache.h dependency.
842
843 1995-05-07  Paul Eggert  <eggert@twinsun.com>
844
845         * data.c (Fmod): Fix the final adjustment, when f2 < 0 and f1 == 0.
846
847         * lread.c (isfloat_string): Reject strings like "0.5+".
848
849 1995-05-07  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
850
851         * process.c (wait_reading_process_input): Pass arg in new call to
852         set_waiting_for_input.
853
854         * xfns.c (Funfocus_frame): Check for live X frame.
855
856         * lread.c (init_lread): Don't warn about missing installation dirs
857         when using dirs derived from the executable.
858
859 1995-05-06  Geoff Voelker  <voelker@cs.washington.edu>
860
861         * makefile.nt (TRES): Defined.
862         (TLIB1,TLIB2): Created out of TLIB.
863         (TLIB): Split to reduce time to do library updates.
864         (DOC): Use DOC-X.
865         (strftime.obj): Compile with -Dstrftime=emacs_strftime.
866
867 1995-05-06  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
868
869         * window.c (syms_of_window): Doc fix.
870         (temp_output_buffer_show): If we use Vtemp_buffer_show_function,
871         do nothing else.
872
873         * s/bsd386.h (GETPGRP_NO_ARG): New definition.
874         (BSD): Include sys/param.h instead of redefining BSD.
875         But do this only if emacs is defined.
876
877         * lisp.h (gc_cons_threshold): Change back to int.
878         * alloc.c (gc_cons_threshold): Change back to int.
879         (min): New macro.
880         (inhibit_garbage_collection): Don't exceed value an int can hold.
881
882         * xdisp.c (prepare_menu_bars): Clear size-change flag before running
883         size-change functions.
884         (scroll_step, debug_end_pos, line_number_display_limit): Now static.
885
886 1995-05-05  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
887
888         * emacs.c (Fdump_emacs_data): Don't use & before my_edata.
889
890         * editfns.c (Fencode_time): Rename arg from min to minute.
891         (days_per_month): Move variable to top level.
892
893         * process.c (wait_reading_process_input): Don't call prepare_menu_bars.
894         Clear waiting_for_input around calling redisplay_preserve_echo_area.
895
896         * xfns.c [USE_X_TOOLKIT] (x_window): Always pass position in geometry.
897         Set XtNmappedWhenManaged to 0 for shell_widget.
898         (Fx_create_frame): Always call x_wm_set_size_hints.
899
900         * s/sol2-4.h (HAVE_VFORK): Add #undef.
901
902         * s/netbsd.h (GETPGRP_NO_ARG): Defined.
903
904 1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
905
906         * s/freebsd.h: (GETPGRP_NO_ARG): Defined
907         (HAVE_GETPAGESIZE): Definition deleted.
908
909         * data.c (store_symval_forwarding): Error if value out of range
910         for an integer variable.
911         (Fstring_to_number): Avoid using make_number to return value.
912         Maybe use atol.
913
914 1995-05-04  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
915
916         * buffer.c (Qbefore_string, Qafter_string): New vars.
917         (syms_of_buffer): Initialize and staticpro them.
918         (cmp_for_strings, overlay_strings): New functions.
919
920 1995-05-04  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
921
922         * indent.c (string_display_width): Renamed from string_width.
923         (vmotion): Use new name.
924
925         * s/sco4.h [!__GNUC__] (LINKER): Defined.
926
927         * insdel.c (make_gap): Don't allow buffer size that won't fit in int.
928         Make this new error check also check exceeding VALBITS.
929         (insert_1): Delete old error test.
930         (min): New macro.
931
932         * Makefile.in.in (${etc}DOC): Put SOME_MACHINE_OBJECTS before obj.
933
934         * xfaces.c (region_face, next_face_id): Make static.
935
936         * xselect.c (Vselection_converter_alist, x_selection_timeout)
937         (Vx_sent_selection_hooks, Vx_lost_selection_hooks, Vselection_alist):
938         Make static.
939
940         * alloc.c (inhibit_garbage_collection):
941         Use XSETINT, and do arithmetic in type EMACS_INT.
942
943         * s/hpux9.h (HAVE_FMOD): Defined.
944
945         * sysdep.c (bcmp, bcopy): Fix backward BSTRING conditionals.
946
947         * emacs.c (Fkill_emacs): Delete the Vauto_save_list_file_name file.
948
949 1995-05-04  Morten Welinder  <terra+@cs.cmu.edu>
950
951         * data.c (arith_driver): Make accum and next EMACS_INTs.
952         (Fmod): i1 and i2 are EMACS_INT.
953
954         * editfns.c (Fformat): Allow 30 characters in the printed version
955         of integers and floats.
956
957         * print.c (print): Handle long EMACS_INT in sprintf.
958         * keyboard.c (Fexecute_extended_command):
959         Handle long EMACS_INT in sprintf.
960         * lread.c (read1): Handle long EMACS_INT in atol.
961         * doprnt.c (doprnt): Handle long EMACS_INT in sprintf.
962         * data.c (Fnumber_to_string, Fstring_to_number):
963         Handle long EMACS_INT in sprintf and atol.
964
965         * process.c (list_processes_1): Cast XFASTINT for passing to sprintf.
966
967         * m/alpha.h (bcopy, bzero, bcmp): Don't let string.h prototype these.
968
969 1995-05-03  Morten Welinder  <terra+@cs.cmu.edu>
970
971         * keyboard.c (parse_modifiers, apply_modifiers): Don't assume
972         32-bit EMACS_INT.
973         (parse_modifiers): modifiers is an int, not an EMACS_INT.
974         (read_key_sequence): Pass modifiers as int, not EMACS_INT.
975
976         * buffer.h (Fdelete_overlay): Was mistakenly called Fdelete_overlays.
977
978         * lisp.h (gc_cons_threshold): Make this an EMACS_INT.
979
980         * alloc.c (gc_cons_threshold): Make this an EMACS_INT.
981         (gc_sweep): Make already_free an EMACS_INT.
982
983         * search.c (search_buffer): Cast p_limit to EMACS_INT not int.
984
985         * s/osf1.h (GETPGRP_NO_ARG): Define.
986
987 1995-05-03  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
988
989         * keyboard.c (reorder_modifiers): Use XINT.
990         Cast apply_modifiers arg to int.
991
992         * unexapollo.c: New file.
993
994         * m/apollo.h (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
995         (NO_X_DESTROY_DATABASE): Macros deleted.
996         (BSTRING): #undef deleted.
997         (SYSTEM_TYPES): Redefinition deleted.
998         (UNEXEC): New definition.
999         (LD_SWITCH_SYSTEM): Define as empty.
1000         (C_SWITCH_MACHINE, LD_SWITCH_MACHINE): New definitions.
1001         (OLDXMENU_OPTIONS): New definition.
1002
1003         * fileio.c (directory_file_name): Add APOLLO conditional.
1004         (Fcopy_file, Fset_file_modes): Delete APOLLO conditionals.
1005
1006         * emacs.c: Delete all APOLLO conditionals.
1007
1008 1995-05-02  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
1009
1010         * intervals.c (get_local_map): Use Fget_char_property, so that
1011         overlay properties will be considered as well as text properties.
1012
1013 1995-05-02  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1014
1015         * insdel.c (prepare_to_modify_buffer): Use file_truename for locking.
1016
1017         * fileio.c (Finsert_file_contents): Use file_truename for unlocking.
1018
1019         * buffer.c (Fset_buffer_modified_p): Use the truename for locking.
1020
1021         * lread.c (read1): New arg FIRST_IN_LIST; all callers changed.
1022         Special handling for backquote and comma.
1023         (Qbackquote, Qcomma, Qcomma_at, Qcomma_dot): New variables.
1024         (syms_of_lread): Initialize and staticpro them.
1025         (Fread, Fread_from_string): Initialize new_backquote_flag.
1026
1027 1995-05-01  Karl Heuer  <kwzh@hal.gnu.ai.mit.edu>
1028
1029         * xmenu.c (xmenu_show, menubar_selection_callback): Move declaration
1030         of entry to an outer block, to guarantee its value is preserved.
1031
1032         * keyboard.c (kbd_buffer_get_event): New arg USED_MOUSE_MENU.
1033         [USE_X_TOOLKIT]: Set *USED_MOUSE_MENU if returning menu-bar symbols.
1034         (read_char): Pass used_mouse_menu to kbd_buffer_get_event.
1035         This variable is now meaningful for toolkit menus as well as
1036         non-toolkit menus.
1037
1038         * dispnew.c (update_frame): Don't put cursor in echo area unless
1039         the echo area is on this frame.
1040         * xdisp.c (redisplay): Don't move the cursor if it's supposed to
1041         be in the echo area.
1042         (display_text_line): Likewise.
1043         (echo_area_display): Put cursor in echo area if appropriate.
1044
1045 1995-04-30  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1046
1047         * emacs.c (standard_args): Add #ifdef VMS for -map.
1048         (main): Delete duplicate code for -version.
1049         (standard_args): Add -help and -version.
1050
1051         * fileio.c (Fdo_auto_save): Record visited file name
1052         as well as auto-save file name in the auto-save-list-file-name file.
1053         Call Fexpand_file_name for auto-save-list-file-name.
1054
1055 1995-04-29  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1056
1057         * sysdep.c [HAVE_UNISTD_H]: Include unistd.h.
1058
1059         * emacs.c (standard_args): Add -L/--directory/-directory.
1060
1061         * s/sunos4shr.h (ORDINARY_LINK): Defined.
1062         (LINKER): Definition deleted.
1063
1064 1995-04-28  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
1065
1066         * xfns.c (x_non_menubar_window_to_frame): New function.
1067         * xterm.h: Declare x_non_menubar_window_to_frame.
1068         * xmenu.c (popup_get_selection): Use x_non_menubar_window_to_frame.
1069         Either queue or dispatch the event, but not both.
1070         (dialog_selection_callback): Clear popup_activated_flag.
1071
1072         * xmenu.c (Fx_popup_menu): If POSITION is just (menu-bar), use the
1073         current mouse position.
1074         (menubar_selection_callback): Use (menu-bar) instead of 'menu-bar.
1075         * keyboard.c (read_char, read_char_x_menu_prompt): Exclude
1076         menu-bar clicks when processing mouse clicks.
1077
1078         * xterm.c (x_term_init): Add stub to initialize Vsystem_key_alist.
1079
1080 1995-04-27  Karl Heuer  <kwzh@nutrimat.gnu.ai.mit.edu>
1081
1082         * process.c (create_process): Don't reference pty_name if !HAVE_PTYS.
1083
1084 1995-04-26  Richard Stallman  <rms@mole.gnu.ai.mit.edu>
1085
1086         * fileio.c (Ffile_regular_p): Use Qfile_regular_p.
1087         (syms_of_fileio): Set up Qfile_regular_p.
1088
1089         * emacs.c (standard_args): Move -iconic and --icon-type
1090         to the end of the i