home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / src / ChangeLog < prev    next >
Encoding:
Text File  |  1993-07-06  |  670.2 KB  |  17,822 lines

  1. Tue Jul  6 11:05:14 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2.  
  3.     * Version 19.16 released.
  4.  
  5.     * ymakefile [not ORDINARY_LINK && __GNUC__ && __GNUC__ > 1 && not
  6.     LIB_GCC] (LIB_GCC): Use "$(CC)" instead of "gcc".
  7.  
  8. Tue Jul  6 01:58:20 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  9.  
  10.         * textprop.c (copy_text_properties): Pass a copy of POS to
  11.     validate_interval_range; that function increments its arguments,
  12.     which isn't what we want.
  13.  
  14.     * fns.c (Fsubstring, concat): Pass all six arguments to
  15.     copy_text_properties.
  16.  
  17.     * intervals.c (find_interval): Doc fixes, computation of
  18.     tree->position rearranged for clarity.
  19.  
  20.     * intervals.c (find_interval): Consistently treat POSITION as an
  21.     actual buffer position, i.e. origin 1.  The old code seemed
  22.     undecided on this point.  Treat the end of the buffer as being
  23.     part of the rightmost interval.
  24.     (adjust_intervals_for_insertion): Consistently treat POSITION as
  25.     origin 1.
  26.     (interval_deletion_adjustment): The exception: FROM should be
  27.     origin zero here.  Consistently treat it as such.  Simplify code
  28.     which shrinks and possibly deletes intervals.
  29.     (adjust_intervals_for_deletion): Treat start as origin 1; our
  30.     caller does.
  31.     (set_point): Use buffer positions throughout, not a mix of buffer
  32.     posns and origin zero posns.
  33.     (get_local_map): Remove special case for POSITION at end of buffer;
  34.     find_interval handles that case correctly.
  35.     (verify_interval_modification): Remove special case for START at
  36.     end of buffer.
  37.     * textprop.c (validate_interval_range): End-of-buffer/string
  38.     positions no longer need special handling.
  39.  
  40.     * intervals.c (make_new_interval): #if 0 this out.  Nobody calls it.
  41.  
  42.     * textprop.c (copy_text_properties): New function, from David
  43.     Gillespie.
  44.     * intervals.h: Declare copy_text_properties.
  45.     * fns.c: #include "intervals.h".
  46.     (Fsubstring): Copy text properties to result string.
  47.     (concat): Copy text properties to result string.
  48.     * ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
  49.  
  50.     * print.c: Get rid of extra space at the end of print syntax for
  51.     strings with intervals.
  52.     [USE_TEXT_PROPERTIES] (print): Don't print a space before the
  53.     interval property lists.
  54.     [USE_TEXT_PROPERTIES] (print_interval): Print a space before this
  55.     internal's properties, not after.
  56.  
  57.     * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
  58.     "-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header
  59.     files.
  60.     * ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the
  61.     oldXMenu make.
  62.  
  63.     * doc.c (Fsubstitute_command_keys): Pass all five arguments to
  64.     describe_map_tree.
  65.  
  66. Mon Jul  5 03:15:17 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  67.  
  68.     Compare the values of text properties using EQ, not Fequal.
  69.     * intervals.c (intervals_equal): Call EQ, not Fequal.
  70.     * textprop.c (interval_has_all_properties, add_properties): Same.
  71.  
  72.     * textprop.c (validate_interval_range): Don't increment both
  73.     *begin and *end if they point to the same thing.
  74.     (validate_plist): Call QUIT while scanning LIST.
  75.  
  76.     * intervals.c (intervals_equal): Test the return value of Fequal
  77.     against Qnil, not 0.
  78.  
  79.     * keyboard.c (Vdouble_click_time): Renamed from double_click_time,
  80.     and made a Lisp_Object instead of an int.  
  81.     (make_lispy_event): If Vdouble_click_time is t, impose no time
  82.     limit on double-clicks.
  83.     (syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT)
  84.     Vdouble_click_time (not double_click_time), and adjust doc string
  85.     to say that `nil' means no double clicks, and `t' means no time
  86.     limit.
  87.  
  88. Sun Jul  4 16:00:40 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  89.  
  90.     * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
  91.     accessors.
  92.  
  93.     * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
  94.     only needed for misconfigured systems.
  95.  
  96. Sun Jul  4 00:51:00 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  97.  
  98.     * keymap.c (describe_map_tree): When inserting TITLE, mention PREFIX.
  99.     Insert newline at end, if inserted anything else.
  100.     (describe_buffer_bindings): Corresponding changes.
  101.     For minor mode maps, build up a title string,
  102.     then let describe_map_tree insert it.
  103.  
  104.     * eval.c (Fsignal): Clarify error message.
  105.  
  106. Sat Jul  3 22:19:19 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  107.  
  108.     * keyboard.c (read_char): After Fgarbage_collect, call redisplay.
  109.  
  110. Sat Jul  3 17:11:19 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  111.  
  112.     * frame.c (Fredirect_frame_focus): Allow redirection of focus of
  113.     dead frames.
  114.  
  115.     * s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get the
  116.     versions of gethostbyname and such that use the DNS.
  117.  
  118. Sat Jul  3 02:58:05 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  119.  
  120.     * fileio.c (Frename_file):
  121.     After prompting for ok-if-already-exists, pass only nil or
  122.     t to copy-file, never an integer.
  123.  
  124. Fri Jul  2 23:57:42 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  125.  
  126.     * keymap.c (Faccessible_keymaps): Doc fix.
  127.  
  128. Fri Jul  2 18:48:58 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  129.  
  130.     * textprop.c (set_properties): Don't try to make undo records if
  131.     OBJECT is a string.
  132.  
  133. Fri Jul  2 01:42:41 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  134.  
  135.     * keyboard.c (read_key_sequence): When inserting `menu-bar' prefix,
  136.     modify the position field to prevent doing so twice.
  137.     Do all these forms of event expansion after replayed events also.
  138.     Set last_real_key_start before each key.
  139.     Use last_real_key_start in criterion for being the first event.
  140.  
  141.     * process.c (wait_reading_process_input): Do include the keyboard
  142.     in the select, if read_kbd was a cons cell.
  143.  
  144. Thu Jul  1 22:25:05 1993  Jim Blandy  (jimb@churchy.gnu.ai.mit.edu)
  145.  
  146.     * xterm.c (XTread_socket): When handing non-synthetic
  147.     ConfigureNotify events, don't refer to the parent window
  148.     descriptor.
  149.  
  150.     * textprop.c (set_properties): Add undo records to remove entirely
  151.     new properties.  Only record old property values for those
  152.     properties whose values have changed.
  153.  
  154. Thu Jul  1 19:56:28 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  155.  
  156.     * callint.c (Vmark_even_if_inactive): New var, with Lisp variable.
  157.     (check_mark): Use it.
  158.  
  159. Thu Jul  1 00:03:50 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  160.  
  161.     * xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including
  162.     <X11/Xos.h>, so that file doesn't try to define struct timeval and
  163.     struct timezone.
  164.  
  165.     * xterm.c (frame_highlight, frame_unhighlight): Don't test
  166.     Vx_no_window_manager.  BLOCK_INPUT around the border manipulation
  167.     calls.
  168.  
  169. Wed Jun 30 16:12:09 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  170.  
  171.     * xterm.c (XTread_socket): Initialize event_found to zero, and
  172.     pass a zeroed timeout to select, not a null pointer; the latter
  173.     means "wait forever".
  174.  
  175.     * s/hpux8.h (random, srandom): No need to define these to be
  176.     foo_random and foo_srandom; autoconf should autodetect when the
  177.     real random functions are available.
  178.  
  179.     * xdisp.c (redisplay): If we're not already showing the region,
  180.     then don't disable the single-line optimizations just because the
  181.     mark isn't where we last displayed it.
  182.  
  183. Wed Jun 30 13:50:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  184.  
  185.     * keyboard.c (syms_of_keyboard): Doc fix.
  186.     (Vhelp_char): Renamed from help_char.
  187.     (Vprefix_help_command): New Lisp variable.
  188.     (read_key_sequence): Use that, for help char after prefix key.
  189.  
  190.     * keyboard.c (kbd_buffer_get_event):
  191.     Clear f before calling mouse_position_hook.
  192.  
  193.     * emacs.c, callproc.c (PRIO_PROCESS): Definition deleted.
  194.  
  195.     * vm-limit.c (check_memory_limits): Make data_size and five_percent
  196.     unsigned long.
  197.  
  198. Wed Jun 30 00:55:41 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  199.  
  200.     * keyboard.c (kbd_buffer_get_event): Correctly generate
  201.     switch-frame events when reading mouse motion events.
  202.  
  203. Tue Jun 29 19:05:54 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  204.  
  205.     * xterm.c: Add CPP tangle from process.c to get definitions for
  206.     FD_SET, etcetera.
  207.     (XTread_socket): Use those macros when testing for dropped connection.
  208.  
  209. Tue Jun 29 01:27:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  210.  
  211.     * alloc.c (mark_object): Add aborts in Lisp_Symbol case.
  212.  
  213.     * keymap.c (describe_map_tree): Insert key_heading here.
  214.     New arg TITLE.
  215.     (describe_buffer_bindings): Corresponding changes.
  216.  
  217.     * process.c (wait_reading_process_input): Use SIGIO only if defined.
  218.  
  219.     * keymap.c (shadow_lookup): New function.
  220.     (describe_map_2): Call it.  SHADOW is now a list of maps.
  221.     (describe_vector): Likewise.
  222.     (describe_map): SHADOW is now a list of maps.
  223.     (describe_map_tree): Likewise.
  224.     (describe_buffer_bindings): Build suitable list to pass as SHADOW.
  225.     (Faccessible_keymaps): New arg PREFIX.  Callers changed.
  226.     (describe_map_tree): New arg PREFIX.
  227.     (Fdescribe_bindings): New arg PREFIX.
  228.     Pass to describe_buffer_bindings along with buffer.
  229.     (describe_buffer_bindings): Extract PREFIX and pass along.
  230.  
  231. Mon Jun 28 15:18:53 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  232.  
  233.     * keymap.c (describe_map_2): Cleanups.
  234.     Check there's no previous definition in same keymap. 
  235.  
  236. Thu Jun 24 00:15:54 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  237.  
  238.     * keyboard.c (read_char): Don't do idle autosaves if we're not
  239.     interactive.
  240.  
  241. Wed Jun 23 21:32:25 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  242.  
  243.     * xfns.c (Fx_create_frame): Check for internalBorder resource, as
  244.     well as internalBorderWidth.
  245.  
  246.     * xterm.c (XTread_socket): Remove #if 0''s around code which tests
  247.     for dropped connection (i.e. sigio but no events).
  248.  
  249. Tue Jun 22 02:58:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  250.  
  251.     * keyboard.c (menu_bar_items, read_key_sequence): Use
  252.     current_global_map, not global_map; the latter is only meant to be
  253.     used for initial_define_key.
  254.     * commands.h: Doc fix.
  255.  
  256.     * commands.h (Vglobal_mouse_map): Removed; unused.
  257.     * xfns.c (Vglobal_mouse_map): Same.
  258.  
  259.     * buffer.c (list_buffers_1): Make desired_point a lisp object; set
  260.     it to nil, unless we find the current buffer.
  261.     (Flist_buffers): Don't try to set point in the buffer list unless
  262.     list_buffers_1 actually returns an integer.  Don't use a full
  263.     save_excursion; just save and restore the buffer.
  264.  
  265.     Separate parameter faces (those created and modified by the user)
  266.     from the computed faces (the combinations created by
  267.     compute_char_face), so that we don't waste global face id's.
  268.     * xterm.h (struct x_display): Replace the fields faces and n_faces
  269.     with fields param_faces, n_param_faces, computed_faces,
  270.     n_computed_faces, and size_computed_faces.
  271.     (FRAME_FACES, FRAME_N_FACES): Replaced by...
  272.     (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES,
  273.     FRAME_N_PARAM_FACES): New macros.
  274.     * xfaces.c: Doc fixes.
  275.     (init_frame_faces): Call new_computed_face to create entries for
  276.     the default and mode line faces.  Use the FRAME...PARAM_FACES
  277.     macros.
  278.     (free_frame_faces): Use the FRAME...PARAM_FACES and
  279.     FRAME...COMPUTED_FACES macros.  Don't use the copy flag; all
  280.     parameter faces have real X resources, and all computed faces just
  281.     have copies.  Free both the parameter and computed face arrays.
  282.     (new_computed_face): New function.
  283.     (intern_computed_face): Renamed from intern_frame_face; callers
  284.     changed.  Call new_computed_face.
  285.     (ensure_face_ready, compute_char_face, compute_glyph_face): Use the
  286.     FRAME...PARAM_FACES macros.
  287.     (recompute_basic_faces): Use the FRAME...PARAM_FACES and
  288.     FRAME...COMPUTED_FACES macros.  Produce the computed faces by
  289.     starting with the base faces and merging in the parameter faces.
  290.     (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES
  291.     macros.  Just call recompute_basic_faces if the default or mode
  292.     line faces have changed.
  293.     * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros.
  294.     * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros.
  295.     * dispextern.h (struct face): Remove the copy member.  This is no
  296.     longer necessary; all computed faces are copies, and no parameter
  297.     faces are.
  298.  
  299.     * xfaces.c (face_vector, nfaces, nfaces_allocated): Make these
  300.     static.
  301.  
  302.     * xdisp.c (redisplay_window): Remember to compute end relative to
  303.     the start of the visible region, too.
  304.  
  305. Mon Jun 21 22:02:48 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  306.  
  307.     * xrdb.c (get_user_db): Remember to free the screen-local resource
  308.     string after we've merged its data into db.
  309.  
  310.     * keyboard.c (make_lispy_event): Added detection of double-click
  311.     and triple-click events.
  312.     (parse_modifiers_uncached, apply_modifiers_uncached): Same.
  313.     (read_key_sequence): Coerce double-clicks to clicks, and triple-clicks
  314.     to double-clicks or clicks, by analogy with drag events.
  315.     (double_click_time): Added variable.
  316.     * termhooks.h: Added multi-click event modifier bits.
  317.  
  318. Mon Jun 21 15:37:06 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  319.  
  320.     * textprop.c (Fremove_text_properties, Fadd_text_properties):
  321.     Really do next_interval when skipping the first interval.
  322.  
  323. Sun Jun 20 16:01:51 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  324.  
  325.     * xfns.c (Fx_open_connection): Remember to block input while
  326.     calling x_load_resources.
  327.     * xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem,
  328.     not a server-specific bug.
  329.  
  330.     * alloc.c (Fgarbage_collect): If the minibuffer is active, don't
  331.     display the "...done" message; allow the minibuffer to show again.
  332.  
  333.     * config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconf
  334.     to chew on.  Re-arrange macros to reflect the ordering of the
  335.     corresponding macros in configure.in, to facilitate this kind of
  336.     checking.
  337.  
  338. Sat Jun 19 17:14:27 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  339.  
  340.     * version 19.15 released.
  341.  
  342. Sat Jun 19 16:24:58 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  343.  
  344.     * puresize.h (PURESIZE): Up this to 205000 for MULTI_FRAME Emaces,
  345.     and 190000 for non-MULTI_FRAME Emaces.
  346.  
  347.     * xfaces.c (recompute_basic_faces): This shouldn't be declared static.
  348.  
  349.     * xrdb.c (get_user_db): Some NCD xterms seem to hang in
  350.     XScreenResourceString.  Consult the ServerVendor and VendorRelease
  351.     variables to see if we're talking to such a server.
  352.  
  353.     * xterm.c (XTread_socket): Never treat a modifier key as a
  354.     non_ascii_keystroke.
  355.  
  356.         * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs.
  357.     * lisp.h (shut_down_emacs): Doc fix.
  358.  
  359. Fri Jun 18 11:05:46 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  360.  
  361.     * frame.c (Fmake_frame_visible): Make this interactively callable;
  362.     frames can accept input while iconified, so it makes sense to put
  363.     this on a key.
  364.  
  365.     * xfaces.c: Add forward declaration for recompute_basic_faces.
  366.  
  367.     * fileio.c (Fset_visited_file_modtime): We're only passing two
  368.     arguments to the file name handler; use call2, not call3.
  369.  
  370.         Changes for Irix 4.0, tested this time:
  371.     * s/irix4-0.h: Get rid of our fake definitions for setpgrp and
  372.     getpgrp.
  373.     * callproc.c (Fcall_process): Go ahead and use the USG calling
  374.     convention for setpgrp.
  375.     * ymakefile (pre-crt0.o): Add rule for this.  Perhaps it will help
  376.     separate-source-directory compilation.
  377.     * emacs.c (shut_down_emacs): Some USG systems #define
  378.     EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
  379.     * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
  380.     non-USG.
  381.  
  382.     * sysdep.c (rename): Make arguments const.  autoconf #defines
  383.     const away on systems which don't have it; any system with
  384.     prototypes will declare the arguments const (the ones to which I
  385.     have access do); and systems without prototypes won't notice.
  386.  
  387.     * process.c [IRIX] (create_process): Don't put child in process
  388.     group zero before opening the tty; Irix is like USG in this
  389.     regard.
  390.  
  391.     * s/isc2-2.h, s/linux.h, s/usg5-4.h, m/alliant-2800.h, m/convex.h,
  392.     m/pfa50.h: Remove #definition of HAVE_CLOSEDIR; autoconf figures
  393.     this out.
  394.  
  395.     * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to
  396.     be missing on some systems, and there's no point in having
  397.     configure check; it should work fine to always use our copy.
  398.  
  399.     * minibuf.c (Fread_minibuffer): Add missing semicolon after
  400.     CHECK_STRING macro.
  401.  
  402. Thu Jun 17 19:29:56 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  403.  
  404.     * Version 19.14 released.
  405.  
  406. Thu Jun 17 15:05:29 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  407.  
  408.     * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd.  We are
  409.     now calling the BSD[sg]etpgrp functions directly, so this library
  410.     is not needed; it just provides the BSD[sg]etpgrp functions under
  411.     the [sg]etpgrp names.
  412.  
  413.     * callproc.c [IRIX] (child_setup): Don't call setpgrp this time.
  414.     It's already been called up in Fcall_process, and create_process.
  415.  
  416.     * callproc.c (Fcall_process, child_setup): If IRIX is #defined,
  417.     call setpgrp with arguments, even if USG is #defined.
  418.     * process.c [IRIX] (create_process): Don't call setpgrp before
  419.     opening the pty.  Call it after doing the TIOCNOTTY ioctl.
  420.  
  421.     * xfaces.c (compute_base_face): Initialize the face's stipple.
  422.     Although we don't use this feature now, face_eql notices it.
  423.  
  424.     * xfaces.c (compute_base_face): Set cached_index to an invalid
  425.     index, to avoid an unnecessary comparison.
  426.  
  427.     * keyboard.c (read_key_sequence): Don't confuse mock input with
  428.     function-key-map expansion, and continue reading mock events when
  429.     the current sequence is unbound.
  430.  
  431.     * keyboard.c (read_key_sequence): After providing a prefix symbol
  432.     for a mouse event, modify the mouse event to indicate that that
  433.     won't need to be done again, by putting the event's position
  434.     symbol in a list.
  435.  
  436.     * keyboard.c (read_key_sequence): When returning mock input which
  437.     has run off the end of the current maps, make sure the events get
  438.     echoed, and make it into this-command-keys.
  439.  
  440.     * keyboard.c (read_key_sequence): When re-reading a previously
  441.     read mouse click which requires a prefix symbol, make sure to set
  442.     last_real_key_start appropriately, so we can properly drop
  443.     button-down events.
  444.  
  445. Thu Jun 17 00:07:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  446.  
  447.     * ymakefile (really-oldXMenu): Pass C_SWITCH_MACHINE down.
  448.  
  449.     * intervals.c (verify_interval_modification): Don't just test
  450.     Qread_only prop; use INTERVAL_WRITABLE_P.
  451.  
  452.     * syntax.c (scan_lists, Fforward_comment): #if 0 the code
  453.     to treat two-character comment enders with a special shortcut.
  454.  
  455. Wed Jun 16 22:16:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  456.  
  457.     * config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
  458.     change.
  459.     * sysdep.c (closedir): Only define this if autoconf can't find
  460.     HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
  461.     defined (USG5_4)), then don't free the buffer separately.
  462.  
  463.     * keyboard.c (read_key_sequence): If we add events to a key
  464.     sequence that didn't come from the input stream (e.g. `mode-line'
  465.     prefixing a mouse click, or an expansion from function-key-map),
  466.     and end up with a sequence that runs off the end of the current
  467.     maps, return the entire key sequence, not just the initial portion
  468.     which was bound or unbound.
  469.  
  470.     * xdisp.c (redisplay_window): Do not subtract one from start
  471.     before passing it to the set_vertical_scroll_bar_hook.
  472.  
  473.     * lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
  474.     CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
  475.     CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
  476.     CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
  477.     CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
  478.     ... while (0) around these compound statements to make them
  479.     syntactically equivalent to a single statement.
  480.  
  481. Wed Jun 16 18:37:24 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  482.  
  483.     * editfns.c (Finsert_buffer_substring): Doc fix.
  484.  
  485. Wed Jun 16 10:12:49 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  486.  
  487.     Don't let the 'B' interactive spec default to buffers viewed in
  488.     any visible frame.
  489.     * buffer.c (Fother_buffer): Pass Qt as the second argument
  490.     to Fget_buffer_window.
  491.     * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
  492.     non-visible frames.
  493.     (Fget_buffer_window): Change doc string to mention that passing Qt
  494.     for the FRAME argument returns windows on visible frames only.
  495.  
  496.         Changes for correct pgrp behavior; approach suggested by Bob
  497.     Glickstein <bobg@zindigo.z-code.com>:
  498.     * m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
  499.     * s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
  500.     and BSDsetpgrp.
  501.     (GETPGRP_NO_ARG): Don't #define this.
  502.     * emacs.c (main): Don't test GETPGRP_NO_ARG.
  503.     * sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
  504.  
  505.     * Makefile.in (CPP): New variable, set by the top-level Makefile.
  506.  
  507.     * m/delta88k.h (HAVE_GETTIMEOFDAY): Don't #define this; autoconf
  508.     takes care of that.
  509.     (LIBS_SYSTEM): Don't attempt to #define this if we already have a
  510.     definition of LIB_SYSTEM from s/usg5-4.h.
  511.  
  512.     * unexec.c [HPUX] (sbrk): This returns a void *.
  513.  
  514.     * window.c (check_frame_size): Allow minibuffer-only frames to be
  515.     one line high.
  516.  
  517.     * frame.c (store_frame_param): Fix error message punctuation.
  518.  
  519.     * callproc.c [IRIX] (child_setup): Don't set the pgroup.
  520.  
  521.     * s/isc3-0.h (memmove): #define this to call safe_bcopy.
  522.  
  523.     * buffer.c (list_buffers_1): Return the desired point.
  524.     (Flist_buffers): Put point there in the buffer summary.
  525.  
  526.         Bring mumbleclean targets into conformance with GNU coding standards.
  527.     * Makefile.in (mostlyclean): New target.
  528.     (clean): Just call mostlyclean.  Get rid of ../etc/DOC too.
  529.     (distclean): Use clean to do most of the work.
  530.     Get rid of ../etc/DOC-* too.
  531.     (realclean): New target.
  532.  
  533.     * xdisp.c (redisplay_window): Do not subtract BEGV to compute
  534.     the scroll bar handle's end.
  535.  
  536. Tue Jun 15 03:47:10 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  537.  
  538.     * xmenu.c (xmenu_show): Store 0 in *ERROR at the beginning.
  539.  
  540.     * fileio.c (Finsert_file_contents): Two new args, BEG and END.
  541.  
  542.     * intervals.c (adjust_intervals_for_insertion): By default, copy
  543.     properties from before the insertion.
  544.  
  545. Mon Jun 14 13:29:51 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  546.  
  547.     * syntax.c (scan_sexps_forward): Set state.comstart to before the
  548.     comment starter, not after.
  549.  
  550.     * xmenu.c (Fx_popup_menu): Call keymap_panes right in one-keymap case.
  551.  
  552. Mon Jun 14 11:06:35 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  553.  
  554.     * s/linux.h (LIBS_MACHINE, HAVE_SYSVIPC): Set the former to -lipc,
  555.     and #define the latter.
  556.  
  557.     * xdisp.c (display_text_line): Use temporary variable.
  558.  
  559. Mon Jun 14 03:05:17 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  560.  
  561.     * window.c (Fdelete_window): Handle deleting a parent of the
  562.     selected window.
  563.  
  564. Sun Jun 13 04:10:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  565.  
  566.     * fileio.c (Fset_visited_file_modtime): Don't give the handler
  567.     the filename as an argument.
  568.  
  569.     * syntax.c (scan_lists, Fforward_comment): Pass 0 as commentstop arg
  570.     to scan_sexps_forward.
  571.     (scan_sexps_forward, char_quoted): Now static.
  572.     (describe_syntax, describe_syntax_1): Now static.
  573.  
  574.     * undo.c (Fprimitive_undo): Rename arg to N to avoid conflict.
  575.  
  576.     * window.c (Fdelete_window): Mostly undo last change.
  577.     Don't initialize `frame' in the declaration.
  578.  
  579.     * Make prefix keys work with keymap inheritance
  580.     by creating an inheritance structure for each subkeymap
  581.     that we create in the inheriting keymap.
  582.     * keymap.c (access_keymap): New arg NOINHERIT.  All calls changed.
  583.     (define_as_prefix): New function.
  584.     (Fdefine_key): Use them.
  585.  
  586. Sat Jun 12 19:52:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  587.  
  588.     * emacs.c (shut_down_emacs): New arg STUFF.  Stuff input here.
  589.     (Fkill_emacs, fatal_error_signal): Pass new arg.
  590.     * xterm.c (x_connection_closed): Pass new arg.
  591.  
  592.     * dired.c (Ffile_attributes): Give -1 as size if size won't fit.
  593.  
  594.     * intervals.c (set_point): When moving over invis chars,
  595.     don't screw up at end of buffer.
  596.  
  597.     * eval.c (call5, call6): New functions.
  598.     (call1, call2, call3, call4): Renumber the args.
  599.     * lread.c (Fload): Use call5.
  600.     * fileio.c (Fcopy_file): Pass all the args to the handler.
  601.     (Fwrite_region): Use call6.
  602.     (Frename_file): Look for handler for newname.
  603.     (Fadd_name_to_file): Pass arg ok_if_already_exists to handler.
  604.     (Fmake_symbolic_link): Likewise.
  605.     (Ffile_newer_than_file_p): Check both file names for handler.
  606.  
  607. Sat Jun 12 13:35:37 1993  John Hughes  (john@moonlite.CalvaCom.fr)
  608.  
  609.     * term.c (term_get_fkeys): Use `prior', not `previous', for %8/kP.
  610.  
  611. Sat Jun 12 13:00:03 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  612.  
  613.     * sysdep.c (child_setup_tty): Remove duplicate settings for VQUIT
  614.     and VINTR.
  615.  
  616.     * sysdep.c [ultrix] (init_sys_modes): Don't set LLITOUT; it
  617.     disables the meta key.
  618.  
  619.     * frame.c (Fmouse_position, Fset_mouse_position): Doc fix.
  620.  
  621.     * xfns.c [! HAVE_X11R5] (Fx_rebind_key): Recognize that
  622.     XK_Mode_switch and XK_Num_Lock are modifier keysyms too.
  623.  
  624.     * xterm.c (XTset_vertical_scroll_bar): Use double type for
  625.     intermediate results in scaling.
  626.  
  627. Sat Jun 12 12:56:36 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  628.  
  629.     * undo.c (syms_of_undo): Set up Qinhibit_read_only.
  630.     (Fprimitive_undo): Sometimes bind inhibit-read-only to t.
  631.  
  632.     * minibuf.c (read_minibuf): Set and use mini_frame only if MULTI_FRAME.
  633.  
  634.     * xdisp.c (echo_area_display): Use XFASTINT on ->height.
  635.     (copy_rope, copy_part_of_rope): Access *f as Lisp_Object.
  636.  
  637.     * window.c (Fdelete_window): Make `frame' a FRAME_PTR and use as such.
  638.  
  639.     * undo.c (record_delete): Always use XFASTINT on sbeg.
  640.     (Fprimitive_undo): Add missing `else'.  Add USE_TEXT_PROPERTIES
  641.     conditional for calling Fput_text_property.  Use XINT on high, low.
  642.  
  643.     * process.c (start_process_unwind): Use XINT.
  644.  
  645.     * syntax.c (Fset_syntax_table): Add XFASTINT.
  646.  
  647. Sat Jun 12 05:30:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  648.  
  649.     * xterm.c (x_error_quitter, x_io_error_quitter): Remove calls to
  650.     abort.  We can always run Emacs with _Xdebug set to 1.
  651.  
  652.     * ymakefile (really-oldXMenu): Remember backslash to extend command.
  653.  
  654.     * keyboard.c (read_key_sequence): When we generate a prefix symbol
  655.     for a mouse event, store the actual mouse event in
  656.     unread_command_events, so we don't lose it if the symbol isn't
  657.     bound to a prefix.
  658.  
  659.     * config.h.in (HAVE_XRMSETDATABASE, HAVE_RANDOM, HAVE_LIBXBSD):
  660.     Add #undefs for these.
  661.     Dyke out code requesting -lXbsd and HAVE_RANDOM for XFREE386.
  662.     * xfns.c (Fx_open_connection): Test HAVE_XRMSETDATABASE instead of
  663.     NO_XRM_SET_DATABASE; the latter isn't used any more.
  664.     * m/delta88k, m/tekXD88.h, s/linux.h, s/usg5-4-2.h (HAVE_RANDOM):
  665.     Dyke out these #definitions; to avoid conflict with autoconf.
  666.  
  667.     * ymakefile (really-oldXMenu): Explicitly pass CC, CFLAGS, and
  668.     MAKE to the oldXMenu make.
  669.  
  670.     * window.c (Fprevious_window): Use FRAME_HAS_MINIBUF_P to decide
  671.     if the frame has a minibuffer; FRAME_MINIBUF_WINDOW points to the
  672.     surrogate on minibufferless frames, not nil.
  673.  
  674. Sat Jun 12 00:43:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  675.  
  676.     * keyboard.c (read_char): Set c properly as a Lisp int.
  677.     (command_loop_1): Delete spurious use of XINT on c, a char.
  678.  
  679.     * frame.c: Doc fixes.
  680.  
  681.     * data.c (cons_to_long): Declare top, bot as Lisp_Object.
  682.  
  683.     * floatfns.c (Fexpt): New local `val' for making integer to return.
  684.  
  685.     * keymap.c (Fcopy_keymap): Check Fkeymapp value with NILP.
  686.     (get_keymap_1): Add missing semicolon.
  687.     (describe_vector_princ): Align to column 16.
  688.  
  689.     * emacs.c (main) [GETPGRP_NO_ARG]: Really pass no arg to getpgrp.
  690.  
  691. Fri Jun 11 16:49:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  692.  
  693.     * xterm.c (XTmouse_position): Don't set *f at all unless we win.
  694.  
  695.     * process.c (read_process_output): Don't deactivate the mark.
  696.     Do restore Vdeactivate_mark, so that no one else deactivates it.
  697.  
  698.     * buffer.c (Fgenerate_new_buffer_name): GENTEMP is the value to
  699.     compare against IGNORE.
  700.  
  701. Fri Jun 11 12:15:29 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  702.  
  703.         Interact properly with shells lacking job control (sh, rc, es...)
  704.     * sysdep.c [BSD] (inherited_pgroup): New variable.
  705.     (narrow_foreground_group, widen_foreground_group): New functions.
  706.     (init_sys_modes): Call narrow_foreground_group.
  707.     (reset_sys_modes): Call widen_foreground_group.
  708.     * emacs.c [BSD] (inherited_pgroup): Add extern declaration.
  709.     [BSD] (main): Set inherited_pgroup, and put ourselves in our own
  710.     pgroup.
  711.  
  712. Fri Jun 11 11:41:04 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  713.  
  714.     * xfns.c (syms_of_xfns): Don't set up Qicon.
  715.     (Qicon): Declaration deleted.
  716.     * frame.h (Qicon): Declared.
  717.  
  718.     * frame.c (Fmouse_position): Set up defaults before calling the hook.
  719.  
  720. Fri Jun 11 07:17:59 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  721.  
  722.     * xdisp.c (redisplay_window): Don't call try_window_id if the
  723.     window isn't starting at the beginning of the line.
  724.  
  725.     * window.c (Fprevious_window): Typo.
  726.  
  727. Fri Jun 11 03:13:54 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  728.  
  729.     * ymakefile (alloca.o): Delete allocatem.c, not allocax.c.
  730.  
  731.     * textprop.c (Fset_text_properties): No special case for props = nil.
  732.  
  733.     * xfns.c (Fx_list_fonts): If names is 0, just return nil.
  734.  
  735. Fri Jun 11 02:43:09 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  736.  
  737.     * xterm.c (x_new_font): If font_names is zero, that's all the
  738.     indication we get that no matches were found.
  739.  
  740.     * s/isc3-0.h (LIB_X11_LIB): #undef this, to remove the value
  741.     inherited from usg5-3.h; ISC doesn't have libX11_s.
  742.     (LIBX11_SYSTEM): Link against the static -lc, not -lc_s.
  743.  
  744. Thu Jun 10 17:14:25 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  745.  
  746.     * lread.c (Fload): Forward all 4 args to magic-name handler.
  747.  
  748. Thu Jun 10 03:25:20 1993  Shane Hartman  (shane@nugget.spr.com)
  749.  
  750.         * window.c (Fscroll_left): Make argument optional.
  751.         (Fscroll_right): Ditto.
  752.  
  753. Thu Jun 10 01:18:09 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  754.  
  755.     * search.c (Flooking_at, Fstring_match, fast_string_match,
  756.     search_buffer): Don't block input while calling searching and
  757.     matching functions.  These functions may not call malloc under
  758.     Emacs anyway, and we need to be able to check for C-g.
  759.  
  760.     * xrdb.c (get_user_db): Get the screen-specific database too.
  761.  
  762.     * syntax.c (scan_lists, Fforward_comment): Call scan_sexps_forward
  763.     with the proper number of arguments.
  764.  
  765.     * sysdep.c: Remove clause for DGUX support of FASYNC; add clause
  766.     to #undef FASYNC if BROKEN_FASYNC is #defined.
  767.  
  768.     * filelock.c: Test HAVE_LONG_FILE_NAMES, not SHORT_FILE_NAMES, to
  769.     interface nicely with autoconf.
  770.     * m/delta.h: Don't #define SHORT_FILE_NAMES; autoconf does this
  771.     for us.
  772.  
  773.     * s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
  774.     (BSD4_4, SVR4, HAVE_SETSID, HAVE_UNIX_DOMAIN): #define these.
  775.     (FIRST_PTY_LETTER): This is 'r', not 'p'.
  776.     (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Don't #define these.
  777.     (HAVE_TERMIOS): #define these instead.
  778.     (XREBINDKEYSYM):  Don't #define.
  779.     Test THIS_IS_YMAKEFILE instead of MAKING_MAKEFILE.
  780.     (sigmask, sigpause): #undef these after #including <signal.h>.
  781.     (LD_SWITCH_SYSTEM, START_FILES, LIBS_SYSTEM, LIB_GCC): #define
  782.     these to avoid problems with /lib/crt0.o.
  783.     (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): #define these.
  784.  
  785.     * s/dgux.h (BROKEN_FASYNC): #define this.
  786.  
  787.     * fileio.c (Frename_file): Pass all arguments to the file name handler.
  788.     * eval.c (call4): New function.
  789.  
  790. Wed Jun  9 00:36:00 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  791.  
  792.     * s/linux.h (SIGNALS_VIA_CHARACTERS): Don't #define this.
  793.  
  794.     * process.c (sigchld_handler): Add cast, to avoid warnings on Linux.
  795.     (Fopen_network_stream): Cast the second argument to connect, to
  796.     avoid warnings on any system that provides prototypes for connect.
  797.  
  798.     * xdisp.c (display_text_line): Handle case where line ends in a
  799.     continuation character but we never actually displayed any buffer
  800.     text (due to minibuffer prompt).
  801.  
  802.     * xterm.c (x_is_vendor_fkey): New function.
  803.     (XTread_socket): Call it to recognize vendor-specific function keys.
  804.  
  805.     * s/dgux.h: Move #definition of SYSTEM_MALLOC outside of
  806.     MAKING_MAKEFILE conditional.  No harm.
  807.  
  808.     * xfaces.c (init_frame_faces): Remove assumption that the selected
  809.     frame must be an X frame whenever there is already an X frame.
  810.  
  811. Tue Jun  8 23:54:04 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  812.  
  813.     * alloc.c (emacs_blocked_malloc, emacs_blocked_realloc): Cast the
  814.     return values of malloc and realloc, to placate compilers.
  815.  
  816. Tue Jun  8 12:24:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  817.  
  818.     * window.c (Fprevious_window): When changing frames,
  819.     use the new frame's minibuffer if any.
  820.  
  821.     * intervals.h (INTERVAL_WRITABLE_P): Fix backwards tests.
  822.  
  823.     * m/tekXD88.h: Rewrite by author.
  824.  
  825. Tue Jun  8 00:38:15 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  826.  
  827.     * Version 19.13 released.
  828.  
  829.     * ymakefile (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH): Remove these;
  830.     people shouldn't edit this file to choose optimization and
  831.     debugging switches anyway.  ../configure will set CFLAGS to an
  832.     appropriate default, which they will be able to override.
  833.     * Makefile.in (xmakefile): Don't try to turn -g and -O in
  834.     CFLAGS into C_DEBUG_SWITCH and C_OPTIMIZE_SWITCH.  CFLAGS should
  835.     be the sole source of such switches, so that setting CFLAGS
  836.     controls them completely.
  837.  
  838. Mon Jun  7 23:54:46 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  839.  
  840.     * config.h.in (HAVE_LIBDNET): New macro, to be defined by
  841.     ../configure.
  842.     * m/pmax.h (LIBS_MACHINE): Only put "-ldnet" here if HAVE_LIBDNET
  843.     is #defined.
  844.  
  845. Mon Jun  7 00:10:09 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  846.  
  847.     * fileio.c (syms_of_fileio): Set up Qset_visited_file_modtime.
  848.     (Fset_visited_file_modtime): Use the proper operation.
  849.  
  850.     * sysdep.c (init_baud_rate) [HAVE_TERMIOS]: Use cfgetospeed.
  851.  
  852.     * systty.h: Add NO_TERMIO conditional.
  853.  
  854.     * textprop.c (Fadd_text_properties): Don't treat the initial
  855.     interval specially, aside from splitting off the part starting
  856.     where we want to start changing things.
  857.     (Fremove_text_properties): Likewise.
  858.     For ending interval, split it left as in Fadd_text_properties.
  859.     (Fset_text_properties): Don't set starting interval if it goes
  860.     past END.  Instead, split it left and set the left part.
  861.  
  862.     * keymap.c (Fdescribe_vector): Use current buf, not standard-output.
  863.     (describe_vector_princ): Add newline at end.
  864.  
  865.     * keymap.c (store_in_keymap, access_keymap): Use CHAR_META
  866.     when clearing excess high bits.
  867.  
  868.     * s/dgux.h (INTERRUPTIBLE_*): Fix spelling of macros.
  869.  
  870.     * s/hpux9.h (SYSTEM_MALLOC, GNU_MALLOC, REL_ALLOC): Definition and
  871.     #undefs deleted.
  872.  
  873.     * keymap.c: Doc fix.
  874.  
  875.     * buffer.c (Fdelete_overlay): Do nothing if overlay already deleted.
  876.     Bind inhibit-quit to t.
  877.     (Fmove_overlay): Properly handle changing buffers, or no prev buffer.
  878.     Bind inhibit-quit to t.
  879.  
  880.     * lread.c (syms_of_lread): Set up Qload.
  881.     (Fload): Handle magic file names.
  882.  
  883. Mon Jun  7 17:07:28 1993  Shane Hartman  (shane@nugget.spr.com)
  884.  
  885.         * xterm.c (x_caught_error_message): Change type to char* from char*[].
  886.         (X_CAUGHT_ERROR_MESSAGE_SIZE): New macro.
  887.         (x_error_catcher): Corresponding changes.
  888.         (x_catch_errors): Corresponding changes.
  889.         (x_check_errors): Do not free x_caught_error_message.
  890.         (x_uncatch_errors): Set x_caught_error_message to 0 after freeing it.
  891.  
  892. Sun Jun  6 18:38:55 1993  Paul Eggert  (eggert@twinsun.com)
  893.  
  894.     * uaf.h (uaf$v_thursday): Fix misspelling of "thursday".
  895.  
  896.     * floatfns.c (Fceiling): Fix spelling of "ceiling".
  897.  
  898. Sun Jun  6 13:41:08 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  899.  
  900.     * ymakefile [__GNUC__ >= 2] (LIB_GCC): Delete spurious -L.
  901.  
  902.     * m/tekXD88.h (HAVE_RENAME): Deleted.
  903.  
  904.     * data.c (Ffset): Delete special check for t and nil.
  905.  
  906.     * xfaces.c (same_size_fonts): Compare only the width.
  907.  
  908.     * dispnew.c: Include lisp.h earlier (before termhooks.h).
  909.  
  910.     * editfns.c (Fcurrent_time_zone): Add alternative for !HAVE_TM_ZONE.
  911.     * systime.h [HAVE_TZNAME]: Declare tzname if not macro.
  912.     * config.h.in (HAVE_TZNAME): Add #undef.
  913.  
  914. Sun Jun  6 13:42:35 1993  Nobuyuki Hikichi  (hikichi@sra.co.jp)
  915.  
  916.     * m/news-risc.h (NO_MODE_T): Defined.
  917.     (LINKER): Add #undef.
  918.  
  919. Sun Jun  6 02:44:47 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  920.  
  921.     * keymap.c (access_keymap, store_in_keymap): Discard meaningless
  922.     high bits of a character event.
  923.  
  924. Sat Jun  5 04:04:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  925.  
  926.     * lisp.h: Don't declare malloc or realloc.
  927.  
  928.     * xfns.c [EMACS_BIT_MAPS]: Include gray.xbm from ./bitmaps.
  929.  
  930.     * xterm.c (x_new_font): Don't give up right away if XListFontsWithInfo
  931.     finds no fonts--try XLoadQueryFont anyway.
  932.  
  933.     * xfns.c (Fx_open_connection): Make `data' unsigned char.
  934.  
  935.     * window.c (Fset_window_configuration): If a window is supposed
  936.     to have a buffer, always give it one.
  937.  
  938.     * xmenu.c (Fx_popup_menu): Error if we don't get a window
  939.     or a frame somehow.
  940.  
  941.     * puresize.h: Test MULTI_FRAME, not HAVE_X_WINDOWS.
  942.  
  943.     * frame.c (Frubber_band_rectangle): Deleted.
  944.     (syms_of_frame): Don't defsubr it.
  945.  
  946.     * xselect.c (x_get_foreign_selection): Handle x_selection_timeout
  947.     as milliseconds, not as seconds.
  948.     (syms_of_xselect): Doc fix to match.
  949.  
  950.     * m/mips4.h (MIPS2): Comment out define.
  951.     (LIB_STANDARD): Delete -lisode.
  952.  
  953. Fri Jun  4 03:06:37 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  954.  
  955.     * syssignal.h [POSIX] [!__GNUC__] (sys_sigmask): Add declaration.
  956.  
  957.     * alloc.c (make_event_array): Ignore bits above CHAR_META.
  958.  
  959.     * frame.c [!MULTI_FRAME] (Fframep): New dummy definition.
  960.     (syms_of_frame): Defsubr that.
  961.  
  962.     * buffer.c (syms_of_buffer): Set up Lisp var inhibit-read-only.
  963.     * lisp.h (Vinhibit_read_only): Declared.
  964.     * buffer.c (Fbarf_if_buffer_read_only): Check Vinhibit_read_only.
  965.     * cmds.c (Fnewline): Use Fbarf_if_buffer_read_only.
  966.  
  967.     * intervals.h (INTERVAL_VISIBLE_P): Use textget.
  968.     (INTERVAL_WRITABLE_P): Use textget.
  969.     Check Vinhibit_read_only.
  970.  
  971.     * window.c (syms_of_window): Always defvar pop-up-frames
  972.     and pop-up-frame-function.
  973.  
  974.     * process.c (read_process_output): Deactivate the mark.
  975.     Save and restore Vdeactivate_mark.
  976.  
  977.     * xfns.c (x_set_menu_bar_lines_1): Adjust just the uppermost child
  978.     in a vertical split.  Adjust the hight counter to the top.
  979.     (x_set_menu_bar_lines): Don't change overall frame height.
  980.  
  981. Fri Jun  4 12:41:07 1993  Francesco Potorti`  (pot@cnuce.cnr.it)
  982.  
  983.     * filelock.c (MAKE_LOCK_PATH): If SHORT_FILE_NAMES allocates
  984.     different space and calls fill_in_lock_short_file_name.
  985.     (fill_in_lock_short_file_name): New function for 14-chars hashed
  986.     file names. Replaces fill_in_lock_file_name if SHORT_FILE_NAMES.
  987.  
  988. Thu Jun  3 00:07:07 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  989.  
  990.     * sysdep.c (wait_for_termination): Fix sigpause in POSIX_SIGNALS case.
  991.  
  992.     * xterm.c (x_catch_errors): Fill in missing array size in cast.
  993.  
  994.     * Makefile.in (xmakefile): Depend on ../config.status.
  995.  
  996.     * buffer.c (init_buffer): Init default-directory of minibuffer.
  997.  
  998.     * m/iris4d.h (LIB_STANDARD): Delete -lbsd.
  999.  
  1000.     * keyboard.c (read_key_sequence): Reset fkey_map when we find
  1001.     something at the end of Vfunction_key_map.
  1002.  
  1003.     * m/ibmrt-aix.h (HAVE_FTIME): Defined.
  1004.  
  1005.     * emacs.c (syms_of_emacs): Doc fix.
  1006.  
  1007.     * keyboard.c (read_char_menu_prompt): Now static.  Add declaration.
  1008.  
  1009.     * dispnew.c (Fredraw_display): Redraw all visible frames.
  1010.     (redraw_garbaged_frames): New function.
  1011.     * xdisp.c (redisplay, echo_area_display): Use redraw_garbaged_frames.
  1012.  
  1013.     * dispnew.c (do_pending_window_change): No need to clear
  1014.     FRAME_NEW_HEIGHT/WIDTH.  Do test width != 0.
  1015.  
  1016.     * xterm.c (x_wm_set_size_hint): Handle XGetNormalHints returning 0.
  1017.  
  1018.     * xfns.c (x_set_frame_parameters): Process all parms in reverse order.
  1019.  
  1020.     * frame.h (FRAME_MINIBUF_WINDOW): Use minibuffer_window.
  1021.  
  1022. Wed Jun  2 16:12:30 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1023.  
  1024.     * sysdep.c (init_sys_modes): Disable VLNEXT char.
  1025.     Also VWERASE, VREPRINT, VDISCARD.
  1026.  
  1027.     * xfaces.c: Test XOS_NEEDS_TIME_H, not HPUX, for including time.h.
  1028.     * s/sol2.h, s/hpux.h (XOS_NEEDS_TIME_H): Defined.
  1029.  
  1030. Wed Jun 2 20:11:29 1993  Francesco Potorti`  (pot@cnuce.cnr.it)
  1031.  
  1032.     * ymakefile (alloca.o): Use temp names allocax.o, allocax.s
  1033.  
  1034.     * m/delta.h (MOTOROLA_DELTA): Defined.
  1035.     (HAVE_SYSVIPC, BAT68K, BAT_ALLOCA): Deleted--obsolete.
  1036.     (STACK_DIRECTION, HAVE_X_WINDOWS): Deleted--configure knows.
  1037.     (C_SWITCH_MACHINE): Set to -ga if using the Green Hills compiler.
  1038.     (LIB_STANDARD, LIB_MATH): Defined to the 68881 versions.
  1039.     (LIBS_SYSTEM): -lbsd brings sigblock and sigsetmask.
  1040.     (sigsetmask): Undefined--it is in -lbsd.
  1041.     (LDAV_SYMBOL): Undefined--we have no such thing.
  1042.     (KERNEL_FILE): Defined to "/sysV68".
  1043.     (BSTRING, HAVE_SELECT, HAVE_UNISTD_H, HAVE_TIMEVAL): Defined.
  1044.     (SIGNALS_VIA_CHARACTERS): Defined.
  1045.     (memmove): Defined as memcpy--we have no memmove.
  1046.     (SIGIO, INTERRUPT_INPUT): Undefined--not yet tested.
  1047.     (SHORT_FILE_NAMES, CLASH_DETECTION): Defined.
  1048.  
  1049. Wed Jun  2 02:06:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1050.  
  1051.     * Version 19.12 released.
  1052.  
  1053.     * term.c (term_get_fkeys): Use correct names for F10 and up.
  1054.     Use the key sequence, not the termcap cap name, in Fdefine_key.
  1055.  
  1056.     * intervals.c (copy_intervals): Don't adjust total_length at the end.
  1057.     Set lengths of subintervals properly.
  1058.     (balance_intervals): Balance left as well as right.
  1059.  
  1060. Tue Jun  1 22:07:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1061.  
  1062.     * keymap.c (syms_of_keymap): Add missing 2nd arg to Fcons.
  1063.  
  1064. Tue Jun  1 00:27:03 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1065.  
  1066.     * x/esix5-4.h: Redone by Joe Kelsey.
  1067.  
  1068.     * xterm.c (x_new_font): Take out last change.
  1069.  
  1070.     * s/386bsd.h (BSD4_2): Defined.
  1071.  
  1072.     * fileio.c (Fwrite_region): Don't fsync if autosaving.
  1073.  
  1074.     * s/irix4-0.h (GETPGRP_NO_ARG): Defined.
  1075.     * emacs.c (shut_down_emacs): Handle GETPGRP_NO_ARG.
  1076.     * sysdep.c (sys_suspend): Handle GETPGRP_NO_ARG.
  1077.  
  1078.     * fileio.c [HPUX9]: Don't include errnet.h.
  1079.  
  1080.     * hftctl.c (hft_alrm): Don't return a value.
  1081.     Always declare to return void.
  1082.  
  1083.     * floatfns.c [!FLOAT_CHECK_ERRNO] (IN_FLOAT): New definition.
  1084.     (Flog): Fix argument of `log'.
  1085.  
  1086.     * m/pmax.h (KERNEL_FILE): New override definition.
  1087.  
  1088.     * keyboard.c (read_key_sequence) [!USE_TEXT_PROPERTIES]: Fix typo.
  1089.     (menu_bar_items) [!USE_TEXT_PROPERTIES]: Likewise.
  1090.  
  1091.     * s/isc3-0.h: #undef C_SWITCH_SYSTEM.
  1092.  
  1093.     * xselect.c (Fx_store_cut_buffer_internal): Handle empty string right.
  1094.  
  1095.     * xfaces.c (init_frame_faces): Don't look at selected_frame
  1096.     unless it is an X frame.
  1097.  
  1098.     * xfns.c (x_window): Use Vxrdb_name for res_name field.
  1099.     Delete the shortname stuff.
  1100.  
  1101.     * m/pmax.h (LIBS_MACHINE): Defined.
  1102.  
  1103.     * Version 19.11 released.
  1104.  
  1105. Tue Jun  1 00:07:11 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1106.  
  1107.     * xfns.c (x_set_menu_bar_lines): Use FRAME_NEW_HEIGHT and ..._WIDTH.
  1108.  
  1109.     * m/sparc.h [__GNUC__ >= 2]: Don't include alloca.h.
  1110.  
  1111.     * xterm.c (x_new_font): If XListFontsWithInfo finds nothing,
  1112.     try to load the font anyway.
  1113.  
  1114.     * ymakefile (emacs): Don't run inc-vers if ../lisp is read-only.
  1115.     (C_SWITCH_SITE_1): New make variable.
  1116.     (really-oldXMenu): Pass C_SWITCH_X_SITE_1 as C_SWITCH_X_SITE.
  1117.     Use C_SWITCH_SITE_1 to pass C_SWITCH_SITE.
  1118.  
  1119.     * s/386bsd.h: New file.
  1120.  
  1121. Mon May 31 14:04:22 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1122.  
  1123.     * fns.c (internal_equal): Don't let ints be equal to floats.
  1124.  
  1125.     * print.c (float_to_string): Skip `-' like digits when ensuring
  1126.     result looks like a float.
  1127.  
  1128.     * data.c (Frem): Fix result sign properly.
  1129.  
  1130.     * xrdb.c [__bsdi__]: ALternate decls of getpwuid and getpwnam.
  1131.  
  1132.     * emacs.c (main) [BSD]: Delete the setpgrp (both times).
  1133.  
  1134.     * m/ibmrs6000.h (NLIST_STRUCT): Defined.
  1135.  
  1136.     * ymakefile (GETLOADAVG_OBJ): New macro.
  1137.     (obj): Use that.
  1138.  
  1139.     * s/bsd386.h: New file.
  1140.  
  1141.     * term.c (term_get_fkeys): If not initialized, init Vfunction_key_map.
  1142.  
  1143.     * m/ibmrs6000.h: Delete ! __GNUC__ conditional.
  1144.     (LD_SWITCH_MACHINE): Defined.
  1145.     (ORDINARY_LINK): Defined unconditionally.
  1146.  
  1147.     * dispnew.c (update_frame): Make preempt_count positive.
  1148.     Defend against negative baud_rate.
  1149.     * scroll.c (calculate_scrolling): Defend against negative baud_rate.
  1150.  
  1151.     * mem-limits.h [__bsdi__]: Define BSD4_2.
  1152.  
  1153.     * xfns.c (x_window): In XSetClassHint, use a shortened version
  1154.     of the frame name.
  1155.  
  1156.     * s/hpux8.h (C_SWITCH_SYSTEM): Fix typo in X11R5 dirname.
  1157.  
  1158.     * xterm.c (XTread_socket, case KeyPress) [HPUX]: Test IsModifiedKey.
  1159.  
  1160.     * keyboard.c (kbd_buffer_get_event):
  1161.     Shorten the first MULTI_FRAME conditional.
  1162.  
  1163.     * s/usg5-4-2.h (HAVE_VFORK): Deleted.
  1164.  
  1165. Mon May 31 10:07:48 1993  James Clark  (jjc@jclark.com)
  1166.  
  1167.     * xselect.c (x_reply_selection_request): Call XFlushQueue.
  1168.  
  1169.     * window.c (Fset_window_buffer): Set window's force_start to Qnil.
  1170.  
  1171. Mon May 31 01:33:06 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1172.  
  1173.     * syntax.c (Fforward_comment): Set point to where scan stops,
  1174.     thus moving acros whitespace.  When moving fwd, treat Sendcomment
  1175.     as whitespace; likewise for Scomment when moving back.
  1176.     (scan_sexps_forward): New arg COMMENTSTOP.
  1177.     (Fparse_partial_sexp): Likewise.
  1178.  
  1179.     * xfns.c (Fx_create_frame): Use bitmapIcon, not iconType.
  1180.  
  1181. Sun May 30 20:04:19 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1182.  
  1183.     * data.c (float_arith_driver): Detect division by zero in advance.
  1184.     (arith_driver, Frem): Likewise.
  1185.  
  1186.     * xfns.c (Fx_list_fonts): Handle 0 for FRAME_FACES (f) [face_id]->font.
  1187.  
  1188.     * print.c (Fwith_output_to_temp_buffer): Doc fix.
  1189.  
  1190.     * sysdep.c (wait_for_termination): Delete LINUX conditionals.
  1191.  
  1192.     * s/linux.h (HAVE_TCATTR): Deleted.
  1193.     (BSD): Don't define.
  1194.     (read, write, open, close): Defined.
  1195.     (INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Defined.
  1196.     (C_SWITCH_SYSTEM): Defined.
  1197.  
  1198.     * xterm.c: Include systty.h; don't mess with FIONREAD.
  1199.     Don't include termio.h dorectly.
  1200.  
  1201.     * intervals.c (interval_deletion_adjustment): Delete unreachable abort.
  1202.  
  1203.     * fns.c (Fyes_or_no_p): Delete unreachable UNGCPRO.
  1204.  
  1205.     * keyboard.c (lispy_function_keys): Add `remove' key.
  1206.  
  1207. Sun May 30 19:24:09 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  1208.  
  1209.     * buffer.c (Fgenerate_new_buffer_name): Doc fix.
  1210.  
  1211. Sun May 30 19:10:09 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1212.  
  1213.     * Makefile.in (clean): Delete libXMenu11.a.
  1214.  
  1215. Sun May 30 17:48:11 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1216.  
  1217.     * m/mips.h (KERNEL_FILE): Set this to "/unix".
  1218.     * m/mips4.h (MIPS2): Go ahead and define this.
  1219.     (C_DEBUG_SWITCH): Add -DMips and -g3, and up Olimit to 2000.
  1220.  
  1221. Sun May 30 16:51:56 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1222.  
  1223.     * emacs.c (main) [AIX _I386]: Don't handle SIGIOINT.
  1224.  
  1225.     * lisp.h (UCHAR): Don't define if _UCHAR_T.
  1226.  
  1227.     * m/ibmps2-aix.h (HAVE_GETTIMEOFDAY): Deleted.
  1228.     (HAVE_SETSID, HAVE_TERMIOS): Defined.
  1229.     (HAVE_TERMIO): Add #undef.
  1230.     (SIGNALS_VIA_CHARACTERS): Defined.
  1231.     (C_DEBUG_SWITCH): Make definition empty.
  1232.     (LIBS_DEBUG): Defined.
  1233.     (BROKEN_TIOCGWINSZ, LIB_X11_LIB): Add #undef.
  1234.  
  1235.     * sysdep.c (child_setup_tty) [AIX SIGNALS_VIA_CHARACTERS]: Install
  1236.     something usefull in the VQUIT and VINTR.
  1237.     (emacs_set_tty): Try only 10 times to call tcsetattr.
  1238.     Don't use memcmp to test what it did.
  1239.  
  1240.     * systty.h [HAVE_TERMIOS _AIX _I386]: Include termios before termio.
  1241.  
  1242.     * dispnew.c (buffer_posn_from_coords): Since COL is already
  1243.     window-relative, don't subtract window_left.
  1244.  
  1245. Sun May 30 15:49:17 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1246.  
  1247.     * xfaces.c (unload_color): Don't #include <X11/Intrinsic.h>,
  1248.     <X11/StringDefs.h>, or <X11/Xmu/Drawing.h>.  Just write out
  1249.     "unsigned long" instead of using the "Pixel" typedef; it's in the
  1250.     protocol, so it's not likely to change.
  1251.  
  1252.     * hftctl.c (hft_alrm): Declare and define this to return void, not
  1253.     int; the AIX #include files have prototypes for it.
  1254.  
  1255.     * s/aix3-2.h (LIBS_SYSTEM): Remove -lIM and -liconv from here...
  1256.     * m/ibmrs6000.h (LIBS_MACHINE): They're already here.  Doc fix.
  1257.  
  1258.     * Makefile.in (SUBMAKEFLAGS): Remember to propagate MAKE.
  1259.  
  1260. Sun May 30 14:18:26 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1261.  
  1262.     * s/sunos4-1-3.h: Delete the #undef of SYSTEM_MALLOC.
  1263.  
  1264.     * systty.h [IRIX4]: Include unistd.h.
  1265.  
  1266.     * s/irix4-0.h (IRIX4): Defined.
  1267.     (IRIS_UTIME): #undef this.
  1268.  
  1269.     * xfns.c (Fx_open_connection) [NO_XRM_SET_DATABASE]:
  1270.     Don't call XrmsSetDatabase.
  1271.  
  1272.     * xfaces.c: Fix HPUX conditional syntax.
  1273.  
  1274.     * s/hpux8.h (random, srandom): Defined.
  1275.  
  1276.     * s/usg5-4-2.h: Don't specify s/ dir in #include.
  1277.     * s/usg5-4-2.h (PTY_TTY_NAME_SPRINTF): Defined.
  1278.     (HAVE_SYSV_SIGPAUSE): #undef this.
  1279.  
  1280.     * sysdep.c (wait_for_termination): Add POSIX_SIGNALS alternative.
  1281.  
  1282. Sun May 30 13:01:54 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1283.  
  1284.     * xfaces.c (init_frame_faces): We have to make sure that face ID's
  1285.     are valid on all frames or no frames; make sure F has allocated
  1286.     faces for any face valid on the selected frame.
  1287.  
  1288.     * s/hpux9.h: New file; don't use the GNU allocator.  Hope we fix
  1289.     this soon.
  1290.  
  1291. Sun May 30 00:15:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1292.  
  1293.     * Version 19.10 released.
  1294.  
  1295. Sat May 29 20:50:06 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1296.  
  1297.     * keyboard.c (read_key_sequence): If we changed buffers during
  1298.     read_char, go to replay_sequence.
  1299.  
  1300.     * frame.c (Ficonify_frame, Fmake_frame_invisible): 
  1301.     Select some other frame.  Move minibuffer off this frame.
  1302.  
  1303.     * frame.c (Fhandle_switch_frame): Don't call Ffocus_frame.
  1304.     (Fredirect_frame_focus): Call Ffocus_frame here.
  1305.  
  1306.     * xterm.c (x_bitmap_icon): Don't free icon_bitmap;
  1307.     create it if it hasn't been created before.
  1308.  
  1309.     * xterm.c (XTread_socket): For UnmapNotify, if frame was visible,
  1310.     mark it now as iconified.
  1311.     (x_make_frame_invisible): If async_iconic, work does need to be done.
  1312.     Don't let this frame stay highlighted.
  1313.     (x_iconify_frame): Don't let this frame stay highlighted.
  1314.  
  1315.     * s/usg5-4-2.h (sigsetmask): #undef this.
  1316.  
  1317.     * sysdep.c (sys_signal): Use 0, not NULL, to set sa_flags.
  1318.  
  1319. Sat May 29 16:47:12 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1320.  
  1321.     * linux.h (C_OPTIMIZE_SWITCH): Set this to the empty string;
  1322.     configure guesses just fine.
  1323.  
  1324.     * tekXD88.h: New file, from Kaveh Ghazi.
  1325.  
  1326.     * systty.h (CDISABLE): #undef it before re-#defining it.
  1327.  
  1328.     * sysdep.c (sys_siglist): Comment out #endif trailer.
  1329.     * xmenu.c (TRUE, FALSE): Same.
  1330.     * xterm.c (dumprectangle): Same.
  1331.  
  1332.     * emacs.c: Don't include termios.h directly--let systty.h do it.
  1333.  
  1334. Sat May 29 00:26:39 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1335.  
  1336.     * xfaces.c [HPUX]: Include time.h and define __TIMEVAL__.
  1337.  
  1338.     * emacs.c (shut_down_emacs): Maybe close X connection.  New arg NO_X.
  1339.     (Fkill_emacs): Don't close it here.  Pass new arg.
  1340.     (fatal_error_signal): Pass new arg.
  1341.     * xterm.c (x_connection_closed): Pass new arg.
  1342.  
  1343.     * xdisp.c (syms_of_xdisp): Make highlight-nonselected-windows Lisp var.
  1344.     (display_text_line): Obey it.
  1345.     (display_text_line): Really check for just the selected window.
  1346.  
  1347.     * s/usg5-4-2.h: New file.
  1348.  
  1349.     * keyboard.c (menu_bar_items): Save Vinhibit_quit by hand
  1350.     instead of using specbind.
  1351.     (menu_bar_items): Call Fnreverse before restoring Vinhibit_quit.
  1352.  
  1353.     * s/hpux8.h (OLDXMENU_OPTIONS): Add quotations.
  1354.  
  1355.     * m/ibmrt.h (C_SWITCH_MACHINE): Define only if not __GNUC__.
  1356.     (HAVE_FTIME): Defined.
  1357.     (EMACS_BITMAP_FILES): Defined.
  1358.  
  1359.     * xfns.c (Fx_close_current_connection): Clear x_current_display.
  1360.     * xterm.c (XTring_bell): Do nothing if x_current_connection is 0.
  1361.  
  1362.     * buffer.c (reset_buffer): Clear mark_active field here.
  1363.     (reset_buffer_local_variables): Not here.
  1364.     (Fswitch_to_buffer, Fpop_to_buffer): Return the buffer.
  1365.     (Fmove_overlay): Fix data types in last change.
  1366.  
  1367.     * sysdep.c (gettimeofday): Don't store in *tzp if tzp is 0.
  1368.  
  1369.     * process.c (MAXDESC): Get it from FD_SETSIZE if that exists.
  1370.  
  1371.     * s/sco4.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): 
  1372.     Redefined.
  1373.     (SIGNALS_VIA_CHARACTERS): Defined.
  1374.     [HAVE_SOCKETS] (HAVE_GETTIMEOFDAY): Defined.
  1375.     (MAIL_PROGRAM_NAME): Defined (two alternate definitions).
  1376.  
  1377.     * xfns.c (Fx_list_fonts): Use CHECK_LIVE_FRAME on the frame arg.
  1378.  
  1379. Fri May 28 16:07:01 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1380.  
  1381.     * s/hpux8.h (LIBX11_SYSTEM): Defined.
  1382.  
  1383.     * ymakefile: Replace config.h as dep with $(config_h).
  1384.     (really-oldXMenu): Use two make vars to pass values
  1385.     of C_SWITCH_... within doublequotes.
  1386.  
  1387.     * xfns.c (x_figure_window_size): Never set PPosition or PSize.
  1388.  
  1389.     * keymap.c (syms_of_keymap): Create global_map 256 slots long.
  1390.     * cmds.c (keys_of_cmds): Predefined 0240-0376 as self-insert.
  1391.  
  1392.     * xterm.c (XTread_socket, case KeyPress) [HPUX]:
  1393.     Recognize the extended function keys.
  1394.  
  1395.     * buffer.c (Fgenerate_new_buffer_name): New arg IGNORE.
  1396.     (Frename_buffer): Pass new arg.
  1397.  
  1398. Fri May 28 00:33:32 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1399.  
  1400.     * keyboard.c (menu_bar_items): Bind Qinhibit_quit to Qt while we
  1401.     call the keymap accessors; this gets called during redisplay.
  1402.  
  1403.     * ymakefile (alloca.o): Call $(CC), not cc.
  1404.  
  1405.     * s/linux.h (SIGNALS_VIA_CHARACTERS): Try this out for a bit.
  1406.  
  1407.     * buffer.c (Fmove_overlay): If the overlay is changing buffers,
  1408.     do a thorough redisplay.
  1409.  
  1410.     * xfns.c (x_set_frame_parameters): Use the first
  1411.     position/size parameter we find, not the last.
  1412.  
  1413.     * s/hpux8.h: Don't define HAVE_RANDOM.
  1414.  
  1415.     * config.h.in (UNEXEC_SRC): New macro, set by the configure
  1416.     script.
  1417.     * ymakefile (UNEXEC_SRC): Give it a default value here, and make
  1418.     UNEXEC depend on it.
  1419.  
  1420.     * ymakefile (lispdir): Set this in terms of ${srcdir}.
  1421.  
  1422. Thu May 27 19:47:45 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1423.  
  1424.     * dispnew.c (Fsleep_for): Don't return without waiting when SEC is 0.
  1425.  
  1426.     * emacs.c (syms_of_emacs) [CANNOT_DUMP]: Don't defsubr Sdump_emacs*.
  1427.  
  1428.     * alloc.c (mark_object): Add debugging code to check for ptr clobbered.
  1429.  
  1430. Thu May 27 02:35:32 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1431.  
  1432.     * Version 19.9 released.
  1433.  
  1434. Thu May 27 02:02:40 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1435.  
  1436.     * keyboard.c (read_char): Correct previous change.
  1437.  
  1438. Thu May 27 01:04:33 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1439.  
  1440.     * systty.h: Always terminate comments, to avoid confusion.
  1441.  
  1442.     * xfns.c: Make resource manager work correctly even when
  1443.     Vinvocation_name has periods and asterisks in it.
  1444.     (Vxrdb_name): New variable.
  1445.     (Fx_get_resource): Use it instead of Vinvocation_name.
  1446.     (Fx_open_connection): Initialize it to a copy of Vinvocation_name,
  1447.     with the dots and stars replaced by hyphens.
  1448.     (syms_of_xfns): staticpro it here.
  1449.  
  1450.     * xfns.c (Fx_get_resource): Use the proper format string when the
  1451.     attribute has been specified.
  1452.  
  1453. Thu May 27 01:09:16 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1454.  
  1455.     * xfns.c (x_get_resource_string): New function.
  1456.  
  1457.     * ymakefile (ALL_CFLAGS): Put CFLAGS last.
  1458.  
  1459. Wed May 26 19:53:16 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1460.  
  1461.     * s/sol2.h: (SOLARIS_BROKEN_ACCESS): Don't define this.
  1462.  
  1463.     * s/aix3-2.h (C_SWITCH_SYSTEM): Don't define this to be "-ma" if
  1464.     we're using GCC - that's an XLC switch.
  1465.  
  1466.     * s/aix3-2.h (LIBS_SYSTEM): Put -LIM -Liconv here.
  1467.  
  1468.     * systty.h (HAVE_LTCHARS, HAVE_TCHARS): New macros; define them if
  1469.     we have those structures, but *don't* define them if we have
  1470.     TERMIOS, whose functions take care of those parameters; that
  1471.     screws up AIX.
  1472.     (struct emacs_tty): Test those symbols, instead of the ioctl
  1473.     commands.
  1474.     * sysdep.c (emacs_get_tty, emacs_set_tty, new_ltchars, new_tchars,
  1475.     init_sys_modes): Same.
  1476.  
  1477.     * config.h.in (HAVE_RENAME): Include an #undef for this, so
  1478.     configure will have something to edit.
  1479.  
  1480. Wed May 26 19:12:10 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1481.  
  1482.     * window.c (window_loop, case GET_LRU_WINDOW):
  1483.     Get frame's width properly.
  1484.  
  1485.     * xselect.c (x_get_local_selection): If no conversion function
  1486.     exists for the requested type, just return nil.
  1487.  
  1488.     * s/linux.h (HAVE_TCATTR): Defined.
  1489.  
  1490.     * sysdep.c [HAVE_SOCKETS]: Include socket.h, netdb.h.
  1491.     (get_system_name) [HAVE_SOCKETS]: Use gethostbyname.
  1492.  
  1493. Wed May 26 19:00:00 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1494.  
  1495.     * s/hpux8.h (LIB_X11_LIB, C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM,
  1496.     LD_SWITCH_SYSTEM, OLDXMENU_OPTIONS): Add X11R5 directories to the
  1497.     search paths in these lists; they shouldn't do any harm if they
  1498.     don't have X11R5.
  1499.  
  1500.     * s/aix3-2.h (C_SWITCH_SYSTEM): Don't #define this if we're using
  1501.     GCC.
  1502.  
  1503. Wed May 26 01:09:50 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1504.  
  1505.     * xrdb.c (magic_searchpath_decoder): Fix typos.
  1506.  
  1507.     * xdisp.c (display_text_line): Don't call compute_char_face
  1508.     for a non-X frame.
  1509.  
  1510.     * xfns.c (Fx_rebind_key, Fx_rebind_keys): X10 definitions deleted.
  1511.     (syms_of_xfns): Install them only if X11.
  1512.  
  1513.     * ralloc.c (r_alloc_sbrk): Declare already_available as long, not SIZE.
  1514.  
  1515.     * xfns.c (x_set_cursor_type): If arg not recognized, use box cursor.
  1516.  
  1517.     * s/hpux8.h (LD_SWITCH_SYSTEM) [__GNUC__]: Pass -a archive to ld.
  1518.     (HAVE_RANDOM): Defined.
  1519.  
  1520.     * s/hpux.h (rand, srand): Definitions deleted.
  1521.  
  1522.     * keyboard.c (Fcurrent_input_mode): Fix the call to Flist.
  1523.     (make_lispy_event): Fix off-by-1 error with hpos in menu bar.
  1524.  
  1525.     * s/sunos4-1-3.h: New file.
  1526.  
  1527.     * ymakefile (XOBJ) [!HAVE_X_MENU]: Add xfaces.o.
  1528.  
  1529.     * s/irix4-0.h (SIGNALS_VIA_CHARACTERS): Defined.
  1530.  
  1531.     * xterm.c (x_wm_set_size_hint): Don't set hints for max size.
  1532.  
  1533. Tue May 25 11:19:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1534.  
  1535.     * m/ibmrs6000.h (LIBS_MACHINE): Add -lIM and -liconv.
  1536.     (HAVE_GETTIMEOFDAY): Deleted.
  1537.  
  1538.     * sysdep.c (wait_for_termination): Don't use the BSD alternative
  1539.     for LINUX.  Use the UNIPLUS alternative.
  1540.  
  1541.     * keyboard.c (read_char): If kbd_buffer_get_event returns nil,
  1542.     redisplay and retry.
  1543.     (kbd_buffer_get_event): If event is handled here, return nil.
  1544.     (swallow_events): New function.
  1545.     * process.c (wait_reading_process_input): Call that.
  1546.  
  1547.     * ralloc.c (POINTER): Always use char *.
  1548.  
  1549.     * s/sol2.h (C_SWITCH_X_SYSTEM): Deleted.
  1550.     (LD_SWITCH_SYSTEM): Delete the -L option, leave just -R.
  1551.  
  1552.     * m/symmetry.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF):
  1553.     Use pty_name, not ptyname.
  1554.  
  1555.     * syntax.c (Fforward_comment): Arg is a Lisp_Object.
  1556.     Convert it to an int.
  1557.  
  1558.     * ymakefile (alloca.o): Get alloca.c and alloca.s from ${srcdir}.
  1559.  
  1560.     * floatfns.c (logb): Don't declare if hpux.
  1561.  
  1562.     * syntax.c (Fforward_comment): Always set point.
  1563.  
  1564.     * s/dgux.h, s/hpux.h, s/esix.h (HAVE_GETTIMEOFDAY): Deleted.
  1565.  
  1566.     * s/irix4-0.h (C_ALLOCA, alloca): Definitions deleted.
  1567.     [!NOT_C_CODE]: Include alloca.h.
  1568.     (NEED_SIOCTL): #undef this.
  1569.  
  1570.     * xterm.h (PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW):
  1571.     Fix mismatch in arg names.
  1572.  
  1573.     * xfns.c (Fx_open_connection): Set xrm_option correctly.
  1574.  
  1575. Tue May 25 18:09:03 1993  David J. MacKenzie  (djm@wiki.eng.umd.edu)
  1576.  
  1577.     * xfns.c (x_figure_window_size): Make the default frame coords (0,0).
  1578.  
  1579. Tue May 25 05:15:14 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1580.  
  1581.     * Version 19.8 released.
  1582.  
  1583. Tue May 25 00:52:36 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1584.  
  1585.     * xfns.c: Clear out the old face stuff.
  1586.     (x_face_table, n_faces, x_set_face, x_set_glyph, Fx_set_face_font,
  1587.     Fx_set_face, Fx_get_face): Removed.
  1588.     (syms_of_xfns): Remove defsubr for Fx_set_face.
  1589.  
  1590.     Arrange for font names to get fully resolved - no wildcards.
  1591.     * xfns.c (x_set_frame_parameters): Store the value in the frame
  1592.     parameter alist before we call the setter function, so the setter
  1593.     function can touch up the value if it chooses.
  1594.     (x_set_foreground_color, x_set_background_color): Call
  1595.     recompute_basic_faces, so their GC's will reflect the changes.
  1596.     (x_new_font): Add extern declaration - this returns a Lisp_Object
  1597.     now, the fully resolved font name.
  1598.     (x_set_font): Accept the fully resolved name from x_new_font, and
  1599.     put it in the frame's parameter alist.  Call recompute_basic_faces.
  1600.     * xterm.c (x_new_font): Return the fully resolved font name, Qnil
  1601.     (if no match), or Qt (match, but unacceptable metrics).
  1602.     * xterm.c (x_new_font): Don't call init_frame_faces.
  1603.  
  1604.     * xterm.h: New section for declarations for xfaces.c.
  1605.     (init_frame_faces, free_frame_faces, intern_face,
  1606.     face_name_id_number, same_size_fonts, recompute_basic_faces,
  1607.     compute_char_face, compute_glyph_face): Declare these here.
  1608.     * xfaces.c (same_size_fonts): We can now remove this extern
  1609.     declaration.
  1610.     * xfns.c (face_name_id_number): Likewise.
  1611.     * xterm.c (intern_face): Likewise.
  1612.  
  1613.     * xterm.c (dumpglyphs): Remember that the default faces can have
  1614.     null fonts, too.
  1615.  
  1616.     * xfns.c (Fx_list_fonts): Remember that FACE may not have a font
  1617.     specified.  Don't specify 30000 as the maximum limit on the number
  1618.     of fontns returned  - 2000 is more reasonable. 
  1619.  
  1620.     * xfaces.c (build_face, unload_font, free_frame_faces): Don't
  1621.     forget to block input while making X calls.
  1622.  
  1623.     Treat faces as structures specifying modifications to the frame's
  1624.     parameters, rather than things which need to specify a complete
  1625.     set of parameters by themselves.
  1626.     * xfaces.c (init_frame_faces): Don't set up the two frame display
  1627.     faces by querying the GC - just leave all their fields blank, and
  1628.     call recompute_basic_faces, letting build_face do the work of
  1629.     consulting the frame when necessary.
  1630.     (recompute_basic_faces): New function.
  1631.     (compute_base_faces): New function for obtaining the "identity"
  1632.     for compute_char_face and compute_glyph_face.
  1633.     (compute_char_face, compute_glyph_face): Call it, instead of copying
  1634.     FRAME_DEFAULT_FACE.
  1635.     * xfns.c (x_make_gc): No need to call init_frame_faces here.
  1636.  
  1637.     * xfaces.c (intern_frame_face): This can be static.
  1638.  
  1639.     * dispextern.h (struct face): New field - `copy', to help us with
  1640.     resource allocation.
  1641.     * xfaces.c (free_frame_faces): Do free the first two faces; don't
  1642.     free anything from a face that's a copy.
  1643.     (intern_frame_face): Mark every face we intern as a copy; its
  1644.     resources are actually a combination of the real faces.
  1645.     (Fset_face_attribute_internal): No need to check if we're trying
  1646.     to free one of the frame's GC's; they never enter into the
  1647.     picture.
  1648.  
  1649.     * casetab.c: Fix formatting, so as not to confuse etags.
  1650.  
  1651.     * xfns.c (Fx_list_fonts): New function.
  1652.     (face_name_id_number): Add extern declaration for this.
  1653.     * xfaces.c (face_name_id_number): Make this externally visible,
  1654.     and make the FRAME argument a FRAME_PTR, not a Lisp_Object.
  1655.     (compute_char_face): Call face_name_id_number properly.
  1656.  
  1657.     * xfaces.c (unload_color): Don't free the pixel for now.
  1658.  
  1659.     * xfaces.c (merge_faces): You can't tell if a font is a
  1660.     character-cell font or not by testing whether or not it has a
  1661.     per_char table.  They all do.
  1662.     * xterm.c (x_new_font): Same deal.
  1663.     * xfns.c (Fx_list_fonts): Same deal.
  1664.  
  1665.     * m/iris4d.h: Dyke out the section which specifies how to get the
  1666.     load average.
  1667.  
  1668.     * paths.h (PATH_INFO): New path, to edited by the configuration
  1669.     process.
  1670.     * callproc.c (Vconfigure_info_directory): New variable, used
  1671.     internally by build process.
  1672.     (syms_of_callproc): DEFVAR it and initialize it.
  1673.  
  1674.     * keyboard.c (Fcurrent_input_mode): Use XFASTINT to build the last
  1675.     element of the return value, not XSETINT.
  1676.  
  1677. Mon May 24 12:14:41 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1678.  
  1679.     Changes for OSF/1:
  1680.     * mem-limits.h [__osf__ && (__mips || mips)]: #include
  1681.     <sys/time.h> and <sys/resource.h>.
  1682.     (get_lim_data): OSF wants a definition like BSD4_2's.
  1683.     * s/osf1.h: #include "bsd4-3.h", not "s-bsd4-3.h".
  1684.  
  1685.     * ymakefile (LIBX): Put LD_SWITCH_X_SITE before the libraries, so
  1686.     it actually has an effect.
  1687.  
  1688.     Some makes can't handle form feed characters in their makefiles.
  1689.     * s/usg5-3.h: Remove form feed.
  1690.     * s/template.h, m/template.h: Remove form feeds.
  1691.  
  1692.     * xfns.c (select_visual): Include the screen number in the
  1693.     template of things XGetVisualInfo must match.
  1694.  
  1695. Mon May 24 17:41:19 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1696.  
  1697.     * s/dgux.h (NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__.
  1698.  
  1699.     * xterm.c (XTread_socket, ConfigureNotify case):
  1700.     Convert from parent window, not Emacs window.
  1701.     (XTread_socket): Handle ReparentNotify events.
  1702.  
  1703.     * m/i860.h: New file.
  1704.  
  1705.     * keyboard.c (lispy_function_keys): Add kp-numlock.  Fix kp-backspace.
  1706.  
  1707. Mon May 24 15:15:41 1993  Thorsten Ohl  (ohl@chico.harvard.edu)
  1708.  
  1709.     * m/next.h (C_SWITCH_MACHINE): Definition deleted.
  1710.  
  1711.     * lread.c: Don't #undef NULL.
  1712.  
  1713. Mon May 24 16:50:42 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1714.  
  1715.     * buffer.c (Fmake_overlay): Put beg and end in the
  1716.     right order.
  1717.     (Fmove_overlay): If beg and end are markers, make sure they're in
  1718.     the right buffer.
  1719.  
  1720. Mon May 24 15:21:10 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1721.  
  1722.     * keyboard.c (modify_event_symbol): If a name_table elt is null,
  1723.     generate a name to use.  Don't crash.
  1724.  
  1725.     * fileio.c (Fread_file_name): If input is empty, do return the default
  1726.     even if !insert_default_directory.
  1727.  
  1728.     * xterm.c (XTread_socket): For ConfigureNotify event,
  1729.     translate coordinates if send_event field is false
  1730.     provided the x-coord value is not large.
  1731.  
  1732. Mon May 24 13:42:24 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1733.  
  1734.     * s/irix4-0.h (NO_MATHERR): Defined.
  1735.     * floatfns.c [NO_MATHERR]: Undef HAVE_MATHERR.
  1736.  
  1737. Mon May 24 04:05:22 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1738.  
  1739.     * fileio.c (Ffile_writable_p): Pass XSTRING (foo)->data to
  1740.     ro_fsys, not XSTRING (foo).
  1741.  
  1742.     * xterm.c (x_new_font): Reject fonts with varying spacing.  We
  1743.     don't support them yet.
  1744.     * xfns.c (x_set_font): Report the error message properly.
  1745.  
  1746.     * xfns.c (Fx_parse_geometry): No need to call check_x here; it
  1747.     doesn't interact with the server at all, and we need it in order
  1748.     to create our first frame.
  1749.  
  1750. Mon May 24 02:14:58 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1751.  
  1752.     * s/linux.h (HAVE_SETSID): Defined.
  1753.     (HAVE_SOCKETS): Defined.
  1754.  
  1755.     * process.c (create_process): Ignore retval from TIOCSTTY.
  1756.     (sys_siglist) [LINUX]: Don't even declare it.
  1757.  
  1758. Mon May 24 01:11:23 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1759.  
  1760.     * syssignal.h (sys_signal): Declare the second argument to have
  1761.     type signal_handler_t.  We're told this is necessary for Linux.
  1762.  
  1763. Mon May 24 01:01:43 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1764.  
  1765.     * s/dgux.h (NO_GET_LOAD_AVG): Define, if __GNUC__.
  1766.  
  1767. Sun May 23 23:39:35 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1768.  
  1769.     * s/hpux8.h (NO_SIOCTL_H): Defined.
  1770.  
  1771. Sun May 23 23:29:31 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1772.  
  1773.     * s/linux.h (HAVE_DUP2, HAVE_ALLOCA_H): Deleted.
  1774.  
  1775. Sun May 23 22:27:33 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1776.  
  1777.     * syssignal.h: Don't #include <signal.h>
  1778.     * alloc.c: #include <signal.h>, but before "config.h".
  1779.  
  1780. Sun May 23 18:38:26 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1781.  
  1782.     * xfaces.c (Fset_face_attribute_internal): Don't call unload_font
  1783.     for the frame's own font.
  1784.  
  1785.     * xfns.c (check_x): New function.
  1786.     Call it in almost every Lisp function in this file.
  1787.     (x_set_menu_bar_lines_1): Pass both args in recursive call.
  1788.  
  1789. Sun May 23 21:44:35 1993  Paul Eggert  (eggert@twinsun.com)
  1790.  
  1791.     * editfns.c (Fcurrent_time_zone): Make `am' an int, not long.
  1792.  
  1793. Sun May 23 15:23:05 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1794.  
  1795.     Changes for SGI from Matthew J Brown <mjb@doc.ic.ac.uk>.
  1796.     * m/iris4d.h, m/iris5d.h: Don't use the --cckr CC switch if we're
  1797.     using GCC.
  1798.     * m/iris4d.h (NEED_SIOCTL): Move this to...
  1799.     * s/irix3-3.h (NEED_SIOCTL): ... here; apparently it's not
  1800.     necessary in irix4-0.h.
  1801.     * s/irix4-0.h: Remove declaration of getpty; apparently Irix 4.0
  1802.     already declares this elsewhere.
  1803.     (PTY_TTY_NAME_SPRINTF): #undef this before re-#defining it.
  1804.     * m/ibmps2-aix.h, m/pfa50.h, s/hpux.h, s/isc2-2.h, s/linux.h,
  1805.     s/sco4.h, s/usg5-4.h: Remove HAVE_RENAME; configure guesses that now.
  1806.  
  1807.     * config.h.in (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Change the
  1808.     #defines to #undef's, so ../configure knows it should tweak them.
  1809.  
  1810.     * xterm.c (x_scroll_bar_report_motion): Set *TIME whether or not
  1811.     the mouse is over a scroll bar.
  1812.  
  1813.     * xfaces.c (Fset_face_attribute_internal): Don't free the frame's
  1814.     normal_gc or reverse_gc.
  1815.  
  1816.         * keyboard.c (make_lispy_movement): Deal properly with mouse
  1817.     motion outside of all windows.
  1818.  
  1819.     * lisp.h (GLYPH_FACE): Remember that the face portion of a glyph
  1820.     can be 24 bits, not just eight.
  1821.  
  1822. Sun May 23 14:03:48 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1823.  
  1824.     * xterm.c: Move signal.h and stdio.h before config.h.
  1825.  
  1826.     * editfns.c (Fcurrent_time_zone): Assign gmt, instead of init.
  1827.  
  1828. Sat May 22 17:44:54 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1829.  
  1830.         * Version 19.7 released.
  1831.  
  1832.     * Makefile.in (SUBMAKEFLAGS): Add CFLAGS to the list.
  1833.  
  1834.     * puresize.h [not HAVE_X_WINDOWS] (PURESIZE): Make this 185k,
  1835.     not 196k.  We're actually using ~180k.
  1836.  
  1837.     * editfns.c: #include <sys/types.h>, to get time_t for Eggert's
  1838.     changes.
  1839.  
  1840. Sat May 22 13:59:32 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1841.  
  1842.     * ymakefile (FRAME_SUPPORT): Add mouse.elc, select.elc, scroll-bar.elc.
  1843.  
  1844.     * xdisp.c (display_text_line): Highlight in any frame's sel window.
  1845.  
  1846.     * keyboard.c (modifier_names): Update to match *_modifier in termhooks.
  1847.  
  1848. Sat May 22 03:48:28 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1849.  
  1850.     * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
  1851.     that feature requires more support to work correctly.
  1852.  
  1853.     * keyboard.c (make_ctrl_char): New function.
  1854.     (read_char): Call it.
  1855.     (kbd_buffer_store_event): Call it to see if the new character is
  1856.     the quit or stop character.
  1857.     (make_lispy_event): Call it.
  1858.  
  1859. Fri May 21 23:15:48 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1860.  
  1861.     * xfns.c (x_window_to_frame): Use XGCTYPE.
  1862.  
  1863. Fri May 21 19:45:18 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1864.  
  1865.     * process.c (Fopen_network_stream): Deal with older systems, which
  1866.     only have the h_addr field in their struct hostent.
  1867.  
  1868.     * systty.h [SYSV_PTYS]: #include <sys/types.h>.  Francesco
  1869.     Potorti` <pot@fly.CNUCE.CNR.IT> says it's necessary on his
  1870.     machine, and it should be harmless.
  1871.  
  1872. Fri May 21 19:41:14 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1873.  
  1874.     * sysdep.c (wait_for_termination): Copy code from 18.59
  1875.     (but sans BSD4_1 alternatives).
  1876.  
  1877. Fri May 21 18:33:21 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1878.  
  1879.     * ymakefile (alloca.o): #define malloc and free to be xmalloc and
  1880.     xfree on the command line of this compilation.
  1881.  
  1882.     * s/sco4.h: (TIME_WITH_SYS_TIME): This is no longer needed.
  1883.  
  1884.     * s/linux.h: Remove copyright notices by Michael K. Johnson and
  1885.     Rik Faith.  They have both sent in papers now which make their
  1886.     changes public domain.
  1887.  
  1888.     * sysdep.c (sys_suspend): Set synch_process_alive, so that
  1889.     wait_for_termination has something to wait for.
  1890.  
  1891. Fri May 21 16:20:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1892.  
  1893.     * xdisp.c (display_text_line): Highlight only in selected window.
  1894.  
  1895.     * xfns.c (syms_of_xfns): Don't make Lisp vars
  1896.     x-mode-pointer-shape and x-nontext-pointer-shape.
  1897.  
  1898. Thu May 20 23:15:44 1993  Ian Lance Taylor  (ian@cygnus.com)
  1899.  
  1900.     * s/sco4.h (SCO): Don't define (no longer needed).
  1901.     (HAVE_SYS_TIME_H): Don't define (set by configure).
  1902.     (TIME_WITH_SYS_TIME): Define.
  1903.  
  1904. Thu May 20 19:29:55 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  1905.  
  1906.     * dispnew.c (preserve_other_columns): Remember to multiply the
  1907.     size argument to bcopy by the size of a glyph.
  1908.  
  1909. Thu May 20 09:43:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1910.  
  1911.     * keyboard.c (read_key_sequence): Reexamine this_command
  1912.     after pre-command-hook runs.
  1913.  
  1914.     * xterm.c (x_find_modifier_meanings): If some keys are meta and alt,
  1915.     make them just meta, not alt.
  1916.  
  1917. Wed May 19 15:12:42 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1918.  
  1919.     Some time-handling patches from Paul Eggert:
  1920.     * editfns.c (Fcurrent_time_zone): Take an optional argument specifying
  1921.     what (absolute) time should be used to determine the current time zone.
  1922.     Yield just offset and name of time zone, including DST correction.
  1923.     Yield time zone offset in seconds, not minutes.
  1924.     (lisp_time_argument, difftm): New functions.
  1925.     (Fcurrent_time_string): Use lisp_time_argument.
  1926.     * systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
  1927.     EMACS_GET_TZ_NAMES): Remove.
  1928.     * config.h.in: Add HAVE_TM_ZONE.
  1929.  
  1930.     Some more changes from Michael K. Johnson for Linux.
  1931.     * s/template.h: Mention that you should #define HAVE_TERMIO or
  1932.     HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
  1933.     * systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
  1934.     tcsetpgrp to *pgid; it's just a status value.
  1935.     * config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
  1936.     systems using XFree386, and perhaps is inappropriate in general.
  1937.     * m/intel386.h: #undefine the integer size macros, since the Linux
  1938.     <values.h> file #defines them itself.
  1939.     * mem-limits.h (get_lim_data): Linux has the ulimit call; if it
  1940.     fails, fall back on ULIMIT_BREAK_VALUE.
  1941.     * process.c: Linux needs the WAITTYPE, etc. definitions.
  1942.     * unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
  1943.     no need to use SYSV names.
  1944.     * s/linux.h: New file.
  1945.  
  1946.     Some changes from Michael K. Johnson for Linux.
  1947.     * sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
  1948.     #defined.  That lets the system provide it, if it has it.
  1949.     * syssignal.h (sigmask): Only define this if <signal.h> hasn't
  1950.     given us a definition already.
  1951.     * syssignal.h (sys_sigpause): Fix argument in prototype.
  1952.     * sysdep.c (init_signals): The masks are called empty_mask and
  1953.     full_mask, not signal_empty_mask and signal_full_mask.
  1954.     (signal_handler_t): Moved ....
  1955.     * syssignal.h: ... to here.
  1956.     * systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
  1957.     arguments.
  1958.     * emacs.c (main): Don't try to establish signal handlers for
  1959.     SIGBUS and SIGSYS unless they're actually #defined.
  1960.  
  1961.     * systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.
  1962.  
  1963.     * xdisp.c (redisplay_window): Compute the scrollbar start and end
  1964.     properly.
  1965.  
  1966. Wed May 19 10:25:56 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1967.  
  1968.     * keyboard.c (Fcurrent_input_mode): Return META as 3-way flag.
  1969.  
  1970. Wed May 19 00:35:25 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  1971.  
  1972.     * fileio.c (Ffind_file_name_handler): Check that FILENAME is a
  1973.     string.
  1974.  
  1975.     * process.c (wait_reading_process_input): Undo change of April
  1976.     29th, since that re-introduces the race condition the comments are
  1977.     warning about.  Call clear_waiting_for_input before calling
  1978.     status_notify, though.
  1979.  
  1980.     * process.c (wait_reading_process_input): Don't forget to call
  1981.     clear_waiting_for_input when we exit the loop because process
  1982.     input has arrived.
  1983.  
  1984.         Changes for Silicon Graphics Iris 5D.
  1985.     * unexelfsgi.c: New file; like unexelf.c, but tolerates program
  1986.     segments above BSS. 
  1987.     * m/iris5d.h: New file.
  1988.     * s/irix5-0.h: New file.
  1989.     * process.c [__sgi] (allocate_pty): Give up immediately if pty is
  1990.     inaccessible.
  1991.  
  1992. Wed May 19 00:16:55 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1993.  
  1994.     * keyboard.c (follow_key): Check char in range before UPPERCASEP.
  1995.  
  1996. Tue May 18 23:27:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  1997.  
  1998.     * xfns.c (x_set_menu_bar_lines): Fix typo in last change.
  1999.  
  2000.     * keyboard.c (make_lispy_event): Controlify lower case letters too.
  2001.  
  2002. Tue May 18 18:06:44 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2003.  
  2004.     * xdisp.c (display_text_line): If the newline (or C-m, in
  2005.     selective-display) has a non-default face, apply that face to the
  2006.     remainder of the line, so that the fill occupies the entire line.
  2007.  
  2008.     * xterm.c (x_new_font): Tell the frame display faces about the
  2009.     newly chosen font.
  2010.  
  2011.     Make sure that all the display faces use fonts of the
  2012.     same dimensions as the default face, so as not to confuse the rest
  2013.     of the redisplay code.
  2014.     * xfaces.c (same_size_fonts): New function.
  2015.     (merge_faces): Only merge in a new font from the FROM face if it
  2016.     is the same size as the font in the TO face.
  2017.  
  2018.     * xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
  2019.     menu bars.
  2020.  
  2021.     * keyboard.c (read_key_sequence): Don't lay down an unwind_protect
  2022.     to restore the original buffer until we actually get a mouse click.
  2023.  
  2024.     * window.c (window-dedicated-p): Doc fix.
  2025.  
  2026. Tue May 18 16:05:54 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2027.  
  2028.     * xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
  2029.     * keyboard.c (make_lispy_event): Controlify here.
  2030.  
  2031. Mon May 17 19:29:17 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2032.  
  2033.     * xdisp.c (redisplay_window): Make the scrollbar reflect the
  2034.     extent of the visible region, not the whole buffer.
  2035.  
  2036.     * xfaces.c (free_frame_faces): Don't free the resources from the
  2037.     first two faces.
  2038.  
  2039.     * lisp.h (malloc, realloc): Declare these to return void *, to
  2040.     avoid conflicts with ANSI header files.
  2041.  
  2042.     * sysdep.c (reset_sys_modes): Test the return value of
  2043.     EMACS_SET_TTY properly.
  2044.     * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
  2045.     values.
  2046.  
  2047. Sun May 16 18:36:32 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2048.  
  2049.     * config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME,
  2050.     CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these,
  2051.     since otherwise the autoconf tests in configure.in won't do us
  2052.     much good.
  2053.  
  2054. Sun May 16 09:41:12 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2055.  
  2056.     * buffer.c (overlays_at): New arg EXTEND.
  2057.     (Foverlays_at, Fnext_overlay_change): Pass 1.
  2058.     * xfaces.c (compute_char_face): Pass 0.
  2059.     Try first with small overlay_vec, then use a big enough one.
  2060.  
  2061.     * lread.c (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var.
  2062.     Set up Qcurrent_load_list.
  2063.     (readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving.
  2064.     (build_load_history): Do nothing when loading pure files.
  2065.  
  2066.     * xterm.c (dumpglyphs): Create a temporary merged gc
  2067.     when cursor falls on char with non-default face.
  2068.  
  2069.     * xterm.h (x_display): New field cursor_foreground_pixel.
  2070.     * xfns.c (x_set_cursor_color): Set cursor_foreground_pixel.
  2071.  
  2072.     * casefiddle.c (casify_region): Remove mistaken arg to record_change.
  2073.  
  2074. Sat May 15 16:46:05 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2075.  
  2076.     * xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it
  2077.     knows something has changed.
  2078.  
  2079.     * xfaces.c (unload_color): Don't try to unload the standard black
  2080.     or white pixel.
  2081.  
  2082.     More changes from David Mackenzie.
  2083.     * ymakefile (emacs): No need to edit srcdir into a lisp file and
  2084.     then load it; we can just take advantage of the PATH_DUMPLOADSEARCH.
  2085.     (crt0.o): Remember that crt0.c is in ${srcdir}.
  2086.  
  2087.         Install David Mackenzie's patches to make ${srcdir} work.
  2088.     * Makefile.in (srcdir, VPATH): Get this value from the top-level
  2089.     Makefile.
  2090.     (xmakefile): Use ${srcdir} to find the files from which we produce
  2091.     xmakefile.  Edit the values for srcdir and VPATH into xmakefile.
  2092.     * ymakefile (srcdir, VPATH): New definitions for the Makefile
  2093.     to edit.
  2094.     (ALL_CFLAGS): Remove `-Is' and `-Im'; add `-I${srcdir}', and
  2095.     `-I.'.
  2096.     (emacs): Adjust dumping commands to deal with a separate source
  2097.     directory.
  2098.     (${etc}DOC): Pass `-d ${srcdir}' to make-docfile, to tell it where
  2099.     to find the source files.
  2100.     (prefix-args): Find the source code in ${srcdir}.
  2101.  
  2102.     * process.c (wait_reading_process_input): If we're running
  2103.     Solaris, it's not necessary to check if we should redeliver SIGIO,
  2104.     according to David Mackenzie.
  2105.     * s/sol2.h: #include "usg5-4.h", and #define const.
  2106.  
  2107.     * systime.h: Borrow CPP sequence from getdate.y to include the
  2108.     proper combination of <time.h> and <sys/time.h>.
  2109.  
  2110. Sat May 15 13:12:16 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2111.  
  2112.     * window.h (struct window): New slot region_showing.
  2113.     * xdisp.c (mark_window_display_accurate): Set region_showing fields.
  2114.     (redisplay_window): Update region_showing field.
  2115.     (display_text_line): Set region_showing to t if will show one.
  2116.  
  2117.     * xselect.c (Fx_selection_exists_p): Handle nil, t as SELECTION arg.
  2118.     Don't die if SELECTION is not recognized.
  2119.  
  2120.     * dispnew.c (direct_output_forward_char): Just give up
  2121.     if region is being highlighted.
  2122.  
  2123.     * xdisp.c (redisplay, redisplay_window): Don't use the cursor-motion
  2124.     special-case code if the region is or was highlighted.
  2125.     
  2126.     * xfaces.c (compute_char_face): New args REGION_BEG, REGION_END.
  2127.     Don't sort if noverlays is 0 or 1.
  2128.  
  2129.     * dispnew.c (direct_output_for_insert): Pass those args.
  2130.     * xdisp.c (display_text_line): Pass those args,
  2131.     describing the region if the mark is transient and active.
  2132.  
  2133. Fri May 14 18:54:54 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2134.  
  2135.     * buffer.c (Fmove_overlay): If the overlay is in no buffer and the
  2136.     BUFFER argument has been omitted, put it in the current buffer,
  2137.     for symmetry with move-marker.
  2138.  
  2139.     * buffer.c (Fdelete_overlay): Make the overlay's markers point
  2140.     nowhere, not at 1.  Do this after calling redisplay_region, so
  2141.     that code knows what section has changed.
  2142.  
  2143. Fri May 14 11:49:31 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2144.  
  2145.     * xdisp.c (display_menu_bar): Update FRAME_MENU_BAR_ITEMS here.
  2146.     * keyboard.c (command_loop_1): Don't do it here.
  2147.  
  2148.     * keymap.c (access_keymap): Handle any length vector.
  2149.     (store_in_keymap): Likewise.
  2150.     (Fcopy_keymap): Likewise.
  2151.  
  2152. Fri May 14 11:30:40 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2153.  
  2154.     * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer,
  2155.     Foverlay_properties): Functions moved here from subr.el.
  2156.  
  2157. Thu May 13 15:30:59 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2158.  
  2159.     * xfaces.c (compute_char_face): When merging the overlays,
  2160.     traverse sortvec, not overlay_vec; the latter isn't the one we
  2161.     sorted.
  2162.  
  2163.     * xterm.c (dumpglyphs): Give the cursor higher priority than the
  2164.     face specified by the glyph under it.
  2165.  
  2166.     * xterm.c (dumpglyphs): Move the underline up a row.  I dislike
  2167.     the way X addresses pixels.  Quickdraw is much nicer.
  2168.  
  2169.     * xfaces.c (intern_face): If the face has a GC, but it's not the
  2170.     default or modeline face, abort.  Nothing but those two faces
  2171.     should have a GC *and* be passed to intern_face.
  2172.     (compute_char_face, compute_glyph_face): After copying
  2173.     the frame's default face into face, to use as a base case for
  2174.     calculation, set the `gc' member to zero; that way we don't have
  2175.     things lying around that look like display faces but aren't.
  2176.  
  2177.     * xfaces.c (intern_frame_face): When copying the new face into the
  2178.     frame's face array, remember that the number of bytes to copy is
  2179.     sizeof (*new_face), not sizeof (new_face).
  2180.  
  2181.     * xfaces.c (compute_char_face): Assume that W is displaying the
  2182.     current buffer.  Abort if it isn't.
  2183.  
  2184.     * lisp.h (Lisp_Overlay): New tag.
  2185.     (OVERLAYP): New predicate.
  2186.     (CHECK_OVERLAY): New type-checker.
  2187.     (Qoverlayp): New extern declaration.
  2188.     * buffer.c (Foverlayp): New function.
  2189.     (Qoverlayp): New atom.
  2190.     (overlays_at, recenter_overlay_lists): Abort if we encounter an
  2191.     invalid overlay.
  2192.     (syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
  2193.     (Fdelete_overlay): Set the overlay's markers to point nowhere.
  2194.     Use CHECK_OVERLAY instead of signalling a special error.
  2195.     (Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
  2196.     signalling a special error.
  2197.     (Foverlay_get): Use CHECK_OVERLAY.
  2198.     * fns.c (internal_equal): Define this for overlays.
  2199.     * buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
  2200.     * print.c (print): Give overlays their own print syntax.
  2201.     * alloc.c (mark_object): Treat overlays like conses.
  2202.  
  2203.     * lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
  2204.     is not defined.
  2205.  
  2206.     * buffer.c (Foverlay_get): Return Qnil if the requested property
  2207.     is missing from the property list.
  2208.  
  2209.         The text property routines can now modify buffers other
  2210.     than the current one.
  2211.     * insdel.c (modify_region): New argument BUFFER.  Select that
  2212.     buffer while we prepare for the modification, and switch back when
  2213.     we're done.
  2214.     * textprop.c (add_properties, remove_properties): Pass
  2215.     the buffer being modified as the first argument to modify_region.
  2216.     * editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
  2217.     current_buffer as the first argument to modify_region.
  2218.     * casefiddle.c (casify_region): Same.
  2219.  
  2220.     * dispnew.c (direct_output_for_insert): Compute the face of the
  2221.     character we're inserting properly.
  2222.  
  2223.     * xterm.c (dumpglyphs): Pass the proper arguments to intern_face.
  2224.  
  2225.     * xterm.c (dumpglyphs): Don't increment left twice.
  2226.  
  2227.     * intervals.c (set_point): Check for point out of bounds before
  2228.     checking for an empty interval tree. 
  2229.  
  2230.     * cmds.c (Fforward_char): Check proposed new position, and then
  2231.     set point, instead of setting point to a potentially invalid
  2232.     position.
  2233.  
  2234.     * lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>
  2235.     to get the extern declarations for atof.  That's where it is in
  2236.     POSIX.
  2237.  
  2238. Wed May 12 20:58:46 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2239.  
  2240.         * ymakefile (xfaces.o): Add window.h to the dependencies.
  2241.  
  2242.     * xfaces.c (intern_frame_face): Exchange order of arguments, to
  2243.     make callers correct.
  2244.  
  2245.     * xfaces.c (compute_char_face): Notice the next property change
  2246.     location correctly.
  2247.  
  2248.     * xfaces.c (face_name_id_number): Return 0 (the default face) if
  2249.     the name is undefined.
  2250.  
  2251.     * xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
  2252.     is an X frame.
  2253.  
  2254.     * xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
  2255.     (display_text_line): Initialize current_face to zero.   Apply it
  2256.     to characters as we write them to the display matrix.
  2257.     (display_string): Pass the new argument to copy_rope.
  2258.  
  2259.     * xdisp.c (display_text_line): Handle the locations of face
  2260.     changes properly.
  2261.  
  2262.     * textprop.c (Fnext_single_property_change,
  2263.     Fprevious_single_property_change): Pass arguments to textget in
  2264.     the right order.
  2265.  
  2266.     * ymakefile (xfns.o): Remove duplication of buffer.h in dependencies.
  2267.  
  2268.     * ymakefile ($(OLDXMENU)): Remove extraneous call to `rm'.
  2269.  
  2270. Wed May 12 10:44:29 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2271.  
  2272.     * keymap.c (Faccessible_keymaps): Use whatever size the vector has.
  2273.     (Fwhere_is_internal): Likewise.
  2274.     (describe_vector): Likewise.
  2275.     (current_minor_maps): Call Findirect_function, so symbols
  2276.     can be used in place of actual maps.
  2277.  
  2278.     * xdisp.c (display_text_line): Use break; to exit loop at eol.
  2279.     Duplicate the short MAKE_GLYPH loop after the main loop.
  2280.     If no display table, do obey selective_display_ellipses.
  2281.     (copy_part_of_rope): Arg FROM is now Lisp_Object *.
  2282.  
  2283.     * xfaces.c: Do include window.h.
  2284.     (compute_char_face): Supply third arg of Fget_text_property.
  2285.  
  2286.     * keyboard.c (make_lispy_event): Don't set shift modifier for C-^.
  2287.  
  2288.     * callproc.c (child_setup): Omit duplicates from new env array.
  2289.  
  2290. Mon May 10 16:50:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2291.  
  2292.         * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
  2293.         filesystem being ro, since Solaris 2.1 doesn't.
  2294.         (file-writable-p): Call ro_fsys.
  2295.     * s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
  2296.  
  2297.     * systime.h: Use the strategy from getdate.y to include the proper
  2298.     combination of <time.h> and <sys/time.h>.
  2299.  
  2300.     * xfns.c (Fx_create_frame): Use an XLFD name for the default font,
  2301.     instead of "9x15" or whatever it was.
  2302.  
  2303.     * xdisp.c (display_text_line): Make face-handling code conditional
  2304.     on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
  2305.     but it'll do for now.
  2306.  
  2307.     * xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
  2308.     macro here; that's x-specific.  Just don't pass the second
  2309.     argument.
  2310.     * xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
  2311.     use F's default face.
  2312.  
  2313. Sun May  9 16:10:08 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2314.  
  2315.     * xfaces.c (Fmake_face_internal): Do nothing for non-X frames.
  2316.  
  2317.     * dispextern.h (struct face): Add cached_index member.
  2318.     * xfaces.c (get_cached_face): Use it to avoid unnecessary
  2319.     searches of face_vector.
  2320.  
  2321.     * xfaces.c (intern_face): Renamed from get_display_face.
  2322.  
  2323.     * xfns.c (x_make_gc): After building the GC's for the frame, call
  2324.     init_frame_faces to set up the first two faces.
  2325.     * xfaces.c (init_frame_faces): Don't just try to copy the default
  2326.     and mode line faces from some other random frame; instead, consult
  2327.     the normal_gc and reverse_gc members of the frame, and build the
  2328.     faces based on their parameters.
  2329.  
  2330.     Adjust the face computation functions to return frame face ID's,
  2331.     not pointers to display faces; since we call these functions
  2332.     during display construction, we don't want the display faces yet.
  2333.     * xfaces.c (intern_frame_face): New function.
  2334.     (compute_char_face, compute_glyph_face): Apply intern_frame_face
  2335.     to the computed face, and return the frame face's ID, instead of
  2336.     calling intern_face and returning a pointer to a display frame.
  2337.  
  2338.     * xfaces.c: Describe the facial data structures.  It took me a
  2339.     while to figure them out; perhaps this will save someone else the
  2340.     trouble.
  2341.  
  2342.     Arrange to tell redisplay about changes in overlays.
  2343.     * xdisp.c (redisplay_region): New function.
  2344.     * buffer.c (Fmove_overlay): Call redisplay_region on the areas the
  2345.     overlay has enclosed or left.
  2346.     (Fdelete_overlay): Call redisplay_region on the area the overlay
  2347.     used to occupy.
  2348.     (Foverlay_put): Call redisplay_region on the area the overlay now
  2349.     occupies; we may have put a face property on it.
  2350.  
  2351.     * buffer.c (Fmove_overlay): Doc fix.
  2352.  
  2353.     * xdisp.c (redisplay): If we're doing a thorough redisplay (all
  2354.     windows on all frames involved), go ahead and flush the GC cache -
  2355.     call clear_face_vector.
  2356.  
  2357.     * xdisp.c (display_text_line): Apply faces to characters
  2358.     according to overlays and text properties; use
  2359.     compute_char_face and compute_glyph_face to figure out what
  2360.     face to use, and where a new face starts.
  2361.     * xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
  2362.     which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
  2363.     we're implementing the glyph table properly.  If we're not using
  2364.     the default or mode line face, call intern_face to find a display
  2365.     face for the frame face selected by the glyph code.  Implement
  2366.     underlining.  Remove the `font' argument; we have to derive this
  2367.     from the frame and face anyway.  Change all callers.
  2368.     * disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
  2369.  
  2370.     * xterm.c (x_destroy_window): Call free_frame_faces.
  2371.  
  2372.     The GNU coding standards specify that CFLAGS should be left for
  2373.     users to set.
  2374.     * ymakefile (ALL_CFLAGS): Set this to the long string of
  2375.     compilation switches, not CFLAGS.  Changed all uses.
  2376.     (CFLAGS): Make this default to just -g.
  2377.     (.c.o): Define new default rule, to make sure that the right flags
  2378.     get to the compilations.
  2379.  
  2380. Sun May  9 13:47:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2381.  
  2382.     * keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.
  2383.  
  2384.     * pwd.h: File deleted.
  2385.  
  2386. Sat May  8 23:18:50 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2387.  
  2388.     * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
  2389.     used by any configuration right now, but he's trying to make it
  2390.     work.
  2391.     #include "sunos4-1.h" instead of "bsd4-2.h".
  2392.     (O_NDELAY): Don't define this.
  2393.     (SYSTEM_MALLOC): Don't define this, either.
  2394.     (LD_SWITCH_SYSTEM): Remove the definition for this.
  2395.  
  2396.     * Makefile.in (DEFS): Remove this; we have configure build a
  2397.     config.h file directly, instead of having lots of -D flags.
  2398.  
  2399.     * Makefile.in (CFLAGS): Don't make this carry DEFS from the
  2400.     configure script; the coding standards say that CFLAGS should be
  2401.     left for the user to tweak.
  2402.  
  2403. Sat May  8 10:54:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2404.  
  2405.     * keyboard.c (do_mouse_tracking): Now static.
  2406.  
  2407.     * xmenu.c (Fx_popup_menu): Add a vector of prefix keys for the panes.
  2408.     (keymap_panes): Allocate that vector.
  2409.     (single_keymap_panes): Fill in that vector.
  2410.     (xmenu_show): Return a list of events, not just one event.
  2411.  
  2412.     * keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
  2413.     to return a list of events.  Don't lose any of them.
  2414.  
  2415.     * xfns.c (Fx_get_mouse_event, Fx_mouse_events): Code deleted.
  2416.     * window.c (Vmouse_event): Var deleted.
  2417.     (syms_of_window): Don't make it a Lisp var.
  2418.  
  2419.         * keyboard.c (read_avail_input, Fset_input_mode): Make
  2420.         meta_key a three-value variable to support 8-bit input.
  2421.  
  2422. Fri May  7 00:06:50 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2423.  
  2424.     * ymakefile [__GNUC__ && __GNUC__ > 1] (LIB_GCC): Set this even if
  2425.     LINKER is #defined.
  2426.  
  2427.     * ymakefile ($(OLDXMENU)): Remove the link before we re-create it;
  2428.     not all versions of ln have the `-f' flag.  Use the LN_S variable,
  2429.     inherited from src/Makefile.
  2430.  
  2431.     * Makefile.in (LN_S): New variable, edited by top Makefile.
  2432.     (SUBMAKEFILE): New variable, containing all flags to pass to
  2433.     recursive makes.
  2434.  
  2435.     * config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
  2436.     instead of AC_OUTPUT.
  2437.  
  2438.     * xfaces.c (get_display_face): Use face_eql instead of writing it out.
  2439.  
  2440. Thu May  6 15:04:21 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2441.  
  2442.     * keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
  2443.     returning a non-ascii key sequence unless FIRSTONLY is the symbol
  2444.     `non-ascii'.
  2445.  
  2446.     * config.h.in: Remove mention of GLYPH datatype; that shouldn't be
  2447.     a user option.
  2448.     * lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
  2449.  
  2450. Thu May  6 13:04:32 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2451.  
  2452.     * xfns.c (x_get_arg): Call Fintern, not intern.
  2453.  
  2454.     * systime.h [SCO]: Include time.h.
  2455.     * s/sco4.h: New file.
  2456.  
  2457.     * ymakefile (LIBXMENU): Delete -loldX.
  2458.  
  2459.     * emacs.c (main): Handle -display like -d.
  2460.  
  2461. Wed May  5 19:56:25 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2462.  
  2463.     * s/template.h: Explain the relative significance of the SIGIO and
  2464.     INTERRUPT_INPUT macros.
  2465.  
  2466.     * ymakefile (buffer.o, insdel.o): Note that these files also
  2467.     depend on blockinput.h.
  2468.  
  2469.     * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
  2470.     defined everywhere this file is #included; merge the two
  2471.     definitions for defined (SIGIO) and ! defined (SIGIO) into one,
  2472.     which calls reinvoke_input_signal if interrupt_input_pending is
  2473.     set.
  2474.     * keyboard.c (reinvoke_input_signal): New function.
  2475.  
  2476. Tue May  4 18:13:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2477.  
  2478.     * window.c (Fdisplay_buffer): Add space to prompt.
  2479.  
  2480. Tue May  4 08:58:06 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2481.  
  2482.     * keyboard.c (syms_of_keyboard): Doc fix for
  2483.     extra-keyboard-modifiers.
  2484.  
  2485.     * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL,
  2486.     CHAR_META): Shift these all up one bit, back to where they were.
  2487.  
  2488. Sun May  2 21:07:12 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2489.  
  2490.     * keymap.c (Fdefine_prefix_command): Doc fix.
  2491.  
  2492.     * ymakefile (C_DEBUG_SWITCH): Undo April 10 change.
  2493.  
  2494. Sat May  1 09:20:40 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2495.  
  2496.     * keyboard.c (Fsuspend_emacs): Doc fix.
  2497.  
  2498. Fri Apr 30 13:28:13 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2499.  
  2500.     * data.c (Ffset): Refuse to set the function value of t or nil.
  2501.  
  2502. Thu Apr 29 12:00:35 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2503.  
  2504.         Implement extra_keyboard_modifiers properly.
  2505.     * keyboard.c (syms_of_keyboard): Doc fix for
  2506.     extra-keyboard-modifiers; use the same modifier bits as we do for
  2507.     characters.
  2508.     (read_char): Apply all the modifiers in extra_keyboard_modifiers
  2509.     to the input characters, so you can get hyper, super, and the rest
  2510.     of the gang.
  2511.     * xterm.c (x_emacs_to_x_modifiers): New function.
  2512.     (x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
  2513.     consistency.  Callers changed.
  2514.     (XTread_socket): Apply x_emacs_to_x_modifiers to
  2515.     extra_keyboard_modifiers before setting the state member of the
  2516.     event; this will get all the modifiers on ASCII characters.
  2517.  
  2518.     * xterm.c (x_text_icon): Don't call XSetIconName; it should be
  2519.     unnecessary, and perhaps it's killing the icon pixmap.
  2520.  
  2521.     * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
  2522.     case we need them.
  2523.     * termhooks.h (alt_modifier, super_modifier, hyper_modifier,
  2524.     shift_modifier, ctrl_modifier, meta_modifier): Define these in
  2525.     terms of the CHAR_mumble macros, to avoid having the same thing
  2526.     defined in two places.
  2527.  
  2528.     * keyboard.c (kbd_buffer_get_event): Don't generate switch-frame
  2529.     events if they'd only switch to the frame already selected.  This
  2530.     avoids lots of extra switch-frame events when using a separate
  2531.     minibuffer.
  2532.  
  2533. Thu Apr 29 09:11:42 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2534.  
  2535.     * keyboard.c (Fthis_command_keys): Doc fix.
  2536.  
  2537.     * process.c (wait_reading_process_input): Move the status_notify
  2538.     call before the set_waiting_for_input call.
  2539.  
  2540.     * fileio.c (Fexpand_file_name): Undo last change--too risky for now.
  2541.  
  2542.     * data.c (Fdefine_function): New function (same code as Fdefalias).
  2543.  
  2544. Wed Apr 28 17:08:18 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2545.  
  2546.     * eval.c (do_autoload): Fixed the bug in the autoload-saving code.
  2547.  
  2548. Wed Apr 28 16:36:54 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2549.  
  2550.     * keyboard.c (Fcurrent_input_mode): New function.
  2551.  
  2552. Tue Apr 27 21:59:59 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2553.  
  2554.     * eval.c (un_autoload): Don't try to save old autoload forms when
  2555.     we load something in.  Something about the code now conditioned
  2556.     out by UNLOAD was screwing up ordinary autoloads, notably of
  2557.     picture.el.  When I figure out what, I'll fix and re-enable this
  2558.     code.
  2559.  
  2560. Tue Apr 27 12:03:34 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2561.  
  2562.     * buffer.c (syms_of_buffer): Doc fix for buffer-display-table.
  2563.  
  2564.     * systime.h: Doc fix.
  2565.     (EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
  2566.     millisecond.  What's three orders of magnitude between friends?
  2567.     * dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
  2568.     `milliseconds' argument by 1000 to get microseconds.
  2569.  
  2570. Mon Apr 26 21:54:00 1993  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  2571.  
  2572.     * fileio.c (Fexpand_file_name):
  2573.     Don't remove trailing / from NEWDIR if just "/".
  2574.  
  2575. Mon Apr 26 13:29:53 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2576.  
  2577.     * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h,
  2578.     m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
  2579.     configure script.
  2580.     * s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
  2581.     derived by configure script.
  2582.  
  2583.     Arrange for Fy_or_n_p to put off switch-frame events.
  2584.     * lread.c (read_filtered_char): New function, which contains the
  2585.     code which used to be in Fread_char, Fread_event, and
  2586.     Fread_char_exclusive; there was a lot of common code.
  2587.     (Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
  2588.     of read_filtered_char.
  2589.     * lisp.h (read_filtered_char): Declare this extern here.
  2590.     * fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
  2591.     switch-frame events.
  2592.  
  2593.     * keyboard.c (read_key_sequence): Let the `modifiers' variable in
  2594.     the code which deals with KEY being unbound be an int, not a
  2595.     Lisp_Object.
  2596.  
  2597.     * config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we
  2598.     should exclude the getenv declaration; instead, test NOT_C_CODE.
  2599.     Per suggestion from Francesco Potorti`.
  2600.     * ymakefile (NOT_C_CODE): Define this; it's true, and useful.
  2601.  
  2602.     * dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a
  2603.     floating point value.
  2604.  
  2605. Mon Apr 26 05:15:13 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2606.  
  2607.     * sysdep.c (read_pending_input):
  2608.     Fix the garbaged-modifiers bug under System Vs previous
  2609.     to r4.
  2610.  
  2611. Sun Apr 25 19:00:03 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2612.  
  2613.     * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
  2614.     functions in sysdep.c.
  2615.     * sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
  2616.  
  2617.     * sysdep.c (emacs_set_tty): Call tcsetattr over and over again
  2618.     until it does all of what we ask it to, or returns an error.
  2619.  
  2620.     * search.c (Freplace_match): Arrange for markers sitting at the
  2621.     beginning or end of the original text to float to the
  2622.     corresponding position in the replacement text.
  2623.  
  2624. Sun Apr 25 06:15:18 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2625.  
  2626.     * window.c (Fset-window-buffer):
  2627.     Set horizontal-scrolling on a window to zero when
  2628.     we connect it to a new buffer.
  2629.  
  2630.     * buffer.c: Doc fix.
  2631.  
  2632. Sat Apr 24 18:19:50 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2633.  
  2634.     Make the modifier manipulation functions more robust.  The old way
  2635.     caused a bug once, and probably would again.
  2636.     * termhooks.h (alt_modifier, super_modifier, hyper_modifier,
  2637.     shift_modifier, ctrl_modifier, meta_modifier): Shift these all
  2638.     down one bit in value, to avoid sign extension problems.
  2639.     * lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
  2640.     * keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
  2641.     what our table of modifier names can handle.
  2642.     (apply_modifiers): Don't abort if you see extra modifier bits,
  2643.     just remove them.
  2644.  
  2645. Fri Apr 23 03:40:03 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2646.  
  2647.     * data.c (Fdefine_function):
  2648.     Changed name back to Fdefalias, so we get things
  2649.     in a known-good state.
  2650.  
  2651.     * buffer.h (BUF_NARROWED, NARROWED):
  2652.     New macros to test whether a region
  2653.     restriction has narrowed the buffer.
  2654.  
  2655. Sat Apr 17 06:45:29 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2656.  
  2657.     * systime.h: Comment fixes.
  2658.  
  2659.     * data.c (Fdefine_function): New function.
  2660.  
  2661.     * lisp.h (LOADHIST_ATTACH): New macro.
  2662.     (Vcurrent_load_list, Vload_history): Vars declared.
  2663.  
  2664.     * eval.c: (defun, defmacro, defvar, defconst):
  2665.     Attach symbol argument to the list of globals for the input source.
  2666.     (do_autoload): Save the old autoloads, in case we ever unload.
  2667.  
  2668.     * fns.c (provide, require): Put appropriately-marked
  2669.     conses in the current-globals list.
  2670.  
  2671.     * lread.c (readevalloop):
  2672.     New argument is the source file name (or nil if none).
  2673.     All calls changed.  Do the two-step
  2674.     necessary to call build_load_history with the correct current-globals
  2675.     list for the current recursion.
  2676.     (build_load_history): New function.
  2677.     (eval_region, eval_buffer): Call readevalloop with new arg.
  2678.     (load_history): New variable.
  2679.  
  2680. Fri Apr 16 19:36:29 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  2681.  
  2682.     * lread.c (readevalloop): New argument is the source file name (or
  2683.     nil if none).  All calls changed.  Do the two-step
  2684.     necessary to call build_load_history with the correct current-globals
  2685.     list for the current recursion.
  2686.     (build_load_history): New function.
  2687.     (Feval_region, Feval_buffer): Call readevalloop with new arg.
  2688.     (Vload_history): New variable.
  2689.  
  2690.     * fns.c (Fprovide, Frequire): Put appropriately-marked
  2691.     conses in the current-globals list.
  2692.  
  2693.     * eval.c (Fdefun, Fdefmacro, Fdefvar, Fdefconst):
  2694.     Attach symbol argument to the list of globals for the input source.
  2695.     (do_autoload): Save the old autoloads, in case we ever unload.
  2696.  
  2697.     * data.c (Fdefine_function): New function.
  2698.  
  2699. Fri Apr 16 17:05:30 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2700.  
  2701.     * fileio.c (Fmake_symbolic_link): If a file already exists under
  2702.     the link's filename, delete the file which the link
  2703.     would replace, not the file the link would point at.
  2704.  
  2705.     * config.h.in (volatile): Don't define this to be the empty string
  2706.     if some file has #defined HAVE_VOLATILE.
  2707.  
  2708.     * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
  2709.     ':' elsewhere, just have it default to ':' if not #defined, and
  2710.     #define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
  2711.     * s/vms.h (SEPCHAR): #define this to be ','.
  2712.     * s/template.h (SEPCHAR): Mention this.
  2713.  
  2714. Tue Apr 13 00:36:38 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2715.  
  2716.     * s/vms.h (xfree): #define this to emacs_xfree, to avoid case
  2717.     conflict with XFree; on VMS, external symbols are case-insensitive.
  2718.  
  2719.     * s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures
  2720.     that out now.
  2721.  
  2722.     Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
  2723.     * s/mach2.h: copied from the Emacs 18.59 distribution.
  2724.     Don't define NO_REMAP, define START_FILES as
  2725.     `pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
  2726.     default `-lm -lc' (there is no libc on the NeXT).
  2727.     * ymakefile (STARTFILES): Allow config.h to set this value even if
  2728.     ORDINARY_LINK is defined.
  2729.     * unexnext.c: Fix subdirectories for the machine dependent include
  2730.     files for NeXTStep 3.0; #include <mach/mach.h> and
  2731.     <mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
  2732.     (getsectbyname): Remove prototype for this; the system #include
  2733.     files take care of that.
  2734.     (malloc_cookie): New variable.
  2735.     (unexec_doit): Set malloc_cookie to the result returned by
  2736.     malloc_freezedry.
  2737.     * emacs.c (main): Declare malloc_cookie to be extern, so that we can
  2738.     get the value set when we dumped and pass it to malloc_jumpstart.
  2739.     * systime.h: The NeXT has a timezone function.
  2740.  
  2741. Mon Apr 12 21:13:58 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2742.  
  2743.     * ymakefile ($(OLDXMENU)): Remove $(OLDXMENU) before trying to
  2744.     link in a new version.
  2745.  
  2746.     * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
  2747.     Qoverflow_error, Qunderflow_error): Add extern to these declarations.
  2748.  
  2749. Mon Apr 12 20:38:39 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2750.  
  2751.     * xfaces.c: Don't include Xmu/Drawing.h.
  2752.  
  2753. Sat Apr 10 04:27:26 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2754.  
  2755.     * Makefile.in (xmakefile): Recognize the -O option with a numeric
  2756.     optimization level.
  2757.  
  2758.     * ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
  2759.     higher, use -O99 instead of plain -O.
  2760.  
  2761. Fri Apr  9 02:18:49 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  2762.  
  2763.     * keyboard.c (command_loop_1): Rebuild menu bar if
  2764.     update_mode_lines is set.
  2765.  
  2766.         long_to_cons and cons_to_long are generally useful things; they're
  2767.     needed whether or not X is defined.
  2768.     * xselect.c (long_to_cons, cons_to_long): Moved from here...
  2769.     * data.c    (long_to_cons, cons_to_long): ... to here.
  2770.     * lisp.h    (long_to_cons, cons_to_long): Add extern declaration.
  2771.  
  2772.     * xmenu.c (Qmenu_enable): Definition moved...
  2773.     (syms_of_xmenu): ... along with initialization ...
  2774.     * keyboard.c (Qmenu_enable): ... to here ...
  2775.     (syms_of_keyboard): ... and here.
  2776.  
  2777.     * keyboard.c (kbd_buffer_get_event): If we get a selection clear
  2778.     or selection request event, but we were compiled without the
  2779.     window-system-specific code to handle it, abort.  Don't try to
  2780.     call a function which doesn't exist.
  2781.  
  2782.     * keyboard.c (make_lispy_event): In the code which processes mouse
  2783.     clicks, declare f to be a FRAME_PTR, not a struct frame *; this
  2784.     works when MULTI_FRAME is not #defined.
  2785.  
  2786.     * xfaces.c (sort_overlays): Define this to be static, as declared.
  2787.  
  2788.     * callproc.c (relocate_fd): Make messages string literals, not
  2789.     initialized arrays.
  2790.  
  2791.     * alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
  2792.     these extern, not static.  (!)
  2793.  
  2794.     * alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook,
  2795.     old_realloc_hook): Declare that the functions these point to return
  2796.     void *, not void.
  2797.  
  2798.         Adjust for autoconf merger.
  2799.     * config.h.in: Add extra line to top, in case autoconf gets fixed
  2800.     and decides not to add Makefile-style comments to the top of the
  2801.     files it generates which we are forced to lop off.
  2802.     Indicate that the boolean macros here get their definitions via
  2803.     the DEFS Makefile variable.
  2804.     Adjust the operating system and machine #includes to use
  2805.     autoload's @cookies@.
  2806.     (RETSIGTYPE): Give this a default value.
  2807.     (SIGTYPE): Set this from RETSIGTYPE.
  2808.     (LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
  2809.     * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
  2810.     (xmakefile): Pass CFLAGS to ${CPP}.
  2811.  
  2812.     * buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
  2813.     arguments.
  2814.     (recenter_overlay_lists): New argument BUF, to use instead of the
  2815.     current buffer.
  2816.     (Foverlay_recenter): Pass the appropriate arguments to
  2817.     recenter_overlay_lists.
  2818.  
  2819.     * buffer.c (Fdelete_overlay): Don't assume that overlay is in the
  2820.     current buffer.  Don't forget to declare the argument a Lisp_Object.
  2821.  
  2822.     * dispnew.c (getenv): Extern declaration deleted; this is done in
  2823.     config.h.
  2824.  
  2825.     * Makefile.in (tagsfiles): Remove external-lisp from this list of
  2826.     files; we're not distributing it, so the normal build process
  2827.     shouldn't depend on it.
  2828.  
  2829.     * dispnew.c (init_display): Compare the return value of getenv to
  2830.     zero before setting display_arg, instead of just using the pointer
  2831.     as a truth value.
  2832.  
  2833. Thu Apr  8 02:53:42 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2834.  
  2835.     * xdisp.c (message, message1): If noninteractive and
  2836.     cursor_in_echo_area, don't print a newline at end of message.
  2837.  
  2838.     * fns.c (Fy_or_n_p): Echo the answer just once, at exit.
  2839.  
  2840.     * keyboard.c (echo_dash): Do nothing if echoptr is 0.
  2841.  
  2842.     * buffer.c (Fkill_all_local_variables): Store each var's current value
  2843.     in the buffer's alist entry, before reverting to the default value.
  2844.  
  2845. Wed Apr  7 19:53:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2846.  
  2847.     * keyboard.c (apply_modifiers): Fix typo in sanity check.
  2848.  
  2849.     * keyboard.c (interrupt_input_blocked, interrupt_input_pending):
  2850.     Remove `extern' keywords - these are the definitions.
  2851.  
  2852. Wed Apr  7 16:04:23 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  2853.  
  2854.     * blockinput.h (UNBLOCK_INPUT): Fix typo.
  2855.     (interrupt_input_blocked): Make this signed int.
  2856.  
  2857.     * search.c (search_buffer): Fix typo in previous change.
  2858.  
  2859.     * insdel.c, buffer.c: Include blockinput.h.
  2860.  
  2861.     * xterm.c: Fix typo in comment delimiter.
  2862.  
  2863. Wed Apr  7 10:42:40 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2864.  
  2865.     * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
  2866.     of defining LINKER to use cc.
  2867.     * s/aix3-1.h (LINKER): Don't use cc for linking command if we're
  2868.     using GCC.
  2869.     * s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
  2870.  
  2871.     * xterm.c (updating_frame): Declare this extern instead of static,
  2872.     so it's the same variable as the updating_frame in term.c.
  2873.     (XTupdate_begin, XTupdate_end): Don't bother to set
  2874.     updating_frame; the term.c functions take care of that for us.
  2875.  
  2876. Mon Apr  5 17:00:32 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  2877.  
  2878.     * s/vms.h (EXEC_SUFFIXES): Add definition for this.
  2879.  
  2880. Wed Mar 31 02:13:22 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2881.  
  2882.     * xfaces.c: Doc fixes.
  2883.  
  2884.     Put interrupt input blocking in a separate file from xterm.h.
  2885.     This isn't specific to X, and it allows us to avoid #including
  2886.     xterm.h in files that don't really have anything to do with X.
  2887.     * blockinput.h: New file.
  2888.     * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
  2889.     UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
  2890.     (x_input_blocked, x_pending_input): Deleted; there are analogs
  2891.     in blockinput.h called interrupt_input_blocked and
  2892.     interrupt_input_pending.
  2893.     * keyboard.c (interrupt_input_blocked, interrupt_input_pending):
  2894.     New variables, used by the macros in blockinput.h.
  2895.     * xterm.c: #include blockinput.h.
  2896.     (x_input_blocked, x_pending_input): Deleted.
  2897.     (XTread_socket): Test and set interrupt_input_blocked and
  2898.     interrupt_input_pending instead of the old variables.
  2899.     * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
  2900.     #include blockinput.h.
  2901.     * eval.c: #include blockinput.h instead of xterm.h.
  2902.     * keyboard.c: #include blockinput.h.
  2903.     (input_poll_signal): Just test
  2904.     interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
  2905.     x_input_blocked.
  2906.  
  2907.     Block the processing of interrupt input while we're manipulating the
  2908.     malloc heap.
  2909.     * alloc.c: (xfree): New function, to make it easy to free things
  2910.     safely.
  2911.     (xmalloc, xrealloc): Block X input while doing the deed.
  2912.     (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
  2913.     instead of free.
  2914.     (uninterrupt_malloc): New function, to install input-blocking
  2915.     hooks into the GNU malloc routines.
  2916.     * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
  2917.     on startup.
  2918.     * alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
  2919.     Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
  2920.     Use xmalloc instead of malloc; don't bother to check if out of
  2921.     memory here.
  2922.     (Fgarbage_collect): Call xrealloc instead of realloc.
  2923.     * buffer.c: Use xmalloc and xfree instead of malloc and free;
  2924.     don't bother to check if out of memory here.
  2925.     (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
  2926.     calls to ralloc routines.
  2927.     * insdel.c: Same.
  2928.     * lisp.h (xfree): New extern declaration.
  2929.     * xfaces.c (xfree): Don't #define this to be free; use the
  2930.     definition in alloc.c.
  2931.     * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
  2932.     xmenu.c, xterm.c: Use xfree instead of free.
  2933.     * hftctl.c: Use xfree and xmalloc instead of free and malloc.
  2934.     * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
  2935.     and malloc.
  2936.     * search.c: Since the regexp routines can malloc, BLOCK_INPUT
  2937.     while runing them.  #include blockinput.h.
  2938.     * sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
  2939.     of free and malloc.  BLOCK_INPUT around routines which we know
  2940.     will call malloc.
  2941.     
  2942.     ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
  2943.     xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
  2944.     these depend on blockinput.h.
  2945.  
  2946.     * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
  2947.     not trying to create modifier masks using integers which are
  2948.     unrepresentable as lisp values.
  2949.  
  2950. Tue Mar 30 16:13:09 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  2951.  
  2952.     New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
  2953.     equivalent of /dev/null, and the suffixes used by executable
  2954.     files.  This is simple, and helps people porting Emacs to other
  2955.     operating systems.
  2956.     * process.h (NULL_DEVICE): Give this a default value.
  2957.     * process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
  2958.     (Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
  2959.     * callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
  2960.     Use NULL_DEVICE instead of "/dev/null".
  2961.     * s/vms.h (NULL_DEVICE): #define this.
  2962.  
  2963.     Rename int-to-string to number-to-string, since it can handle
  2964.     floating-point as well as integer arguments.  subr.el defines the
  2965.     former as an alias for the latter.
  2966.     * data.c (Fnumber_to_string): Renamed from Fint_to_string.
  2967.     (wrong_type_argument): Adjust caller.
  2968.     (syms_of_data): Adjust defsubr.
  2969.     * fns.c (concat): Adjust caller.
  2970.     * lisp.h (Fnumber_to_string): Adjust extern declaration.
  2971.     * mocklisp.c (Finsert_string): Adjust caller.
  2972.     * process.c (status_message): Adjust caller.
  2973.  
  2974. Sun Mar 28 02:01:22 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  2975.  
  2976.     * systty.h [NO_PTY_H]: Don't include pty.h.
  2977.  
  2978.     * m/delta88k.h [USG5_4]: Alternate defining of LIBS_SYSTEM,
  2979.     LIBX11_SYSTEM, HAVE_RANDOM, BSTRING.
  2980.     (NO_PTY_H): Defined.
  2981.  
  2982.     * fileio.c (Fwrite_region): Don't fail to set visit_file.
  2983.  
  2984.     * keyboard.c (command_loop_1): Clear force_start of selected_window
  2985.     after reading each key sequence.
  2986.     (read_char): Clear Vquit_flag when we return C-g for it.
  2987.  
  2988.     * fileio.c (Fexpand_file_name): Default DEFALT at beginning,
  2989.     before expanding it.  But avoid unneeded or infinite recursive expand.
  2990.  
  2991. Fri Mar 26 03:12:09 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  2992.  
  2993.     * editfns.c (Fchar_equal): Don't ignore high bits of character.
  2994.  
  2995.     * fileio.c (Fwrite_region): Set visit_file after expanding file arg.
  2996.     Also expand VISIT arg if specified.
  2997.  
  2998.     * frame.c (make_frame): Init face_alist field.
  2999.  
  3000. Thu Mar 25 18:26:57 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3001.  
  3002.     * xselect.c (SELECTION_QUANTUM): Don't use XMaxRequestSize on R3;
  3003.     access the display structure directly.
  3004.  
  3005. Thu Mar 25 01:16:12 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3006.  
  3007.     * ymakefile (xfns.o): Depend on buffer.h.
  3008.  
  3009.     * buffer.h (struct buffer): Field `fieldlist' deleted.
  3010.  
  3011.     * search.c (Freplace_match): Clean up criterion about converting case.
  3012.     If old text has any capitalized words, capitalize new text.
  3013.  
  3014.     * xfaces.c: New file.
  3015.  
  3016.     * ymakefile (XOBJ): Add xfaces.o.
  3017.     (xfaces.o): New target.
  3018.     * emacs.c (main): Call syms_of_xfaces.
  3019.  
  3020.     * buffer.h (OVERLAY_START, OVERLAY_END, OVERLAY_VALID): New macros.
  3021.     (OVERLAY_POSITION): Likewise.
  3022.     (searchbuf): Decl deleted--doesn't belong here.
  3023.     Delete include of regex.h for VMS.
  3024.     * dired.c (searchbuf): Declare here.
  3025.  
  3026.     * frame.h (struct frame): New field face_alist.
  3027.     * alloc.c (mark_object): Mark face_alist of a frame.
  3028.  
  3029.     * ymakefile (xselect.o): Depend on dispextern.h.
  3030.  
  3031.     * xterm.h (FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)
  3032.     (FRAME_MODE_LINE_FACE): New macros.
  3033.     (struct x_display): New fields faces, n_faces.
  3034.  
  3035.     * dispextern.h (struct face): New fields pixmap_h, pixmap_w.
  3036.     Field `font' is now a pointer.
  3037.  
  3038.     * fns.c (Fy_or_n_p): Ensure cursor_in_echo_area = 0 when quit.
  3039.  
  3040. Wed Mar 24 21:10:31 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3041.  
  3042.     * dispnew.c (getenv): Add extern declaration.
  3043.  
  3044.     * ymakefile (really-oldXMenu): Pass C_SWITCH_SITE and
  3045.     C_SWITCH_SYSTEM to the inferior make as separate flags, instead of
  3046.     passing just C_SWITCH_SITE as CFLAGS.
  3047.  
  3048.     * keymap.c (Fkeymapp): Doc fix.
  3049.  
  3050.     * xterm.h (x_focus_frame): Add extern keyword to declaration.
  3051.  
  3052.     * xterm.c [VMS]: Don't #include <sys/termio.h> and <string.h>.
  3053.     * xfns.c [VMS]: Get the gray_bits from [.bitmaps]gray.xbm.
  3054.     * process.c [VMS] (DCL_PROMPT): Remove hack.
  3055.     (WIFSTOPPED, WIFSIGNALED, WIFEXITED, XRETCODE, WSTOPSIG,
  3056.     WCOREDUMP, WTERMSIG): New dummy definitions.
  3057.     (deactivate_process): Add missing semicolon.
  3058.     * dispnew.c (init_display): Get display name from environment
  3059.     properly on VMS as well as Unix.
  3060.  
  3061. Wed Mar 24 02:56:56 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3062.  
  3063.     * buffer.c (init_buffer_once, reset_buffer):
  3064.     Delete last vestige of fieldlist slot.
  3065.     (Fregion_fields): Finally deleted.
  3066.  
  3067.     * keymap.c (push_key_description): Ignore bits above meta_modifier.
  3068.  
  3069. Tue Mar 23 15:58:18 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3070.  
  3071.     * buffer.c (overlays_at, recenter_overlay_lists): New functions.
  3072.     (Fmake_overlay, Fdelete_overlay, Foverlay_get, Foverlay_put): Likewise.
  3073.     (Fmove_overlay, Foverlays_at, Fnext_overlay_change): Likewise.
  3074.     (Foverlay_lists, Foverlay_recenter): Likewise.
  3075.  
  3076.     * buffer.h (struct buffer): New fields overlay_center,
  3077.     overlays_before, overlays_after.
  3078.  
  3079. Tue Mar 23 00:54:06 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3080.  
  3081.     * config.h.in (HAVE_XFREE386): New flag, set by configure script.
  3082.     If it's set, #define LIBX11_SYSTEM and HAVE_RANDOM as appropriate
  3083.     for XFree386.
  3084.     * sysdep.c (random, srandom): Don't define these if HAVE_RANDOM is
  3085.     #defined.
  3086.  
  3087.     * config.h.in (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): New flags.
  3088.     * ymakefile (C_SWITCH_X_SITE, LD_SWITCH_X_SITE): Provide default
  3089.     values.  Include C_SWITCH_X_SITE in CFLAGS, include
  3090.     LD_SWITCH_X_SITE in LIBX, and pass C_SWITCH_X_SITE to the make
  3091.     which builds the X Menu library.
  3092.  
  3093. Mon Mar 22 23:56:55 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3094.  
  3095.     * xfns.c (Fx_parse_geometry): Renamed from Fx_geometry.
  3096.     (Fx_color_defined_p): Renamed from Fx_defined_color.
  3097.     (syms_of_xfns): Adjusted.
  3098.  
  3099. Mon Mar 22 14:50:00 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3100.  
  3101.     * indent.c (current_column, Findent_to, position_indentation): 
  3102.     (Fmove_to_column, compute_motion): Allow tab_width up to 1000.
  3103.  
  3104.     * xdisp.c (display_string, display_text_line):
  3105.     Allow tab_width up to 1000.
  3106.  
  3107.     * keyboard.c (Fsuspend_emacs):
  3108.     Change suspend-hooks back to suspend-hook and make it a normal hook.
  3109.  
  3110.     * s/dgux.h: Decide automatically whether to use COFF or ELF.
  3111.  
  3112. Sun Mar 21 15:08:54 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3113.  
  3114.     * fns.c (Fy_or_n_p): Handle `recenter' response type.
  3115.  
  3116.     * s/dgux.h (HAVE_TERMIO, SIGNALS_VIA_CHARACTERS): Defined.
  3117.  
  3118. Sun Mar 21 01:50:01 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3119.  
  3120.     * frame.c (Fhandle_switch_frame): Renamed from Fselect_frame.
  3121.     Doc changed in anticipation of new purpose.
  3122.     (Fselect_frame): Just call Fhandle_switch_frame for now.
  3123.  
  3124. Sun Mar 21 01:36:25 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3125.  
  3126.     * xdisp.c (decode_mode_spec): Handle `%l'.
  3127.     (display_count_lines): New function.
  3128.     (redisplay_window): Update base_line_number and base_line_pos fields.
  3129.     Always update mode line if it's an integer.
  3130.     * window.h (struct window):
  3131.     New fields base_line_number and base_line_pos.
  3132.  
  3133.     * window.c (Fselect_window): Use Fhandle_switch_frame.
  3134.     (Fset_window_configuration): Likewise.
  3135.  
  3136. Sat Mar 20 23:53:29 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3137.  
  3138.     Use the `visiblity' parameter to determine the initial state of
  3139.     the frame, instead of the `iconic-startup' and
  3140.     `suppress-initial-map' parameters.
  3141.     * xfns.c (x_icon): Test the Qvisibility parameter against Qicon,
  3142.     instead of the Qiconic_startup against Qt.
  3143.     (x_create_frame): Test Qvisibility against Qnil and
  3144.     Qicon, instead of testing Qsuppress_initial_map and Qvisibility.
  3145.     (Qicon): New symbol.
  3146.     (Qiconic_startup, Qsuppress_initial_map): Removed.
  3147.     (syms_of_xfns): Adjusted appropriately.
  3148.  
  3149.     * xfns.c (x_set_visibility): Instead of interpreting only Qt as
  3150.     `make the frame visible' and everything else as `iconify the
  3151.     frame', interpret Qicon as `iconify the frame' and everything else
  3152.     as `make the frame visible.'
  3153.  
  3154.     * xfns.c (x_get_arg): When the type of the resource is `symbol',
  3155.     return `true' and `on' as Qt, and `false' and `off' as Qnil.
  3156.  
  3157. Sat Mar 20 23:25:59 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3158.  
  3159.     * emacs.c (init_cmdargs): Fix simple bug in previous change.
  3160.  
  3161. Sat Mar 20 13:56:25 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3162.  
  3163.     * dispnew.c (Fsleep_for): Make this take two arguments SECONDS and
  3164.     MILLISECONDS, which add, rather than a second argument which says
  3165.     "treat the first argument as milliseconds."
  3166.     (Fsit_for): Same thing.
  3167.     (Fsleep_for_milliseconds): Deleted; this can be done with Fsleep_for.
  3168.  
  3169.     * process.c (wait_reading_process_input): Doc fix.
  3170.  
  3171.     * systime.h (EMACS_HAS_USECS): #define this if HAVE_TIMEVAL is
  3172.     #defined.
  3173.  
  3174.     * dispnew.c (sit_for): Doc fix.
  3175.  
  3176.     * sysdep.c (reset_sys_modes): Fix usage of EMACS_SET_TTY.
  3177.  
  3178.     * callproc.c (child_setup): Make sure that in, out, and err are
  3179.     not less than three.
  3180.     (relocate_fd): New function.
  3181.  
  3182.     * xterm.c (x_term_init): If the X connection is already in file
  3183.     descriptor zero, don't dup it and close the old one.
  3184.  
  3185.     * s/hpux8.h, s/sunos4-1.h (OLDXMENU_OPTIONS): Define this, as in
  3186.     Emacs 18.
  3187.  
  3188.     * xfns.c (Fx_open_connection): If we have X11R5, use
  3189.     XrmSetDatabase to set the display's database.  In older versions,
  3190.     just store the value into x_current_display->db.
  3191.     * xterm.h (HAVE_X11R5): Define this where appropriate.
  3192.  
  3193.     * frame.c (Fraise_frame, Flower_frame): Renamed from
  3194.     Fframe_to_front and Fframe_to_back.
  3195.     (syms_of_frame): Adjusted appropriately.
  3196.  
  3197.     * fileio.c (HAVE_FSYNC): Define, if appropriate.
  3198.     (Fwrite_region): Use HAVE_FSYNC.
  3199.     * s-aix3-2.h (HAVE_FSYNC): Define.
  3200.  
  3201.     * emacs.c (Finvocation_name): New function.
  3202.     (Vinvocation_name): New variable.
  3203.     (init_cmdargs): Set it.
  3204.     (syms_of_emacs): defsubr Finvocation_name, staticpro and
  3205.     initialize Vinvocation_name.
  3206.     * lisp.h (Vinvocation_name): New extern declaration.
  3207.     * xterm.c (invocation_name): Variable deleted; use
  3208.     Vinvocation_name now.
  3209.     (x_text_icon, x_term_init): Use Vinvocation_name now instead of
  3210.     invocation_name.
  3211.     (x_term_init): Don't initialize invocation_name.
  3212.     (syms_of_xterm): Don't initialize or staticpro invocation_name.
  3213.     * xfns.c (invocation_name): Remove extern declaration for this.
  3214.     [HAVE_X11] (Fx_get_resource): Use Vinvocation_name now instead of
  3215.     invocation_name.
  3216.     [not HAVE_X11] (Fx_get_default): Same.
  3217.  
  3218. Sat Mar 20 04:20:21 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3219.  
  3220.     * xfns.c (Fx_display_color_p): Renamed from Fx_color_display_p.
  3221.     (syms_of_xfns): Use new name in defsubr.
  3222.  
  3223. Fri Mar 19 00:27:27 1993  Eric S. Raymond  (eric@geech.gnu.ai.mit.edu)
  3224.  
  3225.     * Makefile.in (unlock, relock): New productions to assist with
  3226.     version control.
  3227.  
  3228. Fri Mar 19 00:12:27 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  3229.  
  3230.     * fileio.c (Fvisited_file_modtime): New function.
  3231.     (Fset_visited_file_modtime): Accept an argument specifying time value.
  3232.     If arg is nil, really use the filename handler.
  3233.  
  3234.     * xselect.c (cons_to_long, long_to_cons): No longer static.
  3235.  
  3236. Thu Mar 18 17:39:35 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  3237.  
  3238.     * frame.h (FOR_EACH_FRAME): Change the definition so that
  3239.     FRAME_VAR is a lisp object. 
  3240.     * dispnew.c (WINDOW_CHANGE_SIGNAL, do_pending_window_change):
  3241.     Adjusted appropriately.
  3242.     * xdisp.c (redisplay): Adjusted appropriately.
  3243.  
  3244.     * dispnew.c (Fredraw_frame): Give this appropriate definitions for
  3245.     MULTI_FRAME and non-MULTI_FRAME configurations.
  3246.     (Fredraw_display): Give this a non-MULTI_FRAME-dependent definition.
  3247.  
  3248. Thu Mar 18 04:22:47 1993  Richard Stallman  (rms@geech.gnu.ai.mit.edu)
  3249.  
  3250.     * lisp.h (CHECK_LIVE_WINDOW): Use Qlive_window_p.
  3251.  
  3252.     * xfns.c (x_screen): Make this var file scope.
  3253.     (Fx_server_version): Use Fcons, not list3.
  3254.  
  3255. Wed Mar 17 17:32:17 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3256.  
  3257.     * xterm.c (term_get_fkeys): Less klugey version of the last fix.
  3258.  
  3259.     * Makefile.in (versionclean): New production nukes binaries and
  3260.     DOC files, forcing a re-load, re-dump and re-makedoc.
  3261.  
  3262. Wed Mar 17 16:39:50 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3263.  
  3264.     * fileio.c: Doc fix.
  3265.  
  3266. Wed Mar 17 15:06:43 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3267.  
  3268.     * xterm.c (x_display_box_cursor, x_display_bar_cursor): Don't
  3269.     display the cursor on garbaged frames.
  3270.  
  3271. Wed Mar 17 08:12:49 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3272.  
  3273.     * term.c (term_get_fkeys) Supply second args for all tgetstr calls.
  3274.  
  3275. Wed Mar 17 02:58:44 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3276.  
  3277.     * process.c (Fprocess_send_eof): Make sure proc is running.
  3278.  
  3279.     * s/irix4-0.h (_getpty): Declare this, not _get_pty.
  3280.  
  3281. Tue Mar 16 15:25:43 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3282.  
  3283.     * xfns.c (Fx_server_vendor, Fx_server_version, Fx_display_pixel_width)
  3284.     (Fx_display_pixel_height, Fx_display_mm_width, Fx_display_mm_height)
  3285.     (Fx_display_screens, Fx_display_planes, Fx_display_color_cells)
  3286.     (Fx_display_visual_class, Fx_display_backing_store)
  3287.     (Fx_display_save_under): New functions.
  3288.     (x_screen_count, Vx_vendor, x_release, x_screen_height_mm)
  3289.     (x_screen_width_mm, Vx_backing_store, x_save_under, Vx_screen_visual)
  3290.     (x_visual_strings): Vars deleted.
  3291.     (Fx_open_connection): Don't init those vars.
  3292.     (syms_of_xfns): Set up new functions.
  3293.     Don't set up those vars as Lisp vars.
  3294.     Nor x-screen-width and x-screen-height.
  3295.  
  3296. Tue Mar 16 00:52:02 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3297.  
  3298.         * cmds.c (overwrite_binary_mode): Deleted; this implements the
  3299.     wrong feature.
  3300.     (Qoverwrite_mode_binary): New variable.
  3301.     (internal_self_insert): If current_buffer->overwrite_mode is
  3302.     `overwrite-mode-binary', do as overwrite_binary_mode used to.
  3303.     (syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
  3304.     Qoverwrite_mode_binary.
  3305.     * buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
  3306.     * buffer.h (struct buffer): Doc fix.
  3307.  
  3308.     Rename `live-window-p' to `window-live-p', for consistency with
  3309.     `frame-live-p'.
  3310.     * window.c (Fwindow_live_p): Renamed from Flive_window_p.
  3311.     * lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
  3312.     (Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
  3313.  
  3314. Tue Mar 16 00:21:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3315.  
  3316.     * xmenu.c (xmenu_show): Do BLOCK_INPUT; unblock just before returning.
  3317.  
  3318.     * xterm.h [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input.
  3319.  
  3320. Mon Mar 15 15:15:42 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3321.  
  3322.     * frame.c (Fframe_height, Fframe_width): Fix doc strings to match
  3323.     those of the multi-frame versions in frame.el.  Accept an optional
  3324.     argument FRAME, also for consistency.
  3325.  
  3326.     * floatfns.c (logb): Add extern declaration for this.
  3327.  
  3328.     * floatfns.c (Flogb): Under SYSV, implement this using frexp.
  3329.  
  3330. Mon Mar 15 00:58:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3331.  
  3332.     * ymakefile (dispnew.o): Depend on termhooks.h.
  3333.  
  3334.     * xmenu.c (list_of_items): Allow strings among the alist items;
  3335.     they make nonselectable lines.
  3336.  
  3337. Sun Mar 14 15:55:32 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3338.  
  3339.     * dired.c (Fdirectory_files): Recompile MATCH (if specified) after
  3340.     expanding the file name and all; those might compile regexp of
  3341.     their own, and change searchbuf.
  3342.  
  3343.     * keyboard.h (internal_last_event_frame): This should be extern,
  3344.     dummy.
  3345.  
  3346.     * fns.c (Fy_or_n_p): Display the answer.
  3347.  
  3348.     Some VMS changes from Richard Levitte <levitte@e.kth.se>:
  3349.     * [VMS] systime.h: Include vmstime.h.  VMS has the timezone
  3350.     variable and the tzname array.
  3351.     * s/vms.h: VMS does have select.
  3352.     mth$dmod is the same as Unix's drem.
  3353.     Use the time functions in vmstime.c.
  3354.     No need to rename the malloc routines if we're using GNU malloc.
  3355.     PURESIZE needs to be 330000.
  3356.     * vmstime.c, vmstime.h: New files.
  3357.     * systty.h: Don't try to initialize extern declarations under VAX C.
  3358.     * vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
  3359.     in PATH_LOADSEARCH.
  3360.     (PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
  3361.     * sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
  3362.     [VMS] (queue_kbd_input): Build events structure correctly.
  3363.     [VMS] (gethostname): New function.
  3364.     [VMS] (getwd): Don't get the PATH environment variable; that's
  3365.     dumb.  Call getcwd.
  3366.  
  3367. Sun Mar 14 13:36:57 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3368.  
  3369.     * xdisp.c (display_menu_bar): Assume FRAME_MENU_BAR_ITEMS already set.
  3370.     Fill out line with spaces.
  3371.     Put explicit spaces between items.
  3372.     * keyboard.c (command_loop_1): Set FRAME_MENU_BAR_ITEMS here.
  3373.  
  3374.     * window.c (Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.
  3375.  
  3376.     * keyboard.c (menu_bar_items): Reverse the list when done.
  3377.  
  3378.     * xmenu.c (single_keymap_panes): When storing in ENABLES,
  3379.     check def before enabled.
  3380.  
  3381.     * ymakefile (really-oldXMenu): Renamed from ${oldXMenudir}$(OLDXMENU).
  3382.     Add @true.
  3383.     ($(OLDXMENU)): Depend on really-oldXMenu.
  3384.     The idea is to make sure libXMenu11.a is always updated if nec.
  3385.  
  3386.     * keyboard.c (command_loop_1): Typo calling Qrecompute_lucid_menubar.
  3387.     (read_key_sequence): Likewise.  Also fix call to Vrun_hooks.
  3388.  
  3389. Sat Mar 13 21:12:00 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3390.  
  3391.     * ymakefile (YMF_PASS_LDFLAGS): Doc fix.
  3392.  
  3393. Sat Mar 13 19:16:45 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3394.  
  3395.     * print.c (PRINTPREPARE): Handle marker that points nowhere.
  3396.  
  3397.     * apollo.h (NO_X_DESTROY_DATABASE): Defined.
  3398.  
  3399.     * undo.c (record_property_change, record_delete, record_insert):
  3400.     Don't make boundary or touch last_undo_buffer if cur buf has no undo.
  3401.  
  3402.     * ymakefile [__GNUC__ > 1]: Delete the conditional for GCC 2.4.
  3403.     [__GNUC__ > 1] (LIB_GCC): Use -print-libgcc-file-name to find libgcc.a.
  3404.     (YMF_FIND_LIBGCC_A): Definitions and uses deleted.
  3405.  
  3406. Sat Mar 13 18:31:05 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3407.  
  3408.     * s/usg5-4.h: Remove extraneous text after #undef LIB_X11_LIB.
  3409.  
  3410. Sat Mar 13 13:18:37 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3411.  
  3412.     * xterm.c (Xatom_wm_change_state): Define here.
  3413.     * xfns.c (Xatom_wm_change_state): Just declare.
  3414.     (Xatom_emacs_selection, Xatom_clipboard, Xatom_clipboard_selection):
  3415.     (Xatom_wm_change_state, Xatom_incremental, Xatom_multiple):
  3416.     (Xatom_targets, Xatom_timestamp, Xatom_delete, Xatom_insert_selection):
  3417.     (Xatom_pair, Xatom_insert_property, Xatom_text): Decls deleted.
  3418.     (x_begin_selection_own): Decls deleted.
  3419.     (Fx_open_connection): Set up only the wm atoms here.
  3420.     Call Xatoms_of_xselect.
  3421.  
  3422.     * dispnew.c: Include termhooks.h.
  3423.  
  3424.     * frame.h (FRAMEP): Macro deleted.
  3425.  
  3426.     * xselect.c: Total rewrite, derived from Lucid's version.
  3427.  
  3428.     * keyboard.c (kbd_buffer_get_event): Handle selection_clear_event
  3429.     and selection_request_event events.
  3430.  
  3431.     * xterm.c (XTread_socket): Handle NEW_SELECTIONS alternative:
  3432.     queue events for SelectionRequest and SelectionClear;
  3433.     call functions for SelectionNotify and PropertyNotify.
  3434.  
  3435.     * termhooks.h (selection_request_event, selection_clear_event):
  3436.     New event kinds.
  3437.  
  3438.     * xterm.h (SELECTION_EVENT_DISPLAY): New macro.
  3439.     (SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
  3440.     (SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
  3441.     (SELECTION_EVENT_TIME): New macros.
  3442.     (struct selection_input_event): New structure.
  3443.  
  3444.     * process.c (wait_reading_process_input): New option to wait
  3445.     till a given cons cell has a non-nil car.
  3446.     Delete vipc conditionals.
  3447.  
  3448. Fri Mar 12 22:59:08 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3449.  
  3450.     * ymakefile (YMF_FIND_LIBGCC_A): New macro, to help GCC find
  3451.     libgcc.a even when -nostdlib is in effect.  Define it to be the
  3452.     empty string if nobody else establishes a value for it.
  3453.     (temacs): Include it in the list of flags passed to the linker.
  3454.  
  3455.     * ymakefile (LINKER): If we have GCC 2.4 or later, use the
  3456.     -nostartfiles option instead of -nostdlib.
  3457.     (LIBGCC): Under GCC 2.4 or later, define this to be the empty string.
  3458.  
  3459. Fri Mar 12 15:55:24 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3460.  
  3461.     * xmenu.c (xmenu_show): New arg enable_list.
  3462.     (keymap_panes): New arg enables
  3463.     (single_keymap_panes): New arg enables.  Fill in its contents.
  3464.     (list_of_panes, list_of_items): New arg enables.  Fill in contents.
  3465.     (Fx_popup_menu): Pass enable and enable_list args.
  3466.     (single_keymap_panes): Set enable flag to -1 if cmd definition is nil.
  3467.  
  3468.     * lisp.h (INTEGERP, SYMBOLP, MARKERP, STRINGP, VECTORP): New macros.
  3469.     (COMPILEDP, BUFFERP, SUBRP, PROCESSP, FRAMEP, WINDOWP): New macros.
  3470.     (WINDOW_CONFIGURATIONP, FLOATP): New macros.
  3471.  
  3472. Fri Mar 12 10:09:07 1993  Paul Eggert  (eggert@twinsun.com)
  3473.  
  3474.     * cmd.c (internal_self_insert): Check that tab_width does not
  3475.     exceed 20, to be consistent with indent.c and xdisp.c.
  3476.  
  3477. Fri Mar 12 15:15:39 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3478.  
  3479.     * term.c (CONDITIONAL_REASSIGN): fixed reference to tigetstr.
  3480.     This should have been tgetstr, but I typoed and tigetstr happens
  3481.     to link and even do the right thing if you're on a System V box.
  3482.  
  3483. Fri Mar 12 01:20:31 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3484.  
  3485.     * keyboard.c (read_key_sequence): Support Vcurrent_menubar
  3486.     and Qactivate_menubar_hook.  Call Qrecompute_lucid_menubar.
  3487.     (syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar,
  3488.     Qactivate_menubar_hook, and Qrecompute_lucid_menubar.
  3489.  
  3490.     * xmenu.c (Fx_popup_menu): Allow a frame instead of a window, in arg.
  3491.     Use Fcar, Fcdr when extracting from event, to check data types.
  3492.  
  3493. Thu Mar 11 15:20:16 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3494.  
  3495.     * frame.h (FRAME_MENU_BAR_ITEMS): New macro (two versions).
  3496.     (struct frame): New field menu_bar_items.
  3497.     * alloc.c (mark_object): Mark the menu_bar_items field.
  3498.  
  3499.     * xdisp.c (display_menu_bar): New function.
  3500.     (redisplay_window): Call display_menu_bar.
  3501.  
  3502.     * term.c (tigetstr): Add dummy definition to make Emacs link again.
  3503.  
  3504.     * keyboard.c (syms_of_keyboard): Set up Qmenu_bar.
  3505.     (menu_bar_items): New function.
  3506.     (menu_bar_one_keymap, menu_bar_item): New functions.
  3507.     (make_lispy_event): Handle menu bar events.
  3508.     (read_key_sequence): Make dummy prefix `menu-bar' for menu bar events.
  3509.  
  3510. Thu Mar 11 03:13:56 1993  Eric S. Raymond  (eric@mole.gnu.ai.mit.edu)
  3511.  
  3512.     * term.c (fkey_table): Added many more keycap cookies to the
  3513.     fkey_table; it now supports the full intersection of the set of X
  3514.     keysyms and terminfo capabilities.  See my lisp directory
  3515.     ChangeLog entry for this date, and lisp/term/README, for details.
  3516.  
  3517. Thu Mar 11 02:22:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3518.  
  3519.     * floatfns.c (Flogb): Fix use of IN_FLOAT.
  3520.     Fix arg names.  Don't confuse Lisp_Object with integer.
  3521.  
  3522. Thu Mar 11 00:50:47 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3523.  
  3524.     * process.c (process_send_signal): In the TERMIOS code for sending
  3525.     control characters to processes, don't try to return Qnil; just
  3526.     return.
  3527.  
  3528. Thu Mar 11 00:32:11 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3529.  
  3530.     * dispnew.c (change_frame_size): Handle FRAME_MENU_BAR_LINES.
  3531.  
  3532.     * frame.c (Fframe_parameters): Report menu-bar-lines parm.
  3533.     (syms_of_frame): Set up Qmenu_bar_lines.
  3534.  
  3535.     * frame.h (FRAME_MENU_BAR_LINES): New macro.
  3536.     (struct frame): New field menu_bar_lines.
  3537.  
  3538.     * xfns.c (x_frame_parms): Add elts for visibility and menu-bar-lines.
  3539.     (enum x_frame_parm): Likewise.
  3540.     (x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
  3541.     (x_set_visibility): New function.
  3542.     (Fx_create_frame): Handle menu-bar-lines parm.
  3543.     (x_report_frame_params): Report Qvisibility.
  3544.     (syms_of_xfns): Set up Qvisibility.
  3545.  
  3546.     * keyboard.c (command_loop_1): Typo in last change.
  3547.  
  3548.     * xmenu.c (syms_of_xmenu): Set up Qmenu_enable.
  3549.     (single_keymap_panes): Test menu-enable property of symbol
  3550.     to decide whether to include it in the menu.
  3551.  
  3552. Wed Mar 10 22:47:58 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3553.  
  3554.     * keyboard.c (command_loop_1): Adjust to the fact that display
  3555.     tables are now vectors of vectors, not vectors of strings.
  3556.  
  3557. Wed Mar 10 09:17:39 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3558.  
  3559.     * floatfns.c (Flogb): Undo the change of Feb 22.
  3560.  
  3561.     * ymakefile (OLDXMENU): Don't assume that we have symbolic links
  3562.     available; use `ln -f' instead of `ln -s'.
  3563.  
  3564.     * xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
  3565.     appeared in X11R4; for earlier versions, just access the members
  3566.     of the Display directly.
  3567.  
  3568.     * xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
  3569.     we can't test HAVE_X11R4 to see how we should get the resource
  3570.     manager string; cheat.
  3571.  
  3572.     * unexec.c (copy_text_and_data): Error message tweaked.
  3573.  
  3574.     * systime.h (timezone): Add an explicit declaration for this
  3575.     variable under USG 5-4.
  3576.  
  3577.     * sysdep.c (read_input_waiting): Set e.frame_or_window, not
  3578.     e.frame; the latter doesn't exist anymore.
  3579.  
  3580.     * sysdep.c (start_of_data): If ORDINARY_LINK is #defined, we don't
  3581.     have the data_start symbol defined, so we'll just use the address
  3582.     of environ.
  3583.  
  3584.     * s/usg5-4.h: Changes from Eric Raymond:
  3585.     If we're doing ordinary linking, define LIB_STANDARD appropriately.
  3586.     Give LIBS_DEBUG a null definition; usg5-4 has no -lg.
  3587.     #define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW.
  3588.     #define NSIG, if it's not already defined.
  3589.     #define HAVE_TERMIOS instead of HAVE_TCATTR.
  3590.     Provide our own definition of LIB_X11_LIB.
  3591.  
  3592.     * s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
  3593.     were slightly wrong.
  3594.  
  3595.     * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
  3596.     need to include `-lPW'; that has been merged with `-lc'.
  3597.  
  3598.     * emacs.c (__do_global_ctors, __do_global_ctors_aux,
  3599.     __do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
  3600.     define these if ORDINARY_LINK is #defined; in that case, the
  3601.     standard linking procedure will find definitions for these.
  3602.  
  3603.     * syssignal.h (sigunblock): Add definition which works under SYSVr4.
  3604.     * emacs.c (fatal_error_signal): Unblock the signal which we're
  3605.     handling using sigunblock.
  3606.  
  3607. Tue Mar  9 11:06:26 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3608.  
  3609.     * xfns.c (x_make_gc): Don't forget to block X input around the
  3610.     X calls in this function.
  3611.  
  3612.     * xfns.c [not HAVE_X11R4] (select_visual): It's v->visualid, not
  3613.     x->visualid.  x isn't defined.
  3614.  
  3615.     * m/template.h, s/template.h: Mention that `etc/MACHINES' and
  3616.     `configure' should be updated whenever support for a configuration
  3617.     is added or improved.
  3618.  
  3619.     * process.c [! subprocesses] (wait_reading_process_input):
  3620.     Remember to re-enable polling for input.
  3621.  
  3622.     * keyboard.c [POLL_FOR_INPUT] (quit_throw_to_read_char): If
  3623.     we're polling for input, abort; input polling should always be
  3624.     suppressed while we're waiting for input.
  3625.  
  3626.     * keyboard.c (interrupt_signal): Remove extern declaration of
  3627.     Vwindow_system; this is no longer used.
  3628.  
  3629. Tue Mar  9 03:35:20 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3630.  
  3631.     * editfns.c (Fcurrent_time_string): Optional arg specifies time.
  3632.  
  3633.     * keymap.c (Fdefine_key): Use proper meta-bit to clear.
  3634.  
  3635.     * intervals.c (set_point): Check invisibility of following character,
  3636.     not previous character.
  3637.  
  3638.     * floatfns.c (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
  3639.  
  3640.     * floatfns.c: Changes from Lucid.
  3641.     (HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros.
  3642.     (FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros.
  3643.     (HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros.
  3644.     [!HAVE_RINT]: Define rint as macro.
  3645.     (IN_FLOAT): Major rewrite; several alternate versions.
  3646.     (IN_FLOAT2): New macro.
  3647.     (arith_error, range_error, domain_error, domain_error2): New macros.
  3648.     (Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed.
  3649.     (Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed.
  3650.     (Ffloor, Fceiling, Fround, Ftruncate): Changed.
  3651.     (Fcube_root): Renamed from Fcbrt.
  3652.     (matherr): New function.
  3653.     (float_error): Only if FLOAT_CATCH_SIGILL.
  3654.  
  3655.     * fns.c (Fy_or_n_p): Use query-replace-map.
  3656.  
  3657.     * keymap.c (access_keymap): Handle ints beyond the ASCII range.
  3658.     (store_in_keymap): Likewise.
  3659.     (Faccessible_keymaps): Use meta_modifier.
  3660.     Use vectors for the key sequences.
  3661.     (Fwhere_is_internal): Use meta_modifier.
  3662.     (append_key): Always return a vector.
  3663.  
  3664.     * lisp.h (Qrange_error, Qdomain_error, Qsingularity_error):
  3665.     (Qoverflow_error, Qunderflow_error): New vars.
  3666.  
  3667.     * data.c (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
  3668.     Qarith_error, Qrange_error, Qdomain_error,
  3669.     Qsingularity_error, Qoverflow_error, Qunderflow_error.
  3670.  
  3671. Mon Mar  8 00:36:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3672.  
  3673.     * systty.h: Define HAVE_TCATTR based on HAVE_TERMIOS earlier.
  3674.     (struct emacs_tty): Separate the struct decl
  3675.     from the EMACS_..._TTY... macro definitions.
  3676.     Use HAVE_TCATTR to decide whether to use `struct termios'.
  3677.  
  3678.     * xfns.c (Fx_pixel_width, Fx_pixel_height): Fns deleted.
  3679.     (syms_of_xfns): Don't install them.
  3680.     (x_user_set_name): Function deleted.
  3681.     (x_char_height, x_char_width): New functions.
  3682.  
  3683.     * frame.c (Fframe_char_height, Fframe_char_width):
  3684.     (Fframe_pixel_height, Fframe_pixel_width):
  3685.     New functions, two versions of each.
  3686.     [MULTI_FRAME] (syms_of_frame): Make them Lisp functions.
  3687.     [!MULTI_FRAME] (syms_of_frame): Likewise.  Also Fselected_frame.
  3688.  
  3689.     * xterm.c (XTread_socket):
  3690.     Don't reverse the chars that XLookupString returns.  Use all of them.
  3691.     Save last 100 chars and keysyms in temp_buffer.
  3692.  
  3693. Sun Mar  7 18:41:34 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  3694.  
  3695.     * buffer.c (syms_of_buffer): Make erase-buffer a disabled command.
  3696.  
  3697. Sun Mar  7 00:30:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3698.  
  3699.     * ymakefile (keyboard.o): Depend on intervals.h.
  3700.     (keymap.o): Depend on termhooks.h.
  3701.  
  3702.     * keyboard.c: Include intervals.h.
  3703.     (read_key_sequence): Use get_local_map.
  3704.  
  3705.     * textprop.c (Fget_text_property): Use textget.
  3706.     (Fnext_single_property_change): Likewise.
  3707.     (Fprevious_single_property_change): Likewise.
  3708.  
  3709.     * intervals.c (textget): Handle categories.
  3710.     (get_local_map): New function.
  3711.     (verify_interval_modification): Call textget correctly.
  3712.  
  3713.     * textprop.c (syms_of_textprop): Set up Qcategory, Qlocal_map.
  3714.     * intervals.h: Declare those vars.  Declare textget, get_local_map.
  3715.  
  3716.     * keymap.c: Include termhooks.h.
  3717.     (push_key_description): Handle all modifiers.
  3718.     Handle large character codes.
  3719.     (Fkey_description): Move the meta bit, if arg is string.
  3720.     (Fsingle_key_description): Don't alter integer value.
  3721.     Make tem long enough.
  3722.  
  3723.     * keyboard.c (read_key_sequence):
  3724.     Use meta_modifier for meta keys when handling function_key_map.
  3725.  
  3726.     * lread.c (syms_of_lread): Set up Qascii_character.
  3727.     (Fread_char, Fread_char_exclusive): Use that property
  3728.     to convert symbols like tab, return, M-return,... to ASCII.
  3729.  
  3730.     * keyboard.c (follow_key): Downcase shift_modifier as well as ASCII.
  3731.     (command_loop_1): Run pre-command-hook and post-command-hook.
  3732.     Set this_command before running pre-command-hook.
  3733.     (syms_of_keyboard): Set up vars for those hooks.
  3734.  
  3735.     * buffer.c (reset_buffer_local_variables): Reset mark_active.
  3736.     (syms_of_buffer): New buffer-local var `mark-active'.
  3737.     (init_buffer_once): Initialize mechanism for it.
  3738.  
  3739. Sat Mar  6 14:54:40 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3740.  
  3741.     * dispnew.c (init_display): Initialize Vwindow_system.
  3742.  
  3743.     * ymakefile (SHELL): No need to set this twice; remove one.
  3744.  
  3745.     * emacs.c (main): SIGIOT isn't defined on all systems; don't set
  3746.     its signal handler unless it is.
  3747.  
  3748.     * sysdep.c (init_baud_rate): Use input_fd, instead of fd; the
  3749.     latter is undefined.
  3750.  
  3751.     * dired.c (NAMLEN): Never use d_nameln to get the length of the
  3752.     directory entry's name; it is used inconsistently.  Always call
  3753.     strlen instead.
  3754.  
  3755. Sat Mar  6 01:18:03 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3756.  
  3757.     * keyboard.c (syms_of_keyboard): Handle gaps in modifier_names.
  3758.     (modifier_names): Reorder to match termhooks.h.
  3759.  
  3760.     * keyboard.c (parse_modifiers_uncached): Detect `s-', not `super-'.
  3761.     (apply_modifiers_uncached): Make `s-', not `super-'.
  3762.  
  3763.     * lread.c: Include termhooks.h.
  3764.     (read_escape): Handle \H, \A, \s.  Use ..._modifier.
  3765.     * ymakefile (lread.o): Depend on termhooks.h.
  3766.  
  3767.     * termhooks.h (alt_modifier, super_modifier, hyper_modifier):
  3768.     (shift_modifier, ctrl_modifier, meta_modifier):
  3769.     Renumber the bits.
  3770.     * keyboard.c (make_lispy_event): For ASCII event, the ..._modifier
  3771.     bits are the right bits to return.
  3772.  
  3773.     * keyboard.c (lispy_function_keys): Add codes starting at 0xff00
  3774.     and running through 0xffff.
  3775.  
  3776.     * xterm.c (x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask):
  3777.     New variables.
  3778.     (x_find_modifier_meanings): Set them.
  3779.     (x_convert_modifiers): Check for them.
  3780.     (XTread_socket): Handle BackSpace, etc, function keys.
  3781.  
  3782.     * keyboard.c (read_char): Move metabit when fetching from string macro.
  3783.  
  3784.     * callint.c (check_mark): Error if mark is not active.
  3785.  
  3786.     * editfns.c (save_excursion_save): Save mark_active of buffer.
  3787.     (save_excursion_restore): Restore mark_active of buffer.
  3788.     Run activate-mark-hook if it's on, or deactivate-mark-hook
  3789.     if it turns off.
  3790.     (region_limit): Error if mark inactive, if transient-mark-mode.
  3791.  
  3792.     * insdel.c (prepare_to_modify_buffer): Set Vdeactivate_mark.
  3793.  
  3794.     * keyboard.c (command_loop_1): Clear Vdeactivate_mark before cmd.
  3795.     Clear mark_active if command set Vdeactivate_mark.
  3796.     Run deactivate-mark-hook at that time, or activate-mark-hook.
  3797.     (syms_of_keyboard): Define variable deactivate-mark.
  3798.  
  3799.     * buffer.c (syms_of_buffer): New buffer-local var `mark-active'.
  3800.     (init_buffer_once): Initialize mechanism for it.
  3801.  
  3802.     * buffer.h (struct buffer): New field mark_active.
  3803.  
  3804.     * intervals.c (verify_interval_modification): Handle insertions
  3805.     specially.  For non-insertions, check only the chars being changed.
  3806.     `modification-hooks' property is now a list of functions.
  3807.     (set_point): Ignore chars outside current restriction.
  3808.  
  3809.     * textprop.c (Qmodification_hooks): Renamed from Qmodification.
  3810.     (syms_of_textprop): Changed accordingly.
  3811.  
  3812.     * keyboard.c (syms_of_keyboard): New lisp var unread-command-char.
  3813.     (Finput_pending_p): Test unread_command_char.
  3814.     (Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it.
  3815.     (read_char): Fetch from it.
  3816.  
  3817. Fri Mar  5 02:17:23 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3818.  
  3819.     * textprop.c (Fadd_text_properties): Initialize the modified flag.
  3820.     Use a "for (;;)" loop at the end of the function, to indicate that
  3821.     all exiting is taken care of inside the loop.
  3822.     (Fremove_text_properties): Same.
  3823.  
  3824. Fri Mar  5 01:48:38 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3825.  
  3826.     * ymakefile (LIB_MATH): Delete -lc, since duplicates LIB_STANDARD.
  3827.  
  3828.     * buffer.c (check_protected_fields): Variable deleted.
  3829.     (syms_of_buffer): Delete vars buffer-field-list
  3830.     and check-protected-fields.
  3831.     * insdel.c (check_protected_fields): Delete decl.
  3832.  
  3833.     * disptab.h (DISP_INVIS_VECTOR): Renamed from DISP_INVIS_ROPE.
  3834.     (DISP_CHAR_VECTOR): Renamed from DISP_CHAR_ROPE.
  3835.     All callers changed. 
  3836.  
  3837.     * xdisp.c (copy_rope): Expect FROM to be a vector.
  3838.     (copy_part_of_rope): New function.
  3839.     (display_string): Expect display table elts to be vectors.
  3840.     * indent.c (current_column, Fmove_to_column, compute_motion):
  3841.     Expect display table elts to be vectors.
  3842.  
  3843.     * alloc.c: (Fmake_rope, Frope_elt): Fns deleted.
  3844.  
  3845.     * lisp.h (CHAR_META, CHAR_SHIFT, CHAR_CTL): New macros.
  3846.  
  3847.     * lread.c (read_escape): Handle M-, C- and S- for new convention.
  3848.     (read1): Move the meta bit to the right place for a string.
  3849.  
  3850.     * keyboard.c (Fthis_command_keys, Fread_key_sequence):
  3851.     Fix calls to make_event_array.
  3852.  
  3853.     * macros.c (Fend_kbd_macro): Fix call to make_event_array.
  3854.  
  3855.     * alloc.c (make_event_array): Renamed from make_array.
  3856.     Chars that fit in a string are 0...127 and their meta variants.
  3857.  
  3858.     * keyboard.c (make_lispy_event): Put meta and shift modifiers
  3859.     into an integer.
  3860.     (read_avail_input): Set the modifiers field in the events read.
  3861.     (kbd_buffer_get_event): Pass thru integer event untruncated.
  3862.     (read_char): Likewise.
  3863.     (read_key_sequence, read_char): Only -1 means EOF.
  3864.     (kbd_buffer_store_event): Don't ignore 0200 bit in quit char.
  3865.     (follow_key): Use new meta bit flag.
  3866.  
  3867.     * xterm.c (XTread_socket): Set bufp->modifiers for all kinds of keys.
  3868.  
  3869.     * keymap.c (Flookup_key): Use 0x800000 as meta-bit if from vector.
  3870.     (Fdefine_key): Likewise.
  3871.  
  3872. Thu Mar  4 14:48:55 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3873.  
  3874.     * dgux.h (ELF): Handle this parameter.
  3875.     [! COFF] (UNEXEC, USG_SHARED_LIBRARIES): New definitions.
  3876.     (_BSD_TTY_FLAVOR): Don't define if already defined.
  3877.     (C_COMPILER, LINKER, MAKE_COMMAND): New definitions.
  3878.  
  3879. Thu Mar  4 13:01:24 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3880.  
  3881.     * keyboard.c (Fsuspend_emacs): Remember that `suspend-hooks' isn't
  3882.     necessarily bound.
  3883.  
  3884. Thu Mar  4 10:15:47 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  3885.  
  3886.     * Makefile.in (xmakefile): Add missing quote.
  3887.  
  3888. Wed Mar  3 10:11:08 1992  Wilson H. Tien  (wtien at urbana.mcd.mot.com)
  3889.  
  3890.     * unexelf.c (unexec): Move data2 section header up so all section
  3891.     headers will be in ascending order.  This will prevent the unexeced
  3892.     emacs that being processed by other applications (such as strip) 
  3893.     to fail.
  3894.  
  3895. Tue Mar  2 17:18:20 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3896.  
  3897.     * s/isc2-2.h (S_IFLNK): Add #undef.
  3898.     (C_SWITCH_SYSTEM): Add conditional definition.
  3899.     (NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined.
  3900.     (LIB_STANDARD): Alternate definition if __GNUC__.
  3901.     (SIGTSTP): #undef deleted.
  3902.     (LIBS_SYSTEM): Define only if HAVE_X_WINDOWS.
  3903.     * s/isc3-0.h: New file.
  3904.  
  3905.     * unexelf.c: Handle rounding of section boundaries.
  3906.     (round_up): New function.
  3907.  
  3908. Tue Mar  2 13:39:40 1993  Karl Berry  (karl@cs.umb.edu)
  3909.  
  3910.         * s/isc2-2.h (USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD):
  3911.         Define.
  3912.         (HAVE_TIMEVAL): Do not define.
  3913.         (NO_ASM): Only define once.
  3914.  
  3915. Tue Mar  2 00:59:29 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3916.  
  3917.     * print.c (float_to_string): Define buf to be an unsigned char, to
  3918.     match the data field of strings.
  3919.  
  3920.     * keyboard.c (kbd_buffer_get_event): Protect assignment to
  3921.     Vlast_event_frame in a "#ifdef MULTI_FRAME" clause.
  3922.  
  3923.     * syntax.c (describe_syntax_1): Delete excess arg to describe_vector.
  3924.     (check_syntax_table): Delete excess arg to wrong_type_argument.
  3925.  
  3926. Mon Mar  1 22:10:54 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3927.  
  3928.     * buffer.c (buffer-undo-list): Doc fix.
  3929.  
  3930.     * xdisp.c (redisplay): Protect calls to request_sigio and
  3931.     unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined 
  3932.  
  3933.     * cmds.c (Fnewline): Doc fix.
  3934.  
  3935. Mon Mar  1 00:46:05 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3936.  
  3937.     * insdel.c (del_range): Update point before offset_intervals.
  3938.  
  3939.     * intervals.h: Don't include dispextern.h more than once.
  3940.     (INTERVAL_VISIBLE_P): NILP test was backwards.
  3941.  
  3942.     * intervals.c (intervals_equal): Handle one arg null and other not.
  3943.     (set_point): Considerable rewrite.  Handle intervals both
  3944.     before and after the old and new point values.
  3945.     Redo handling of invisible intervals, and of motion hooks.
  3946.     (textget): New function.
  3947.  
  3948.     * textprop.c (Fadd_text_properties, Fremove_text_properties):
  3949.     Add len>0 as condition for main loop.
  3950.     Abort if reach a null interval.
  3951.     (Fset_text_properties): Abort if reach a null interval.
  3952.     (Ftext_properties_at, Fget_text_property):
  3953.     Return nil if POS is end of OBJECT.
  3954.     (add_properties): Use NILP to test result of Fequal.
  3955.     No longer inline.
  3956.     (remove_properties): No longer inline.
  3957.     (set_properties): Total rewrite as function.
  3958.     (validate_interval_range): Don't alter *begin at end of buffer.
  3959.     But do search for a position just before the end.
  3960.     Return null for an empty string.
  3961.  
  3962. Sun Feb 28 13:59:59 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  3963.  
  3964.     * Makefile.in (emacs, temacs): Add @true to prevent Make confusion.
  3965.  
  3966.     * lread.c (read1--strings with properties case):
  3967.     Detect end of list, and invalid syntax, using recursive read1 calls.
  3968.  
  3969.     * intervals.c (graft_intervals_into_buffer):
  3970.     create_root_interval needs Lisp object arg.
  3971.     Set tree to new root interval.
  3972.     Don't test TREE_LENGTH if buffer has no intervals.
  3973.     Rearrange code to copy properties so that it really
  3974.     does merge the inserted ones into the inherited ones.
  3975.     (traverse_intervals): Pass `arg' on recursive calls.
  3976.     (split_interval_left): Use new_length as basis for length of new.
  3977.  
  3978.     * print.c (print--string case):
  3979.     Any non-null interval means print intervals.
  3980.     Get rid of var obj1; just use obj.
  3981.  
  3982.     * textprop.c (validate_interval_range): Allow 0 as position in string.
  3983.     Add 1 to specified string positions.
  3984.     (Fprevious_single_property_change): Subtract 1 if object is string.
  3985.     (Fnext_single_property_change): Likewise.
  3986.     (Fprevious_property_change, Fnext_property_change): Likewise.
  3987.  
  3988.     * xterm.c (x_do_pending_expose, XTframe_rehighlight):
  3989.     (x_window_to_scrollbar): Use XGCTYPE.
  3990.  
  3991. Sun Feb 28 00:41:56 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  3992.  
  3993.     Use the term `scroll bar', instead of `scrollbar'.
  3994.     * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
  3995.     lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
  3996.     xterm.c, xterm.h: Terminology changed.
  3997.  
  3998.         Don't generate switch-frame events by checking Vlast_event_frame;
  3999.     use a separate variable for that bookkeeping.  In order to
  4000.     generate them properly, we may need to fiddle with it.
  4001.     * keyboard.c (internal_last_event_frame): New variable.
  4002.     (command_loop_1): Check internal_last_event_frame, not
  4003.     Vlast_event_frame.
  4004.     (read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
  4005.     internal_last_event_frame.
  4006.     (kbd_buffer_get_event): Check internal_last_event_frame to decide
  4007.     whether to generate a switch-frame event.  Set Vlast_event_frame
  4008.     after each event.
  4009.     (init_keyboard): Initialize both Vlast_event_frame and
  4010.     internal_last_event_frame.
  4011.     * keyboard.h (internal_last_event_frame): Add extern declaration
  4012.     for this.
  4013.     * frame.c (Vlast_event_frame): Remove external declaration for
  4014.     this.
  4015.     (Fselect_frame): Set internal_last_event_frame to Qnil to force a
  4016.     switch-frame event, not Vlast_event_frame; the latter is supposed
  4017.     to convey information to the user.
  4018.  
  4019.     * keyboard.c (syms_of_keyboard): Doc fix for unread_command_events.
  4020.  
  4021. Fri Feb 26 16:09:11 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4022.  
  4023.     * keyboard.c (syms_of_keyboard): Doc fix.
  4024.  
  4025. Fri Feb 26 05:06:59 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4026.  
  4027.     * ymakefile (LIBES): Exchange the order of LIB_MATH and
  4028.     LIB_STANDARD, to avoid duplicated symbols under SunOS.
  4029.  
  4030.     * buffer.c (syms_of_buffer): Add the extra argument to the
  4031.     commented-out DEFVAR_PER_BUFFER for `mode-line-format', so
  4032.     make-docfile will find the docstring properly.
  4033.  
  4034. Thu Feb 25 15:03:28 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4035.  
  4036.     * ymakefile (intervals.o): Dep on intervals.c, not textprop.c.
  4037.  
  4038.     * textprop.c (remove_properties): Call modify_buffer.
  4039.     (add_properties): Likewise.
  4040.  
  4041.     * undo.c (record_property_change): Typo in last change.
  4042.  
  4043.     * cmds.c (syms_of_cmds): Typo in last change.
  4044.  
  4045.     * print.c (print): Never declare OBJ arg as `register'.
  4046.     Special handling for strings with intervals.
  4047.     (print_intervals): New function.
  4048.     * lread.c (read1): Handle reading strings with properties.
  4049.  
  4050.     * intervals.c (traverse_intervals): New arg ARG.
  4051.     * alloc.c (mark_interval): Add ignored arg.
  4052.     (mark_interval_tree): Pass new arg to traverse_intervals.
  4053.  
  4054. Wed Feb 24 23:26:45 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4055.  
  4056.     * xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
  4057.     x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
  4058.     that these can be called during GC; we have to ignore mark bits.
  4059.     * lisp.h (GC_NILP, GC_EQ): New macros to help with that.
  4060.  
  4061.     * print.c (float_to_string): Define buf to be an unsigned char, to
  4062.     match the data field of strings.
  4063.  
  4064.     * lisp.h (RETURN_UNGCPRO): Remove "do ... while (0)" wrapper
  4065.     around macro.
  4066.  
  4067.     * data.c (Fstring_to_number): Declare p to be an unsigned char, to
  4068.     match the data field of strings.
  4069.  
  4070.     * data.c (Fstring_to_number): Just skip tabs and spaces; don't use
  4071.     the <ctype.h> macros.  The <ctype.h> stuff apparently varies from
  4072.     locale to locale more than we'd like.  Don't include <ctype.h>.
  4073.  
  4074. Wed Feb 24 18:38:45 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4075.  
  4076.     * buffer.c (Ferase_buffer): Added interactive spec.
  4077.  
  4078. Wed Feb 24 03:54:21 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4079.  
  4080.     * undo.c (Fprimitive_undo): Handle property-change undo entry.
  4081.     (record_property_change): New function.
  4082.  
  4083.     * textprop.c (Fadd_text_properties): Pass new arg to add_properties.
  4084.     (Fremove_text_properties): Likewise.
  4085.     (add_properties, remove_properties): New arg OBJECT.  Record undo info.
  4086.     (Fput_text_property): New function.
  4087.  
  4088.     * buffer.c (syms_of_buffer): Doc fix.
  4089.  
  4090.     * cmds.c (syms_of_cmds): New var `overwrite-binary-mode'.
  4091.     (internal_self_insert): Handle that var.
  4092.  
  4093. Tue Feb 23 13:49:15 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4094.  
  4095.     * keyboard.c (read_avail_input): Args to `kill' were backwards.
  4096.  
  4097. Tue Feb 23 03:35:25 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  4098.  
  4099.     * alloc.c (make_pure_float): Assure that PUREBEG + pureptr is
  4100.     aligned, not pureptr itself.
  4101.  
  4102.     * emacs.c (fatal_error_signal): Unblock the signal before we try
  4103.     to deliver it to ourselves. #include "syssignal.h" to get the
  4104.     right definitions.
  4105.  
  4106.     * abbrev.c (Fexpand_abbrev): Only copy the text we're going to
  4107.     expand - from wordstart to wordend, not from wordstart to point -
  4108.     into the buffer.  There might be non-word text between wordend and
  4109.     point.
  4110.  
  4111. Tue Feb 23 00:46:43 1993  Richard Stallman  (rms@geech.gnu.ai.mit.edu)
  4112.  
  4113.     * unexec.c (adjust_lnnoptrs): Handle symentry.n_type == 0x2400.
  4114.     (make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start.
  4115.  
  4116. Mon Feb 22 01:51:49 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4117.  
  4118.     * process.c: Make sure we don't miss processes exiting, by having
  4119.     the sigchld handler clear *input_available_clear_time.
  4120.     (wait_reading_process_input): Check for process activity after
  4121.     setting the timeout and calling set_waiting_for_input.
  4122.     (sigchld_handler): If the process which has exited is one we care
  4123.     about, clear *input_available_clear_time.
  4124.  
  4125.     * frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
  4126.     switching frames, to make sure we'll get a switch-frame event.
  4127.     (Vlast_event_frame): Add external declaration for this here.
  4128.  
  4129.     * alloc.c (make_pure_float): Align pureptr according to __alignof,
  4130.     if it's available, or sizeof (struct Lisp_Float) if it's not.
  4131.  
  4132.     * .gdbinit (xprocess): New command.
  4133.  
  4134.     * floatfns.c (Flogb): Always implement this by calling Flog, even
  4135.     on non-USG systems, which supposedly have a logb function.
  4136.     (Fround): Always implement this by calling floor, even on systems
  4137.     that have rint.
  4138.  
  4139.     * process.c (process_send_signal): Use TERMIOS functions in
  4140.     preference to BSD ioctls.  Some systems attempt to provide the BSD
  4141.     functions for backward compatibility, and get it wrong.
  4142.  
  4143.     * data.c (Fstring_to_number): Skip initial spaces, to make Emacs
  4144.     lisp parse consistently on different operating systems.
  4145.     #include <ctype.h> to help with this.
  4146.  
  4147.     * data.c (Fstring_to_int): Rename this to Fstring_to_number, since
  4148.     it parses floats as well as integers.  Fix docstring.
  4149.     (syms_of_data): Fix defsubr.
  4150.     (wrong_type_argument): Change use.
  4151.     (Fint_to_string): Doc fix.
  4152.     * lisp.h (Fstring_to_int): Change extern declaration.
  4153.  
  4154. Mon Feb 22 01:37:03 1993  Charles Hannum  (mycroft@hal.gnu.ai.mit.edu)
  4155.  
  4156.     * ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
  4157.     is not defined.
  4158.     (X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the
  4159.     console.
  4160.  
  4161.     * aix3-1.h: Changes from 18.58.
  4162.     (HAVE_TERMIOS): Changed from HAVE_TERMIO.
  4163.     (unix): Define.
  4164.  
  4165.     * sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
  4166.     HAVE_TERMIO.
  4167.  
  4168.     * xrdb.c (getuid): Remove declaration.
  4169.  
  4170.     * systty.h [HAVE_TERMIOS]: Include fcntl.h.
  4171.  
  4172.     * systime.h [_AIX]: Move test outside of previous #if.
  4173.     (EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice.  Prefer tzset.
  4174.  
  4175.     * keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
  4176.     HAVE_TERMIO.
  4177.  
  4178.     * aix3-2.h: New file.  Specifies difference between AIX 3.1 and 3.2.
  4179.  
  4180. Sat Feb 20 12:35:48 1993  Richard Stallman  (rms@wookumz.gnu.ai.mit.edu)
  4181.  
  4182.     * keyboard.c (Fsuspend_emacs): Make tem not register.
  4183.  
  4184.     * syntax.c (Fforward_comment): New function.
  4185.  
  4186.     * search.c (Fskip_syntax_backward): New function.
  4187.     (Fskip_syntax_forward): Likewise.
  4188.     (skip_chars): New argument syntaxp.
  4189.  
  4190.     * alloc.c (Fmemory_limit): Doc fix.
  4191.  
  4192. Fri Feb 19 00:43:36 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4193.  
  4194.     * keyboard.c (Fsuspend_emacs): Rename suspend-hook to suspend-hooks
  4195.     and run it manually.
  4196.  
  4197.     * keymap.c (describe_map): Call Fkey_description before build_string.
  4198.  
  4199. Thu Feb 18 01:26:01 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4200.  
  4201.     * keyboard.c (Fopen_dribble_file): Doc fix.
  4202.  
  4203.     * lread.c (syms_of_lread): Doc fix.
  4204.  
  4205. Thu Feb 18 00:20:49 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4206.  
  4207.     * textprop.c (Fget_text_property): Fix typo in function's declaration.
  4208.  
  4209.     * floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.
  4210.  
  4211.     * alloc.c: Add description lines to the top of each page.
  4212.  
  4213.     * alloc.c (mark_interval_tree): Remove spurious & in front of
  4214.     function name.
  4215.  
  4216.     * alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers
  4217.     other than GCC, which do not allow casts on the LHS of an
  4218.     assignment.
  4219.  
  4220.     * config.h.in: #define USE_TEXT_PROPERTIES by default.
  4221.  
  4222.     * alloc.c (mark_object, mark_buffer): Remove some unused
  4223.     variables.
  4224.  
  4225.     * buffer.c (Fswitch_to_buffer): Pass the correct number of
  4226.     arguments to Fnext_window.
  4227.  
  4228.     * buffer.c (Fbury_buffer): Pass the correct number of arguments to
  4229.     Fother_buffer.
  4230.  
  4231.     * bytecode.c (Fbyte_code): Pass the correct number of arguments to
  4232.     temp_output_buffer_show.
  4233.  
  4234.     * callint.c (Fcall_interactively): Pass the correct number of
  4235.     arguments to wrong_type_argument.
  4236.     * casefiddle.c (caseify_object): Same.
  4237.     * casetab.c (check_case_table): Same.
  4238.     * search.c (Fstore_match_data): Same.
  4239.     * syntax.c (check_syntax_table): Same.
  4240.  
  4241.     * callproc.c (delete_temp_file): Declare this to return
  4242.     Lisp_Object, to smooth type-checking.
  4243.  
  4244.     * data.c (wrong_type_argument): Pass the correct number of
  4245.     arguments to Fstring_to_int.
  4246.  
  4247.     * data.c (arithcompare): Add a default case which aborts, just to
  4248.     make me happy.
  4249.  
  4250.     * dispnew.c (sit_for): Pass the correct number of arguments to
  4251.     gobble_input.
  4252.  
  4253.     * editfns.c (Fmessage): Don't forget to return a value when
  4254.     args[0] == Qnil.
  4255.  
  4256.     * fns.c (Fequal): Call internal_equal to recurse on elements of
  4257.     lists and vectors, not Fequal.
  4258.  
  4259.     * frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil,
  4260.     not nothing.
  4261.  
  4262.     * keyboard.c (echo_char): Apply XINT to c before passing it to
  4263.     push_key_description.
  4264.  
  4265.     * keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
  4266.     number of arguments to unbind_to.
  4267.     * lread.c (Feval_buffer): Same.
  4268.     * window.c (Fscroll_other_window): Same.
  4269.  
  4270.     * keyboard.c (command_loop_1): Apply XINT to c before passing it
  4271.     to internal_self_insert and direct_output_for_insert.
  4272.  
  4273.     * keyboard.c (make_lispy_movement): Rename the variable `part'
  4274.     declared in the block handling scrollbar movement to `part_sym',
  4275.     to avoid potential conflicts with the argument named `part'.
  4276.     Apparently the semantics of expressions like this are unclear.
  4277.  
  4278.     * keyboard.c (Fread_key_sequence): Backslash the newlines in this
  4279.     docstring.
  4280.     * textprop.c (Fget_text_property): Same.
  4281.  
  4282.     * keymap.c (Fdescribe_vector): Pass the proper number of arguments
  4283.     to describe_vector.
  4284.     * syntax.c (describe_syntax_1): Same.
  4285.  
  4286.     * minibuf.c (Fdisplay_completion_list): Pass the proper number of
  4287.     arguments to Flength.
  4288.     * xmenu.c (list_of_items): Same.
  4289.  
  4290.     * window.c (Fset_window_configuration): Pass the proper number of
  4291.     arguments to Fselect_frame.
  4292.  
  4293.     * xfns.c (x_set_icon_type): Pass the proper number of arguments to
  4294.     x_bitmap_icon.
  4295.  
  4296.     * xterm.c (XTread_socket): Pass the proper number of arguments to
  4297.     construct_mouse_click.
  4298.  
  4299.     * config.h.in (HAVE_CONST): New macro.  If it's not #defined, #define
  4300.     const to be the empty string.
  4301.  
  4302.     * config.h.in: If we're not __STDC__, define volatile to be the
  4303.     empty string.
  4304.  
  4305.     * buffer.h: Remove code which #includes "undo.h" if lint is
  4306.     defined.  undo.h no longer exists.
  4307.  
  4308.     * buffer.c (buffer_slot_type_mismatch): Make symbol_name an
  4309.     unsigned char *, to match the type of a string's data.
  4310.  
  4311. Wed Feb 17 22:39:49 1993  Michael I Bushnell  (mib@geech.gnu.ai.mit.edu)
  4312.  
  4313.     * process.c (Fstart_process): Jimb's change of December 11
  4314.     had a misplaced paren.  This only became apparent because of
  4315.     jimb's change on February 8 to Fexpand_file_name.
  4316.     * callproc.c (Fcall_process): Ditto.
  4317.  
  4318. Wed Feb 17 16:27:39 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4319.  
  4320.     * callproc.c (init_callproc): Move the initialization of
  4321.     Vprocess_environment to its own function.
  4322.     (set_process_environment): This is that.
  4323.     * emacs.c (main): Call set_process_environment earlier than
  4324.     init_callproc.
  4325.  
  4326. Sun Feb 14 18:07:29 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4327.  
  4328.     * buffer.c (Frename_buffer): Make prefix arg set UNIQUE.
  4329.  
  4330. Sun Feb 14 08:33:24 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4331.  
  4332.     * xterm.c (x_set_window_size): Call change_frame_size instead of
  4333.     just setting the `rows' and `cols' members of the frame, and
  4334.     leaving the window tree in complete disarray.
  4335.  
  4336.     * dispnew.c (remake_frame_glyphs): When re-allocating the frame's
  4337.     message buffer when echo_area_glyphs is pointing at it, relocate
  4338.     echo_area_glyphs too.  Same for previous_echo_glyphs.
  4339.     * window.h (previous_echo_glyphs): Add extern declaration for this.
  4340.  
  4341.     * frame.c (Fframe_parameters): Report the `minibuffer' parameter of
  4342.     minibufferless frames as nil, not `none'.
  4343.     (Qnone): Remove declaration and initialization for this.  It's not
  4344.     needed anymore.
  4345.     * xfns.c (Qnone): Add them here; we still accept "none" as a valid
  4346.     value for the `minibuffer' parameter.
  4347.  
  4348.     * xfns.c (x_frame_params): Remember that the parameters are called
  4349.     "auto-raise" and "auto-lower", not "autoraise" and "autolower".
  4350.  
  4351.     * xdisp.c (message): Set echo_frame to the frame whose message buf
  4352.     we want to use, not to the message buf itself.
  4353.  
  4354. Sat Feb 13 06:34:00 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4355.  
  4356.     * textprop.c (Fadd_text_properties): Put OBJECT arg last.
  4357.     Make it optional.
  4358.     (Fset_text_properties, Fremove_text_properties): Likewise.
  4359.     (Fnext_single_property_change, Fprevious_single_property_change): 
  4360.     (Fnext_property_change, Fprevious_property_change): Likewise.
  4361.     (Ferase_text_properties): #if 0.
  4362.     (Fget_text_property): New function.
  4363.  
  4364.     * s/irix4-0.h (C_SWITCH_MACHINE): Don't define if GCC.
  4365.  
  4366. Sat Feb 13 03:21:57 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4367.  
  4368.     * s/usg5-4.h: #include "usg5-3.h", not "s-usg5-3.h".
  4369.  
  4370. Thu Feb 11 21:04:37 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4371.  
  4372.     * xterm.c (x_io_error_quitter): New function.
  4373.     (x_error_quitter): Note that this is only used for protocol
  4374.     errors now, not I/O errors.
  4375.     (x_term_init): Set the I/O error handler to x_io_error_quitter.
  4376.  
  4377. Thu Feb 11 18:20:27 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4378.  
  4379.     * editfns.c (Finsert_buffer_substring): Proper error for non-ex buffer.
  4380.     (Fcompare_buffer_substrings): Likewise.
  4381.  
  4382. Wed Feb 10 01:38:55 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4383.  
  4384.     * fileio.c (Fdo_auto_save): If NO_MESSAGE is non-nil, don't tell
  4385.     users that buffers have shrunk a lot.  This is called when Emacs
  4386.     is crashing, so we don't want to run any code that isn't
  4387.     absolutely necessary.  Also, autosave buffers which don't have
  4388.     specially handled autosave file names first.
  4389.  
  4390. Wed Feb 10 01:33:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4391.  
  4392.     * editfns.c (Fcompare_buffer_substrings): Ignore case
  4393.     if case-fold-search is non-nil.
  4394.  
  4395. Mon Feb  8 10:28:52 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4396.  
  4397.     * keymap.c (Flookup_key, Fkey_binding, Flocal_key_binding,
  4398.     Fglobal_key_binding, Fminor_mode_key_binding): Add a new optional
  4399.     argument ACCEPT_DEFAULT, to control whether this function sees
  4400.     bindings for t.
  4401.     (Fwhere_is_internal, describe_map_tree, describe_map_2,
  4402.     describe_vector): Pass the proper arguments to Flookup_key.
  4403.  
  4404.     * fileio.c (Fexpand_file_name): Pass DEFALT through
  4405.     Fexpand_file_name before using it.
  4406.  
  4407.     * fileio.c (Fexpand_file_name): Doc fix.
  4408.  
  4409. Sun Feb  7 20:26:44 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4410.  
  4411.     * xdisp.c (message): Use the message buffer of the frame we're
  4412.     going to display the message on to format the message, not that of
  4413.     the selected frame.
  4414.  
  4415. Sun Feb  7 00:31:01 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4416.  
  4417.     * Makefile (emacs, temacs): Add no-op commands to these rules.
  4418.  
  4419.     * dispnew.c (char_ins_del_cost): Use FRAME_WIDTH, not FRAME_HEIGHT.
  4420.  
  4421.     * editfns.c (Fcompare_buffer_substrings): New function.
  4422.  
  4423. Sat Feb  6 19:23:03 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4424.  
  4425.     * keyboard.c (extra_keyboard_modifiers): New Lisp var.
  4426.     (read_char): Support ctl and meta bits in extra_keyboard_modifiers.
  4427.     * xterm.c (XTread_socket): Support extra_keyboard_modifiers.
  4428.  
  4429. Fri Jan 29 16:30:56 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  4430.  
  4431.     * window.c (Fscroll_left, Fscroll_right): Don't forget to apply
  4432.     XWINDOW to selected_window before passing it to window_internal_width.
  4433.  
  4434.     * xmenu.c (Fx_popup_menu): Don't forget to turn the frame-relative
  4435.     coordinates for the menu position into root-window-relative
  4436.     coordinates.
  4437.  
  4438.     * lread.c (read1): Although digits followed by a '.' are an
  4439.     integer, a single . by itself (like, say, \.) should be a symbol.
  4440.  
  4441. Mon Jan 25 22:04:43 1993  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  4442.  
  4443.     * fns.c (internal_equal): Protect the clause for comparing numbers
  4444.     of different types with a "#ifdef LISP_FLOAT_TYPE".
  4445.  
  4446. Mon Jan 25 15:05:47 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4447.  
  4448.     * s/hpux8.h [__GNUC__] (LD_SWITCH_SYSTEM): Remove -a.
  4449.     [__GNUC__] (ORDINARY_LINK): Defined.
  4450.  
  4451.     * m/sparc.h [TERMINFO]: Don't define LIBS_TERMCAP.
  4452.  
  4453. Mon Jan 25 11:37:34 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4454.  
  4455.         `live-frame-p' has become `frame-live-p'.
  4456.     * frame.c (Qlive_frame_p): Renamed to Qframe_live_p.
  4457.     (Flive_frame_p): Renamed to Fframe_live_p.
  4458.     (syms_of_frame): Defsubrs and initializations adjusted.
  4459.     * frame.h (CHECK_LIVE_FRAME): Use Qframe_live_p, not Qlive_frame_p.
  4460.     (Qlive_frame_p): Changed extern declaration to Qframe_live_p.
  4461.  
  4462.     * lread.c (read1): Treat a string of digits ending in a period as
  4463.     an integer.
  4464.  
  4465.     Turn `first-change-function' into `first-change-hook'.
  4466.     * buffer.c (Vfirst_change_function): Renamed to Vfirst_change_hook.
  4467.     (Qfirst_change_hook): New symbol, for passing to Vrun_hooks.
  4468.     (syms_of_buffer): Change DEFVAR; initialize Qfirst_change_hook.
  4469.     * buffer.h (Vfirst_change_function): Renamed to Vfirst_change_hook.
  4470.     (Qfirst_change_hook): Added declaration.
  4471.     * insdel.c (signal_before_change): Change references to
  4472.     Vfirst_change_function, and apply Vrun_hooks to
  4473.     Qfirst_change_hook, instead of just calling Vfirst_change_function
  4474.     directly.
  4475.  
  4476.     x-selection-value has been renamed to x-selection.
  4477.     x-own-selection has been renamed to x-set-selection, and the order
  4478.     of its arguments has been reversed, for consistency with other
  4479.     lisp functions like put and aset.
  4480.     * xselect.c (Fx_own_selection): Rename to Fx_set_selection, 
  4481.     reverse the order of the args, and therefore make the type
  4482.     non-optional.  Doc fix.
  4483.     (Fx_selection_value): Rename to Fx_selection; make the type
  4484.     argument non-optional, for symmetry with Fx_set_selection.  Doc
  4485.     fix.
  4486.     (syms_of_xselect): Adjusted.
  4487.  
  4488.     * xselect.c (Fx_own_selection, Fx_selection_value): Remove "#if
  4489.     0"'ed code which made cut buffers look like a special selection
  4490.     type.
  4491.  
  4492.     * xfns.c (Vx_selection_value): Removed extern declaration for
  4493.     this; it's never used.
  4494.  
  4495.     * data.c (Fcompiled_function_p): Renamed to Fbyte_code_function_p.
  4496.     (syms_of_data): Adjusted.
  4497.  
  4498.     * data.c (Fnumberp, Fnumber_or_marker_p): Use the NUMBERP macro,
  4499.     instead of writing it out.
  4500.  
  4501.     * fns.c (internal_equal): If the operands are both numbers,
  4502.     compare them numerically, so that (equal 1.0 1) => t.
  4503.     Compare Lisp_Compiled objects like vectors.
  4504.  
  4505.     Add lisp functions to raise and lower frames.
  4506.     * termhooks.h (frame_raise_lower_hook): New hook.
  4507.     * term.c (frame_raise_lower_hook): Define it.
  4508.     * frame.c (Fframe_to_front, Fframe_to_back): New functions.
  4509.     (syms_of_frame): defsubr them.
  4510.     * xterm.c (XTframe_raise_lower): New function.
  4511.     (x_term_init): Set frame_raise_lower_hook to XTframe_raise_lower.
  4512.  
  4513.     * frame.c: Doc fixes.
  4514.  
  4515. Sun Jan 24 16:28:34 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4516.  
  4517.     Make the cursor style a frame parameter.
  4518.     * xterm.h (struct x_display): Rename the `text_cursor_kind' member
  4519.     to `current_cursor'; add new member `desired_cursor'.
  4520.     (FRAME_DESIRED_CURSOR): New accessor for new member.
  4521.     * xterm.c (x_display_bar_cursor): Rewritten so as not to damage
  4522.     the characters the cursor is displayed over, and to handle
  4523.     transitions between box and bar styles.
  4524.     (x_display_bar_cursor, x_display_box_cursor): Use current_cursor
  4525.     instead of text_cursor_kind.
  4526.     (Vbar_cursor): Delete external declaration.
  4527.     (x_display_cursor): Use the FRAME_DESIRED_CURSOR accessor instead
  4528.     of Vbar_cursor to decide how to draw the cursor.
  4529.     * xfns.c (Vbar_cursor): Remove definition.
  4530.     (Qbar, Qbox, Qcursor_type): New symbols. 
  4531.     (syms_of_xfns): Init and staticpro them; remove DEFVAR for
  4532.     Vbar_cursor.
  4533.     (x_set_cursor_type): New setter.
  4534.     (x_frame_parms): Add it to the list.
  4535.     (Fx_create_frame): Get default values for the cursor type.
  4536.  
  4537.     * frame.c (Fmouse_position): Pass the appropriate arguments to
  4538.     *mouse_position_hook; the protocol was changed, but this caller
  4539.     wasn't fixed.
  4540.  
  4541.     * xterm.c (XTclear_frame): Call x_scrollbar_clear.
  4542.     (x_scrollbar_clear): New function.
  4543.  
  4544.     * xterm.c (XTflash): Totally rewritten.  Only defined if
  4545.     HAVE_TIMEVAL and HAVE_SELECT are defined, since we use select for
  4546.     our timing.
  4547.     (timeval_subtract): New function, to help XTflash.
  4548.     (x_invert_frame): Removed.  This didn't work anyway.
  4549.     (XTring_bell): Remove "#if 0" around call to XTflash, and remove
  4550.     calls to x_invert_frame.  If both HAVE_TIMEVAL and HAVE_SELECT
  4551.     aren't defined, then just do the ordinary beep.
  4552.  
  4553.     * window.c (Fscroll_other_window): Prefer windows on the selected
  4554.     frame, then look for windows on other visible frames.
  4555.  
  4556.     * keyboard.c (Fmouse_click_p): Removed; with the 'e' spec, this
  4557.     isn't necessary anymore.
  4558.     (syms_of_keyboard): Remove defsubr for it.
  4559.     * keyboard.h (Fmouse_click_p): Remove extern declaration for it.
  4560.  
  4561.     * xfns.c (gray_bits): Remove this declaration; the same data is in
  4562.     <X11/bitmaps/gray>.  #include that instead.
  4563.     [not HAVE_X11] (x_set_border_pixel): Use gray_width and
  4564.     gray_height, instead of assuming that the bitmap is 16x16.
  4565.     (x_make_gc): Instead of creating a pixmap and then calling
  4566.     XPutImage to make it into a grey stipple, just call
  4567.     XCreatePixmapFromBitmapData to do it all at once.
  4568.  
  4569.     * xterm.c (x_text_icon): Move the request for font information
  4570.     into the "not HAVE_X11" part of the function; the X11 code doesn't
  4571.     need this.
  4572.  
  4573.     * xterm.c (x_wm_set_icon_pixmap): Instead of setting the
  4574.     icon_pixmap to None, just remove IconPixmapHint from the flags of
  4575.     the XWMHints structure.
  4576.  
  4577.     * window.c (Fprevious_frame): Use prev_frame when we get to the
  4578.     end of the current frame, not next_frame.  Doc fix.
  4579.     * frame.c (prev_frame): Remove "#if 0" from this function.  It
  4580.     turns out we do need it, to make prev_frame work right.
  4581.  
  4582.     * frame.c (next_frame): Check that FRAME is a live frame.
  4583.  
  4584.     * frame.c (Fselect_frame): Remove "#ifdef MULTI_FRAME" clause
  4585.     around the code which calls Ffocus_frame; this code is already
  4586.     inside an "#ifdef MULTI_FRAME" clause.
  4587.     (next_frame, prev_frame, Fnext_frame): For the same reasons,
  4588.     remove the "#ifdef MULTI_FRAME" clause around these functions.
  4589.  
  4590.     unread-command-event has been replaced by unread-command-events.
  4591.     * commands.h (unread_command_event): Change extern declaration.
  4592.     * keyboard.c (unread_command_event): Change the definition.
  4593.     (syms_of_keyboard): Change DEFVAR, and adjust the docstring.
  4594.     (command_loop_1, read_char, Finput_pending, Fdiscard_input,
  4595.     quit_throw_to_read_char, init_keyboard): Change to use
  4596.     unread_command_events, with the new semantics.
  4597.     * lread.c (read_char): Same.
  4598.     * minibuf.c (temp_echo_area_glyphs): Same.
  4599.     * xterm.c (unread_command_event): Remove external declaration for
  4600.     this; it is only used by obsolete code.
  4601.  
  4602.     * Makefile.in: Some makes can't handle comments in the middle of
  4603.     commands; move them to before the whole rule.
  4604.  
  4605. Thu Jan 21 22:51:37 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4606.  
  4607.     * keyboard.c (make_lispy_event): When handling a mouse click event
  4608.     on a window, change x and y from screen coordinates to window
  4609.     coordinates even when the click isn't in the text area.
  4610.  
  4611.     * xterm.c (x_scrollbar_create): Remove code which asks for
  4612.     EastGravity for windows; Emacs can't correctly deal with them
  4613.     moving around unexpectedly.
  4614.  
  4615.     * xterm.c (XTread_socket): Minor reformatting.
  4616.  
  4617.     * xterm.c (x_set_window_size): Always mark the frame garbaged.
  4618.  
  4619.         * window.c (Vmouse_window): Variable removed; it can't be handled
  4620.     properly without race conditions, and the events give you all the
  4621.     information you need anyway.
  4622.     (syms_of_window): Remove DEFVAR.
  4623.     * callint.c (Fcall_interactively): Change the `@' spec to select
  4624.     the window of the first parameterized event in the key sequence
  4625.     which invoked the command, instead of using Vmouse_window, which
  4626.     isn't even updated anymore.  Adjust the documentation
  4627.     accordingly.
  4628.  
  4629. Wed Jan 20 13:06:43 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4630.  
  4631.     * xterm.c (x_scrollbar_create): Set the scrollbars to use
  4632.     EastGravity.
  4633.  
  4634.     * keyboard.c (make_lispy_event): Deal with button releases with no
  4635.     stored down-going position.  Make sure we always store a Qnil in
  4636.     the right button_down_location element after using it.
  4637.  
  4638. Tue Jan 19 10:33:04 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4639.  
  4640.     * frame.c (Fdelete_frame): Clear the frame's display after calling
  4641.     the window-system-dependent frame destruction routine.  We
  4642.     no longer need to pass the display as a separate argument to
  4643.     x_destroy_window.
  4644.     * xterm.c (x_destroy_window): Put the code which clears out f's
  4645.     display here, right after we free the storage it points to.  Put
  4646.     everything, including the code which clears x_focus_frame and
  4647.     x_highlight_frame, inside the BLOCK/UNBLOCK_INPUT pair.
  4648.  
  4649.     * dispnew.c (Fredraw_display): Undo change of Jan 12; redraw only
  4650.     frames whose garbaged flag is set.  The change to
  4651.     FRAME_SAMPLE_VISIBILITY on Jan 14 should address the problem better.
  4652.  
  4653.     keyboard.c (read_char_menu_prompt): Test HAVE_X_WINDOWS, not
  4654.     HAVE_X_WINDOW.
  4655.  
  4656.     The CPP symbol indicating whether or not we have mouse menu
  4657.     support under X Windows is HAVE_X_MENU, not not NO_X_MENU.
  4658.     * emacs.c (main): Test HAVE_X_MENU, instead of NO_X_MENU.
  4659.     * keyboard.c (read_char_menu_prompt): Same.
  4660.     * ymakefile: Same.
  4661.  
  4662.     * keyboard.c (read_char, read_char_menu_prompt): Use the
  4663.     EVENT_HAS_PARAMETERS macro from keyboard.h, instead of writing it
  4664.     out.
  4665.  
  4666.     * keyboard.c (read_char_menu_prompt): Doc fix.
  4667.  
  4668.     * keyboard.c (read_char_menu_prompt): Fix test for no menus;
  4669.     comparing name to Qnil doesn't work if we are called with no maps.
  4670.  
  4671.     * keymap.c (Fdefine_key): Call Fkey_description to make the string
  4672.     to use in the error message.
  4673.  
  4674. Mon Jan 18 19:56:45 1993  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  4675.  
  4676.     * window.c (Fdisplay_buffer): Doc fix.
  4677.  
  4678. Sat Jan 16 00:55:19 1993  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  4679.  
  4680.     * xterm.c (x_window_to_scrollbar): Search frames'
  4681.     condemned_scrollbars list as well; input might arrive during
  4682.     redisplay.
  4683.     (x_scrollbar_report_motion): Don't forget to BLOCK_INPUT.
  4684.     (XTjudge_scrollbars): Clear the condemned scrollbar list before
  4685.     traversing it, so we don't try to process an event on a scrollbar
  4686.     we've killed.
  4687.  
  4688. Fri Jan 15 16:57:33 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4689.  
  4690.     * keyboard.c (Frecent_keys): Doc fix.
  4691.  
  4692. Thu Jan 14 16:17:44 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4693.  
  4694.     * window.c (Fwindow_at): Doc fix.
  4695.  
  4696. Thu Jan 14 04:34:13 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4697.  
  4698.     * xterm.c (x_scrollbar_create): Include PointerMotionHintMask in
  4699.     the event mask for scrollbars.
  4700.  
  4701.     * dispnew.c (Fredraw_display): DEFUN was missing a closing paren.
  4702.  
  4703.     * term.c (set_vertical_scrollbar_hook, condemn_scrollbars_hook,
  4704.     redeem_scrollbar_hook, judge_scrollbars_hook): Removed dumbo
  4705.     "externs" from these.  They're supposed to be real definitions.
  4706.  
  4707.     * .gdbinit: Add "-geometry +0+0" to default args.
  4708.     (xscrollbar): New command.
  4709.  
  4710.     Make scrollbar structures into lisp objects, so that they can be
  4711.     GC'd; this allows windows and scrollbars can refer to each other
  4712.     without worrying about dangling pointers.
  4713.     * xterm.h (struct x_display): vertical_scrollbars and
  4714.     judge_timestamp members deleted.
  4715.     (struct scrollbar): Redesigned to be a template for a Lisp_Vector.
  4716.     (SCROLLBAR_VEC_SIZE, XSCROLLBAR, SCROLLBAR_PACK, SCROLLBAR_UNPACK,
  4717.     SCROLLBAR_X_WINDOW, SET_SCROLLBAR_X_WINDOW,
  4718.     VERTICAL_SCROLLBAR_INSIDE_WIDTH, VERTICAL_SCROLLBAR_TOP_RANGE,
  4719.     VERTICAL_SCROLLBAR_INSIDE_HEIGHT, VERTICAL_SCROLLBAR_MIN_HANDLE):
  4720.     New macros, to help deal with the lispy structures, and deal with
  4721.     the graphics.
  4722.     * frame.h (WINDOW_VERTICAL_SCROLLBAR): Macro deleted.
  4723.     (struct frame): New fields `scrollbars' and
  4724.     `condemned_scrollbars', for use by the scrollbar implementation.
  4725.     [MULTI_FRAME and not MULTI_FRAME] (FRAME_SCROLLBARS,
  4726.     FRAME_CONDEMNED_SCROLLBARS): Accessors for the new field.
  4727.     * window.h (struct window): Doc fix for vertical_scrollbar field.
  4728.     * frame.c (make_frame): Initialize the `scrollbars' and
  4729.     `condemned_scrollbars' fields of the new frame.
  4730.     * alloc.c (mark_object): Mark the `scrollbars' and
  4731.     `condemned_scrollbars' slots of frames.
  4732.     * xterm.c (x_window_to_scrollbar): Scrollbars are chained on
  4733.     frames' scrollbar field, not their x.display->vertical_scrollbars
  4734.     field.
  4735.     (x_scrollbar_create, x_scrollbar_set_handle, x_scrollbar_move,
  4736.     x_scrollbar_remove, XTset_vertical_scrollbar,
  4737.     XTcondemn_scrollbars, XTredeem_scrollbar, XTjudge_scrollbars,
  4738.     x_scrollbar_expose, x_scrollbar_handle_click,
  4739.     x_scrollbar_handle_motion): Substantially rewritten to correct
  4740.     typos and brainos, and to accomodate the lispy structures.
  4741.  
  4742.     * xterm.c (x_scrollbar_background_expose): Function deleted; we
  4743.     don't want anything in the background there after all.
  4744.     (XTread_socket): Don't call x_scrollbar_background_expose.  We
  4745.     don't care.
  4746.  
  4747.     * frame.h (FRAME_SAMPLE_VISIBILITY): Make sure frame is marked as
  4748.     garbaged whenever it goes from invisible to visible.
  4749.     * dispextern.h (frame_garbaged): Move extern declaration from here...
  4750.     * frame.h (frame_garbaged): ... to here.  The FRAME_SAMPLE_VISIBILITY
  4751.     macro uses it now, and this seems to be just as modular.  Make a
  4752.     new page, just for this and message_buf_print.
  4753.     (struct frame): Doc fix for the `visible' field.
  4754.     * process.c: #include "frame.h" instead of "dispextern.h"; the
  4755.     only thing we care about from it is the frame_garbaged
  4756.     declaration.
  4757.     * ymakefile: Note dependency change.
  4758.  
  4759.     * xfns.c (Fx_create_frame): After mapping the frame, call
  4760.     SET_FRAME_GARBAGED, not just plain FRAME_GARBAGED.
  4761.  
  4762.     * window.c (window_internal_width): New function, which accounts
  4763.     for scrollbars if present.
  4764.     * lisp.h (window_internal_height, window_internal_width): Add
  4765.     extern declarations for these.
  4766.     * dispnew.c (direct_output_for_insert, direct_output_forward_char,
  4767.     buffer_posn_from_coords): Use window_internal_width instead of
  4768.     writing out its definition.
  4769.     * indent.c (compute_motion): Doc fix; mention scrollbars and
  4770.     window_internal_width.
  4771.     (pos_tab_offset, Fvertical_motion): Use window_internal_width
  4772.     instead of writing it out.
  4773.     * window.c (Fpos_visible_in_window_p, Fwindow_width, Fscroll_left,
  4774.     Fscroll_right): Same.
  4775.     * xdisp.c (redisplay, try_window, try_window_id,
  4776.     display_text_line): Same.
  4777.  
  4778.     * xdisp.c (display_string): Add new variable `f', to be W's
  4779.     frame.  Use it to set desired_glyphs, and to get the frame's width
  4780.     to decide whether or not to draw vertical bars.
  4781.  
  4782.     * xdisp.c (display_text_line): If we're using vertical scrollbars,
  4783.     don't draw the vertical bars separating side-by-side windows.
  4784.     (display_string): Same thing.  Draw spaces to fill in the part of
  4785.     the mode line that is under the scrollbar in partial-width
  4786.     windows.
  4787.  
  4788.     * xfns.c (Qvertical_scrollbars): New symbol.  Use it as the name
  4789.     of the parameter which decides whether or not the frame has
  4790.     scrollbars, instead of Qvertical_scrollbar.
  4791.     (Fx_create_frame): Adjusted accordingly.
  4792.     (syms_of_xfns): Initialize and staticpro Qvertical_scrollbars.
  4793.     (x_set_vertical_scrollbar): Renamed to x_set_vertical_scrollbars.
  4794.     (x_frame_parms): Adjusted accordingly.
  4795.  
  4796.     * xterm.h (CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT,
  4797.     PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Rewritten, using:
  4798.     (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, PIXEL_TO_CHAR_ROW,
  4799.     PIXEL_TO_CHAR_COL): New macros.
  4800.     * xfns.c [not HAVE_X11] (Fx_create_frame): Use the
  4801.     PIXEL_TO_CHAR_{HEIGHT,WIDTH} macros to figure the frame's
  4802.     character size, and the CHAR_TO_PIXEL* macros for vice versa.
  4803.     * xterm.c (XTwrite_glyphs, XTclear_end_of_line, stufflines,
  4804.     scraplines, dumprectangle, pixel_to_glyph_coords, x_draw_box,
  4805.     clear_cursor, x_display_bar_cursor, x_draw_single_glyph,
  4806.     x_set_mouse_position): Use the CHAR_TO_PIXEL_* macros.
  4807.  
  4808.     * xterm.c (x_wm_set_size_hint): The max_width and max_height
  4809.     members of the size_hints are expressed in pixels, not columns.
  4810.  
  4811.     * xterm.c (x_set_window_size): Remove ibw var; it's not used.
  4812.     Set FRAME_WIDTH (f) to cols instead of rows.  Duh.
  4813.  
  4814.     * xterm.c (pixel_to_glyph_coords): Properly set *bounds to the
  4815.     character cell bounding the position, even when the position is
  4816.     off the frame.
  4817.  
  4818.     * xfns.c (x_set_name): To request that the modelines be redrawn,
  4819.     execute the statement "update_mode_lines = 1;" instead of the
  4820.     silly statement "update_mode_lines;".
  4821.  
  4822.     * xfns.c (x_set_vertical_scrollbars): Don't try to set the
  4823.     X window's size if the frame's X window hasn't been created yet.
  4824.  
  4825.     * xfns.c (x_figure_window_size): Set the frame's
  4826.     vertical_scrollbar_extra field before trying to calculate its
  4827.     pixel dimensions.
  4828.  
  4829.     * xfns.c (x_window): When calling x_implicitly_set_name for the
  4830.     sake of drawing the name for the first time, remember to clear and
  4831.     set the frame's explicit_name member as well as its name member.
  4832.     (Fx_create_frame): Set the frame's explicit_name member if the
  4833.     user specified the name explicitly.
  4834.  
  4835.     * xdisp.c (display_text_line): Use the usable internal width of
  4836.     the window, as calculated above, as the limit on the length of the
  4837.     overlay arrow's image, rather than using the window's width field,
  4838.     less one.
  4839.  
  4840.     * xdisp.c (redisplay): Call condemn_scrollbars_hook and
  4841.     judge_scrollbars_hook whenever they are set, not just when the
  4842.     frame has vertical scrollbars.
  4843.  
  4844.     * termhooks.h (mouse_position_hook): Doc fix.
  4845.     (set_vertical_scrollbar_hook): This doesn't return anything any
  4846.     more, and doesn't take a struct scrollbar * argument any more.
  4847.     (condemn_scrollbars_hook, redeem_scrollbar_hook,
  4848.     judge_scrollbars_hook): Doc fixes.
  4849.     * term.c (mouse_position_hook): Doc fix.
  4850.     (set_vertical_scrollbar_hook): This doesn't return
  4851.     anything any more.  Doc fixes.
  4852.     * keyboard.c (kbd_buffer_get_event): Receive the scrollbar's
  4853.     window from *mouse_position_hook and pass it to
  4854.     make_lispy_movement, instead of working with a pointer to a struct
  4855.     scrollbar.
  4856.     (make_lispy_event): We don't need a window_from_scrollbar function
  4857.     anymore; we are given the window directly in *EVENT.
  4858.     Unify the code which generates
  4859.     text-area mouse clicks and scrollbar clicks; use the same code to
  4860.     distinguish clicks from drags on the scrollbar as in the text area.
  4861.     Distinguish clicks from drags by storing a copy of the lispy
  4862.     position list returned as part of the event.
  4863.     (button_down_location): Make this a lisp vector, rather than an
  4864.     array of random structures.
  4865.     (struct mouse_position): Remove this; it's been replaced by a lisp
  4866.     list.
  4867.     (make_lispy_movement): Accept the scrollbar's window as a
  4868.     parameter, rather than the scrollbar itself.
  4869.     If FRAME is zero, assume that the other arguments are garbage.
  4870.     (syms_of_keyboard): No need to staticpro each window of
  4871.     button_down_location now; just initialize and staticpro it.
  4872.     * window.c (window_from_scrollbar): Function deleted; no longer
  4873.     needed.
  4874.     * xdisp.c (redisplay_window): Just pass the window to
  4875.     set_vertical_scrollbar hook; don't pass the scrollbar object too.
  4876.     * xterm.c (XTmouse_position): Don't return a pointer to the
  4877.     scrollbar for scrollbar motion; instead, return the scrollbar's
  4878.     window.
  4879.  
  4880.     * xterm.c (XTmouse_position): Entirely rewritten, using
  4881.     XTranslateCoordinates.  Call x_scrollbar_report_motion to handle
  4882.     scrollbar movement events.
  4883.     (x_scrollbar_report_motion): New function, to help out
  4884.     XTmouse_position.
  4885.  
  4886.     * keyboard.c (apply_modifiers): Don't assume that the Qevent_kind
  4887.     property of BASE is set when we first create the new modified
  4888.     symbol.  Check that the Qevent_kind property is properly set each
  4889.     time we return any symbol.
  4890.  
  4891.     * termhooks.h (struct input_event): Replace the frame member with
  4892.     a Lisp_Object member by the name of frame_or_window.  Doc fixes.
  4893.     Remove the scrollbar member; instead, use frame_or_window to hold the
  4894.     window whose scrollbar was clicked.
  4895.     * keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event,
  4896.     make_lispy_event): Adjust references to frame member of struct
  4897.     input_event to use frame_or_window now.
  4898.     * xterm.c (construct_mouse_click, XTread_socket): Same.
  4899.  
  4900.     * xterm.c (last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
  4901.     last_mouse_scroll_range_start, last_mouse_scroll_range_end):
  4902.     Replaced with...
  4903.     (last_mouse_scrollbar): New variable.
  4904.     (note_mouse_movement): Clear last_mouse_scrollbar when we have
  4905.     receieved a new motion.
  4906.     (syms_of_xterm): Staticpro last_mouse_scrollbar.
  4907.  
  4908.     * xterm.c (note_mouse_position): Renamed to note_mouse_movement,
  4909.     because that's what it really does.
  4910.     (x_scrollbar_handle_motion): Renamed to x_scrollbar_note_movement,
  4911.     for consistency.
  4912.     (XTread_socket): Adjusted.
  4913.  
  4914.     * xterm.c (XTset_scrollbar): Renamed to XTset_vertical_scrollbar.
  4915.     (x_term_init): Adjusted.
  4916.  
  4917.     * keyboard.c (kbd_buffer_frames): Renamed to
  4918.     kbd_buffer_frame_or_window, and made to exist even when
  4919.     MULTI_FRAME isn't defined; single-frame systems might have
  4920.     scrollbars.  Use it to GCPRO the frame_or_window field in the
  4921.     event queue.
  4922.     (kbd_buffer_store_event, kbd_buffer_get_event,
  4923.     stuff_buffered_input): Set and clear the
  4924.     appropriate element of kbd_buffer_frame_or_window, whether or not
  4925.     MULTI_FRAME is #defined.
  4926.     (read_avail_input): When reading characters directly from stdin,
  4927.     set the frame_or_window field of the event appropriately,
  4928.     depending on whether or not MULTI_FRAME is #defined.
  4929.     (Fdiscard_input, init_keyboard): Zap kbd_buffer_frame_or_window,
  4930.     not kbd_buffer_frames.
  4931.     (syms_of_keyboard): Initialize and staticpro
  4932.     kbd_buffer_frame_or_window, whether or not MULTI_FRAME is
  4933.     #defined.
  4934.  
  4935.     * keyboard.c (head_table): Make Qscrollbar_movement have a
  4936.     Qevent_kind property of Qmouse_movement, not Qscrollbar_movement.
  4937.  
  4938.     * keyboard.c (read_key_sequence): If we decide to throw away a
  4939.     mouse event which has prefix symbols (`mode-line',
  4940.     `vertical-scrollbar', etcetera), remember that we may have to
  4941.     unwind two characters, not just one.
  4942.  
  4943.     * keyboard.c (read_key_sequence): Doc fixes.
  4944.  
  4945.     * keyboard.c (kbd_buffer_store_event): Fix reversed sense of test
  4946.     for focus redirection.
  4947.  
  4948.     * keyboard.c (read_char): Don't echo mouse movements.
  4949.  
  4950.     * emacs.c (shut_down_emacs): New function.
  4951.     (fatal_error_signal, Fkill_emacs): Call it, instead of writing it out.
  4952.     * xterm.c (x_connection_closed): Call shut_down_emacs instead of
  4953.     Fkill_emacs; the latter will try to perform operations on the X
  4954.     server and die a horrible death.
  4955.     * lisp.h (shut_down_emacs): Add extern declaration for it.
  4956.  
  4957.     * xterm.c (x_error_quitter): Move the abort call to after we print
  4958.     the error message.  No harm in that.
  4959.  
  4960.     * xdisp.c (echo_area_display): Move the assignment of f and the
  4961.     check for visibility out of the "#ifdef MULTI_FRAME" clause; they
  4962.     should work under any circumstances.
  4963.  
  4964.     * xdisp.c (redisplay_window): If we're not going to redisplay this
  4965.     window because it's a minibuffer whose contents have already been
  4966.     updated, go ahead and jump to the scrollbar refreshing code
  4967.     anyway; they still need to be updated.  Initialize opoint, so it's
  4968.     known to be valid when we jump.  Calculate the scrollbar settings
  4969.     properly for minibuffers, no matter what they are displaying at
  4970.     the time.
  4971.  
  4972.     * xdisp.c (redisplay_windows): Don't restore the current buffer
  4973.     and its point before refreshing the scrollbars; we need the buffer
  4974.     accurate.
  4975.  
  4976. Tue Jan 12 19:23:44 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4977.  
  4978.     * print.c (float_to_string): Add final 0 if text ends with decimal pt.
  4979.  
  4980.     * dispnew.c (Fredraw_display): Redraw all visible frames.
  4981.     Make the non-multi-frame version interactive.
  4982.  
  4983. Mon Jan 11 18:15:18 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4984.  
  4985.     * fileio.c (Fset_default_file_modes, Fdefault_file_modes):
  4986.     Renamed from Fset_umask and Fumask; sense of arg is reversed.
  4987.     (Fwrite_region): Doc fix.
  4988.  
  4989. Sun Jan 10 11:42:28 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  4990.  
  4991.     * print.c (float_to_string): Add `.0' at end if needed.
  4992.  
  4993.     * lread.c (Fload): If warn that .elc file is older, inhibit
  4994.     the ordinary message that would follow.
  4995.  
  4996. Sat Jan  9 12:12:31 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  4997.  
  4998.     * fileio.c (Fdo_auto_save): Add CURRENT_ONLY argument, as
  4999.     described in doc string.
  5000.  
  5001. Fri Jan  8 04:07:46 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5002.  
  5003.     * fns.c (Frandom): Change arg name.
  5004.  
  5005.     * editfns.c: Doc fixes.
  5006.  
  5007. Thu Jan  7 05:21:48 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5008.  
  5009.     * unexhp9k800.c (unexec): Don't call exit, just return.
  5010.  
  5011. Thu Jan  7 03:43:09 1993  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5012.  
  5013.         * config.h.in: protect against multiple #inclusions.
  5014.  
  5015.     * config.h.in: Add a declaration for getenv.
  5016.  
  5017.     * xfns.c (Fx_get_resource): Add CLASS argument, to give class of
  5018.     ATTRIBUTE.
  5019.     [not HAVE_X11]: Change definition of Fx_get_resource macro
  5020.     accordingly.
  5021.     (x_get_arg): Add CLASS argument, to give the class of ATTRIBUTE.
  5022.     Pass it along to Fx_get_resource.
  5023.     (x_figure_window_size, x_icon): Pass new argument to x_get_arg.
  5024.     (x_default_parameter): Add XCLASS argument, to give the class of
  5025.     XPROP.  Pass it along to x_get_arg.
  5026.     (Fx_create_frame): Pass new args to x_get_arg and
  5027.     x_default_parameter.
  5028.  
  5029.     * xfns.c (Fx_create_frame): Use the same resource names and
  5030.     classes as xterm and Emacs 18.
  5031.  
  5032. Sun Jan  3 18:40:05 1993  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5033.  
  5034.     * xfns.c (Fx_get_resource): Use EMACS_CLASS to make class_key
  5035.     even if SUBCLASS is specified.  I don't know whether that is
  5036.     right, but that's what the doc says.
  5037.     Cosmetic changes in arg names and doc string.
  5038.  
  5039. Tue Dec 29 21:58:10 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5040.  
  5041.     * ralloc.c: [! emacs] [HAVE_CONFIG_H]: #include "config.h"
  5042.  
  5043. Mon Dec 21 13:26:29 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  5044.  
  5045.     * Makefile.in (tagsfiles): New variable.
  5046.     (TAGS): Depend on $(tagsfiles); use that in cmds.
  5047.     (tags): Separate phony rule; depends on TAGS.
  5048.  
  5049. Mon Dec 21 00:02:02 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5050.  
  5051.         * keyboard.c: Protect all references to kbd_buffer_frames with
  5052.     #ifdef MULTI_FRAME.
  5053.  
  5054.     * frame.h (struct frame): New fields `can_have_scrollbars' and
  5055.     `has_vertical_scrollbars'.
  5056.     (FRAME_CAN_HAVE_SCROLLBARS, FRAME_HAS_VERTICAL_SCROLLBARS): New
  5057.     accessors, for both the MULTI_FRAME and non-MULTI_FRAME.
  5058.     (VERTICAL_SCROLLBAR_WIDTH, WINDOW_VERTICAL_SCROLLBAR,
  5059.     WINDOW_VERTICAL_SCROLLBAR_COLUMN,
  5060.     WINDOW_VERTICAL_SCROLLBAR_HEIGHT): New macros.
  5061.     * window.h (struct window): New field `vertical_scrollbar'.
  5062.     * xterm.h (struct x_display): vertical_scrollbars,
  5063.     judge_timestamp, vertical_scrollbar_extra: New fields.
  5064.     (struct scrollbar): New struct.
  5065.     (VERTICAL_SCROLLBAR_PIXEL_WIDTH, VERTICAL_SCROLLBAR_PIXEL_HEIGHT,
  5066.     VERTICAL_SCROLLBAR_LEFT_BORDER, VERTICAL_SCROLLBAR_RIGHT_BORDER,
  5067.     VERTICAL_SCROLLBAR_TOP_BORDER, VERTICAL_SCROLLBAR_BOTTOM_BORDER,
  5068.     CHAR_TO_PIXEL_WIDTH, CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_WIDTH,
  5069.     PIXEL_TO_CHAR_HEIGHT): New accessors and macros.
  5070.     * frame.c (make_frame): Initialize the `can_have_scrollbars' and
  5071.     `has_vertical_scrollbars' fields of the frame.
  5072.     * term.c (term_init): Note that TERMCAP terminals don't support
  5073.     scrollbars.
  5074.     (mouse_position_hook): Document new args.
  5075.     (set_vertical_scrollbar_hook, condemn_scrollbars_hook,
  5076.     redeem_scrollbar_hook, judge_scrollbars_hook): New hooks.
  5077.     * termhooks.h: Declare and document them.
  5078.     (enum scrollbar_part): New type.
  5079.     (struct input_event): Describe the new form of the scrollbar_click
  5080.     event type.  Change `part' from a Lisp_Object to an enum
  5081.     scrollbar_part.  Add a new field `scrollbar'.
  5082.     * keyboard.c (kbd_buffer_get_event): Pass appropriate new
  5083.     parameters to *mouse_position_hook, and make_lispy_movement.
  5084.     * xfns.c (x_set_vertical_scrollbar): New function.
  5085.     (x_figure_window_size): Use new macros to calculate frame size.
  5086.     (Fx_create_frame): Note that X Windows frames do support scroll
  5087.     bars.  Default to "yes".
  5088.     * xterm.c: #include <X11/cursorfont.h> and "window.h".
  5089.     (x_vertical_scrollbar_cursor): New variable.
  5090.     (x_term_init): Initialize it.
  5091.     (last_mouse_bar, last_mouse_bar_frame, last_mouse_part,
  5092.     last_mouse_scroll_range_start, last_mouse_scroll_range_end): New
  5093.     variables.
  5094.     (XTmouse_position): Use them to return scrollbar movement events.
  5095.     Take new arguments, for that purpose.
  5096.     (x_window_to_scrollbar, x_scrollbar_create,
  5097.     x_scrollbar_set_handle, x_scrollbar_remove, x_scrollbar_move,
  5098.     XTset_scrollbar, XTcondemn_scrollbars, XTredeem_scrollbar,
  5099.     XTjudge_scrollbars, x_scrollbar_expose,
  5100.     x_scrollbar_background_expose, x_scrollbar_handle_click,
  5101.     x_scrollbar_handle_motion): New functions to implement scrollbars.
  5102.     (x_term_init): Set the termhooks.h hooks to point to them.
  5103.     (x_set_window_size): Use new macros to calculate frame size.  Set
  5104.     vertical_scrollbar_extra field.
  5105.     (x_make_frame_visible): Use the frame accessor
  5106.     FRAME_HAS_VERTICAL_SCROLLBARS to decide if we need to map the
  5107.     frame's subwindows as well.
  5108.     (XTread_socket): Use new size-calculation macros from xterm.h when
  5109.     processing ConfigureNotify events.
  5110.     (x_wm_set_size_hint): Use PIXEL_TO_CHAR_WIDTH and
  5111.     PIXEL_TO_CHAR_HEIGHT macros.
  5112.     * ymakefile (xdisp.o): This now depends on termhooks.h.
  5113.     (xterm.o): This now depends on window.h.
  5114.  
  5115.     * xdisp.c: #include "termhooks.h".
  5116.     (redisplay, redisplay_window): Use set_vertical_scrollbar_hook,
  5117.     condemn_scrollbars_hook, redeem_scrollbar_hook, and
  5118.     judge_scrollbars_hook to make scrollbars redisplay properly.
  5119.  
  5120.     * keyboard.c (Qscrollbar_movement, Qvertical_scrollbar,
  5121.     Qabove_handle, Qhandle, Qbelow_handle): New symbols.
  5122.     (make_lispy_event): New code to build scrollbar clicks.
  5123.     (make_lispy_movement): New code to handle scrollbar movement.
  5124.     (head_table): Include Qscrollbar_movement in the event heads.
  5125.     (syms_of_keyboard): Init and staticpro Qvertical_scrollbar,
  5126.     Qabove_handle, Qhandle, and Qbelow_handle.
  5127.     * keyboard.h (Qscrollbar_movement): Declare this along with the
  5128.     other event types.
  5129.     * lisp.h (Qvertical_scrollbar): Declare this.
  5130.     * window.c (window_from_scrollbar): New function.
  5131.  
  5132.     * xterm.h (struct x_display): Delete v_scrollbar, v_thumbup,
  5133.     v_thumbdown, v_slider, h_scrollbar, h_thumbup,
  5134.     h_thumbdown, h_slider, v_scrollbar_width, h_scrollbar_height
  5135.     fields.
  5136.     * keyboard.c (Qvscrollbar_part, Qvslider_part, Qvthumbup_part,
  5137.     Qvthumbdown_part, Qhscrollbar_part, Qhslider_part, Qhthumbup_part,
  5138.     Qhthumbdown_part, Qscrollbar_click): Deleted; part of an obsolete
  5139.     interface.
  5140.     (head_table): Removed from here as well.
  5141.     (syms_of_keyboard): And here.
  5142.     * keyboard.h: And here.
  5143.     (POSN_SCROLLBAR_BUTTON): Removed.
  5144.     * xscrollbar.h: File removed - no longer necessary.
  5145.     * xfns.c: Don't #include it any more.
  5146.     (Qhorizontal_scroll_bar, Qvertical_scroll_bar): Deleted.
  5147.     (syms_of_xfns): Don't initialize or staticpro them.
  5148.     (gray_bits): Salvaged from xscrollbar.h.
  5149.     (x_window_to_scrollbar): Deleted.
  5150.     (x_set_horizontal_scrollbar): Deleted.
  5151.     (enum x_frame_parm, x_frame_parms): Remove references to
  5152.     x_set_horizontal_scrollbar.
  5153.     (x_set_foreground_color, x_set_background_color,
  5154.     x_set_border_pixel): Remove special code to support scrollbars.
  5155.     (Fx_create_frame): Remove old scrollbar setup code.
  5156.     (install_vertical_scrollbar, install_horizontal_scrollbar,
  5157.     adjust_scrollbars, x_resize_scrollbars): Deleted.
  5158.     * xterm.c (construct_mouse_click): This doesn't need to take care of
  5159.     scrollbar clicks anymore.
  5160.     (XTread_socket): Remove old code to support scrollbars.  Call new
  5161.     functions instead for events which occur in scrollbar windows.
  5162.     (XTupdate_end): Remove call to adjust_scrollbars; the main
  5163.     redisplay code takes care of that now.
  5164.     (enum window_type): Deleted.
  5165.     * ymakefile: Note that xfns.o no longer depends on xscrollbar.h.
  5166.  
  5167.     * xterm.c (x_set_mouse_position): Clip mouse position to be within
  5168.     frame.
  5169.  
  5170.     * xterm.c: Adjust the first line of each page to have a reasonable
  5171.     description.  This makes pages-directory more useful.
  5172.  
  5173.     * xterm.c (x_do_pending_expose): Declare this routine only if
  5174.     HAVE_X11 is not #defined; X11 doesn't need it.
  5175.     (XTread_socket): Protect call to x_do_pending_expose with `#ifdef
  5176.     HAVE_X11'. 
  5177.  
  5178.     * xfns.c (syms_of_xfns): Delete defvars for x_mouse_x and
  5179.     x_mouse_y.  That interface hasn't been live for years.
  5180.     (x_mouse_x, x_mouse_y): Delete these variables.
  5181.  
  5182.     * xterm.c (notice_mouse_movement): Deleted; obsolete and unused.
  5183.  
  5184.     * keyboard.c (Fread_key_sequence): Doc fix.
  5185.  
  5186.     * keyboard.c (make_lispy_event): Buttons are numbered starting
  5187.     with zero now.
  5188.  
  5189.     * keyboard.c (make_lispy_event): Use the proper accessors when
  5190.     manipulating the `x' and `y' fields of struct input_event.
  5191.  
  5192.     * keyboard.c (parse_modifiers_uncached): Remember that strncmp
  5193.     returns zero if the two substrings are equal.
  5194.  
  5195.     * keyboard.c (do_mouse_tracking, Ftrack_mouse): Doc fix.
  5196.  
  5197.     * keyboard.c (read_char): Don't put mouse movements in
  5198.     this_command_keys.
  5199.  
  5200.     * xfns.c (Fx_create_frame): Don't initialize the wm_hints field here.
  5201.     (x_window): Do it here, along with all the similar stuff.
  5202.  
  5203. Mon Dec 21 00:37:34 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5204.  
  5205.     * callint.c (Fcall_interactively): For `s', use Fread_string.
  5206.  
  5207. Sun Dec 20 21:41:31 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5208.  
  5209.     Properly handle focus shift events, so the cursor is filled and
  5210.     hollow at the appropriate times, even in titleless windows.
  5211.     * xterm.c (x_focus_event_frame): New variable.
  5212.     (XTread_socket): When we receive a FocusIn event that's not
  5213.     NotifyPointer, record the frame in x_focus_event_frame.  When we
  5214.     receive a FocusOut event that's not NotifyPointer, clear it.  When
  5215.     we get a LeaveNotify event, don't take it seriously if we still
  5216.     have focus.
  5217.  
  5218.     * xterm.c (XTread_socket): Remove special code in EnterNotify case
  5219.     to handle scrollbars and fake mouse motion events.
  5220.  
  5221. Sat Dec 19 06:50:39 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5222.  
  5223.     * floatfns.c (Flog): Fix unescaped newline in string.
  5224.     * frame.c (Fnext_frame): Same.
  5225.     * textprop.c (Fprevious_single_property_change): Same.
  5226.     (syms_of_textprop): Same, for DEFVAR for
  5227.     `interval_balance_threshold'.
  5228.  
  5229.     Change the meaning of focus redirection to make switching windows
  5230.     work properly.  Fredirect_frame_focus has the details.
  5231.     * frame.h (focus_frame): Doc fix.
  5232.     [not MULTI_FRAME] (FRAME_FOCUS_FRAME): Make this Qnil, which
  5233.     indicates no focus redirection, instead of zero, which is
  5234.     selected_frame.
  5235.     * frame.c (make_frame): Initialize f->focus_frame to Qnil, rather
  5236.     than making it point to frame itself.
  5237.     (Fselect_frame): If changing the selected frame from FOO to BAR,
  5238.     make all redirections to FOO shift to BAR as well.  Doc fix.
  5239.     (Fredirect_frame_focus): Doc fix.  Accept nil as a valid
  5240.     redirection, not just as a default for FRAME.
  5241.     (Fframe_focus): Doc fix.
  5242.     * keyboard.c (kbd_buffer_store_event, kbd_buffer_get_event): Deal
  5243.     with focus redirections being nil.
  5244.     * xterm.c (XTframe_rehighlight): Doc fix.  Deal with focus
  5245.     redirections being nil.
  5246.  
  5247.     * window.c (Fset_window_configuration): Don't restore the frame's
  5248.     focus redirection if the target frame is now dead.
  5249.  
  5250.     * ymakefile (ralloc.o): This no longer depends on xterm.h.
  5251.  
  5252.     * ymakefile (all, xemacs): We build an executable called `emacs' now,
  5253.     not `xemacs'.
  5254.     * Makefile.in (distclean, xemacs, doxemacs): Same.
  5255.  
  5256.     * xterm.h (PIXEL_WIDTH, PIXEL_HEIGHT): Change name of parameter
  5257.     from `s' to `f'; it's a frame pointer.
  5258.  
  5259. Fri Dec 18 08:28:14 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5260.  
  5261.     * keyboard.c (kbd_buffer_frames): New vector, to GCPRO frames in
  5262.     kbd_buffer.
  5263.     (kbd_buffer_store_event): When we add an event to kbd_buffer, make
  5264.     sure to store its frame in kbd_buffer_frames.
  5265.     (kbd_buffer_get_event): When we remove an event from kbd_buffer,
  5266.     make sure to set the corresponding element of kbd_buffer_frames to
  5267.     Qnil, to allow the frame to get GC'd.
  5268.     (Fdiscard_input, init_keyboard): Clear all elements of
  5269.     kbd_buffer_frames to nil.
  5270.     (syms_of_keyboard): Create and staticpro kbd_buffer_frames.
  5271.  
  5272.     * xterm.c (x_error_quitter): Just abort, so we can look at the
  5273.     core to see what happened.
  5274.  
  5275. Thu Dec 17 06:23:11 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5276.  
  5277.     * buffer.c (Frename_buffer): Set update_mode_lines.
  5278.  
  5279. Mon Dec 14 03:29:39 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5280.  
  5281.     * scroll.c (do_scrolling): When bcopying the max_ascent field from
  5282.     current_frame to temp_frame, remember that max_ascent is an array
  5283.     of shorts, not ints.
  5284.  
  5285.     It's a pain to remember that you can't assign to FRAME->visible.
  5286.     Let's change all references to the `visible' member of struct
  5287.     frame to use the accessor macros, and then write a setter for the
  5288.     `visible' field that does the right thing.
  5289.     * frame.h (FRAME_VISIBLE_P): Make this not an l-value.
  5290.     (FRAME_SET_VISIBLE): New macro.
  5291.     * frame.c (make_terminal_frame, Fdelete_frame): Use FRAME_SET_VISIBLE.
  5292.     (Fframe_visible_p, Fvisible_frame_list): Use FRAME_VISIBLE_P and
  5293.     FRAME_ICONIFIED_P.
  5294.     * dispnew.c (Fredraw_display): Use the FRAME_VISIBLE_P and
  5295.     FRAME_GARBAGED_P accessors.
  5296.     * xdisp.c (redisplay): Use the FRAME_VISIBLE_P accessor.
  5297.     * xfns.c (x_set_foreground_color, x_set_background_color,
  5298.     x_set_cursor_color, x_set_border_pixel, x_set_icon_type): Use the
  5299.     FRAME_VISIBLE_P accessor.
  5300.     (Fx_create_frame): Use FRAME_SET_VISIBILITY.
  5301.     * xterm.c (clear_cursor, x_display_bar_cursor,
  5302.     x_display_box_cursor): Use FRAME_SET_VISIBILITY.
  5303.  
  5304. Sat Dec 12 01:04:03 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5305.  
  5306.     * ymakefile (CFLAGS): #define HAVE_CONFIG_H too.
  5307.  
  5308.     * Makefile.in (distclean): Don't delete machine.h or system.h;
  5309.     they don't exist anymore.
  5310.  
  5311.     * Makefile.in (distclean): Don't delete autosave or backup files.
  5312.     (extraclean): New target; like distclean, but delete autosave
  5313.     and backup files too.
  5314.  
  5315. Fri Dec 11 01:03:48 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5316.  
  5317.     * search.c (Fskip_chars_forward, Fskip_chars_backward): Return the
  5318.     distance traveled.
  5319.     (skip_chars): Return the distance traveled, as a Lisp_Object.
  5320.  
  5321.     * macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is
  5322.     negative; XFASTINT only works on values known to be positive.
  5323.     (Fexecute_kbd_macro): Check QUIT in the repetition loop.  If the
  5324.     macro is null, no characters are actually being read, so this
  5325.     matters.
  5326.  
  5327.     * Makefile.in (srcdir): New variable, not fully implemented.
  5328.     (xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and
  5329.     C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition.  Delete junk.cpp
  5330.     when done.
  5331.     * ymakefile (archlib): Variable definition deleted.  Run programs
  5332.     from ../lib-src directly, or use ${archlibdir}.
  5333.     (${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}.
  5334.     (${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not
  5335.     ${archlib}.
  5336.  
  5337.     * ymakefile (lisp): Don't include version.el in this list.
  5338.  
  5339.     Give subprocess creation a way to find a valid current directory
  5340.     for subprocesses when the buffer's default-directory is a handled
  5341.     name.
  5342.     * fileio.c (Funhandled_file_name_directory): New function.
  5343.     (Qunhandled_file_name_directory): New file-name-handler operation.
  5344.     (syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
  5345.     initialize and staticpro Qunhandled_file_name_directory.
  5346.     * callproc.c (Fcall_process): Call Funhandled_file_name_directory
  5347.     on the buffer's default directory.  Do it earlier in the function
  5348.     so there's less to GCPRO.
  5349.     * process.c (create_process): Don't check the validity of the 
  5350.     buffer's default directory here...
  5351.     (Fstart_process): Instead, do it here; if we call
  5352.     Funhandled_file_name_directory here, there's less GCPROing to do.
  5353.  
  5354.     * callproc.c (Fcall_process_region): Return the value returned by
  5355.     Fcall_process.
  5356.  
  5357.     * fileio.c (find_file_handler): Rename this to
  5358.     Ffind_file_name_handler, and make it visible to lisp.  Add a QUIT
  5359.     to the loop which scans file-name-handler-alist.  All uses
  5360.     changed.
  5361.     (syms_of_fileio): Mention this new function in the docstring for
  5362.     Vfile_name_handler_alist.  defsubr Sfind_file_name_handler.
  5363.     * lisp.h (Ffind_file_name_handler): Added extern declaration.
  5364.     * dired.c: All uses of find_file_handler changed here too.
  5365.  
  5366.     * fileio.c (syms_of_fileio): Add staticpros for Qexpand_file_name,
  5367.     Qdirectory_file_name, Qfile_name_directory,
  5368.     Qfile_name_nondirectory, Qfile_name_as_directory.
  5369.  
  5370. Mon Dec  7 00:49:00 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5371.  
  5372.     * window.c (Fset_window_configuration): If we're restoring the
  5373.     configuration of a dead frame, don't bother rebuilding its window
  5374.     tree, restoring its focus redirection, or temporarily resizing it
  5375.     to fit the saved window configuration.  If the frame which was
  5376.     selected when the configuration was captured is now dead, don't
  5377.     try to select it.
  5378.  
  5379.     * frame.c (Fdelete_frame): Delete all the windows in the frame's
  5380.     window tree, using delete_all_subwindows.
  5381.     * window.c (delete_all_subwindows): Don't make this static
  5382.     anymore.
  5383.  
  5384. Thu Dec  3 20:24:08 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5385.  
  5386.         Make sure that frames' visible flag only changes at acceptable
  5387.     times.  See FRAME_SAMPLE_VISIBILITY's comments for details.
  5388.     * frame.h (struct frame): New fields called async_visible and
  5389.     async_iconified.
  5390.     (FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and
  5391.     non-MULTI_FRAME definitions.
  5392.     * xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the
  5393.     visible and iconified flags appropriately for each frame.
  5394.     (message1): Call FRAME_SAMPLE_VISIBILITY to set the visible and
  5395.     iconified flags for the minibuffer frame.
  5396.     * frame.c (make_frame): Initialize async_visible and
  5397.     async_iconified properly.
  5398.     * xfns.c (Fx_create_frame): Initialize f->async_visible too.
  5399.     * xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
  5400.     Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not
  5401.     f->visible.
  5402.     (x_do_pending_expose, x_raise_frame, x_lower_frame,
  5403.     x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
  5404.     Test and set f->async_visible and f->async_iconified, not
  5405.     f->visible or f->async_iconified.
  5406.  
  5407.     * keyboard.c (kbd_store_ptr): Declare this to be volatile, if
  5408.     __STDC__ is #defined.
  5409.     (Fdiscard_input): Use cast to keep GCC from complaining about the
  5410.     assignment of kbd_store_ptr to kbd_fetch_ptr.
  5411.  
  5412.     * xdisp.c (redisplay): Use FOR_EACH_FRAME to apply
  5413.     redisplay_windows to the root window of each frame.  This makes a
  5414.     #ifdef MULTI_FRAME unneeded, but it also means we recompute
  5415.     buffer_shared from scratch even on non-MULTI_FRAME configurations.
  5416.     Don't skip elements of Vframe_list that aren't frames; go ahead
  5417.     and crash here.
  5418.  
  5419.     * xdisp.c (redisplay): Remove #ifdef MULTI_FRAME around the code
  5420.     which updates separate minibuffer frames specially; there's
  5421.     nothing there that won't work on a single-frame configuration.
  5422.  
  5423.     * dispextern.h (struct frame_glyphs): Doc fix.
  5424.  
  5425. Wed Dec  2 20:08:08 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  5426.  
  5427.     * dispnew.c: Remove dyked-out copy of safe_bcopy.
  5428.  
  5429.     * environ.c: File removed; Changes on 1/13/1992 made it
  5430.     unnecessary.
  5431.  
  5432. Tue Dec  1 23:42:25 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5433.  
  5434.     * process.c (wait_reading_process_input): Doc fix.
  5435.  
  5436. Thu Nov 26 13:17:11 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5437.  
  5438.     * next.h: Copy changes from 18.59:
  5439.     (NeXT): Defined.
  5440.     (BIG_ENDIAN): Define only if __BIG_ENDIAN__.
  5441.     (m68000, COMPILER_REGISTER_BUG): Defs deleted.
  5442.     (SIGN_EXTEND_CHAR, LIB_X11_LIB, NO_T_CHARS_DEFINES, UNEXEC): Defined.
  5443.     (LIBS_DEBUG, LIB_GCC, C_SWITCH_MACHINE, ORDINARY_LINK): Defined.
  5444.     (TEXT_START, TEXT_END, DATA_END, LD_SWITCH_MACHINE): Defined.
  5445.     (KERNEL_FILE): #undef it.
  5446.     (environ): Define as _environ.
  5447.  
  5448. Wed Nov 25 10:17:28 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5449.  
  5450.     * doc.c (store_function_docstring): New function, made from part
  5451.     of Fsnarf_documentation, which handles docstrings for macros
  5452.     properly.
  5453.     (Fsnarf_documentation): Call store_function_docstring.
  5454.  
  5455.     * data.c (indirect_function): Delete unused argument ERROR.
  5456.  
  5457. Mon Nov 23 20:26:17 1992  Jim Blandy  (jimb@apple-gunkies.gnu.ai.mit.edu)
  5458.  
  5459.     * Makefile.in (clean): Remove prefix-args.
  5460.  
  5461. Sat Nov 21 17:12:19 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5462.  
  5463.     * s/sol2.h (LD_SWITCH_SYSTEM): Make alternate version for GCC.
  5464.  
  5465. Thu Nov 19 16:54:22 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5466.  
  5467.     * m/sparc.h: Don't include <sys/param.h> here; that screws up the
  5468.     xmakefile.  Instead, include it in getloadavg.c, which is the only
  5469.     place that uses LOAD_AVE_CVT, which is the only reason
  5470.     <sys/param.h> was here in the first place.
  5471.  
  5472. Sun Nov 15 00:46:41 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5473.  
  5474.     * dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct
  5475.     number of arguments to mark_window_display_accurate.
  5476.  
  5477.     * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
  5478.     and #endif.
  5479.  
  5480.     * systty.h: Doc fix.
  5481.     
  5482.     * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
  5483.     Added VMS changes from Roland Roberts.
  5484.     * vmspaths.h: New version from Roland Roberts.
  5485.  
  5486.     * xdisp.c (display_string): Use w's buffer's value of
  5487.     tab-width to display the string, instead of the current buffer's,
  5488.     which could be anything.
  5489.  
  5490.     * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
  5491.  
  5492.     * process.c (read_process_output): Save, widen, insert the process
  5493.     output, and then restore the restriction if inserting text outside
  5494.     the visible region.
  5495.  
  5496. Sat Nov 14 21:18:02 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5497.  
  5498.     * buffer.c (Ferase_buffer): Doc fix.
  5499.  
  5500.     * dispnew.c (safe_bcopy): Use the right terminating condition in
  5501.     the loop which uses multiple bcopy calls to transfer a block to an
  5502.     overlapping higher block.
  5503.  
  5504. Fri Nov 13 03:44:48 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5505.  
  5506.     * process.c (Fstart_process): Establish an unwind-protect to
  5507.     remove PROC from the process list if an error occurs while
  5508.     starting it.
  5509.     (start_process_unwind): New function to help with that.
  5510.     (create_process): There's no need to explicitly call
  5511.     remove_process if the fork fails; the record_unwind_protect in
  5512.     Fstart_process will take care of it.
  5513.  
  5514.     * commands.h (unread_command_event): Doc fix.
  5515.  
  5516.     Don't ever throw away switch-frame events.
  5517.     * lread.c: #include "keyboard.h".
  5518.     (Fread_char, Fread_char_exclusive): Don't signal an
  5519.     error for or throw away switch-frame events; instead, put them off
  5520.     until after we've found a character we can respond to.
  5521.     * commands.h (unread_switch_frame): Declare this extern.
  5522.     * keyboard.c (unread_switch_frame): Don't declare this static.
  5523.     * ymakefile (lread.o): Note that this depends on keyboard.h.
  5524.  
  5525.     * keyboard.c (Vlast_event_frame): Doc fix.
  5526.  
  5527.     * process.c (wait_reading_process_input): Test the C preprocessor
  5528.     symbol "ultrix", not "__ultrix__" to see if we should ignore
  5529.     ENOMEM errors from select.
  5530.  
  5531.     * fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the
  5532.     entire string.
  5533.  
  5534.     * buffer.c (Fbury_buffer): Make this behave as in 18.59, although
  5535.     that behavior is very odd - only remove the buffer from the
  5536.     selected window if BUFFER was nil or omitted.
  5537.  
  5538.     * keyboard.c (read_char): Write composite events to the dribble
  5539.     file properly.
  5540.  
  5541.     * keyboard.c (init_keyboard): Initialize Vlast_event_frame to
  5542.     Qnil, rather than the selected frame.
  5543.  
  5544.     * mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to
  5545.     remove DATA_SEG_BITS from the pointer before testing if the
  5546.     pointer fits in VALBITS.
  5547.  
  5548.     * Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
  5549.     variable in these rules, just as in the `doall' rule.
  5550.  
  5551.     * ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC.
  5552.     (free_bloc): This can now be simplified.
  5553.  
  5554.     * ralloc.c (r_alloc_sbrk): When we allocate new space for the
  5555.     malloc heap, zero it out even if we don't have any blocs in the
  5556.     free list.
  5557.  
  5558. Thu Nov 12 02:01:12 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5559.  
  5560.     * process.c (process_send_signal): On systems which have both
  5561.     the TIOCGETC and TCGETA ioctls, just use the former.
  5562.  
  5563.     * xselect.c (Fx_get_cut_buffer): Correct check for buf_num in
  5564.     range.
  5565.  
  5566.     * xselect.c (Fx_get_cut_buffer, Fx_set_cut_buffer): Fix error
  5567.     message format; use NUM_CUT_BUFFERS instead of literal 7.
  5568.  
  5569.     * keyboard.c (lispy_modifier_list): Added sanity check before
  5570.     indexing into modifier_symbols.
  5571.  
  5572.     * keyboard.c (add_command_key): When copying the contents of the
  5573.     old this_command_keys to new_keys, remember to multiply size by
  5574.     sizeof (Lisp_Object) to get the amount we really need to copy.
  5575.  
  5576.     Rename unread_command_char to unread_command_event; it has
  5577.     subtly different semantics now, and we should use
  5578.     `make-obsolete-variable' to warn people.
  5579.     * command.h (unread_command_char): Change name in extern declaration.
  5580.     * keyboard.c (unread_command_char): Rename.
  5581.     (command_loop_1, read_char, Finput_pending, Fdiscard_input,
  5582.     quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
  5583.     references.
  5584.     * lread.c (Fread_char): Change reference.
  5585.     * minibuf.c (temp_echo_area_glyphs): Change reference to
  5586.     unread_command_char to unread_command_event.
  5587.     * xfns.c (unread_command_char): Change name in extern declaration
  5588.     to unread_command_event.
  5589.  
  5590. Wed Nov 11 00:43:40 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5591.  
  5592.     * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
  5593.     for Ultrix version 4.1, and the current version is 4.3.
  5594.  
  5595.     * s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
  5596.     * process.c (process_send_signal): Put all the code for sending
  5597.     signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
  5598.     whether to use the Berkeley-style or SYSV-style ioctls by seeing
  5599.     which ioctl commands are #defined.
  5600.  
  5601.     * minibuf.c (read_minibuf): If get_minibuffer gives the
  5602.     new minibuffer a nil default directory, find another buffer with a
  5603.     better default directory and use that one's instead.
  5604.  
  5605. Tue Nov 10 23:06:08 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5606.  
  5607.     * process.c (process_send_signal): Doc fix.
  5608.  
  5609.     * keyboard.c (read_key_sequence): Don't use
  5610.     save_excursion_{save,restore} to protect the caller against buffer
  5611.     switches; use Fset_buffer and Fcurrent_buffer; redisplay might
  5612.     change point, and we don't want to undo that.
  5613.  
  5614.     * keyboard.c (kbd_buffer_get_event): When checking a mouse
  5615.     movement for a frame switch, don't assume Vlast_event_frame
  5616.     contains a Lisp_Frame object.
  5617.  
  5618. Fri Nov  6 17:48:59 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5619.  
  5620.     * s/dgux.h (SYSTEM_TYPE): Use berkeley-unix.
  5621.  
  5622. Wed Nov  4 00:54:59 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5623.  
  5624.     * alloc.c: #include "frame.h" unconditionally.  frame.h does the
  5625.     right thing when MULTI_FRAME isn't defined.
  5626.  
  5627.     * Makefile.in: Rearrange dependencies to make sure that xmakefile
  5628.     is built before we try to use it, even using a parallel make.
  5629.  
  5630.     Changes for SYSV from Eric Raymond:
  5631.     * process.c [SYSV]: Don't include <termios.h>, <termio.h>, or
  5632.     <fcntl.h>.
  5633.     (process_send_signal): Don't try to send SIGTSTP
  5634.     unless SIGTSTP is defined.
  5635.     * sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use
  5636.     TCGETA, not TIOCGETP.
  5637.     * systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not
  5638.     (offset).  Don't forget the while corresponding to the do.
  5639.     Include USG in the list of systems that have a tzname array.
  5640.  
  5641.     * keyboard.c (read_key_sequence): Removed the
  5642.     replay_sequence_new_buffer label; replay_sequence should be here
  5643.     instead.
  5644.  
  5645.     Arrange to get compile-time errors for uses of Lisp_Frame in a
  5646.     non-MULTI_FRAME configuration.
  5647.     * lisp.h [not MULTI_FRAME]: Don't declare the Lisp_Frame tag.
  5648.     * minibuf.c (read_minibuf): Protect call to Fredirect_frame_focus
  5649.     with a #ifdef MULTI_FRAME.
  5650.     * window.c (Fset_window_configuration): Protect call to
  5651.     Fselect_frame with a #ifdef MULTI_FRAME.
  5652.     [not MULTI_FRAME] (Fcurrent_window_configuration): Don't bother
  5653.     setting the window configuration's selected_frame member.
  5654.     * keyboard.c (Vlast_event_frame): Arrange for this to exist iff
  5655.     MULTI_FRAME is defined.
  5656.     [not MULTI_FRAME] (syms_of_keyboard): Don't DEFVAR Vlast_event_frame.
  5657.     [not MULTI_FRAME] (read_char): Don't try to set Vlast_event_frame.
  5658.     [not MULTI_FRAME] (kbd_buffer_store_event): Don't try to set
  5659.     Vlast_event_frame for quit characters.
  5660.     [not MULTI_FRAME] (kbd_buffer_get_event): Don't try to generate
  5661.     switch-frame events.
  5662.  
  5663.     * buffer.c (init_buffer): If PWD is accurate, use it instead of
  5664.     calling getwd.
  5665.     #include <sys/types.h> and <sys/stat.h>, for the call to stat.
  5666.  
  5667.         Indicate whether an autoload form stands for a keymap or not.
  5668.     * eval.c (Fautoload): Renamed fifth argument TYPE.  Document the
  5669.     fact that (eq TYPE 'keymap) means FUNCTION will become a keymap
  5670.     when loaded.
  5671.     (Fmacroexpand): Instead of assuming that every autoload
  5672.     form with a fifth element is a macro, actually check the fifth
  5673.     element against t and `macro', which are the only values which
  5674.     denote macroness.
  5675.     * keymap.c (get_keymap_1): Don't try to autoload OBJECT's function
  5676.     unless the autoload form indicates that it's a keymap.
  5677.  
  5678. Tue Nov  3 20:09:26 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5679.  
  5680.     * .gdbinit (mips): New command.
  5681.  
  5682. Sat Oct 31 18:26:18 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5683.  
  5684.     * fileio.c (Fmake_directory_internal): Renamed from Fmake_directory.
  5685.     Pass nil as third arg to handler.
  5686.     Lisp function `make-directory' is now in files.el.
  5687.  
  5688. Fri Oct 30 17:27:22 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5689.  
  5690.     Clean up errors due to treating Lisp_Objects like integers.
  5691.     * abbrev.c (Funexpand_abbrev): Just assign the last abbrev's value
  5692.     to val; don't use XSET.  Make sure that the value of the
  5693.     abbrev-symbol is a string.
  5694.     * alloc.c (Frope_elt): Declare arguments to be Lisp_Objects.
  5695.     * buffer.c (reset_buffer): Don't assign to b->save_length as if it
  5696.     were an int; use XFASTINT.
  5697.     * buffer.h (Fbuffer_name, Fget_file_buffer): Added external
  5698.     declarations.
  5699.     * bytecode.c (Fbyte_code): Use EQ to compare string_saved with
  5700.     bytestr.
  5701.     * casefiddle.c (operate_on_word): Declare end to be an int, not a
  5702.     Lisp_Object.
  5703.     * casetab.c (set_case_table): Declare this to be static, and
  5704.     return a Lisp_Object. Add static declaration for this
  5705.     before Fset_case_table and Fset_standard_case_table.
  5706.     (Fset_case_table, Fset_standard_case_table): Return the return
  5707.     value of set_case_table, instead of returning garbage.
  5708.     * commands.h (unread_command_char): Declare this to be a
  5709.     Lisp_Object, not an int.
  5710.     * data.c (Fset): See if current_alist_element points to itself
  5711.     using EQ, not ==.
  5712.     (float_arith_driver): Declare this extern above arith_driver.
  5713.     * dired.c (find_file_handler): Declare this extern.
  5714.     (Ffile_attributes): Use NILP, not == Qnil.
  5715.     * dispextern.h (sit_for): Declare this extern.
  5716.     * doc.c: #include keyboard.h.
  5717.     * floatfns.c (Flog): Don't forget to declare the BASE argument a
  5718.     Lisp_Object.
  5719.     * fns.c: #include keyboard.h.
  5720.     (Fdelete): Check if Fequal returns Qnil, not zero.
  5721.     * frame.c: #include buffer.h.
  5722.     * keyboard.c: #include dispextern.h.
  5723.     (recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
  5724.     these to return Lisp_Objects at the very top of the file, to avoid
  5725.     having them implicitly declared as ints.
  5726.     (echo_char): Use EQ to compare C to help_char.
  5727.     (read_char): Remember to apply XFASTINT to the return value of
  5728.     Flength before using it.  Apply XINT to c when clearing its high
  5729.     bits and meta bits, and when writing it to the dribble file.
  5730.     (read_char_menu_prompt): Use EQ to compare obj with
  5731.     menu_prompt_more_char and its control-character analog.
  5732.     (read_key_sequence): Declare PROMPT to be char *, not a
  5733.     Lisp_Object.  Use the appropriate accessors on keybuf when looking
  5734.     for ASCII function key sequences.
  5735.     * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,
  5736.     Fmouse_click_p, read_char): Add external declarations for these.
  5737.     * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
  5738.     that Flength returns an integer.
  5739.     * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist,
  5740.     Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
  5741.     Fdirectory_file_name, Ffile_name_directory,
  5742.     expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
  5743.     Fundo_boundary, truncate_undo_list): Add extern declarations for
  5744.     these.
  5745.     * lread.c (read_char): Add an extern declaration for this,
  5746.     indicating that it returns a Lisp_Object.
  5747.     * minibuf.c (read_minibuf): Use EQ to compare, not ==.
  5748.     (temp_echo_area_glyphs): Use XFASTINT to assign to
  5749.     unread_command_char.
  5750.     * print.c (print): Cast the frame's address to an integer before
  5751.     passing it to sprintf to form the frame's printed form.
  5752.     * process.c: (status_convert): Declare this to return a
  5753.     Lisp_Object at the top of the file.
  5754.     (decode_status): Don't untag XCONS (tem)->cdr before storing it in
  5755.     tem; tem is a Lisp_Object, too.
  5756.     (process_send_signal): Declare this to be static void.  Don't
  5757.     return Qnil; nobody cares.
  5758.     (sigchld_handler): Use XFASTINT to manipulate p->infd.
  5759.     * search.c (Fstore_match_data): Don't assume Flength returns a
  5760.     C integer.
  5761.     * undo.c (record_insert): Use accessors on BEG and LENGTH.
  5762.     (truncate_undo_list): Use NILP, not == Qnil.
  5763.     * window.c (Fwindow_width, Fset_window_hscroll): Use accessors on
  5764.     w->width, w->left, w->hscroll, and arguments.
  5765.     (replace_window): Use EQ, not ==.
  5766.     (Fdelete_window): p->top and p->left are not C integers.
  5767.     (Fnext_window, Fprevious_window): Use EQ, not ==.
  5768.     * window.h (make_window, window_from_coordinates,
  5769.     Fwindow_dedicated_p): Add extern declarations for these.
  5770.     * xdisp.c (redisplay): Use ! EQ to compare the old and new arrow
  5771.     positions, not !=.
  5772.     (mark_window_display_accurate): Barf if WINDOW isn't a window.
  5773.     (display_string): Test buffer_defaults.ctl_arrow using NILP,
  5774.     instead of comparing it with zero.
  5775.     * xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is
  5776.     an int, not a Lisp_Object.
  5777.     (x_set_mouse_color): Give separate error messages for the
  5778.     different cursors we try to set.
  5779.     (Fx_geometry): Declare STRING to be a Lisp_Object.
  5780.     (Fx_create_frame): No need to use XSET to assign NAME to f->name;
  5781.     they're both Lisp_Objects.
  5782.     (adjust_scrollbars): Use XINT to access w->hscroll.
  5783.     (Fx_open_connection): x_screen_count, x_release, x_screen_height,
  5784.     x_screen_height_mm, x_screen_width, x_screen_width_mm,
  5785.     x_save_under, and x_screen_planes are integers, not Lisp_Objects.
  5786.     (syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are
  5787.     integers, not Lisp_Objects.
  5788.     * xselect.c (own_selection): selection_type is an X Atom value,
  5789.     not a Lisp_Object.
  5790.     (x_selection_arrival): Declare this static, and add a forward
  5791.     declaration at the top of the page.
  5792.     * xterm.c (x_convert_modifiers): Declare this to return an
  5793.     unsigned int, not a Lisp_Object.  Remember that the quiescent
  5794.     value for part is Qnil, not zero, that x_mouse_x and x_mouse_y
  5795.     are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are
  5796.     Lisp_Objects, not ints.
  5797.     (XTread_socket): Declare this to return int, not Lisp_Object.
  5798.     When calling construct_mouse_click on a non-scrollbar click, pass
  5799.     PART as Qnil, not zero.
  5800.     (x_calc_absolute_position): Remember that x_screen_width and
  5801.     x_screen_height are ints, not Lisp_Objects.
  5802.     * xterm.h (x_screen_count, x_release, x_screen_height,
  5803.     x_screen_height_mm, x_screen_width, x_screen_width_mm,
  5804.     x_save_under, x_screen_planes): Declare this as ints, to match
  5805.     their definitions in xterm.c.
  5806.     * ymakefile: Note the new dependencies caused by the new
  5807.     #inclusions above.
  5808.  
  5809.     * xdisp.c (last_arrow_position, last_arrow_string): Make these
  5810.     static.
  5811.  
  5812.     * process.c (pty_process): Variable deleted; it's no longer used.
  5813.     (syms_of_process): Don't initialize it.
  5814.  
  5815.     * buffer.h (struct buffer_local_types): This declaration needed an
  5816.     extern qualifier.
  5817.  
  5818.     * floatfns.c (Fexpt): Don't return the value of the XSET function
  5819.     call; that's not guaranteed to be the value assigned.
  5820.  
  5821.     * dired.c (Ffile_attributes): Doc fix.
  5822.  
  5823.     * lisp.h (DEFVARLISP, DEFVARBOOL, DEFVARINT, DEFVARPERBUFFER):
  5824.     Removed these definitions; we should be using the versions whose
  5825.     names use underscores.
  5826.  
  5827.     * keyboard.c (echobuf): Make this 300 characters, not 100.  This
  5828.     isn't a real fix, but it's quick.
  5829.  
  5830. Fri Oct 30 00:49:57 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5831.  
  5832.     * callint.c (preserved_fns): New var.
  5833.     (Fcall_interactively): Preserve all fns listed in preserved_fns.
  5834.     (syms_of_callint): Set preserved_fns and staticpro it.
  5835.     Don't set up Qregion_beginning or Qregion_end.
  5836.  
  5837. Thu Oct 29 01:28:54 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5838.  
  5839.     * dispnew.c (count_blanks): Leave argument r constant, and increment p.
  5840.  
  5841. Wed Oct 28 16:30:55 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5842.  
  5843.     * xdisp.c (message): Re-write this in terms of message1.
  5844.     (message1): Move code to clear out echo_area_glyphs and
  5845.     previous_echo_glyphs from message to here.
  5846.  
  5847.     * keyboard.c (read_char): When returning an unread switch-frame
  5848.     event, jump to reread_first to return it, rather than reread; this
  5849.     makes sure the event gets echoed (if appropriate) and goes into
  5850.     this_command_keys.
  5851.  
  5852.     * keyboard.c (read_key_sequence): If the key sequence starts with
  5853.     a mouse click, read the key sequence using the keymaps of the
  5854.     buffer clicked on, not the current buffer.
  5855.  
  5856.     * keyboard.c (unread_switch_frame): Make this static, to indicate
  5857.     that nobody outside of this file uses it.
  5858.  
  5859.     * keymap.c: Deal with autoloaded keymaps properly.
  5860.         (get_keymap_1): Renamed to inner_get_keymap; made
  5861.     static.  New argument AUTOLOAD says to pursue autoloads if
  5862.     non-zero.
  5863.     (Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
  5864.     not to perform autoloads.
  5865.     (Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
  5866.     autoloading may GC, remember that we have to GCPRO our local
  5867.     variables now.
  5868.     (Fminor_mode_key_binding): Call get_keymap instead of calling
  5869.     get_keymap_1 with equivalent arguments.
  5870.     * keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
  5871.     (read_key_sequence): When pursuing potential bindings in the
  5872.     function key map, ask get_keymap_1 to perform autoloading.  This
  5873.     is hardly important, but it's consistent.
  5874.     * doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
  5875.     perform autoloads.  Autoloading might GC; we need to GCPRO our
  5876.     local variables now.
  5877.     (Fdocumentation, Fdocumentation_property): Autoloading in
  5878.     Fsubstitute_command_keys might GC; we need to GCPRO our
  5879.     local variables now.
  5880.  
  5881. Wed Oct 28 04:03:11 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5882.  
  5883.     * s/irix3-3.h (HAVE_SETSID, IRIX): Defined.
  5884.  
  5885.     * s/irix4-0.h: New file.
  5886.  
  5887. Tue Oct 27 23:26:14 1992  Noah Friedman  (friedman@nutrimat.gnu.ai.mit.edu)
  5888.  
  5889.         * sysdep.c (get_system_name): Use gethostname for USG systems if
  5890.         HAVE_GETHOSTNAME is defined.
  5891.         * s/hpux7.h, s/irix3-3.h (HAVE_GETHOSTNAME): Define it.
  5892.  
  5893. Tue Oct 27 20:34:26 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5894.  
  5895.     * callproc.c: Arrange for synchronous processes to get SIGINT the
  5896.     first time the user quits, or SIGKILL if the user quits again.
  5897.     #include "syssignal.h".
  5898.     (call_process_kill): New function.
  5899.     (call_process_cleanup): Send SIGINT to the subprocess, and then
  5900.     arrange to call call_process_kill if the user quits while we wait
  5901.     for it to terminate.
  5902.     (Fcall_process, Fcall_process_region): Doc fix.
  5903.  
  5904. Tue Oct 27 01:56:14 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5905.  
  5906.     * unexmips.c [sony, IRIS_4D]: Include getpagesize.h and fcntl.h.
  5907.     (unexec): #if 0 the error check of hdr.fhdr.f_nscns.
  5908.     Clear text_section->s_scnptr.
  5909.  
  5910.     * callint.c (Fcall_interactively): Preserve (region-beginning)
  5911.     and (region-end) into the command history when they appear
  5912.     in an interactive spec which is a call to `list'.
  5913.  
  5914.     * batcomp.com: New file.  Waiting for papers from richard@ttt.kth.se.
  5915.  
  5916. Fri Oct 23 16:38:47 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  5917.  
  5918.     * emacs.c (main): Correct spelling of HAVE_X_WINDOW to
  5919.     HAVE_X_WINDOWS in conditionals around the call to syms_of_xmenu.
  5920.  
  5921. Fri Oct 23 07:58:36 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5922.  
  5923.     * ralloc.c (relinquish):
  5924.     Adjust page_break_value by amount of memory actually given back.
  5925.     (r_alloc_sbrk): Provide hysteresis in relocating the blocs.
  5926.  
  5927. Thu Oct 22 07:53:42 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5928.  
  5929.     * ralloc.c (relinquish): Sign of arg to *real_morecore was backwards.
  5930.  
  5931. Wed Oct 21 04:54:52 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5932.  
  5933.     * ralloc.c (relinquish): Never free less than extra_bytes;
  5934.     keep extra_bytes of empty space.
  5935.     (obtain): Always get extra_bytes additional space.
  5936.     (r_alloc_init): Set extra_bytes and page_size.
  5937.     (ALIGNED, ROUNDUP, ROUND_TO_PAGE): Use page_size.
  5938.  
  5939. Tue Oct 20 00:17:03 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5940.  
  5941.     * keyboard.c (syms_of_keyboard): Properly staticpro this_command_keys.
  5942.  
  5943.     * mem-limits.h (get_lim_data): Make it static.
  5944.  
  5945.     * ymakefile (mallocobj): Use vm-limit.o along with ralloc.o.
  5946.  
  5947.     * ralloc.c [emacs]: Define POINTER and SIZE.
  5948.     [!emacs]: Delete definition of EXCEEDS_LISP_PTR.
  5949.  
  5950.     * eval.c (grow_specpdl): Increase max_specpdl_size before Fsignal.
  5951.  
  5952. Mon Oct 19 14:27:05 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  5953.  
  5954.     * xfns.c (x_set_face): Dyked out this function; it has no callers,
  5955.     and refers to an obsolete version of struct face.
  5956.  
  5957.     * xterm.c (compose_status): New variable.
  5958.     (XTread_socket): Pass it by reference to XLookupString.
  5959.  
  5960. Sun Oct 18 04:07:15 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5961.  
  5962.     * s/esix5r4.h (BROKEN_FIONREAD): Defined.
  5963.  
  5964. Fri Oct 16 04:27:32 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  5965.  
  5966.     * s/vms5-5.h: New file.
  5967.  
  5968. Fri Oct 16 00:19:23 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  5969.  
  5970.     * xdisp.c (message): If M is zero, clear echo_area_glyphs and
  5971.     previous_echo_glyphs, so that the minibuffer shows through.
  5972. *       * editfns.c (Fmessage): With no arguments, clear any active
  5973.     message; let the minibuffer contents show through.
  5974.     * minibuf.c (temp_echo_area_glyphs): Don't clear echo_area_glyphs
  5975.     and previous_echo_glyphs; let message do that work.
  5976.  
  5977.     * keyboard.c (this_command_keys): Make this a vector, instead of
  5978.     an array of Lisp_Objects.
  5979.     (this_command_keys_size): Deleted.
  5980.     (echo, add_command_key, Fthis_command_keys): Adjusted
  5981.     appropriately.
  5982.     (init_keyboard): Don't allocate it here.
  5983.     (syms_of_keyboard): Allocate it here, and staticpro it.
  5984.     * keyboard.h (this_command_keys): Extern declaration changed.  Doc fix.
  5985.         * callint.c (Fcall_interactively): Change handling of 'e' spec;
  5986.     this_command_keys is now a vector.
  5987.  
  5988.     * keyboard.c (read_char): Call ourselves with the appropriate
  5989.     number of arguments.
  5990.     (read_char_menu_prompt): If USED_MOUSE_MENU is zero, don't try to
  5991.     store things in it.
  5992.  
  5993.     * window.c: Try to deal coherently with deleted windows:
  5994. *    (Flive_window_p): New function.
  5995.     (Qlive_window_p): New variable, to name it in type errors.
  5996.     (syms_of_window): Defsubr Slive_window_p, init and staticpro
  5997.     Qlive_window_p.
  5998.     * lisp.h (CHECK_LIVE_WINDOW): New predicate.
  5999.     (Qlive_window_p): Extern declaration for this.
  6000.     * window.c (decode_window): Use CHECK_LIVE_WINDOW instead of
  6001.     CHECK_WINDOW; the only thing a user should be able to do to a dead
  6002.     window is check its type.
  6003.     (Fcoordinates_in_window_p, Fnext_window, Fprevious_window,
  6004.     Fdelete_other_windows, Fselect_window, Fsplit_window,
  6005.     Fscroll_other_window): Use CHECK_LIVE_WINDOW instead of
  6006.     CHECK_WINDOW.
  6007.     * frame.c (make_frame_without_minibuffer, Fwindow_frame): Same.
  6008.     * sunfns.c (Fsun_menu_internal): Same.
  6009.     * xmenu.c (Fx_popup_menu): Same.
  6010.     * window.c (Fdelete_window): If WINDOW is a deleted window, do nothing;
  6011.     there's no harm in allowing people to delete deleted windows.
  6012.     Delete all of WINDOW's subwindows, too.
  6013.     (delete_all_subwindows): Set the buffer, vchild, and hchild of the
  6014.     windows we delete all to nil.
  6015.     * window.h (struct window): Doc fix.
  6016.  
  6017.     * window.c (Fwindow_minibuffer_p): Make the WINDOW argument
  6018.     optional, like all the other window-querying functions.
  6019.  
  6020.     * window.c (Fpos_visible_in_window_p): Use decode_window to handle
  6021.     the WINDOW argument, instead of writing out that function's code.
  6022.  
  6023.     * window.c (check_frame_size): Don't define this extern; that
  6024.     doesn't mean anything.
  6025.  
  6026.     * xterm.c: Clean up some of the caps lock handling:
  6027.     (x_shift_lock_mask): New variable.
  6028.     (x_find_modifier_mappings): Set it, based on the modifier mappings.
  6029.     (x_convert_modifiers): Use x_shift_lock_mask, instead of assuming
  6030.     that the lock bit always means to shift the character.
  6031.     (XTread_socket): When handling KeyPress events, don't pass an
  6032.     XComposeStatus structure along to XLookupString.  When handling
  6033.     MappingNotify events, call XRefreshKeyboardMapping for both
  6034.     MappingModifier and MappingKeyboard events, not just the latter.
  6035.  
  6036. Thu Oct 15 22:20:52 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6037.  
  6038.     * window.c (Fdelete_window): Choose an alternative when we delete
  6039.     any frame's selected window, not just when we delete the selected
  6040.     frame's selected window.
  6041.  
  6042. Thu Oct 15 19:44:00 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6043.  
  6044.     * vm-limit.c (check_memory_limits): Declare __morecore.
  6045.     Remove unused variable `result'.
  6046.  
  6047. Thu Oct 15 19:29:28 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6048.  
  6049.     * vm-limit.c (morecore_with_warning): Removed.
  6050.     (check_memory_limits): New fn; most code from
  6051.     morecore_with_warning, but only checks limits, doesn't do any work.
  6052.     (memory_warnings): Set __after_morecore_hook to check_memory_limits;
  6053.     don't set __morecore.
  6054.  
  6055. Wed Oct 14 15:35:52 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6056.  
  6057.     * intervals.c (traverse_intervals): New parameter `depth'.
  6058.     Increment this when passing recursively.
  6059.  
  6060.     * alloc.c (mark_interval_tree): Pass 0 as initial depth argument
  6061.     to traverse_intervals.
  6062.  
  6063.     * xterm.h: Declaration of struct face removed.
  6064.  
  6065.     * dispextern.h: New element of frame structure `max_ascent'.
  6066.     Removed elements `nruns' and `face_list'.
  6067.     LINE_HEIGHT and LINE_WIDTH macros removed.
  6068.     New struct face with associated typedef FACE declared, along with
  6069.     accessing macros.
  6070.  
  6071.     * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
  6072.     `face_list' elements.  Do copy new `max_ascent' frame element.
  6073.  
  6074.     * dispnew.c (scroll_frame_lines): All references to frame elements
  6075.     `nruns' and 'face_list' removed.  Handle new element `max_ascent'.
  6076.     (free_frame_glyphs): Don't free nonexistent elements `nruns' and
  6077.     `face_list';  do free `max_ascent' element.
  6078.     (make_frame_glyphs): Don't allocate nonexistent elements `nruns'
  6079.     and `face_list';  do allocate `max_ascent' element.
  6080.     (update_frame): Replaced use of macro LINE_HEIGHT with element
  6081.     frame element `pix_height'.
  6082.  
  6083. Wed Oct 14 00:07:19 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6084.  
  6085.     * keyboard.c (modify_event_symbol): Arrange to set the
  6086.     click_modifier bit on otherwise unmodified mouse clicks.
  6087.  
  6088.     * keymap.c (store_in_keymap): Don't forget to QUIT in the
  6089.     keymap-scanning loop.  Don't treat vectors as binding tables if
  6090.     they're the wrong length.
  6091.  
  6092. Mon Oct 12 18:11:03 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6093.  
  6094.     * keyboard.c (kbd_buffer_get_event): Remember that
  6095.     *mouse_position_hook may set *FRAME to 0; don't generate
  6096.     switch-frame events in this case.  Fix fencepost bug in fetching
  6097.     events from keyboard buffer.
  6098.  
  6099. Mon Oct 12 18:05:23 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6100.  
  6101.     * ymakefile (ralloc.o): Delete dep mem_limits.h
  6102.     (vm-limit.o): Rename dep to mem-limits.h.
  6103.  
  6104. Mon Oct 12 17:40:50 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6105.  
  6106.     * ralloc.c: Removed #include "mem-limits.h".
  6107.     [emacs]: Moved #undef NULL and #include "getpagesize.h" here.
  6108.     [! emacs]: #include <unistd.h>, <malloc.h>, <string.h>.
  6109.     (r_alloc_init): Use NIL, not NULL.
  6110.  
  6111. Mon Oct 12 17:07:25 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6112.  
  6113.     * ralloc.c (sbrk): Removed decl.
  6114.     (real_morecore): New static variable.
  6115.     (warnlevel, warn_function, check_memory_limits): Removed.
  6116.     (obtain): Don't call check_memory_limits.
  6117.     (obtain, relinquish, r_alloc_sbrk): Use (*real_morecore) in place
  6118.     of sbrk; it returns 0 for errors, not -1.
  6119.     (r_alloc_init): Set real_morecore to old value of __morecore.
  6120.     Don't initialize lim_data or warnlevel, and don't call get_lim_data.
  6121.     (memory_warnings): Function removed.
  6122.  
  6123. Mon Oct 12 16:59:52 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6124.  
  6125.     * vm-limit.c (warnfunction): Renamed to warn_function (was used
  6126.     inconsistently).
  6127.     (morecore_with_warning, memory_warnings): Change callers (were
  6128.     inconsistent).
  6129.  
  6130. Mon Oct 12 16:10:02 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6131.  
  6132.     * mem-limits.h (start_of_data): Removed extra defn.
  6133.     (get_lim_data): Define to return void.
  6134.  
  6135. Mon Oct 12 14:43:13 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  6136.  
  6137.     * mem_limits.h: File renamed to mem-limits.h.
  6138.     * vm-limit.c, ralloc.c: Changed #includes.
  6139.  
  6140. Sun Oct 11 02:51:22 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6141.  
  6142.     * syntax.c (find_defun_start): scan_buffer returns start of line;
  6143.     no need to advance over newline.
  6144.  
  6145.     * vm-limit.c (morecore_with_warning):
  6146.     Reduce warnlevel when usage drops far enough.
  6147.     * ralloc.c (check_memory_limits): Likewise.
  6148.  
  6149.     * vm-limit.c (memory_warnings): Renamed from malloc_init.
  6150.     Don't set lim_data or warnlevel.  Use start_of_data if start is 0.
  6151.     * ralloc.c (memory_warnings): New function; just set warning data.
  6152.     Use start_of_data if start is 0.
  6153.     * emacs.c (Fdump_emacs, main): Use memory_warnings.
  6154.  
  6155.     * mem_limits.h [!emacs]: Don't define POINTER, SIZE or NULL.
  6156.     (start_of_data): Define as macro, if !emacs.
  6157.     * ralloc.c [!emacs]: Don't include config.h or lisp.h;
  6158.     instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
  6159.     * vm-limit.c [!emacs]: Don't include config.h or lisp.h;
  6160.     instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
  6161.  
  6162.     * ralloc.c [!emacs] (safe_bcopy): Define as macro using memmove.
  6163.     (r_alloc_free): Clear *ptr.
  6164.     (r_alloc_init): Renamed from malloc_init.  Take no args.
  6165.     Make it static; declare at top of file.
  6166.     (r_alloc): Call r_alloc_init, if not initialized yet.
  6167.     (r_alloc_initialized): Renamed from malloc_initialized; moved to top.
  6168.     (ROUNDUP): Subtract 1, in case arg is already aligned.
  6169.  
  6170.     * mem_limits.h (EXCEEDS_LISP_PTR): Renamed from EXCEEDS_ELISP_PTR.
  6171.     * vm-limit.c (morecore_with_warning): Use EXCEEDS_LISP_PTR.
  6172.     * ralloc.c (check_memory_limits): Use EXCEEDS_LISP_PTR.
  6173.  
  6174. Sat Oct 10 14:53:28 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6175.  
  6176.     * keyboard.c (Vlast_event_frame): Make this variable exist even
  6177.     when MULTI_FRAME isn't #defined.  People might find it
  6178.     necessary for writing correct programs, even when the programs
  6179.     don't explicitly use multiple frames.
  6180.     (read_char, kbd_buffer_store_event, kbd_buffer_get_event): No need
  6181.     to test MULTI_FRAME before setting Vlast_event_frame.
  6182.     (syms_of_keyboard): DEFVAR Vlast_event_frame whether or not
  6183.     MULTI_FRAME is defined.
  6184.  
  6185.         * keyboard.c: Add switch-frame events.
  6186.     (Qswitch_frame): New event header symbol.
  6187.     (head_table): Include Qswitch_frame in the table of event heads.
  6188.     (kbd_buffer_get_event): Detect when a frame switch has occurred,
  6189.     and return a frame switch event before the enqueued event.
  6190.     (make_lispy_switch_frame): New function.
  6191.     (unread_switch_frame): New variable.
  6192.     (read_key_sequence): Don't throw away the key sequence if the user
  6193.     switches frames in the middle of the sequence.  Instead, when we
  6194.     receive a switch-frame event in the middle of a key sequence, save
  6195.     it, and stuff it into unread_switch_frame when the sequence
  6196.     is complete.
  6197.     (read_char): If unread_switch_frame is set, return that value.
  6198.     (command_loop_1): No need to check Vlast_event_frame and select
  6199.     new frames here; that's taken care of by switch-frame events now.
  6200.     (syms_of_keyboard): Initialize and staticpro unread_switch_frame.
  6201.     * keyboard.h (Qswitch_frame): Declare this extern.
  6202.  
  6203.     * frame.c: #include "commands.h" and "keyboard.h".
  6204.     (Fselect_frame): Make this interactive, and accept
  6205.     switch-frame events as arguments, so we can bind this function to
  6206.     switch-frame events.
  6207.     (keys_of_frame): New function; bind switch-frame to Fselect_frame.
  6208.     * emacs.c (main): Call keys_of_frame.
  6209.     * keymap.c (initial_define_lispy_key): New function, for defining
  6210.     non-ascii keys.
  6211.     * ymakefile: Note that frame.o depends on commands.h and keyboard.h.
  6212.  
  6213.     * callint.c (Fcall_interactively): Allow multiple 'e' specs.
  6214.     (Finteractive): Doc fix.
  6215.     * keyboard.h (this_command_keys, this_command_key_count): Added
  6216.     external declarations.
  6217.  
  6218.     * keymap.c (access_keymap): Treat bindings for Qt as default
  6219.     bindings, when new argument T_OK is non-zero.
  6220.     (get_keyelt, Fdefine_key, Flookup_key): Call access_keymap with
  6221.     T_OK false.
  6222.     * keyboard.c (follow_key, read_key_sequence): Call access_keymap
  6223.     with T_OK true.
  6224.  
  6225.     * keyboard.c (apply_modifiers): Copy the value of BASE's
  6226.     Qevent_kind property to the new symbol.
  6227.  
  6228.     * keyboard.c (syms_of_keyboard): Qevent_kind should be initialized
  6229.     to intern ("event-kind"), not intern ("event-type").
  6230.  
  6231. Sat Oct 10 02:54:17 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6232.  
  6233.     * fileio.c (Fwrite_region): If VISIT is a file name,
  6234.     use that as file name to visit, and print it in the message.
  6235.     Use it for file locking too.
  6236.  
  6237.     * m-ibmps2-aix.h [__GNUC__ >= 2] (LIB_STANDARD): Don't define.
  6238.  
  6239. Fri Oct  9 12:49:03 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)
  6240.  
  6241.     * ymakefile (FLOATSUP): Renamed to FLOAT_SUPPORT.
  6242.     (FRAME_SUPPORT, VMS_SUPPORT): New macros.
  6243.     (lisp): Rebuild this from loadup.el, using the _SUPPORT macros.
  6244.  
  6245.     * ymakefile [HAVE_X_WINDOWS, not NO_X_MENU, HAVE_X11] (LIBXMENU):
  6246.     Link against -loldX, to get the association table functions.
  6247.  
  6248.     * xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid
  6249.     warnings about redefining NULL under GCC 2.2.2.
  6250.  
  6251. Fri Oct  9 01:08:36 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6252.  
  6253.     * m/pyrmips.h: New file.
  6254.  
  6255.     * s/aix3-1.h (PTY_ITERATION, etc.): Defined.
  6256.     (FIRST_PTY_LETTER): Deleted.
  6257.  
  6258. Wed Oct  7 15:23:31 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6259.  
  6260.     * m/sparc.h: Include <sys/param.h>, to define the FSCALE constant.
  6261.  
  6262.     * ymakefile (YMF_PASS_LDFLAGS): Refer to the prefix-args program
  6263.     using "./prefix-args", not just "prefix-args"; some people don't
  6264.     have . in their paths.
  6265.  
  6266. Tue Oct  6 00:54:20 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6267.  
  6268.     * link.com: Use gcclib if compiling with GCC.
  6269.  
  6270.     * fileio.c (directory_file_name): Don't clobber the envvar
  6271.     when handling top-level rooted dir.
  6272.  
  6273.     * ymakefile (LIB_STANDARD): If ORDINARY_LINK, default this to empty.
  6274.  
  6275.     * m/ibmps2-aix.h [USG_SHARED_LIBRARIES]: Define ORDINARY_LINK.
  6276.     Undef LIB_STANDARD.  Modify LD_SWITCH_MACHINE.
  6277.  
  6278.     * unexnext.c: New file.
  6279.     * emacs.c (main) [NeXT]: Call malloc_jumpstart.
  6280.  
  6281. Mon Oct  5 19:59:01 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6282.  
  6283.     * window.c (window_loop): Pass 2nd arg to Fother_buffer.
  6284.     * frame.c (make_frame): Likewise.
  6285.     * callint.c (Fcall_interactively): Likewise.
  6286.     * buffer.c (Fkill_buffer): Likewise.
  6287.     (Fswitch_to_buffer, Fpop_to_buffer, Fbury_buffer): Likewise.
  6288.  
  6289. Sat Oct  3 01:34:07 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6290.  
  6291.     * keyboard.c (read_key_sequence): Treat mouse clicks on non-text
  6292.     areas as if they were prefixed with the symbol denoting the
  6293.     area clicked on - `mode-line', etcetera.
  6294.     When we throw away an unbound `down-' event, reset mock_input as
  6295.     well.
  6296.  
  6297.     * keyboard.c (Qevent_symbol_element_mask, Qmodifier_cache): Two
  6298.     new symbols, used to implement caches on event heads.  These take
  6299.     the place of some of the caching that modify_event_symbol used to do.
  6300.     (parse_modifiers_uncached, apply_modifiers_uncached,
  6301.     lispy_modifier_list, parse_modifiers, apply_modifiers): New
  6302.     functions, which replace format_modifiers and reorder_modifiers;
  6303.     they can be useful elsewhere too.
  6304.     (reorder_modifiers, modify_event_symbol): Re-implement these in
  6305.     terms of parse_modifiers and apply_modifiers.  modify_event_symbol
  6306.     now uses a much simpler cache, and takes advantage of the caches
  6307.     maintained by parse_ and apply_modifiers.
  6308.     (follow_key): Don't modify NEXT if KEY has no bindings.
  6309.     (read_key_sequence): Drop unbound `down-' events, and turn unbound
  6310.     `drag-' events into clicks if that would make them bound.  This
  6311.     benefits from the rewriting of the modifier key handling code.
  6312.     (syms_of_keyboard): Initialize and intern
  6313.     Qevent_symbol_element_mask and Qmodifier_cache.
  6314.  
  6315.     * keyboard.c (echo_prompt): Terminate the echo buffer properly
  6316.     even when the string is too long to display in the minibuffer.
  6317.     (echo_truncate): Just return echoptr - echobuf, rather than
  6318.     calling strlen on echobuf.
  6319.  
  6320.     * alloc.c (Fmemory_limit): New function.
  6321.     (syms_of_alloc): Defsubr it.
  6322.  
  6323.     * window.c (SAVE_WINDOW_DATA_SIZE): Define this using sizeof,
  6324.     instead of just saying it's 7; that way, we won't get screwed if 
  6325.     we add members to struct save_window_data.
  6326.  
  6327.     * window.c (struct save_window_data): Save the currently selected
  6328.     frame, too.
  6329.     (Fset_window_configuration): Restore the frame's selected window
  6330.     using Fselect_window, and then restore the selected frame using
  6331.     Fselect_frame.
  6332.     (Fcurrent_window_configuration): Record the currently selected
  6333.     frame.  Update docstring to describe the information now recorded.
  6334.  
  6335. Fri Oct  2 22:43:49 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6336.  
  6337.     * process.c (wait_reading_process_input): Ultrix select seems to
  6338.     return ENOMEM when interrupted.  So, under Ultrix, treat ENOMEM
  6339.     like EINTR.
  6340.  
  6341.     * keyboard.c (modifier_names): The modifier is named "control",
  6342.     not "ctrl".
  6343.  
  6344.     * keyboard.c (modify_event_symbol): Make sure that the unmodified
  6345.     event header gets the proper properties set on it, by recursing
  6346.     and letting the same code build the properties for all event symbols.
  6347.  
  6348.     * keyboard.c (Qmouse_click): Fix typo which assigned `mouse-click'
  6349.     symbol to Qmouse_movement.
  6350.  
  6351. Fri Oct  2 22:11:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6352.  
  6353.     * undo.c (Fprimitive_undo):
  6354.     When undoing an insert, move point and then delete.
  6355.  
  6356. Fri Oct  2 18:31:07 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6357.  
  6358.     * intervals.c: `copy_intervals' no longer static.
  6359.  
  6360.     * intervals.h: Declare `copy_intervals'.
  6361.  
  6362.     * buffer.c: #include intervals.h.
  6363.  
  6364.     * ymakefile: New macro "INTERVALS", controlled by "USE_INTERVALS",
  6365.     which defines the interval include file "intervals.h".
  6366.     New entries for "intervals.c" and "textprop.c".
  6367.  
  6368.     * lisp.h: Declare Qbuffer_or_string_p.
  6369.  
  6370. Fri Oct  2 18:16:12 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6371.  
  6372.     * xterm.c (x_find_modifier_meanings): If there are no
  6373.     modifiers containing a Meta_ keysym, use the Alt keysyms to
  6374.     denote meta.
  6375.     (construct_mouse_click): Set the down_modifier bit on mouse
  6376.     button press events.
  6377.     (XTread_socket): When processing keypress events, use
  6378.     x_meta_mod_mask when processing ordinary ASCII characters, not
  6379.     just when processing function keys and other non-ASCII events.
  6380.     (XTread_socket): If we receive a MappingNotify event with the
  6381.     `request' member set to `MappingModifier', then call
  6382.     x_find_modifier_meanings to refresh x_meta_mod_mask.
  6383.  
  6384.     * window.c (Fset_window_configuration): Clean up the way we save
  6385.     and restore the frame's size.
  6386.  
  6387.     * termhooks.h (struct input_event): Doc fix.
  6388.     (NUM_MOUSE_BUTTONS): New constant.
  6389.     (click_modifier): New modifier.
  6390.     (NUM_MODIFIER_COMBOS): Removed.
  6391.  
  6392.     * keyboard.h (EVENT_HAS_PARAMETERS): Definition changed - all events
  6393.     are not 5 elements long.
  6394.     (EVENT_HEAD): Work correctly on all sorts of events, not just
  6395.     events with parameters.
  6396.     (EVENT_WINDOW, EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON,
  6397.     EVENT_WINDOW_POSN, EVENT_TIMESTAMP): These aren't useful
  6398.     anymore; this information may appear twice in an event.  These
  6399.     are replaced by the POSN_ accessors, which are meant to be
  6400.     composed with the EVENT_START and EVENT_END accessors.
  6401.     (EVENT_START, EVENT_END): Two new accessors, to get at the
  6402.     starting and ending position of an event.
  6403.     (POSN_WINDOW, POSN_BUFFER_POSN, PONS_SCROLLBAR_BUTTON,
  6404.     POSN_WINDOW_POSN, POSN_TIMESTAMP): New macros, to futher
  6405.     diasassemble the values returned by EVENT_START and EVENT_END.
  6406.     * keyboard.c (echo_char, read_char): Apply EVENT_HEAD without first 
  6407.     testing for EVENT_HAS_PARAMETERS; EVENT_HEAD works properly on
  6408.     all sorts of events now.
  6409.     (read_key_sequence): Use the new accessors to decide in which window
  6410.     an event occurred.
  6411.     * keymap.c (access_keymap, store_in_keymap,
  6412.     Fsingle_key_description): No need to check for
  6413.     EVENT_HAS_PARAMETERS before using EVENT_HEAD; the latter now
  6414.     works properly on all sorts of events.
  6415.  
  6416.     * keyboard.c (Qevent_unmodified): Replaced by...
  6417.     (Qevent_symbol_elements): New property.
  6418.     (syms_of_keyboard): initialize and staticpro the latter, not the
  6419.     former.
  6420.     * keyboard.h (Qevent_unmodified): Extern declaration replaced by...
  6421.     (Qevent_symbol_elements): This.
  6422.     (EVENT_HEAD_UNMODIFIED): Use the Qevent_symbol_elements
  6423.     property, rather than the Qevent_unmodified property.
  6424.  
  6425.     * keyboard.c (readable_events): This doesn't need to scan and
  6426.     discard mouse release events anymore; it just uses
  6427.     EVENT_QUEUES_EMPTY.
  6428.     (kbd_buffer_get_event): No need to skip past mouse release events.
  6429.  
  6430.     * keyboard.c (button_down_location): New variable, which
  6431.     stores the location at which each button was pressed, so we
  6432.     can build a complete drag event when the button is released.
  6433.     (make_lispy_event): When a button is pressed, record its
  6434.     location in button_down_location, and turn it into a `down'
  6435.     event.  When a button is released, compare its release
  6436.     location with its press location, and decide whether to call
  6437.     it a `click' or `drag' event.
  6438.     Change mouse movement events to be arranged like click events.
  6439.     (format_modifiers): Note that the click modifier has no
  6440.     written representation.
  6441.     (modifier_names, modifer_symbols): New variables, used to
  6442.     create the Qevent_symbol_elements property.
  6443.     (modify_event_symbol): Change the format of the modified
  6444.     symbol cache; there are too many modifier bits now to use a
  6445.     vector indexed by a modifier mask.  Use an assoc-list instead.
  6446.     Document the format of the cache.
  6447.     Put the Qevent_symbol_elements property on each new symbol,
  6448.     instead of a Qevent_unmodified property.
  6449.     (symbols_of_keyboard): Put Qevent_symbol_elements properties on
  6450.     the symbols specified in head_table, not Qevent_unmodifed properties.
  6451.     Initialize and staticpro modifier_symbols, and staticpro the
  6452.     window elements of button_down_location.
  6453.  
  6454.     * xmenu.c: #include "keyboard.h".
  6455.     (Fx_popup_menu): Use the event accessors defined in keyboard.h,
  6456.     instead of writing out cars and cdrs.
  6457.     * ymakefile: Note that xmenu.o depends on keyboard.h.
  6458.  
  6459. Fri Oct  2 14:55:28 1992  Joseph Arceneaux  (jla@wookumz.gnu.ai.mit.edu)
  6460.  
  6461.     * textprop.c: Conditionalize all functions on
  6462.     "USE_TEXT_PROPERTIES".
  6463.     * intervals.c: Conditionalize all functions on
  6464.     "USE_TEXT_PROPERTIES".
  6465.     Removed #include of "screen.h".
  6466.  
  6467.     * alloc.c: #include "intervals.h".
  6468.     (init_intervals, make_interval,
  6469.     mark_interval, mark_interval_tree): New functions conditionally
  6470.     defined.
  6471.     (make_uninit_string): Call INITIALIZE_INTERVAL.
  6472.     (INIT_INTERVALS, UNMARK_BALANCE_INTERVALS, MARK_INTERVAL_TREE):
  6473.     New macros, conditionally defined.
  6474.     (mark_object): Call MARK_INTERVAL_TREE in case Lisp_String.
  6475.     (gc_sweep): If text properties are in use, place all unmarked
  6476.     intervals on the free list.  Call UNMARK_BALANCE_INTERVALS on
  6477.     `buffer->intervals' when unmarking `buffer'.
  6478.     (compact_strings): Include INTERVAL_PTR_SIZE in calculation for
  6479.     target of bcopy when relocating strings.
  6480.     (init_alloc_once): Call INIT_INTERVALS.
  6481.     (make_pure_string): Include INTERVAL_PTR_SIZE in calculation of
  6482.     `size'.
  6483.     Moved static declaration of `mark_object' and other functions up
  6484.     in the file.
  6485.  
  6486.     * fileio.c (Finsert_file_contents): Call offset_intervals if
  6487.     text was actually inserted.
  6488.     #include "intervals.h".
  6489.  
  6490. Wed Sep 30 18:29:00 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6491.  
  6492.     * data.c: Qbuffer_or_string_p added.
  6493.  
  6494.     * syntax.c (describe_syntax): Use insert_char to insert `match'.
  6495.  
  6496.     * buffer.c (reset_buffer): Do INITIALIZE_INTERVAL on the buffer's
  6497.     interval component.
  6498.     (Fkill_buffer): Likewise.
  6499.  
  6500.     * editfns.c (make_buffer_string): Call copy_intervals_to_string.
  6501.     (Finsert_buffer_substring): Call graft_intervals_into_buffer.
  6502.     #include "intervals.h".
  6503.  
  6504.     * insdel.c: #include "intervals.h"
  6505.     (prepare_to_modify_buffer): Call verify_interval_modification.
  6506.     (insert_from_string): Call offset_intervals and
  6507.     graft_intervals_into_buffer.
  6508.     (del_range): Call offset_intervals.
  6509.     (insert): Call offset_intervals.
  6510.  
  6511.     * emacs.c: #include "intervals.h".
  6512.     (main): Call syms_of_textprop.  This is only really present if
  6513.     Emacs is compiled with USE_TEXT_PROPERTIES defined.
  6514.  
  6515.     * buffer.h: New macro TEMP_SET_PT.  If intervals are used, SET_PT
  6516.     and TEMP_SET_PT are function calls.
  6517.     Similarly for BUF_SET_PT and BUF_TEMP_SET_PT.
  6518.     Added DECLARE_INTERVALS to buffer structure to conditionally
  6519.     compile an interval tree into it.
  6520.  
  6521.     * intervals.h: Declare temp_set_point.
  6522.  
  6523. Wed Sep 30 17:08:53 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6524.  
  6525.     * ymakefile (config.h): Doc fix.
  6526.  
  6527. Wed Sep 30 16:35:23 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6528.  
  6529.     * config.h.in: Added a slot for definition of USE_TEXT_PROPERTIES,
  6530.     controlling compilation of interval code.
  6531.     If using GNUC, support inline functions.
  6532.  
  6533.     * lisp.h: Conditionally define interval structure and macros.
  6534.     Add DECLARE_INTERVALS to struct Lisp_String.
  6535.  
  6536. Wed Sep 30 06:59:07 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6537.  
  6538.     * buffer.c (Fother_buffer): Add back the VISIBLE_OK argument.  It
  6539.     got removed with no comment or ChangeLog entry, and
  6540.     append-to-buffer uses it.
  6541.  
  6542.         * window.c (struct save_window_data): Add a member called
  6543.     focus_frame, to save and restore the screen's focus frame.
  6544.     (Fset_window_configuration): Redirect the frame's focus as
  6545.     indicated in the window configuration.
  6546.     (Fcurrent_window_configuration): Record the frame's current focus.
  6547.     * minibuf.c (read_minibuf): Don't bother to save the current
  6548.     frame's focus, and have read_minibuf_unwind restore it; saving and
  6549.     restoring the window configurations will take care of that.
  6550.     (read_minibuf_unwind): Don't worry about restoring the frame's focus.
  6551.  
  6552.     * window.c (Fset_window_configuration): Don't select the frame
  6553.     just because we restored its configuration.
  6554.  
  6555.     * window.c (Fset_window_configuration): Don't forget to set the
  6556.     frame's selected window when we can't call Fselect_window.
  6557.  
  6558.     * xterm.c (x_meta_mod_mask): New variable, indicating which X
  6559.     modifier bits denote meta keys.
  6560.     (x_find_modifier_meanings): New function, to set x_meta_mod_mask.
  6561.     (x_convert_modifiers): Use that.
  6562.     (x_term_init): Call x_find_modifier_meanings.
  6563.  
  6564.     * data.c (Fmake_local_variable): If SYM forwards to a C variable,
  6565.     swap in the value for the current buffer immediately.
  6566.  
  6567.     * lisp.h: Doc elaboration for Lisp_Buffer_Local_Value.
  6568.  
  6569. Tue Sep 29 21:05:30 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  6570.  
  6571.     * textprop.c (Ferase_text_properties): Merge intervals when
  6572.     possible.
  6573.  
  6574. Tue Sep 29 00:04:05 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6575.  
  6576.     * xselect.c (Qcut_buffer0): Symbol removed; we're using a new
  6577.     interface to the cut buffer now.
  6578.     (NUM_CUT_BUFFERS, cut_buffer_atom, cut_buffer_value,
  6579.     cut_buffer_cached, cut_buffer_just_set): New variables.
  6580.     (Fx_own_selection, Fx_selection_value): Dike out the code to
  6581.     handle CUT_BUFFER0 requests.
  6582.     (Fx_get_cut_buffer, Fx_set_cut_buffer, x_watch_cut_buffer_cache,
  6583.     x_invalidate_cut_buffer_cache): New functions.
  6584.     (syms_of_xselect): Don't bother to initialize Qcut_buffer0.
  6585.     Initialize and staticpro cut_buffer_value, and defsubr
  6586.     Sx_get_cut_buffer and Sx_set_cut_buffer.
  6587.     * xterm.c (XTread_socket): Pass PropertyNotify events from the
  6588.     root window to x_invalidate_cut_buffer_cache.
  6589.     (x_term_init): Call x_watch_cut_buffer_cache here.
  6590.  
  6591.     * keymap.c (access_keymap): Don't forget to QUIT while scanning
  6592.     the keymap.
  6593.  
  6594.     * keyboard.c (recent_keys): This needs to be staticpro'ed.  Change
  6595.     it from a C array, which is a pain in the neck to staticpro, into
  6596.     a lisp vector, which is easier.
  6597.     (read_char, Frecent_keys): Access recent_keys as a lisp vector,
  6598.     not a C array.
  6599.     (syms_of_keyboard): Set recent_keys to be a vector, and staticpro it.
  6600.  
  6601.     * ymakefile (xfns.o): This doesn't depend on xselect.c.
  6602.  
  6603.     * xterm.h (ROOT_WINDOW): Use the DefaultScreen macro, not the
  6604.     XDefaultScreen function.
  6605.  
  6606.     * frame.c (Fdelete_frame): Call Fselect_frame with the appropriate
  6607.     number of arguments.
  6608.  
  6609.     * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and
  6610.     HP/UX, not just under USG systems.
  6611.  
  6612.     * buffer.c (Fbury_buffer): This used to undisplay the buffer being
  6613.     buried only if the BUFFER argument was nil.  Instead, undisplay the
  6614.     buffer whenever it's displayed in the selected window, no matter
  6615.     how it was specified by BUFFER.  This is how it behaves in 18.58,
  6616.     and I can't find any ChangeLog entry in 18.58 or 19.0 saying why
  6617.     they differ.  Fix the doc string accordingly.
  6618.  
  6619. Mon Sep 28 20:59:27 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6620.  
  6621.     * frame.c (Fselect_frame, Fframe_root_window,
  6622.     Fframe_selected_window, Fnext_frame, Fmake_frame_visible,
  6623.     Fmake_frame_invisible, Ficonify_frame): Doc fixes.
  6624.  
  6625.     * ralloc.c: Since the users of the relocating allocation code
  6626.     handle memory exhaustion, it's better to return an error code to
  6627.     them than to call abort. 
  6628.     (obtain): If we cannot allocate more memory, don't call
  6629.     abort.  Instead, return non-zero iff the allocation is successful.
  6630.     (get_more_space): If obtain fails, return zero.
  6631.     (get_bloc): Return zero if we can't allocate the new bloc.
  6632.     (r_alloc_sbrk): Return zero if we can't allocate more memory.
  6633.     (r_alloc): If we can't allocate more memory, set *PTR to zero and
  6634.     return zero.
  6635.     (r_re_alloc): If we can't allocate more memory, leave *PTR
  6636.     unchanged, and return zero.
  6637.  
  6638.     * ralloc.c (warnfunction): Renamed to warn_function; users changed.
  6639.  
  6640. Mon Sep 28 03:20:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6641.  
  6642.     * insdel.c (del_range): Call record_delete before updating point.
  6643.  
  6644.     * fileio.c (Finsert_file_contents): Do record_insert, then inc MODIFF.
  6645.  
  6646.     * undo.c (record_delete): Record pos before the deletion.
  6647.     (Fprimitive_undo): Go back to recorded position.
  6648.  
  6649. Mon Sep 28 01:08:59 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6650.  
  6651.     * window.c (delete_all_subwindows): Save the window's buffer in
  6652.     its `height' field; we may need to know the window's old buffer
  6653.     once we have restored it from a window configuration.
  6654.     (Fset_window_configuration): When we restore a window, if its
  6655.     `height' field is a buffer, restore its `buffer' field from that.
  6656.     This allows us to leave the window's buffer unchanged if the
  6657.     buffer recorded in the configuration is dead.
  6658.  
  6659.     * window.c (delete_all_subwindows): Removed unused variable named
  6660.     "count".
  6661.  
  6662. Sun Sep 27 22:18:37 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6663.  
  6664.     * keyboard.c (read_char): If we're returning an event from a
  6665.     macro, set Vlast_event_frame to Qmacro, instead of leaving it set
  6666.     to the frame of the previous real event.
  6667.     (read_key_sequence): If Vlast_event_frame isn't a frame, don't
  6668.     bother switching buffers.
  6669.     (syms_of_keyboard): Doc fix for Vlast_event_frame.
  6670.     (Vlast_event_frame): Doc fix.
  6671.  
  6672.     * termhooks.h (alt_modifier, hyper_modifier, super_modifier,
  6673.     down_modifier, drag_modifier): New modifiers, to support the new
  6674.     input system.  Re-arranged modifiers so that their bits are in
  6675.     canonical order; this makes reorder_modifiers slightly simpler.
  6676.     * keyboard.c (format_modifiers, reorder_modifiers): Handle the new
  6677.     modifier bits.
  6678.  
  6679.     * keymap.c (access_keymap): Remove code to notice bindings for
  6680.     Qt.
  6681.  
  6682. Fri Sep 25 19:22:52 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6683.  
  6684.     * xmenu.c (single_keymap_panes): Handle vectors properly.
  6685.  
  6686. Fri Sep 25 10:58:40 1992  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  6687.  
  6688.     * keymap.c (Fwhere_is_internal): Don't forget to advance map to
  6689.     the next element when we find something that is neither a vector
  6690.     nor a cons.  Don't forget to QUIT in the appropriate places,
  6691.     either.
  6692.  
  6693. Wed Sep 23 21:04:49 1992  Joseph Arceneaux  (jla@geech.gnu.ai.mit.edu)
  6694.  
  6695.     * textprop.c (Fset_text_properties): Merge adjacent intervals with
  6696.     the same properties.
  6697.     (Fnext_single_property_change, Fprevious_single_property_change):
  6698.     New subrs.
  6699.  
  6700.     * intervals.c (merge_interval_left, merge_interval_right): Abort
  6701.     if caller tries to merge first (or last, respectively) interval.
  6702.     Delete the interval node after merging.
  6703.     (copy_intervals): Use `split_interval_right' rather than creating
  6704.     new intervals with make_new_interval and attaching them
  6705.     explicitly.
  6706.     (verify_interval_modification): Changed error message.  GCPRO
  6707.     hooks before calling Fnreverse, and correctly Fcdr down the list.
  6708.     Also, don't cons multiple copies of the same consecutive
  6709.     modification hook.
  6710.     (temp_set_point): New function.
  6711.     (set_point): Call point-left and point-entered hooks if moving
  6712.     between text with different properties.  Use the old and new
  6713.     positions as arguments to these calls.
  6714.  
  6715.     * intervals.c, intervals.h: (map_intervals, make_buffer_interval,
  6716.      make_string_interval,run_hooks): Deleted.
  6717.  
  6718. Wed Sep 23 06:38:52 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  6719.  
  6720.     * keymap.c (DENSE_TABLE_SIZE): Doc fix.
  6721.     (keymap_table): Function removed; this function exists only to
  6722.     support an incorrect understanding of the format of keymaps.
  6723.     (access_keymap, store_in_keymap, Fcopy_keymap,
  6724.     Faccessible_keymaps): Correctly handle vectors at any point in the
  6725.     keymap; don't assume it must be at the front.
  6726.     (describe_map): Instead of calling describe_vector on the vector
  6727.     in the cadr of the keymap (if present) and then calling
  6728.     describe_alist to do the rest, just call describe_map_2.
  6729.     (describe_alist): Renamed to describe_map_2; call describe_vector
  6730.     when we encounter a vector in the list.
  6731.     * xmenu.c (single_keymap_panes): Comment out the code which
  6732.     tries to handle a dense keymap's table; it uses keymap_table, and
  6733.     the rest of the code never uses the table contents anyway.
  6734.  
  6735.     * keymap.c (access_keymap, store_in_keymap): Clarify error message
  6736.     for non-ASCII characters.
  6737.  
  6738.     * process.c [SIGCHLD && !BSD && !UNIPLUS && !HPUX]
  6739.     (create_process): #if 0 out the code which sets the child's
  6740.     handler for SIGCHLD to sigchld; the code which gives sigchld its
  6741.     value has been diked out under these CPP symbols, so this should
  6742.     be diked out too.
  6743.  
  6744.     * indent.c (Fmove_to_column): Pass the right number of arguments
  6745.     to Findent_to.
  6746.  
  6747. Tue Sep 22 01:56:01 1992  Jim Blandy  (jimb@kropotkin.gnu.ai.mit.edu)
  6748.  
  6749.     * emacs.c (emacs_priority): Doc fix.
  6750.     (main): Use nice, not setpriority; we just need a
  6751.     simple, portable call to nice here.
  6752.     * callproc.c (child_setup): Use nice, not setpriority.
  6753.     * sysdep.c (sys_suspend): Don't try to use "nice (- nice (0))" to
  6754.     set the subshell's priority to normal; nice doesn't return a
  6755.     defined value on all systems.  Instead, since emacs_priority gives
  6756.     the priority that Emacs was nastied to, we can use it to reset the
  6757.     priority in a straightforward way.
  6758.     [BSD4_1], [USG], [VMS] (setpriority): Remove dummy and
  6759.     compatibility definitions of setpriority.
  6760.  
  6761.     * keymap.c (access_keymap): Return the binding of Qt as the
  6762.     binding for all unbound characters.
  6763.  
  6764.     * fileio.c (syms_of_fileio): Don't try to defsubr Sunix_sync
  6765.     unless it's actually been defined - that is, if unix is #defined.
  6766.  
  6767.     * xrdb.c (x_get_resource): Cast the value being assigned to
  6768.     ret_value->addr, rather than ret_value->addr itself; only GCC
  6769.     allows you to cast lvalues.
  6770.  
  6771.     * eval.c (unbind_catch): Do the long-jump here.  Take a VALUE
  6772.     argument, which specifies the value to return to the catch, or the
  6773.     data to give to the condition handler.  Renamed to
  6774.     unwind_to_catch, to reflect new role.
  6775.     (Fsignal, Fthrow): Removed code to set catch tag value and do the
  6776.     long-jump; this is taken care of by unwind_to_catch.
  6777.  
  6778. Mon Sep 21 02:36:50 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6779.  
  6780.     * alloc.c (mark_object): Avoid car recursion on cons with nil in cdr.
  6781.     Avoid recursion on constants-vector of a compiled function.
  6782.  
  6783.     * oldXMenu: Symlink deleted; anything that uses it needs fixing
  6784.     in any case to work properly on systems without symlinks.
  6785.  
  6786. Sun Sep 20 16:05:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6787.  
  6788.     * s/sol2.h: New file.
  6789.  
  6790.     * fileio.c: Don't include sys/dir.h.
  6791.  
  6792.     * s/usg5-4.h (LIBS_SYSTEM): Move non-default libraries here.
  6793.     (LIB_STANDARD, START_FILES): Deleted.
  6794.     (ORDINARY_LINK): Defined.
  6795.  
  6796.     * ymakefile [ORDINARY_LINK]: Default LD to $(CC)
  6797.     and make START_FILES and LIB_STANDARD empty.
  6798.     (C_SWITCH_X_MACHINE, C_SWITCH_X_SYSTEM): New macros, default empty.
  6799.     (CFLAGS): Use them.
  6800.  
  6801. Sat Sep 19 03:05:11 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6802.  
  6803.     * ymakefile (${etc}DOC): Use OBJECTS_SYSTEM and OBJECTS_MACHINE.
  6804.  
  6805.     * dired.c [VMS]: Include string.h, rms.h, rmsdef.h.
  6806.     [VMS] (Ffile_version_limit): New function.
  6807.  
  6808.     * sysdep.c (sys_suspend): Read EMACS_PARENT_PID envvar for parent. 
  6809.  
  6810.     * syntax.c (scan_lists): When searching back for comment:
  6811.     if comment-end is 2 chars, assume it does end a comment.
  6812.     Otherwise, scan back to previous comment-end to see if there's
  6813.     a comment starter between.  Also record whether the string quotes
  6814.     between the start and the end are paired and uniform.
  6815.     If so, skip to comment starter.  If not, scan from start of
  6816.     defun to find comment starter if any.
  6817.     (find_defun_start): New function.
  6818.  
  6819.     * alloc.c (mark_object): Save last 500 values of objptr.
  6820.     Check for clobberage of ptr, when marking a vector.
  6821.  
  6822. Fri Sep 18 03:28:55 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6823.  
  6824.     * keymap.c (get_keyelt): Skip menu help string after menu item name.
  6825.  
  6826. Fri Sep 18 00:50:03 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6827.  
  6828.     * buffer.c (Fget_buffer_create): Doc fix.
  6829.  
  6830.     * lisp.h (struct handler): Remove the poll_suppress_count member
  6831.     of this structure; it is always equal to the poll_suppress_count
  6832.     of its catchtag structure.  The non-local exit code in eval.c is
  6833.     difficult enough to understand as it is; needless duplication
  6834.     doesn't help.
  6835.     * eval.c (Fcondition_case): Rearranged for clarity.  Don't worry
  6836.     about setting h.poll_suppress_count; it's guaranteed to be the
  6837.     same as c.poll_suppress_count.
  6838.     (internal_condition_case): Don't worry about
  6839.     h.poll_suppress_count.
  6840.     (Fsignal): Use h->tag->poll_suppress_count instead of
  6841.     h->poll_suppress_count.
  6842.  
  6843.     * eval.c (Fsignal): It's okay for the debugger to return to the
  6844.     caller if the caller was signalling a quit.
  6845.  
  6846.     * eval.c (unbind_catch): Restore the polling suppression count
  6847.     here, instead of in Fsignal and Fthrow.
  6848.     (Fthrow, Fsignal): Don't restore the polling suppression count here.
  6849.     
  6850.     * lisp.h (struct specbinding, struct handler): More documentation.
  6851.     * eval.c (struct catchtag): More documentation.
  6852.  
  6853. Thu Sep 17 18:49:39 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6854.  
  6855.     * ymakefile (LIBX): Don't use -loldX.
  6856.  
  6857. Thu Sep 17 15:51:18 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6858.  
  6859.     * minibuf.c (get_minibuffer): Enable undo in minibuffers.
  6860.  
  6861. Mon Sep 14 17:35:32 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6862.  
  6863.     * ymakefile (LIBXMENU): Check NO_X_MENU, not HAVE_X_MENU
  6864.     * emacs.c (main): Use X menu code if HAVE_X_WINDOWS and not NO_X_MENU.
  6865.     * keyboard.c (read_char_menu_prompt): Likewise.
  6866.  
  6867.     * config.h.in: Delete everything about config.h.
  6868.  
  6869.     * emacs.c: Eliminate HIGHPRI as compilation option.
  6870.     (emacs_priority): New C variable, also Lisp variable.
  6871.     (main): Set the priority iff emacs_priority is nonzero.
  6872.  
  6873. Mon Sep 14 15:38:56 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6874.  
  6875.     * eval.c (entering_debugger): Variable renamed
  6876.     when_entered_debugger, and is now a timestamp based on
  6877.     num_nonmacro_input_chars.
  6878.     (init_eval): Initialize when_entered_debugger, not
  6879.     entering_debugger.
  6880.     (call_debugger): Set when_entered_debugger to the current value of
  6881.     num_nonmacro_input_chars.
  6882.     (find_handler_clause): Don't call debugger unless
  6883.     num_nonmacro_input_chars is greater than when_entered_debugger;
  6884.     that way, we won't call the debugger unless the user has had a
  6885.     chance to take control.
  6886.     (Fbacktrace): Don't clear entering_debugger here.
  6887.     * keyboard.h (num_nonmacro_input_chars): Added extern declaration
  6888.     for this.
  6889.  
  6890.     * fns.c (Fy_or_n_p): After testing for a QUIT, clear Vquit_flag.
  6891.     Otherwise, if Fy_or_n_p is called while Vinhibit_quit is true and
  6892.     the user presses C-g, this function goes into an infinite loop.
  6893.  
  6894.     * dispnew.c (get_display_line): Don't abort if the frame is
  6895.     invisible; since unmap events are handled at the interrupt level,
  6896.     a screen may become invisible at any time.
  6897.  
  6898. Sun Sep 13 18:23:40 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6899.  
  6900.     * fileio.c (Fverify_visited_file_modtime):
  6901.     Pass buffer itself to handler, if have handler.
  6902.     (Fwrite_region): GCPRO around Fexpand_file_name, Ffile_name_directory.
  6903.     (Fread_file_name_internal): GCPRO around file name manip.
  6904.     (Ffile_writable_p, Ffile_readable_p): Use abspath, not filename,
  6905.     (Ffile_executable_p, Ffile_exists_p): to run the handler.
  6906.     (Fset_file_modes, Ffile_directory_p, Ffile_modes): Likewise.
  6907.     (Ffile_newer_than_file_p): GCPRO around expand_and_dir_to_file.
  6908.  
  6909. Sun Sep 13 08:30:46 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6910.  
  6911.     * s/bsd4-3.h: Give the BSD4_3 and BSD symbols the same numeric
  6912.     definitions they'll get in <sys/param.h>, to avoid warnings.
  6913.  
  6914.     * m/hp9000s300.h: Don't include <sys/wait.h>.  This really
  6915.     shouldn't be necessary.
  6916.     (BIG_ENDIAN): Define this as "4321", to agree with
  6917.     <machines/endian.h>, and avoid warnings.
  6918.  
  6919.     * systime.h: Re-arrange inclusion of <sys/time.h> and <time.h> so
  6920.     that they don't both get included under BSD, and do both get
  6921.     included under AIX.
  6922.  
  6923.     * xdisp.c (display_mode_line): If the only other frames are
  6924.     minibuffer frames, don't name the frame after the in the selected
  6925.     window.  We can use Fnext_frame to do this test easily.
  6926.  
  6927. Sat Sep 12 03:55:16 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6928.  
  6929.     * process.c (Faccept_process_output): Initialize useconds.
  6930.  
  6931.     * keyboard.c (num_nonmacro_input_chars): New variable.
  6932.     (read_char): Use num_nonmacro_input_chars to decide on auto-save & gc.
  6933.     Increment it when appropriate.
  6934.     (record_auto_save): Use num_nonmacro_input_chars.
  6935.  
  6936.     * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): 
  6937.     (Ffile_name_as_directory, Fdirectory_file_name, Fexpand_file_name): 
  6938.     Call find_file_handler.
  6939.     (syms_of_fileio): Set up Qfile_name_directory, etc.
  6940.     (Fcopy_file): Call find_file_handler for newname as well as for filename.
  6941.     (syms_of_fileio): Initialize Vfile_name_handler_alist.
  6942.  
  6943. Fri Sep 11 14:03:56 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6944.  
  6945.     * callint.c (Fcall_interactively): Remove the 'K' interactive
  6946.     code, in favor of 'e'; that's a better name.
  6947.  
  6948. Fri Sep 11 00:28:39 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6949.  
  6950.         * s/esix5r4.h: New file.
  6951.  
  6952.         * sysdep.c (init_sys_modes): Handle VDSUSP like V_DSUSP.
  6953.         Use CDISABLE, not CDEL.
  6954.         Turn off IEXTEN if it exists.
  6955.         * systty.h (CDISABLE): New macro; may be defined from CDEL.
  6956.  
  6957.     * keyboard.c (command_loop_1): Bind inhibit-quit to t when in Fsit_for.
  6958.  
  6959. Thu Sep 10 16:19:45 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6960.  
  6961.     * Makefile.in: Add comments starting with "# DIST: " explaining
  6962.     that this gets munged by the configure script.
  6963.  
  6964. Thu Sep 10 03:48:18 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  6965.  
  6966.     * s-aix3-1.h (HAVE_GETHOSTNAME): Defined.
  6967.  
  6968. Wed Sep  9 20:34:43 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6969.  
  6970.     * frame.c (choose_minibuf_frame): abort if the selected frame has
  6971.     nil in its minibuffer_window slot; this shouldn't happen any more.
  6972.     * window.c (minibuffer_window): Accept an optional FRAME argument;
  6973.     if specified, return the minibuffer used by that frame.
  6974.  
  6975.     * keymap.c (describe_buffer_bindings): Adjust key_heading to match
  6976.     the format used by describe_map_tree.  Also, don't reprint the
  6977.     "key    binding" header above the global bindings if we've already
  6978.     printed it for the local bindings; it's clear enough that the
  6979.     columns mean the same thing as above.
  6980.  
  6981. Tue Sep  8 13:25:37 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6982.  
  6983.         * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the
  6984.     end of the heap, copying the data to it, and then freeing the
  6985.     original bloc, just expand the original block.  This saves a copy
  6986.     and a call to sbrk, and also removes the large spike in memory
  6987.     allocation that would occur when resizing large buffers.  And it's
  6988.     less code.
  6989.  
  6990.     * keyboard.h (Vkeyboard_translate_table): Declare this extern
  6991.     here, so describe_buffer_bindings can use it.
  6992.     * keymap.c (describe_buffer_bindings): Declare buf and bufend...
  6993.  
  6994. Sat Sep  5 03:47:34 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  6995.  
  6996.     * systime.h: Always #include <time.h>, not just when NEED_TIME_H
  6997.     is defined.  It gets us struct tm.  #include <sys/time.h> whenever
  6998.     HAVE_TIMEVAL is defined and NEED_TIME_H isn't.
  6999.  
  7000.     * systime.h: Note that the tz_dsttime field of the struct timezone
  7001.     returned by gettimeofday doesn't say whether daylight savings is
  7002.     _currently- active; rather it specifies whether it is *ever*
  7003.     active.
  7004.     (EMACS_GET_TZ_OFFSET_AND_SAVINGS): Removed `savings_flag'
  7005.     argument, and renamed to EMACS_GET_TZ_OFFSET.  Don't try to
  7006.     extract savings information.  EMACS_CURRENT_TIME_ZONE should call
  7007.     localtime to figure out whether DST is active.
  7008.  
  7009.     * m/hp9000s300.h: #include <sys/wait.h> before doing anything
  7010.     else, to avoid conflicts between the system's and Emacs's
  7011.     definitions of BIG_ENDIAN.
  7012.  
  7013.     * keymap.c (describe_buffer_bindings): Set the current buffer to
  7014.     descbuf before calling current_minor_maps; that function's value
  7015.     depends on the values of buffer-local variables.  Don't set the
  7016.     current buffer to Vstandard_output until afterwards.
  7017.  
  7018.     * keymap.c (describe_buffer_bindings): If
  7019.     Vkeyboard_translate_table is in effect, describe its effects.
  7020.  
  7021.     * frame.c (Fnext_frame): Doc fix.
  7022.  
  7023.     * frame.c (prev_frame): #if 0'd out; nobody uses this.
  7024.  
  7025.     * frame.c (next_frame): The logic which determines whether a frame
  7026.     is acceptable to return was misarranged; rewrote it.
  7027.     (prev_frame): Same thing.
  7028.  
  7029. Sat Sep  5 01:17:59 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7030.  
  7031.     * syntax.c (scan_lists): Improve smarts for backwards scan of comments.
  7032.     Don't modify comstyle inside that loop.
  7033.     If string quotes don't match up, don't take value from OFROM;
  7034.     instead, parse forward using scan_sexps_forward.
  7035.     (scan_sexps_forward): Return value via a pointer passed in.
  7036.     New element in state contains char addr of last comment-starter seen.
  7037.     (Fparse_partial_sexp): Change call to scan_sexps_forward.
  7038.  
  7039. Fri Sep  4 17:47:12 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7040.  
  7041.     * xmenu.c (xmenu_show): If no panes, just return.
  7042.  
  7043.     * keyboard.c (last_nonmenu_event): New var.
  7044.     (syms_of_keyboard): New Lisp var.
  7045.     (read_key_sequence): Use that instead of prev_event.
  7046.     * commands.h (last_nonmenu_event): Declared.
  7047.     * callint.c (Fcall_interactively): For `K', use last_nonmenu_event.
  7048.     Make `e' alias for `K'.
  7049.  
  7050. Thu Sep  3 00:40:08 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7051.  
  7052.         * editfns.c (Fcurrent_time_string): Change docstring to
  7053.         indicate that we will probably add the timezone to the end,
  7054.         now that we have it available on many systems.
  7055.  
  7056.     * xrdb.c: Don't include <X11/Xos.h>.  Under R4, it stupidly
  7057.     insists on defining SIGCHLD, even if it already has a definition.
  7058.     (file_p): Use the constant 4 instead of R_OK; empirically, the
  7059.     number is more portable than the symbol if you count the #include
  7060.     hair you have to go through to get R_OK defined.  Ffile_readable_p
  7061.     does this too.
  7062.  
  7063.     * xterm.c (x_wm_set_size_hint): Set the base_width and base_height
  7064.     members of size_hints, if they're available (X11R4 and after);
  7065.     otherwise, approximate the right thing, by using min_width and
  7066.     min_height as the base size.
  7067.  
  7068. Wed Sep  2 19:46:56 1992  Barry A. Warsaw   (warsaw@anthem.nlm.nih.gov)
  7069.  
  7070.     * Extended syntax.c in the following ways to support up to 2
  7071.     orthogonal comment styles per mode.  This is needed for C++.
  7072.     Bit 6 of syntax table entry for a character indicates
  7073.     it is part of the `b' comment style.  Otherwise it is
  7074.     part of the `a' style.
  7075.     * syntax.h (SYNTAX_COMMENT_STYLE): New macro.
  7076.     * syntax.c (Fmodify_syntax_entry): Set that flag for `b'.
  7077.     (describe_syntax): Print the `b' flag.
  7078.     (scan_lists, scan_sexps_forward): Handle the new flag.
  7079.     (Fparse_partial_sexp): Return new element in value.
  7080.  
  7081. Wed Sep  2 17:41:31 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  7082.  
  7083.     * fileio.c (syms_of_fileio): Doc fix for Vfile_name_handler_alist.
  7084.  
  7085. Wed Sep  2 00:46:36 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7086.  
  7087.     * keyboard.c (kbd_buffer_get_event): When performing the
  7088.     FRAME_FOCUS_FRAME redirection, don't modify the frame field of
  7089.     the event; that fatally corrupts mouse click events.  Instead,
  7090.     just perform the redirection on the value assigned to
  7091.     Vlast_event_frame.
  7092.  
  7093.     * callint.c (Fcall_interactively): Don't try to get the
  7094.     `enable-recursive-minibuffers' property from FUNCTION unless
  7095.     FUNCTION is actually a symbol; there are some cases where a key
  7096.     sequence is bound directly to a lambda form, and there's no reason
  7097.     to break these.
  7098.  
  7099.     * window.c (Fset_window_configuration): Don't signal an error
  7100.     if the frame size saved in the window configuration doesn't
  7101.     match the frame's current size; instead, temporarily resize
  7102.     the frame while installing the window configuration.  This is
  7103.     important because using the minibuffer saves and restores the
  7104.     current window configuration, and you don't want to signal an
  7105.     error just because the user resized the frame while using the
  7106.     minibuffer.
  7107.  
  7108.     * doc.c (Fsnarf_documentation): Signal an error if this is
  7109.     called in a dumped Emacs.
  7110.  
  7111.     * alloc.c (mark_object): mark a symbol's name after marking its
  7112.     value, function, and property list rather than before; this way,
  7113.     symbols' names are readable, giving us a chance to detect some
  7114.     kinds of heap corruption.
  7115.  
  7116. Wed Sep  2 00:04:50 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7117.  
  7118.     * emacs.c (__main, __do_global_dtors): New dummy functions.
  7119.     (__do_global_ctors_aux, __do_global_ctors): Fix typo in fn names.
  7120.  
  7121. Tue Sep  1 12:07:18 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7122.  
  7123.     * prefix-args.c: New file.  See comment at top of file.
  7124.     * ymakefile (YMF_PASS_LDFLAGS): Use the prefix-args program to
  7125.     affix the -Xlinker prefix to the linker arguments.
  7126.     (prefix-args): New target.
  7127.     (temacs): Depend on prefix-args.
  7128.  
  7129.     * xterm.c (x_catch_errors): Don't forget to initialize
  7130.     x_caught_error_message to the null string, so x_check_errors can
  7131.     tell when an error has occurred.
  7132.  
  7133.     * unexmips.c (mark_x): Declare this as static void at the top of
  7134.     the file and at the function definition.
  7135.  
  7136.     * keyboard.c (input_available_signal): Declare this to return
  7137.     SIGTYPE.
  7138.  
  7139.     * xrdb.c (getuid): Declare this to return short.
  7140.  
  7141.     * s/bsd4-3.h: Remove definition of SIGTYPE macro; Mt. Xinu says
  7142.     it's int, but Ultrix says it's void.  Since the SIGTYPE guessing
  7143.     code in the `configure' script gives the correct answer for both
  7144.     of these cases, there's no point in listing it here.
  7145.  
  7146.     * systime.h (EMACS_CURRENT_TIMEZONE): Change documentation to
  7147.     indicate that *OFFSET should be set to the number of minutes EAST
  7148.     of Greenwich, which is what Ed Reingold says real time gurus want.
  7149.     Changed the definition of the EMACS_GET_TZ_OFFSET_AND_SAVINGS
  7150.     macro to reflect this.  Buggily, the Fcurrent_time_zone function
  7151.     was already expecting minutes east of GMT.
  7152.  
  7153.     * Makefile.in (distclean): Remove backups from the `m' and `s'
  7154.     directories, too.
  7155.  
  7156.     * m/mips.h: Merge changes from Emacs 18.58:
  7157.     [NEWSOS5]: Changes so this file can be used with s/newsos5.h.
  7158.     (SIGN_EXTEND_CHAR): Define this using a cast to signed char.  I
  7159.     guess the MIPS compiler and its derivatives all have this type.
  7160.     (HAVE_ALLOCA, C_ALLOCA): Define the former if we're compiling with
  7161.     GCC, and the latter otherwise.
  7162.     (C_SWITCH_MACHINE): Defined, instead of C_SWITCH_SYSTEM.
  7163.     (LINKER): Defined, if BSD.
  7164.     (XUINT, XSET, XUNMARK): Add parentheses to eliminate warnings from
  7165.     GCC.  Reindent to fit in 80 columns.
  7166.     INHIBIT_BSD_TIME prevents including bsd/sys/time.h.
  7167.     * s/newsos5.h: New file for Sony NEWS-OS release 5, courtesy of
  7168.     Chris Hanson <cph@klia.ai.mit.edu>.
  7169.  
  7170.     * m/mips.h: Don't undefine LOAD_AVE_TYPE; the comment says that
  7171.     Emacs 19 has the crocks to handle it properly.
  7172.  
  7173.     * m/pmax.h: Merge changes from Emacs 18.58:
  7174.     (LIB_STANDARD, COFF, TERMINFO): Cancel out definitions from
  7175.     m/mips.h which are only appropriate for USG.
  7176.     (MAIL_USE_FLOCK, HAVE_UNION_WAIT): Do define these.
  7177.     (BROKEN_O_NONBLOCK): Defined.
  7178.     (LINKER): Don't define this.
  7179.     [OSF1]: Undef C_ALLOCA, define HAVE_ALLOCA.
  7180.     
  7181.     * s/osf1.h: New file.
  7182.  
  7183.     * s/bsd4-3.h: Merge changes from Emacs 18.58:
  7184.     (BSD, BSD4_3): Just define these, don't fret about numerical
  7185.     values or version numbers.
  7186.  
  7187.     * m/hp9000s300.h: Merge changes from Emacs 18.58, and hp300bsd.h:
  7188.     Change configuration note to say it's okay to use this file for BSD.
  7189.     Add comment saying that NOMULTIPLEJOBS must be defined for
  7190.     versions of HP/UX before 6.5.
  7191.     Don't define BIG_ENDIAN if it seems that <endian.h> has already
  7192.     done so.
  7193.         [BSD4_3] Define m68000, instead of hp9000s300; crt0.c uses these
  7194.     to decide what sort of startup code to use.
  7195.     [not BSD4_3] Under HP/UX, always define the BSD memory functions
  7196.     (bcopy, bzero, and bcmp) in terms of the SYSV string functions
  7197.     (memcpy, memset, and memcmp), not just under HP/UX 5; version 6's
  7198.     BSD compatibility library has reported bugs in `signal'.
  7199.     (NEED_BSDTTY): Move this symbol's definition inside the "not
  7200.     BSD4_3" conditional, since it's only relevant to HP/UX.
  7201.     * m/hp300bsd.h: File deleted, since m/hp9000s300.h now
  7202.     works with both HP/UX and BSD; it includes m/hp300bsd.h's
  7203.     specifications.
  7204.  
  7205.     * m/hp9000s300.h: Remove definition for SIGN_EXTEND_CHAR; this is
  7206.     only used by the regexp code, which has its own portable
  7207.     definition these days.
  7208.  
  7209. Mon Aug 31 01:39:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7210.  
  7211.     * keymap.c (Fmake_sparse_keymap): New optional arg.  Callers changed.
  7212.     (Fmake_keymap): Likewise.
  7213.  
  7214.     * emacs.c (__do_global_ctors, __do_global_ctors_aux): New dummy fns.
  7215.     (__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
  7216.  
  7217.     * fileio.c (Fdo_auto_save): Always call record_auto_save.
  7218.  
  7219.     * keyboard.c (read_char): Call read_char_menu_prompt here.
  7220.     Accept 4 new args to pass to it.  Include them in recursive call.
  7221.     Don't delay before starting echo if prev_event was a mouse event.
  7222.     Test for eof in batch mode now understands C is a Lisp_Object.
  7223.     (read_key_sequence): Don't call it here; always call read_char.
  7224.     Don't change last_event_buffer after a mouse menu input.
  7225.     (read_char_menu_prompt): Arg PROMPT deleted.
  7226.     Return nil if nothing to do.
  7227.  
  7228.     * xmenu.c (Fx_popup_menu): Treat coords relative to spec'd window.
  7229.     (single_keymap_panes): New function; contains guts of keymap_panes.
  7230.     If a command binding for submenu has a prompt string starting with @,
  7231.     make a separate pane for it at this level.
  7232.  
  7233.     * xfns.c (Fx_track_pointer): Pass new args to read_char.
  7234.     (Fx_select_region, Fx_horizontal_line): Likewise.
  7235.     * lread.c (Fread_char): Pass new args to read_char.
  7236.     (Fread_event, Fread_char_exclusive): Likewise.
  7237.     * fns.c (Fy_or_n_p): Pass new args to read_char.
  7238.  
  7239. Sun Aug 30 15:05:00 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7240.  
  7241.     * keyboard.c (read_key_sequence): Keep track of prev_event.
  7242.     Pass new proper args to read_char_menu_prompt.
  7243.     (read_char_menu_prompt): New arg prev_event.  Use Fx_popup_menu.
  7244.     Handle any number of keymaps, not just LOCAL and GLOBAL.
  7245.     Invert meaning of arg PROMPT.  Test of menu_prompting was backwards.
  7246.  
  7247.     * keymap.c (keymap_table): No longer static.
  7248.  
  7249.     * xmenu.c (keymap_panes): New function.
  7250.     (Fx_popup_menu): Accept keymap or list of keymaps as MENU argument.
  7251.     Accept mouse button event as POSITION argument.
  7252.  
  7253. Sat Aug 29 19:59:41 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7254.  
  7255.     * cmds.c (internal_self_insert): Assume Fexpand_abbrev expanded
  7256.     something if it incremented MODIFF.
  7257.  
  7258. Fri Aug 28 22:30:25 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7259.  
  7260.     * unexmips.c (unexec): Allow sections in any order.
  7261.     Adjust addresses of rdata section as well as data section.
  7262.  
  7263.     * buffer.c (syms_of_buffer): Made buffer-display-table,
  7264.     buffer-field-list and buffer-undo-list allow any type of value.
  7265.  
  7266. Thu Aug 27 00:14:54 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7267.  
  7268.     * fns.c (Fappend): Doc fix.
  7269.  
  7270. Mon Aug 24 17:47:40 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7271.  
  7272.     * s/usg5-4.h: Incorporate changes from 18.58:
  7273.     (LIBX10_SYSTEM): Undefine this.
  7274.     (GNULIB): Definition deleted -- done in ymakefile.
  7275.     (LIB_STANDARD): Don't use GNULIB.
  7276.     (HAVE_TCATTR): Defined.
  7277.  
  7278.     * xfns.c (x_icon): Don't call x_wm_set_icon_positions if the user
  7279.     hasn't specified the icon position.  Let the window manager put
  7280.     the icon where it likes.
  7281.  
  7282.         * xterm.c (x_make_frame_invisible): Don't forget to check the
  7283.     return value of XWithdrawWindow; it could indicate that the window
  7284.     wasn't successfully redrawn.
  7285.  
  7286.     * sysdep.c (init_baud_rate): Re-arranged order of conditionals -
  7287.     test TERMIOS before TERMIO; when two options might both be
  7288.     defined, test the most recent first, so that the most recent
  7289.     functions get used.
  7290.  
  7291.     * sysdep.c [HAVE_TERMIO] (init_baud_rate): Don't use tcgetattr
  7292.     unless HAVE_TCATTR is defined.  Only very rarely do termio systems
  7293.     have the tc{get,set}attr macros.
  7294.  
  7295.     * window.c (coordinates_in_window): Do not assume that all
  7296.     one-line windows are the minibuffer, or that all minibuffers are
  7297.     one line high.  Use MINI_WINDOW_P.
  7298.  
  7299.         * systerm.h: Renamed to systty.h, to be more consistent with
  7300.     everything else in Unix.
  7301.     * dispnew.c, emacs.c, keyboard.c, process.c, sysdep.c: #include
  7302.     directive changed.
  7303.     * ymakefile: References to systerm.h changed.
  7304.  
  7305.     * s/usg5-3.h: Merged changes from 18.58:
  7306.     (HAVE_SYSV_SIGPAUSE): Defined.
  7307.     (BROKEN_TIOCGETC): Defined.
  7308.  
  7309. Fri Aug 21 22:50:34 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7310.  
  7311.     * process.c (WCOREDUMP): Define only if not defined.
  7312.     (create_process) [HAVE_SETSID]: Use TIOCSCTTY if exists.
  7313.     
  7314. Thu Aug 20 16:45:07 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7315.  
  7316.         * fileio.c (Fdo_auto_save): Call Fsleep_for with the appropriate
  7317.     number of arguments.
  7318.     * fns.c (Fyes_or_no_p): Same.
  7319.  
  7320.     * dispnew.c (update_frame): Change the way we handle
  7321.     cursor_in_echo_area.  Firstly, ignore this if the frame we're
  7322.     updating doesn't have a minibuffer.  Secondly, don't handle the
  7323.     selected frame specially.  Thirdly, don't assume that the
  7324.     minibuffer is only one line high.  If cursor_in_echo_area < 0, put
  7325.     the cursor in the upper-left corner; if cursor_in_echo_area > 0,
  7326.     put it on the lowest non-empty line in the minibuffer window, or
  7327.     on the top line.
  7328.  
  7329.     * dispnew.c (direct_output_for_insert): Fail if
  7330.     cursor_in_echo_area is set; we don't want to do the typing there.
  7331.     (direct_output_for_insert): Same.
  7332.  
  7333. Wed Aug 19 14:10:01 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7334.  
  7335.         * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when
  7336.     available [HAVE_X11R4]; send the UnmapNotify event when
  7337.     appropriate [HAVE_X11]; just unmap the window if that's all that's
  7338.     needed [not HAVE_X11].
  7339.  
  7340.     * xterm.c (x_set_text_property): Removed; it's only called from
  7341.     one place.  Who wants *another* layer of indirection?
  7342.     * xfns.c (x_set_name): Use XSetWM{Name,IconName} when available
  7343.     [HAVE_X11R4], or XSetIconName and XStoreName otherwise.
  7344.  
  7345.     * xterm.h (FRAME_X_WINDOW): New macro, for readability.
  7346.     * xterm.c, xfns.c, xselect.c: Use it.
  7347.  
  7348.     * emacs.c (Fkill_emacs): Doc fix.
  7349.     (syms_of_emacs): Doc fix for Vkill_emacs_hook.
  7350.  
  7351.     * xterm.c (x_death_handler): Renamed to x_connection_closed.
  7352.     (x_term_init): Use x_connection_closed as the SIGPIPE handler.
  7353.  
  7354.     * xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
  7355.     x_error_handler): Removed; you can't catch X errors this way,
  7356.     since you can't perform X operations from within an X error
  7357.     handler, and even though we call error, we're still within an X
  7358.     error handler.
  7359.     (x_error_quitter, x_error_catcher): New functions, for panicking
  7360.     on and catching X protocol errors.
  7361.     (x_caught_error_message): Buffer for caught X errors.
  7362.     (x_catch_errors, x_check_errors, x_uncatch_errors): New functions
  7363.     for catching errors.
  7364.     (x_term_init): Set the error handler to x_error_quitter, rather
  7365.     than x_error_handler.
  7366.     * xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors,
  7367.     and x_uncatch errors to avoid crashing if the user selects an
  7368.     odd cursor.
  7369.  
  7370.     * xterm.c (x_proto_requests): Removed; it's not important.
  7371.     
  7372.     * xterm.c (events): Array removed; it's not used.
  7373.  
  7374.     * xfns.c (select_visual): Use XVisualIDFromVisual when available
  7375.     [HAVE_X11R4].
  7376.     
  7377.     * xrdb.c (get_user_db): Use XResourceManagerString when available
  7378.     [HAVE_X11R4].
  7379.  
  7380.     * window.c (change_window_height): If the size of the window will
  7381.     shrink below the minimum, this code would only try to delete it if
  7382.     it had a parent.  Well, even if the window doesn't have a parent,
  7383.     you want Fdelete_window to signal an error, since you're trying to
  7384.     resize one of the undeleteable windows into nothingness.  So call
  7385.     Fdelete_window even if the window doesn't have a parent.
  7386.  
  7387.     * window.c (MINSIZE): Add kludge so that the minibuffer is always
  7388.     allowed to shrink to one line in height.
  7389.     (MINSIZE, CURBEG, CURSIZE): Change these so that their argument
  7390.     are always Lisp_Objects, not struct window *'s.
  7391.     (change_window_height): Changed accordingly.
  7392.  
  7393. Tue Aug 18 16:09:11 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7394.  
  7395.         * frame.h (struct frame): New member - explicit_name.
  7396.     * frame.c (make_frame): Clear it.
  7397.     * xfns.c (x_set_name): Take new argument EXPLICIT, instead of
  7398.     OLDVAL.
  7399.     (x_explicitly_set_name, x_implicitly_set_name): New functions.
  7400.     (x_frame_parms): Use x_explicitly_set_name here.
  7401.     (x_window): Use x_implicitly_set_name here.
  7402.     * xdisp.c (display_mode_line): Use x_implicitly_set_name here.
  7403.  
  7404.     * xterm.c (x_wm_hints): Variable deleted.  This has to be
  7405.     per-screen.  Duh.
  7406.     * xterm.h (struct x_display): New member: wm_hints.
  7407.     * xterm.c (x_wm_set_window_state, x_wm_set_icon_pixmap,
  7408.     x_wm_set_icon_position): Use F->wm_hints, rather than x_wm_hints.
  7409.     (x_term_init): Don't initialize x_wm_hints here.
  7410.     * xfns.c (Fx_create_frame): Instead, initialize f->x_wm_hints
  7411.     here.
  7412.  
  7413.     * xterm.c (x_set_text_property): Properly balance the BLOCK_INPUTs
  7414.     and UNBLOCK_INPUTs.  And remember that VALUE is the string we want
  7415.     to set the name to, not PROPERTY.
  7416.  
  7417. Mon Aug 17 15:39:28 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7418.  
  7419.     * frame.c (make_minibuffer_frame): Don't set this to auto-raise by
  7420.     default.  It's annoying.
  7421.  
  7422.     * frame.c (make_minibuffer_frame): Set the prev field of the
  7423.     minibuffer window on a minibuffer-only frame to Qnil, rather than
  7424.     having it point to itself.  This confuses code (Fprevious_window
  7425.     and change_window_height, for example), and is only an attempt to
  7426.     support a convention that can't really be used in Emacs 19 anymore.
  7427.     * window.h: Document the fact that we can no longer assume that
  7428.     the minibuffer's previous window is the root window, since a
  7429.     minibuffer window in a minibuffer-only frame has a prev field of
  7430.     nil.
  7431.     * frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this by
  7432.     reference to the_only_frame.root_window, rather than by assuming
  7433.     that minibuf_window->prev is the root window.  While this is true
  7434.     in the non-multi-frame case, we want to discourage this assumption
  7435.     in code.
  7436.     * dispnew.c [not MULTI_FRAME] (Fredraw_display): Use
  7437.     FRAME_ROOT_WINDOW instead of minibuf_window->prev.
  7438.     * xdisp.c (redisplay, init_xdisp): Same.
  7439.     * window.c (Fset_window_configuration): Removed #if 0'd code which
  7440.     assumes that minibuf_window is on the same frame as the window
  7441.     configuration.  Removed special case for windows whose prevs
  7442.     point to themselves.
  7443.  
  7444.     * window.c (Fset_window_configuration): Rename the argument from
  7445.     ARG to CONFIGURATION, so it matches the docstring.  The
  7446.     make-docfile program cares.
  7447.  
  7448.     * window.c [MULTI_FRAME] (syms_of_window): Don't staticpro
  7449.     minibuf_window; the frame list will take care of it.
  7450.  
  7451.     * xterm.h (HAVE_X11R4): Since we can autodetect this, and can
  7452.     write code more likely to be future-compatible, define this when
  7453.     appropriate.
  7454.     * xterm.c (x_set_text_property): Define this appropriately for
  7455.     X11R3 and X11R4.
  7456.  
  7457.     * xterm.c (x_set_text_property): Make this take a Lisp_Object
  7458.     string as an argument, rather than a pointer and a length.
  7459.     * xfns.c (x_set_name): Caller changed.
  7460.  
  7461.     * xfns.c (x_get_arg): Accept a new type - symbol.  If we've
  7462.     retrieved a string from the xrdb database and the user wants a
  7463.     symbol, intern it.
  7464.     (Fx_create_frame): Use the symbol type here.
  7465.  
  7466.     * xfns.c (x_figure_window_size, x_icon, Fx_create_frame): Use
  7467.     values from enum resource_types for the last arg to x_get_arg,
  7468.     instead of passing numbers.
  7469.  
  7470.     * xfns.c (Fx_create_frame): When setting up the scroll bars, use
  7471.     the type parameter to x_default_parameter, rather than prefixing
  7472.     the resource name with a question mark.
  7473.  
  7474.     * xfns.c [not HAVE_X11] (Fx_create_frame): The resource which
  7475.     determines whether or not to use a bitmapped icon is called
  7476.     "IconType", not "BitmapIcon".  Update this.
  7477.  
  7478. Sat Aug 15 12:12:53 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7479.  
  7480.     * xterm.c: Doc fixes.
  7481.  
  7482.         More SYSV portability changes from Eric Raymond:
  7483.  
  7484.     * xterm.c [USG5]: Don't include <sys/types.h>.
  7485.  
  7486.     * xterm.c (x_make_frame_invisible): Instead of calling XWithdraw
  7487.     window, which isn't widely available, write out what it does,
  7488.     since that's not much.
  7489.     (x_iconify_frame): Explicitly perform both the X11R3 and X11R4
  7490.     methods for iconification; don't use XIconifyWindow, since that's
  7491.     not present in R3.
  7492.     
  7493.     * xterm.c (x_wm_set_size_hint): Don't bother setting the
  7494.     base_width and base_height members; their function is performed
  7495.     just as well by the min_width and min_height members, and if we
  7496.     use XSetNormalHints instead of XSetWMNormalHints, we can be
  7497.     compatible with R3.
  7498.  
  7499.     * xterm.c (x_error_handler): There is no way to invoke the default
  7500.     error handler which works on all versions of X11, so don't bother;
  7501.     call XGetErrorText and print the message ourselves.
  7502.  
  7503.     * xterm.c (x_term_init): Don't use MAXHOSTNAMELEN; this isn't
  7504.     defined on all systems.  Since we only use that as an initial
  7505.     guess anyway, it's not very important.
  7506.  
  7507. Fri Aug 14 20:51:14 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7508.  
  7509.     * abbrev.c (Fexpand_abbrev): If pre-expand hook changes the buffer,
  7510.     assume that means we "did an expansion".
  7511.  
  7512.     * cmds.c (internal_self_insert): Ignore value of Fexpand_abbrev;
  7513.     instead, check whether buf is modified when it returns.
  7514.  
  7515. Fri Aug 14 12:29:56 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7516.  
  7517.         Applied SYSV portability changes from Eric Raymond:
  7518.  
  7519.     * xrdb.c [USG5]: Define SYSV, and then include <unistd.h>.
  7520.     Apparently, Xlib.h include string.h if SYSV is defined, and
  7521.     strings.h if not.
  7522.     Don't include <sys/types.h>; just declare getuid to return an
  7523.         int.  Big deal.
  7524.     (MAXPATHLEN): If this is not defined by the system's include
  7525.         files, give it a value of 256.
  7526.     (get_user_db): Fetch the defaults directly from the display
  7527.         structure, rather than using XResourceManagerString; that
  7528.         function doesn't exist in the older versions of X.
  7529.  
  7530.     * xterm.c (x_set_text_property): New function.
  7531.     * xfns.c (x_set_name): Use it instead of XSetWMName and
  7532.         XSetWMIconName.
  7533.  
  7534.     * xfns.c (select_visual): Fetch the visual id directly from v;
  7535.         don't call XVisualIDFromVisual, since that function is not
  7536.         available in earlier versions of X.
  7537.  
  7538.     * term.c (term_get_fkeys): Some systems define `static' to be the
  7539.         empty string, which means that you can't have constant
  7540.         initialized arrays inside a function.  So move the `keys' array
  7541.         outside of the function.
  7542.     * xdisp.c (decode_mode_spec): Same deal, with lots_of_dashes.
  7543.     * xfns.c (x_make_gc): Same deal, regarding cursor_bits.
  7544.  
  7545.     * term.c (keys): Include definitions for "K2" (the center key on
  7546.         an IBM keypad), "F1" (F11), and "F2" (F12).  Handle "k0" and "k;"
  7547.         specially; see the code for details.
  7548.  
  7549.     * term.c (clear_end_of_line): Remember that on some systems,
  7550.         "static" gets defined to be the null string, so we can't declare
  7551.         an array to be static and then initialize it.  Since the array in
  7552.         question (buf) is only one element long, just make it a scalar
  7553.         rather than an array; it can then be initialized, even if it's
  7554.         not static.
  7555.  
  7556.     * systime.h [not HAVE_TIMEVAL] (EMACS_USECS, EMACS_SET_USECS):
  7557.         Don't forget to define dummy versions of these.
  7558.  
  7559.     * systime.h [USE_UTIME]: time_t is a typedef, not a struct.
  7560.         Don't prefix it with `struct'.
  7561.  
  7562.     * systerm.h (EMACS_SET_TTY_PGRP): When there doesn't seem to be
  7563.         any way to do this, don't forget to give it a dummy definition.
  7564.  
  7565.     * sysdep.c (select): There's no need to cast the return value of
  7566.         signal anymore, since we have the SIGTYPE macro defined.
  7567.  
  7568.     * sysdep.c (read_input_waiting): When scanning for quit
  7569.         characters, use the value of quit_char, rather than assuming that
  7570.         C-g is the quit character.  And don't forget to declare i.
  7571.  
  7572.     * sysdep.c [USG5]: Don't include fcntl.h.
  7573.  
  7574.     * s/usg5-3.h: Eric Raymond writes:
  7575.     Define HAVE_SELECT and BSTRINGS only if HAVE_X_WINDOWS is on,
  7576.     because that means we'll be linking in the shared libraries
  7577.     containing the BSD emulations.  Teach the file about the shared
  7578.     libraries necessary to link X programs, because AT&T doesn't
  7579.     supply static libraries for X.  Also, fix the incorrect assertion
  7580.     that -lg cannot be used with SVr3.  Finally, force USE_UTIMES and
  7581.     BROKEN_TIOCGWINSZ.  (Note for the future; there may be a
  7582.     utimes(2)) emulation lurking in the X shared libraries.)
  7583.  
  7584.     * s/usg5-4.h (USE_UTIME): Remove this definition; the C library
  7585.         still doesn't have utimes.
  7586.  
  7587.     * ralloc.c (get_bloc): When initializing new_bloc->variable, cast
  7588.     NIL to (POINTER *).
  7589.     (malloc_init): Give warning if sbrk returns zero.  Wonder what
  7590.     that's supposed to mean.
  7591.  
  7592.     * process.c (process_send_signal): Don't send SIGTSTP if the
  7593.     system doesn't have that facility.
  7594.  
  7595.     * process.c: [USG5] Don't include <fcntl.h>.
  7596.     [USG] Don't bother including <termios.h>, <termio.h>, or
  7597.     <fcntl.h>; systerm.h takes care of all that.
  7598.     Remove the "mis;tak-+;;" line from the code; apparently this
  7599.     section of code does get used.
  7600.  
  7601.     * minibuf.c (Fread_from_minibuffer): Put this function's doc
  7602.     string into a comment; it's too long for the PCC preprocessor.
  7603.     Rah.
  7604.     (Fcompleting_read): Same deal.
  7605.  
  7606.     * keyboard.c (init_keyboard): Changed "#endif SIGIO" to
  7607.     "#endif /* SIGIO */"
  7608.     * mocklisp.c (Fml_substr): Same sort of thing.
  7609.     * process.c (wait_reading_process_input): Same.
  7610.  
  7611.     * floatfns.c (Fexpm1, Flog1p): Function removed; it's not widely
  7612.     available, and hardly vital.
  7613.     (syms_of_floatfns): Adjusted appropriately.
  7614.  
  7615.     * floatfns.c (Flog): Accept optional second arg, being the base
  7616.     for the logarithm.
  7617.     [USG] (Flogb): Define this in terms of Flog.
  7618.  
  7619.     * data.c [USG] (Frem): Call fmod, rather than drem.  Rah.
  7620.  
  7621.     * emacs.c [USG5]: Don't #include <fcntl.h> for these systems.
  7622.  
  7623.     * alloc.c (Fmake_marker): Removed the test for being called from a
  7624.     signal handler.  The original bug is probably gone, the test
  7625.     wasn't written portably, and it should probably go somewhere else
  7626.     anyway - say, funcall or eval.
  7627.  
  7628.         End of changes from Eric Raymond.
  7629.  
  7630.     * xfns.c (Fx_create_frame): Make the default for the icon-type
  7631.         parameter nil, not t.  It seems to cause problems with some X
  7632.         servers.
  7633.  
  7634.     * lisp.h (DEFVAR_PER_BUFFER): Add new argument, TYPE, to help
  7635.     check the types of buffer-local variable slots.
  7636.     * buffer.c (syms_of_buffer): Call DEFVAR_PER_BUFFER with the new
  7637.     TYPE argument.
  7638.     * abbrev.c (syms_of_abbrev): Same.
  7639.     * buffer.c (buffer_local_types): New variable.
  7640.     (buffer_slot_type_mismatch): New function.
  7641.     * buffer.h (buffer_local_types): New extern declaration.
  7642.     * data.c (store_symval_forwarding): When storing through a
  7643.     Lisp_Buffer_Objfwd, check if the slot requires a particular type,
  7644.     and report an error if the types clash.
  7645.     * lread.c (defvar_per_buffer): Support new TYPE argument, by
  7646.     setting the appropriate slot in buffer_local_types.
  7647.  
  7648. Thu Aug 13 14:52:14 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7649.  
  7650.     * window.c (window_loop): This used to keep track of the first
  7651.     window processed and wait until we came back around to it.  Sadly,
  7652.     this doesn't work if that window gets deleted.  So instead, use
  7653.     Fprevious_window to find the last window to process, and loop
  7654.     until we've done that one.
  7655.  
  7656.     * window.c [not MULTI_FRAME] (init_window_once): Don't forget to
  7657.     set the `mini_p' flag on the new minibuffer window to t.
  7658.  
  7659.     * window.c (Fwindow_at): Don't check the type of the frame
  7660.     argument.
  7661.  
  7662.     * window.c [not MULTI_FRAME] (window_loop): Set frame to zero,
  7663.     instead of trying to decode it.
  7664.  
  7665.     * frame.h [not MULTI_FRAME] (the_only_frame): Put a comment above
  7666.     this indicating that it's not GCPRO'd.  Put parens around some of
  7667.     the FRAME_* macros' definitions.
  7668.     [not MULTI_SCREEN] (Fselected_frame): New function.
  7669.  
  7670.     * frame.h [not MULTI_FRAME] (FRAME_ROOT_WINDOW): Define this in
  7671.     terms of minibuf_window, rather than by reference to
  7672.     the_only_frame.
  7673.     * window.c (init_window_once): Initialize minibuf_window before
  7674.     FRAME_ROOT_WINDOW, so the latter actually points to something.
  7675.  
  7676.     * keyboard.c (Fexecute_mouse_event): dyked-out function deleted.
  7677.     We're not going to use this mouse interface.
  7678.     (Vmouse_window, Vmouse_event, Vmouse_event_function,
  7679.     Vmouse_left_hook, Vmap_frame_hook, Vunmap_frame_hook,
  7680.     Vmouse_motion_handler): Variables deleted; they were to be used by
  7681.     Fexecute_mouse_event.
  7682.     (syms_of_keyboard): Same.
  7683.     (command_loop_1): Remove dyked-out code to support
  7684.     Fexecute_mouse_event.
  7685.     (read_char): Same.
  7686.  
  7687.     * keyboard.c (Vlast_event_frame): Don't define this window if
  7688.     MULTI_FRAME is not #defined.
  7689.     (syms_of_keyboard): Same.
  7690.     (kbd_buffer_store_event): Don't try to work with Vlast_event_frame
  7691.     if MULTI_FRAME is not #defined.
  7692.     (kbd_buffer_get_event): Same.
  7693.  
  7694.     * keyboard.c (Fdiscard_input): Removed dyked-out code from when
  7695.     unread_command_char's quiescent value was -1, not nil.
  7696.  
  7697.     * frame.c (make_frame): Stop passing zero to make_window; it's not
  7698.     expecting any arguments.
  7699.  
  7700. Wed Aug 12 10:22:49 1992  Jim Blandy  (jimb@albert.gnu.ai.mit.edu)
  7701.  
  7702.         * unexsunos4.c: Deleted "$Log" header in comments at top of file;
  7703.     this was beginning to grow RCS hair, which we don't want.
  7704.     * xmenu.c: Same deal.
  7705.  
  7706. Tue Aug 11 10:15:30 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7707.  
  7708.         * fileio.c (Fread_filename): Don't add one here.
  7709.     * minibuf.c (Fcompleting_read): Instead, stop subtracting one
  7710.     here, so this function lives up to its doc string, which I think
  7711.     specifies an okay way to work.
  7712.  
  7713.     * doc.c (Vdata_directory): Removed; this is declared in callproc.c.
  7714.     (syms_of_doc): Initialization removed.
  7715.  
  7716.     * xfns.c (x_get_arg): Return Qunbound for an unspecified
  7717.     resource, not nil.  That way, we can tell the difference between a
  7718.     false resource and an unspecified resource.
  7719.     (x_default_error): Use DEFLT if x_get_arg returns Qunbound, not Qnil.
  7720.     (x_figure_window_size, x_icon, Fx_create_frame): Deal with
  7721.     Qunbound and Qnil properly.
  7722.  
  7723.     * xfns.c (Fx_create_frame): Pass the correct number of arguments
  7724.     to x_set_font.
  7725.  
  7726.     * xfns.c [not HAVE_X11] (Fx_create_frame): Delete section that's
  7727.     only included if we *do* have X11.  Blind patching.
  7728.  
  7729.         * xfns.c (x_icon): Rewritten to call x_wm_set_icon_position and
  7730.     x_wm_set_window_state instead of calling XSetWMHints directly.
  7731.     * xterm.c (x_wm_hints): New variable.
  7732.     (x_wm_set_window_state, x_wm_set_icon_pixmap,
  7733.     x_wm_set_icon_position): Use x_wm_hints.
  7734.     (x_term_init): Set the `input' field of x_wm_hints, and its flag.
  7735.  
  7736.     * xterm.c (x_text_icon): Call x_wm_set_icon_pixmap with a pixmap
  7737.     of zero, to clear the pixmap.
  7738.     (x_wm_set_icon_pixmap): Accept this protocol; if pixmap is zero,
  7739.     specify no pixmap for the icon.
  7740.  
  7741.     * xfns.c (x_default_parameter): Don't call store_frame_param here;
  7742.     it's already taken care of by x_set_frame_parameters.
  7743.  
  7744.     * xfns.c (Fx_create_frame): Check for the `icon-type',
  7745.     `auto-raise', and `auto-lower' parameters. Have `icon-type'
  7746.     default to t, indicating that we want the nifty gnu in our icons.
  7747.     (Qauto_lower): New symbol.
  7748.  
  7749.     * xfns.c (x_set_icon_type): UNBLOCK_INPUT before reporting the
  7750.     error, not after.  error doesn't return, sklitch-brain.
  7751.  
  7752.     * xterm.c (x_set_window_size): Call check_frame_size to make sure
  7753.     that the requested dimensions are within acceptable limits.
  7754.     Store the new size information in the frame structure.
  7755.  
  7756.     * xfns.c (x_set_frame_parameters): Properly recognize changes to
  7757.     the height of the frame.  Recognize changes of the frame's
  7758.     position.
  7759.  
  7760.     * xfns.c (x_set_frame_parameters): Iterate over ALIST while the
  7761.     current element is cons, not while it's non-nil.
  7762.     (syms_of_xfns): Call init_x_parm_symbols after interning all the
  7763.     other atoms; init_x_parm_symbols expects Qx_frame_parameter to be
  7764.     initialized.
  7765.  
  7766. Mon Aug 10 07:56:47 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7767.  
  7768.     * xfns.c (Qbackground_color, Qborder_color,  Qborder_width,
  7769.     Qcursor_color,  Qfont,  Qforeground_color,  Qgeometry,
  7770.     Qhorizontal_scroll_bar,  Qicon_left,  Qicon_top,  Qiconic_startup,
  7771.     Qinternal_border_width,  Qleft,  Qmouse_color,  Qparent_id,
  7772.     Qsuppress_icon,  Qsuppress_initial_map,  Qtop,  Qundefined_color,
  7773.     Qvertical_scroll_bar,  Qwindow_id,  Qx_frame_parameter): New
  7774.     symbols, with lisp code to rebuild syms_of_xfns.
  7775.     (syms_of_xfns): Initialize and staticpro them.
  7776.     (Qheight, Qminibuffer, Qname, Qnone, Qonly, Qwidth,
  7777.     Qunsplittable): Add extern declaration for these.
  7778.     (x_init_parm_symbols): Don't initialize Qx_frame_parameter here;
  7779.     it's done in syms_of_xfns.
  7780.     (x_default_parameter): Change the argument char *PROPNAME into a
  7781.     Lisp_Object PROP; let the caller take care of interning the atom.
  7782.     (Fx_geometry, x_figure_window_size, x_icon, Fx_create_frame): Use
  7783.     the new Q... variables, instead of interning things.
  7784.  
  7785.     * frame.c (Qheight, Qicon, Qmodeline, Qname, Qnone, Qonly,
  7786.     Qunsplittable, Qwidth, Qx): New symbol, with lisp code to rebuild
  7787.     syms_of_frame.
  7788.     (syms_of_xfns): Initialize and staticpro them.
  7789.     (Fframep, Fframe_visible_p, Fframe_parameters):  Use
  7790.     the new Q... variables, instead of interning things.
  7791.     (store_in_alist): Change the argument char *PROPNAME into a
  7792.     Lisp_Object PROP; let the caller take care of interning the atom.
  7793.  
  7794.     * frame.c (Fframe_visible_p): Doc fix.
  7795.  
  7796.     * frame.c (Fframe_parameters): When figuring the `minibuffer'
  7797.     parameter, if FRAME doesn't have a minibuffer, return `none', not
  7798.     nil.  If it does have a minibuffer with other windows, return the
  7799.     window.
  7800.  
  7801.     * frame.c (Fmodify_frame_parameters): Don't write out the loop for
  7802.     processing X frame parameters here; do it in the x specific code.
  7803.     Call the function which deals with this stuff
  7804.     x_set_frame_parameters, not x_set_frame_parameter.
  7805.     * xfns.c (x_set_frame_param): Replaced by x_set_frame_parameters.
  7806.     (x_set_frame_parameters): Process the alist of parameters here.
  7807.         Notice `width', `height', `top', and `left' parameters.
  7808.         Hold off changing the frame size and position until the end, so we
  7809.     can do both parameters at once when they are both specified.
  7810.     (x_default_parameter): Call x_set_frame_parameters, not
  7811.     x_set_frame_param.
  7812.  
  7813.     * frame.c (Fmake_frame_visible, Fmake_frame_invisible,
  7814.     Ficonify_frame, Fframe_parameters, Fmodify_frame_parameters,
  7815.     Fset_frame_height, Fset_frame_width, Fset_frame_size,
  7816.     Fset_frame_position): Place clauses controlled by FRAME_X_P inside
  7817.     `#ifdef HAVE_X_WINDOWS ... #endif' clauses.
  7818.  
  7819.     * frame.c (Fset_frame_position): Doc fix.
  7820.  
  7821.     * dispnew.c (Fredraw_frame): Call clear_frame_records before
  7822.     calling update_end, so that x_display_box_cursor can rely on the
  7823.     contents of f->current_glyphs.
  7824.  
  7825.     * xfns.c (x_figure_window_size): Indicate that this function
  7826.     returns an int, rather than just leaving it unstated.
  7827.  
  7828.     * xterm.c (x_wm_set_size_hint): Don't try to set the base_height
  7829.     and base_width elements of size_hints if PBaseSize is not
  7830.     #defined.  Set the minimum frame size according to the information
  7831.     returned by check_frame_size.
  7832.  
  7833.     * window.h (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros
  7834.     removed.
  7835.     (check_frame_size): New extern declaration.
  7836.     * window.c (MIN_SAFE_WINDOW_HEIGHT, MIN_SAFE_WINDOW_WIDTH): Macros
  7837.     defined here now.
  7838.     (check_frame_size): New function.
  7839.     * dispnew.c (change_frame_size): Call check_frame_size here,
  7840.     rather than writing out its code.  Don't declare newheight and
  7841.     newwidth to be register variables, since we take their address.
  7842.  
  7843.     * bytecode.c (Fbyte_code): When metering the Bcall opcodes, make
  7844.     sure the count on the symbol's `byte-code-meter' property does not
  7845.     overflow.
  7846.  
  7847.     * bytecode.c (syms_of_bytecode): Add a docstring for
  7848.     byte-metering-on.
  7849.  
  7850. Sat Aug  8 13:27:51 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7851.  
  7852.     * dispnew.c (in_display): Variable deleted; it's only ever used as
  7853.     an unofficial parameter to change_frame_size.
  7854.     (change_frame_size): New argument, DELAY, which when non-zero
  7855.     indicates to delay the size change until later.  This should be
  7856.     passed as one from signal handlers.
  7857.     (window_change_signal): Call change_frame_size with a DELAY of 1.
  7858.     (do_pending_window_change): Call change_frame_size with DELAY of 0.
  7859.     * frame.c [MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
  7860.     Fset_frame_size): Same.
  7861.     [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
  7862.     Fset_frame_size, Fset_screen_height, Fset_screen_width): Same.
  7863.     * keyboard.c (Fsuspend_emacs): Call change_frame_size with the
  7864.     proper arguments - the height and width are the second and third
  7865.     arguments, not the first and second.  Pass 0 for DELAY.
  7866.     * xfns.c (Fx_create_frame): Call change_frame_size with a DELAY of 0.
  7867.     * xterm.c (XTread_socket, x_do_pending_expose): Call
  7868.     change_frame_size with a DELAY of 1.
  7869.     
  7870.     * xterm.c (in_display): Deleted this; it's never used in xterm.c,
  7871.     and there is another variable by the same name in dispnew.c.
  7872.  
  7873.     * frame.c [not MULTI_SCREEN] (Fset_frame_height, Fset_frame_width,
  7874.     Fset_frame_size, Fframe_height, Fframe_width): New functions, for
  7875.     use when Emacs is not compiled with multiple screens.
  7876.     [not MULTI_SCREEN] (Fset_screen_height, Fset_screen_width):
  7877.     Functions added for backward compatibility with Emacs 18.  These
  7878.     would be just aliases, except that the version 18 functions don't
  7879.     take a FRAME argument.
  7880.     [not MULTI_SCREEN] (syms_of_frame): New function, to defsubr the
  7881.     above and add screen-height and screen-width as aliases for
  7882.     Fframe_height and Fframe_width.
  7883.     * emacs.c (main): Call syms_of_frame unconditionally.  When
  7884.     MULTI_FRAME is not defined, it still provides the Fframe_width,
  7885.     Fframe_height, Fset_frame_width, and Fset_frame_height functions.
  7886.  
  7887.     * frame.c (Fset_frame_width): Change the size of FRAME, not of
  7888.     selected_frame.
  7889.  
  7890.     * frame.c (Fset_frame_width, Fset_frame_height): Declare the
  7891.     `frame' argument to be a Lisp_Object.  It used to be undeclared.
  7892.  
  7893. Fri Aug  7 07:27:37 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7894.  
  7895.     * dispnew.c, frame.c, frame.h, keyboard.c, scroll.c, term.c,
  7896.     window.c, xdisp.c, xfns.c xterm.c (FRAME_IS_TERMCAP, FRAME_IS_X,
  7897.     FRAME_HAS_MINIBUF): Renamed these to FRAME_TERMCAP_P, FRAME_X_P,
  7898.     and FRAME_HAS_MINIBUF_P, for consistency with the rest of the
  7899.     frame macros.
  7900.  
  7901.     * window.h (MIN_SAFE_WINDOW_WIDTH, MIN_SAFE_WINDOW_HEIGHT): New
  7902.     macros.
  7903.     * window.c (check_min_window_sizes): New function.
  7904.     (set_window_height): Call it.
  7905.     (Fsplit_window, change_window_height): Call it, instead of writing
  7906.     out its code.
  7907.     * dispnew.c (change_frame_size): If newlength or newwidth are too
  7908.     small (according to the value of MIN_SAFE_WINDOW_{WIDTH,HEIGHT}),
  7909.     force them larger.  This isn't really right, but it's better than
  7910.     crashing.
  7911.  
  7912.     * editfns.c (Fcurrent_time_zone): Doc fix.
  7913.  
  7914. Thu Aug  6 04:13:11 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7915.  
  7916.     * editfns.c (Fcurrent_time_zone): Don't forget to include code to
  7917.     signal an error when EMACS_CURRENT_TIME_ZONE is not defined.
  7918.  
  7919. Thu Aug  6 03:25:23 1992  Joseph Arceneaux (jla@gnu.ai.mit.edu)
  7920.  
  7921.         * doc.c (Vdata_directory): Declared.
  7922.     (syms_of_doc): Initialized.
  7923.  
  7924.     * fileio.c (Fread_filename): Add 1 to the offset position for the
  7925.     cursor when reading file names.
  7926.  
  7927. Wed Aug  5 01:34:21 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  7928.  
  7929.     * systime.h (EMACS_CURRENT_TIME_ZONE): New macro.
  7930.     * editfns.c (Fcurrent_time_zone): New function.
  7931.     (syms_of_editfns): defsubr it.
  7932.  
  7933.     * keyboard.c (read_key_sequence): Clear the eighth bit of the
  7934.     character from the key sequence, NOT the index of the character IN
  7935.     the key sequence.  How many tries will it take to get it right?
  7936.  
  7937. Tue Aug  4 17:22:18 1992 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
  7938.  
  7939.     * eval.c (syms_of_eval): Doc fix for debug-on-quit.
  7940.  
  7941. Mon Aug  3 01:35:40 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7942.  
  7943.     * callproc.c (Fcall_process): Doc fix.  Used to claim that
  7944.     Fcall_process doesn't wait when BUFFER was nil.  It does.
  7945.  
  7946. Thu Jul 30 16:20:48 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  7947.  
  7948.     * keyboard.c (read_key_sequence): Scan for function keys when t >=
  7949.     mock_input, not when t > mock_input.  We do want to scan for
  7950.     function keys when t == mock_input.
  7951.  
  7952.     * keyboard.c (read_key_sequence): Don't increment fkey_end when
  7953.     testing to see if keybuf[fkey_end] is a meta-character.
  7954.  
  7955. Mon Jul 27 17:23:14 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  7956.  
  7957.     * Makefile.in (TAGS): Generate tags for files in ../external-lisp
  7958.     too.
  7959.  
  7960. Sun Jul 26 15:34:16 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7961.  
  7962.     * eval.c (find_handler_clause): For quit, don't check Vdebug_on_error.
  7963.     (wants_debugger): Rewrite so it cannot get an error.
  7964.  
  7965.     * callint.c (Fcall_interactively): Handle enable-recursive-minibuffers
  7966.     property on the command, by enabling recursive minibuffers.
  7967.     (syms_of_callint): Set Qenable_recursive_minibuffers.
  7968.  
  7969. Fri Jul 24 20:34:39 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  7970.  
  7971.     * frame.c (Fmake_frame_visible, Fmake_frame_invisible,
  7972.     Ficonify_frame): Make the first argument optional, defaulting to
  7973.     selected_frame.
  7974.     (Ficonify_frame, Fmake_frame_invisible): Add interactive specs, so
  7975.     we can bind these directly to C-z.
  7976.  
  7977. Fri Jul 24 02:44:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7978.  
  7979.     * fileio.c (Fread_file_name): Use new calling convention for
  7980.     Fcompleting_read, with history as Qfile_name_history.
  7981.     (syms_of_fileio): Set Qfile_name_history; set the var to nil.
  7982.     Do staticpro for the recently created Q* vars.    
  7983.  
  7984.     * minibuf.c (read_minibuf): Two additional args histvar and histpos.
  7985.     All calls changed.
  7986.     (Fcompleting_read): Last arg is now HIST--(HISTVAR . HISTPOS).
  7987.     Arg INIT can now be (INITIAL-STRING . INITIAL-POSITION).
  7988.     Pass BACKUP_N arg to read_minibuf properly as Lisp object.    
  7989.     (Fread_from_minibuffer): Likewise.
  7990.     (syms_of_minibuf): Set Qminibuffer_history and staticpro it.
  7991.  
  7992.     * eval.c (Ffuncall, Feval): Support subrs with 7 args.
  7993.  
  7994.     * fns.c (Fyes_or_no_p): Use Fread_string, not read_minibuf.
  7995.     * callint.c (Fcall_interactively): For 'S', use Fread_no_blanks_input
  7996.     rather than read_minibuf.    
  7997.  
  7998. Thu Jul 23 22:45:46 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  7999.     
  8000.     * minibuf.c (Vminibuffer_history_variable): New variable.
  8001.     (syms_of_minibuf): Define variable minibuffer-history-variable.    
  8002.     (read_minibuf): Push the string on specified history list.
  8003.     
  8004. Thu Jul 23 22:35:37 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8005.  
  8006.     * Makefile.in (doall, doxemacs, dotemacs): Put quotes around CC=${CC}.
  8007.     Don't include $(MAKEOVERRIDES); that is always implicit.
  8008.  
  8009. Wed Jul 22 11:17:08 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8010.  
  8011.     * keyboard.c (read_key_sequence): If we have read a
  8012.     meta-character, prefix it with meta_prefix_char before looking it
  8013.     up in the function key keymap.
  8014.  
  8015.     * lread.c (Fread_char_exclusive): Code this with a do-while loop,
  8016.     not a while loop with its body repeated.
  8017.  
  8018.     * lread.c (Fread_event): Don't make this function's definition
  8019.     conditional on X-windows.  It ought to be there no matter how
  8020.     Emacs was built.
  8021.     (syms_of_lread): Don't make its defsubr conditional either.
  8022.  
  8023.     * lread.c (Fread_char): Doc fix.
  8024.  
  8025.     * fileio.c (find_file_handler): It's called
  8026.     Vfile_name_handler_alist, not Vfile_handler_alist.
  8027.     (Fwrite_region): Declare the variable named `handler'.
  8028.     (Fverify_visited_file_modtime): Use `b->filename', not `filename'.
  8029.     (Fset_visited_file_modtime): Declare the variable named `handler'.
  8030.     * dired.c (Fdirectory_files, Ffile_name_completion): Use
  8031.     `dirname', not `filename'.
  8032.     (Qfile_attributes): New variable.
  8033.     (syms_of_dired): Initialize it.
  8034.  
  8035.     * xselect.c (Fx_own_selection): If we're trying to set
  8036.     cut-buffer0, and the value is too large for the X server (as
  8037.     indicated by the max_request_size member of the X Display), just
  8038.     set the buffer to the empty string, and return nil.
  8039.  
  8040. Tue Jul 21 23:10:36 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8041.  
  8042.     * search.c (fast_string_match): New function.
  8043.     * fileio.c (find_file_handler): New function.
  8044.     (Fcopy_file, Fmake_directory, Fdelete_directory, Fdelete_file):
  8045.     (Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
  8046.     (Ffile_exists_p, Ffile_executable_p, Ffile_readable_p, Ffile_symlink_p)
  8047.     (Ffile_writable_p, Ffile_directory_p, Ffile_accessible_directory_p):
  8048.     (Ffile_modes, Fset_file_modes, Ffile_newer_than_file_p):
  8049.     (Fwrite_region, Fverify_visited_file_modtime):
  8050.     Use find_file_handler; call the handler and return.
  8051.     (Finsert_file_contents): Use find_file_handler;
  8052.     cannot just return after the handler, but must handle VISIT.
  8053.     (syms_of_fileio): Set up Qcopy_file, etc.    
  8054.     * dired.c (Fdirectory_files, Ffile_name_completion):
  8055.     (Ffile_name_all_completions, Ffile_attributes):
  8056.     Use find_file_handler; call the handler.
  8057.     (syms_of_dired): Set Qfile_attributes, etc.
  8058.  
  8059. Tue Jul 21 16:26:44 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8060.  
  8061.     * xselect.c (Fx_own_selection): Initialize val to nil, so that if
  8062.     we don't get the selection, we don't return garbage.  When setting
  8063.     cut-buffer0, set val to the string pasted.
  8064.  
  8065.     * xfns.c (x_set_name): If ARG is nil, set the frame's name to the
  8066.     current x_id_name.
  8067.     * xdisp.c (display_mode_line): If we should set the frame's name,
  8068.     but there is only one frame currently active, call x_set_name with
  8069.     nil as the name; this will display samething generically
  8070.     appropriate.
  8071.  
  8072. Mon Jul 20 15:06:24 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8073.     
  8074.     * lread.c (isfloat_string): Recognize floats without a leading
  8075.     integer part, noting that "e5" is a symbol, not a floating point
  8076.     number.
  8077.     
  8078.     * xdisp.c (message, message1): When displaying a message, don't
  8079.     make the minibuf frame visible unless the selected frame is also
  8080.     visible.  This means that frames won't pop up unless the user is
  8081.     actually interacting with Emacs.
  8082.  
  8083.     * xdisp.c (display_mode_line): If Emacs is currently supporting
  8084.     only one screen, don't change the title of the screen to the name
  8085.     of the current buffer; this is only annoying in this case.  We
  8086.     should probably think more carefully about how screens should be
  8087.     named.
  8088.  
  8089. Sun Jul 19 13:43:26 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8090.     
  8091.     * process.c (allocate_pty): Handle PTY_OPEN.    
  8092.     Delete system-specific alternatives to PTY_NAME_SPRINTF
  8093.     and PTY_TTY_NAME_SPRINTF.    
  8094.     
  8095. Sat Jul 18 21:07:10 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8096.     
  8097.     * callint.c (Fprefix_numeric_value): Fix typo: test raw, not val.
  8098.     
  8099. Fri Jul 17 16:35:54 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8100.  
  8101.     * xfns.c (x_window): x_set_name normally ignores requests to set
  8102.     the name if the requested name is the same as the current name.
  8103.     This is the one place where that assumption isn't correct; f->name
  8104.     is set, but the X server hasn't been told.  So fake it out.
  8105.  
  8106.     * emacs.c [sun] (main): On suns, localtime caches the value of the
  8107.     time zone rather than looking it up every time.  This means that
  8108.     the dumped Emacs doesn't check the value of the TZ environment
  8109.     variable.  Call tzset before entering the editing loop to check
  8110.     the new TZ value.
  8111.  
  8112. Thu Jul 16 11:39:38 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8113.  
  8114.     * dired.c (Fdirectory_files): Don't forget to pass the REGP
  8115.     argument to compile_pattern.
  8116.     * search.c (compile_pattern): If REGP is zero, don't call
  8117.     re_set_registers; nobody cares.
  8118.  
  8119.     * fileio.c (auto_save_error): Pass the correct number of arguments
  8120.     to Fsleep_for.
  8121.  
  8122.     * lread.c: Include <ctype.h> at the top of the file, instead of
  8123.     just before isfloat_string; read0 wants to use it too.
  8124.  
  8125.     * process.c (Fdelete_process, Fprocess_status, Fprocess_send_region,
  8126.     Fprocess_send_string, Fprocess_send_eof, Finterrupt_process): Doc
  8127.     fixes.
  8128.     
  8129.     * process.c (Fprocess_status): Use get_process to find the process
  8130.     denoted by the PROC argument, not Fget_process.
  8131.  
  8132. Wed Jul 15 13:51:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8133.  
  8134.     * xdisp.c: Doc fix.
  8135.  
  8136. Tue Jul 14 10:42:58 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8137.  
  8138.     * window.c (syms_of_window): Doc fix for pop-up-frames.
  8139.  
  8140.     * frame.c (Fframe_parameters): Note that if FRAME is omitted, it
  8141.     defaults to the selected frame.
  8142.  
  8143.     * frame.c (Fframe_height, Fframe_width): Blocked out these
  8144.     functions; they have no C callers, and can be written nicely in
  8145.     lisp.
  8146.     
  8147.     * frame.c (Fframe_pixel_size): Function removed; there aren't
  8148.     enough other functions available to make this useful.  We need
  8149.     functions describing the size of the characters of a font.
  8150.  
  8151.     * xterm.h, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, window.h,
  8152.     window.c, termopts.h, termhooks.h, termchar.h, term.c sysdep.c,
  8153.     scroll.c, screen.c, screen.h, process.c, print.c, minibuf.c,
  8154.     lisp.h keyboard.c, indent.c, fns.c, emacs.c, dispnew.c,
  8155.     dispextern.h, cm.h, alloc.c, config.h.in: Screens are now called
  8156.     frames, to avoid even more confusion with X terminology than
  8157.     Emacs's "windows" already cause.  All macros, functions, and
  8158.     variables renamed; all uses changed.
  8159.     * screen.c, screen.h: Renamed to frame.c and frame.h.  All
  8160.     #includers changed.
  8161.     * ymakefile: Adjusted appropriately.
  8162.     * buffer.c: Doc fixes.
  8163.  
  8164.     * xfns.c (Fx_store_cut_buffer): Reversed sense of test for non-X
  8165.     screen.
  8166.  
  8167.     * window.c (Frecenter): Doc fix; this function places point in the
  8168.     middle of the current window, not the current screen.
  8169.  
  8170.     * window.c (temp_output_buffer_show): Use WINDOW_SCREEN macro
  8171.     instead of accessing the member directly.
  8172.  
  8173. Mon Jul 13 14:21:34 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8174.  
  8175.     * print.c (print): Changed code which prints screen objects to use
  8176.     the SCREEN_LIVE_P macro instead of testing the screen structure
  8177.     directly.
  8178.  
  8179.     * alloc.c (undo_threshold, undo_high_threshold): Variables renamed
  8180.     to undo_limit and undo_strong_limit.
  8181.     (Fgarbage_collect): Uses changed.
  8182.     (syms_of_alloc): DEFVARs and docstrings changed.
  8183.     * undo.c (truncate_undo_list): Comment adjusted.
  8184.  
  8185.     * lread.c (read0): Allow floating-point numbers to begin with a
  8186.     period.  `(0 .5)' denotes a list of two numbers, not a dotted pair.
  8187.  
  8188. Sat Jul 11 14:15:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8189.  
  8190.     * fns.c, callproc.c: Doc fix.
  8191.  
  8192. Fri Jul 10 17:16:09 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8193.  
  8194.     * bytecode.c (Bsymbol_function, Bfset): Removed comments saying
  8195.     that these are no longer generated.  Jamie Zawinski's byte
  8196.     compiler does generate them, and he's actually collected
  8197.     statistics on how often these functions are called.
  8198.  
  8199. Thu Jul  9 21:47:45 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8200.  
  8201.     * screen.c (store_screen_param): Clarify error message.
  8202.  
  8203.     * xterm.c (x_make_screen_visible): Undo the change made on June
  8204.     30; that is not the right solution.  Apparently there are three
  8205.     states a window may be in: normal, iconified, and invisible.
  8206.  
  8207. Wed Jul  8 15:14:36 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8208.  
  8209.     * eval.c (Fmacroexpand): Code cleaned up; there's no need to
  8210.     handle forms like ((macro lambda ...) ...) specially.
  8211.  
  8212.     * fileio.c (Finsert_file_contents): Signal an error if we're asked
  8213.     to read from a named pipe.
  8214.  
  8215. Tue Jul  7 15:55:40 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8216.  
  8217.     * m/*.h (SIGN_EXTEND_CHAR): Removed these definitions.  The only
  8218.     place they were used is in regex.c, and nowadays that has its own
  8219.     definition, which works for any machine.  The definitions in the
  8220.     machine description files usually didn't work if given an unsigned
  8221.     character as an argument, anyway.
  8222.  
  8223. Sat Jul  4 12:11:09 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8224.  
  8225.     * buffer.c: Doc fix.
  8226.  
  8227. Thu Jul  2 18:27:26 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8228.  
  8229.     * minibuf.c (Fdisplay_completion_list): Declared new variables
  8230.     used in rms' previous change.
  8231.  
  8232. Thu Jul  2 18:11:43 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8233.  
  8234.     * minibuf.c (Fdisplay_completion_list): Handle non-buffer stream.
  8235.  
  8236. Wed Jul  1 22:30:31 1992  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  8237.  
  8238.     * window.c (Fdisplay_buffer): Add interactive spec.
  8239.  
  8240. Tue Jun 30 18:22:00 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8241.  
  8242.     * mem_limits.h: EXCEEDS_ELISP_PTR declared here.
  8243.     * ralloc.c: No longer declared here.
  8244.     * vm-limit.c: Nor here.  Also, include "lisp.h" before
  8245.     "mem_limits.h" and additionally include "config.h".
  8246.  
  8247. Tue Jun 30 06:01:04 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8248.  
  8249.     * xterm.c (x_make_screen_visible): Don't de-iconify the window;
  8250.     iconification is orthogonal to visibility.
  8251.  
  8252.     * emacs.c (syms_of_emacs): Change docstring for `kill-emacs-hook'
  8253.     to describe it as a hook, not as a single function.
  8254.  
  8255. Mon Jun 29 03:53:58 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8256.  
  8257.     * minibuf.c (Fread_no_blanks_input): Corrected maximum number of
  8258.     arguments from one to two.
  8259.  
  8260.     * emacs.c (Vkill_emacs_hook): Declare this here; it should have a
  8261.     docstring, so we might as well DEFVAR it.
  8262.     (syms_of_emacs): initialize it, and DEFVAR_LISP it with an
  8263.     appropriate docstring.
  8264.  
  8265. Sun Jun 28 03:58:20 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8266.  
  8267.     * lread.c (Feval_buffer): Make the DEFUN match the C argument
  8268.     list; this takes two optional arguments, not just one.
  8269.  
  8270.     * lisp.h (Lisp_Buffer_Local_Value): Comments neatened.
  8271.  
  8272.     * data.c (Fset): Fixed conditional which tests whether the cache
  8273.     is invalid.  It used to be pretty munged, and would always declare
  8274.     the cache invalid for Lisp_Buffer_Local_Value variables.  Now it
  8275.     declares the cache invalid if the buffer is wrong (obviously), of 
  8276.  
  8277. Sat Jun 27 04:12:49 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8278.  
  8279.     * data.c (Fset): Comments reformatted for readability.
  8280.  
  8281.     * xterm.c (last_mouse_movement_time): New variable.
  8282.     (note_mouse_position): Set it.
  8283.     (XTmouse_position): Return its current value as the position's
  8284.     timestamp.
  8285.  
  8286.     * keyboard.c (Qvertical_split): Renamed to `vertical-line',
  8287.     since the window arrangement is actually referred to as a
  8288.     `horizontal split.'
  8289.     (make_lispy_event, make_lispy_movement, syms_of_keyboard): Uses
  8290.     renamed here.
  8291.     keyboard.h (Qvertical_split): Extern declaration changed here.
  8292.     window.c (Fcoordinates_in_window_p): Changed this to return
  8293.     `vertical-line' at the appropriate times, rather than
  8294.     `vertical-split'.
  8295.  
  8296.     * window.c (Fcoordinates_in_window_p): Put symbol names in
  8297.     opposing single quotes - `vertical-split', for example.
  8298.  
  8299.     * fileio.c (Fexpand_file_name): Don't signal an error if USERNAME
  8300.     in a "~USERNAME/..." filename isn't a real user; just leave the
  8301.     "~USERNAME" unchanged.
  8302.  
  8303.     * fileio.c (Fmake_symbolic_link): Rename argument `NEWNAME' to
  8304.     `LINKNAME', to conform with the docstring.
  8305.  
  8306.     * Makefile.in (CPP): Pass `-Is -Im' to CPP, to make sure that
  8307.     machine- and system-dependend files can include each other
  8308.     properly.
  8309.     * ymakefile (CFLAGS): Add those directories to the #include path
  8310.     here too.
  8311.  
  8312.     * Makefile.in (xmakefile): Build this via a temporary file, so
  8313.     that if preprocessing fails we don't nuke the xmakefile.
  8314.  
  8315.     * fileio.c: There are two versions of Fexpand_file_name defined
  8316.     here; the latter is inside a `#if 0' clause.  Change its DEFUN to
  8317.     a DEAFUN, so that its docstring doesn't make it into the DOC file
  8318.     and supercede the real docstring.
  8319.  
  8320.     * callint.c (Fcall_interactively): For the 'K' interactive spec,
  8321.     set varies[i] to -1, indicating that the mouse click should be
  8322.     quoted if the function makes it into the command history, and that
  8323.     this argument by itself does not qualify the command to be
  8324.     recorded in the history.
  8325.  
  8326. Fri Jun 26 05:57:01 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8327.  
  8328.     * data.c (Frem): The drem function will sometimes return a
  8329.     negative number.  If it does, add the divisor to it, to make it
  8330.     positive.
  8331.  
  8332.     * screen.c: Put '#ifdef MULTI_SCREEN' after the inclusion of
  8333.     config.h.
  8334.  
  8335.     * window.c (Fpos_visible_in_window_p): Remember to apply XSCREEN
  8336.     to w->screen before applying SCREEN_WIDTH.
  8337.  
  8338.     * screen.h [not MULTI_SCREEN] (last_nonminibuf_screen): Removed
  8339.     #definition of this; it's confusing when debugging.
  8340.     * screen.c (last_nonminibuf_screen): Variable moved from here...
  8341.     * dispnew.c (last_nonminibuf_screen): to here, beside
  8342.     selected_screen.  They should both exist, even if the multi-screen
  8343.     support is not present.
  8344.  
  8345.     * dispnew.c [not MULTI_SCREEN] (the_only_screen): New variable.
  8346.     Instead of having the non-multi-screen version of Emacs refer to
  8347.     lots of different variables scattered hither and yon, we'll just
  8348.     declare this new variable, of type `struct screen', and define the
  8349.     single-screen versions of the `SCREEN_foo' macros to reference its
  8350.     elements.  This avoids conflicts between names of local variables
  8351.     and names of global variables describing the screen, and simplifies
  8352.     some of the differences between the multi-screen and single-screen
  8353.     cases.
  8354.     * screen.h (enum output_method, struct screen): Removed these from
  8355.     the `#ifdef MULTI_SCREEN' conditional.
  8356.     * screen.h [not MULTI_SCREEN] (the_only_screen): extern
  8357.     declaration for it here.
  8358.     [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS, SCREEN_DESIRED_GLYPHS,
  8359.     SCREEN_TEMP_GLYPHS, SCREEN_HEIGHT, SCREEN_WIDTH,
  8360.     SCREEN_NEW_HEIGHT, SCREEN_NEW_WIDTH, SCREEN_CURSOR_X,
  8361.     SCREEN_CURSOR_Y, SCREEN_ROOT_WINDOW, SCREEN_INSERT_COST,
  8362.     SCREEN_DELETE_COST, SCREEN_INSERTN_COST, SCREEN_DELETEN_COST,
  8363.     SCREEN_MESSAGE_BUF, SCREEN_SCROLL_BOTTOM_VPOS): Macros changed to
  8364.     refer to the_only_screen.
  8365.     * dispnew.c [not MULTI_SCREEN] (one_screen_cursX,
  8366.     one_screen_cursY, one_screen_current_glyphs,
  8367.     one_screen_desired_glyphs, one_screen_temp_glyphs,
  8368.     delayed_screen_width, delayed_screen_height): Variables
  8369.     deleted; they're all now kept in the_only_screen.
  8370.     * xdisp.c [not MULTI_SCREEN] (message_buf): Variable deleted; same
  8371.     fate.
  8372.     * term.c [not MULTI_SCREEN] (one_screen_width, one_screen_height):
  8373.     Variables deleted; same fate.
  8374.     * screen.h [not MULTI_SCREEN]: extern declarations for the above
  8375.     variables removed.
  8376.     * window.c [not MULTI_SCREEN] (root_window): Variable deleted.
  8377.     [not MULTI_SCREEN] (init_window_once): Use SCREEN_ROOT_WINDOW to
  8378.     refer to the root window, instead of referring to it directly.
  8379.     * window.h [not MULTI_SCREEN] (root_window): extern declaration
  8380.     removed.
  8381.     * scroll.c [not MULTI_SCREEN] (insert_line_cost, delete_line_cost,
  8382.     insert_n_lines_cost, delete_n_lines_cost): Variables deleted; same
  8383.     fate.
  8384.  
  8385.     * dispnew.c [not MULTI_SCREEN] (cursX, cursY): Renamed to
  8386.     `one_screen_cursX' and `one_screen_cursY'.
  8387.     * screen.h [not MULTI_SCREEN] (cursX, cursY, SCREEN_CURSOR_X,
  8388.     SCREEN_CURSOR_Y): extern declarations and macros changed
  8389.     accordingly.
  8390.  
  8391.     * term.c [not MULTI_SCREEN] (screen_width, screen_height): Renamed
  8392.     to `one_screen_width' and `one_screen_height', so as not to
  8393.     conflict with local variables when referenced by the `SCREEN_foo'
  8394.     macros.
  8395.     * screen.h [not MULTI_SCREEN] (screen_width, screen_height):
  8396.     extern declarations changed accordingly.
  8397.     * termchar.h (screen_width, screen_height): extern declarations
  8398.     deleted.  Everyone should go through the `SCREEN_foo' macros.
  8399.     (SCREEN_WIDTH, SCREEN_HEIGHT): Changed accordingly.
  8400.  
  8401. Thu Jun 25 21:37:27 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8402.  
  8403.     * callint.c (Fcall_interactively): When making a copy of the spec
  8404.     string, cast the return value of `alloca' to `unsigned char *',
  8405.     not `char *', to match the type of `string'.
  8406.  
  8407.     * xselect.c (Fx_own_selection): Cast XSTRING (string)->data to a
  8408.     char *, so it can be comfortably passed to XStoreBytes.
  8409.  
  8410.     * filelock.c (strcpy): Declare this to return char *.
  8411.  
  8412. Wed Jun 24 01:36:44 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8413.  
  8414.     * dispnew.c (current_glyphs, desired_glyphs, temp_glyphs): Renamed
  8415.     to have the prefix `one_screen_', so that the screen macros can
  8416.     refer to them without conflicting with local variables.
  8417.     * screen.h [not MULTI_SCREEN] (SCREEN_CURRENT_GLYPHS,
  8418.     SCREEN_DESIRED_GLYPHS, SCREEN_TEMP_GLYPHS): Changed accordingly.
  8419.  
  8420.     * keyboard.c (read_key_sequence): Put the code which restarts the
  8421.     key sequence in a `#ifdef MULTI_SCREEN' conditional.
  8422.  
  8423.     * screen.h [not MULTI_SCREEN]: Added definitions for
  8424.     CHECK_LIVE_SCREEN and SCREEN_FOCUS_SCREEN for the non-multi-screen
  8425.     case.
  8426.  
  8427.     * screen.h [not MULTI_SCREEN]: The name is
  8428.     `SCREEN_MINIBUF_ONLY_P', not `SCREEN_IS_MINIBUF_ONLY'.
  8429.  
  8430.     * xdisp [not MULTI_SCREEN] (Fredraw_display): Removed definition
  8431.     here; the non-multi-screen version is already defined in
  8432.     dispnew.c, alongside the multi-screen version.
  8433.     (syms_of_xdisp): Don't try to defsubr Sredraw_display; it doesn't
  8434.     exist.
  8435.  
  8436.     * lread.c (Fread_char_exclusive): Remove this from the `#ifdef
  8437.     HAVE_X_WINDOWS' conditional; it is appropriate in any context.
  8438.  
  8439.     * eval.c (Fsignal): Put call to TOTALLY_UNBLOCK_INPUT under the
  8440.     protection of a `#ifdef HAVE_X_WINDOWS' conditional.
  8441.  
  8442.         * keyboard.c (kbd_buffer_get_event): Expect *mouse_position_hook
  8443.     to return the timestamp as an unsigned long, not a lisp_Object.
  8444.     This matches the change made to `struct input_event'.
  8445.     (make_lispy_movement): Change argument TIME to an unsigned long.
  8446.     * xterm.c (XTmouse_position): Change TIME argument to a pointer to
  8447.     an unsigned long.
  8448.     * termhooks.h (mouse_position_hook): Doc fix.
  8449.     * term.c (mouse_position_hook): Doc fix.
  8450.  
  8451.     * termhooks.h (struct input_event): If MULTI_SCREEN is defined,
  8452.     declare the .screen element to be `struct screen *'; otherwise,
  8453.     declare it to be `int'.  See the comment in the file for why I've
  8454.     done this obviously wrong thing.
  8455.  
  8456.     * print.c (printbufidx): Doc fix.
  8457.     * xdisp.c (message_buf_print): Doc fix.
  8458.  
  8459.     * dispextern.h (message_buf_size): Variable deleted; it's no
  8460.     longer used, since the message buffer is always the width of the
  8461.     screen.
  8462.  
  8463.     * screen.h [not MULTI_SCREEN] (message_buf): Add extern
  8464.     declaration for it here.
  8465.     (message_buf_print): Added extern declarations here for both the
  8466.     MULTI_SCREEN and non-MULTI_SCREEN cases.
  8467.     * dispextern.h (message_buf, message_buf_print): Deleted extern
  8468.     declaration for these here.  It should never be used directly; it
  8469.     should always be used through the SCREEN_MESSAGE_BUF macro.
  8470.  
  8471.     * dispnew.c (temp_glyphs): Added back this variable declaration;
  8472.     screen.h and various other places referred to this; where did it
  8473.     go?
  8474.     * screen.h [not MULTI_SCREEN] (temp_glyphs, desired_glyphs,
  8475.     current_glyphs): Add extern declarations for these.
  8476.  
  8477.     * dispnew.c (cancel_my_columns): Use SCREEN_DESIRED_GLYPHS macro,
  8478.     instead of assuming that a SCREEN_PTR is actually a pointer to
  8479.     something; it isn't if we're not using any of the screen support.
  8480.     Remove the variable `screen', and find the value for
  8481.     `desired_glyphs' directly.
  8482.     * xdisp.c (echo_area_display): Use the SCREEN_DESIRED_GLYPHS macro
  8483.     to find screen's desired cursor position, instead of assuming that
  8484.     a SCREEN_PTR is a pointer to something.
  8485.     (display_mode_line): Same.
  8486.     * window.c (Fpos_visible_in_window_p): Use the SCREEN_WIDTH macro.
  8487.     (replace_window): Use the SCREEN_ROOT_WINDOW macro.
  8488.     (window_loop): Use the SCREEN_WIDTH macro.
  8489.  
  8490.     * dispnew.c (update_screen): Enclose the statement which
  8491.     increments `downto' in a `#ifdef HAVE_X_WINDOWS' conditional.
  8492.  
  8493.     * screen.h [MULTI_SCREEN and not MULTI_SCREEN] (FOR_EACH_SCREEN):
  8494.     New macro.
  8495.     * dispnew.c (window_change_signal, do_pending_window_change): Use
  8496.     FOR_EACH_SCREEN instead of assuming that Vscreen_list exists.
  8497.     * window.h (root_window): Added extern declaration for this.
  8498.  
  8499.     * screen.c: Enclose the entire file in a #ifdef MULTI_SCREEN
  8500.     conditional.
  8501.  
  8502.  
  8503. Tue Jun 23 17:47:28 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8504.  
  8505.     * window.c (Fset_window_dedicated_p):
  8506.     Replaces Fset_window_buffer_dedicated.  Second arg just t or nil.
  8507.  
  8508. Mon Jun 22 21:38:39 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8509.  
  8510.     * syntax.h (SYNTAX, SYNTAX_MATCH, SYNTAX_COMSTART_FIRST, etc.)
  8511.     Cast character to unsigned char before indexing.
  8512.  
  8513. Fri Jun 19 02:04:51 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8514.  
  8515.     * xterm.c (x_wm_set_size_hint): Set size_hints.flags to indicate
  8516.     that we are providing the base_width and base_height data.
  8517.  
  8518.     * xfns.c (Fx_create_screen): Default the internal border width to
  8519.     2; this matches XTerm.
  8520.  
  8521.     * syntax.c (Fparse_partial_sexp): Doc fix.
  8522.  
  8523.     * syntax.c (Fparse_partial_sexp): Added phony argument list to
  8524.     comment containing the docstring for this function, so that
  8525.     make-docfile.c will get the right arguments.
  8526.  
  8527.     * xfns.c (x_set_name): Don't go through the X11 brouhaha to set
  8528.     the name unless we're actually setting it to something different
  8529.     from the current name.
  8530.  
  8531. Thu Jun 18 16:10:07 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8532.  
  8533.     * eval.c (syms_of_eval): Don't forget to escape the ends of the
  8534.     lines in the docstring for `debug-on-quit'.
  8535.  
  8536.     * keyboard.c (Fread_key_sequence): Reversed sense of CONTINUE_ECHO
  8537.     argument - set this_command_key_count to zero iff CONTINUE_ECHO is
  8538.     Qnil, not iff it's non-Qnil.
  8539.  
  8540. Wed Jun 17 03:01:55 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8541.     
  8542.     * search.c: Changed to remember the object in which the last
  8543.     search was done, so that markers from match data are placed in
  8544.     that buffer, instead of the current buffer.
  8545.     (search_regs_from_string): Replaced with...
  8546.     (last_thing_searched): This is either Qnil, meaning no searching
  8547.     has been done, Qt, meaning that the last search was done in a
  8548.     string, or a buffer object, meaning that the last search was done
  8549.     in that buffer.
  8550.     (syms_of_search): Initialize and staticpro last_thing_searched.
  8551.     (Flooking_at, search_buffer): Set last_thing_searched to the
  8552.     current buffer.
  8553.     (Fstring_match): Set last_thing_searched to Qt.
  8554.     (Fmatch_data): Test last_thing_searched to see if any searching
  8555.     has been done, and construct integers or markers in the right
  8556.     buffer.  Abort if it's not Qt, Qnil, or a buffer.
  8557.     (Fstore_match_data): Set last_thing_searched according to the
  8558.     things we find in LIST.
  8559.     
  8560. Tue Jun 16 11:20:54 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8561.  
  8562.     * fns.c (Fload_average): Document the fact that this sometimes
  8563.     returns a list of fewer than three elements, on systems which
  8564.     don't provide 5- and 15-minute load averages.
  8565.  
  8566. Mon Jun 15 00:33:06 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8567.     
  8568.     * xterm.c (XTread_socket): If an event arrives to a screen S,
  8569.     don't attribute them to SCREEN_FOCUS_SCREEN (S) here.  Do that
  8570.     synchronously, when the events are dequeued.  This keeps events
  8571.     from being accidentally routed to the wrong screen, if we
  8572.     temporarily redirect a screen's focus.
  8573.     * keyboard.c (kbd_buffer_store_event): If the character being
  8574.     stuffed is a quit character, do the SCREEN_FOCUS_SCREEN
  8575.     redirection to it here.
  8576.     (kbd_buffer_get_event): And do it here, before returning the
  8577.     event.
  8578.     
  8579.     * eval.c (Finteractive_p): This assumed that if the function in
  8580.     the top frame of the lisp backtrace was not a Lisp_Compiled
  8581.     object, then Finteractive_p must have an explicit frame on the top
  8582.     of the stack, which we could skip.  It didn't bother to follow the
  8583.     symbol function chaining, and it would break if any C code called
  8584.     from a non-compiled function tried to call Finteractive_p anyway.
  8585.     Changed this to actually check if the top frame's effective
  8586.     function is the Lisp_Subr for Finteractive_p.  This also used to
  8587.     skip any number of frames for special forms and/or Fbytecode
  8588.     calls.  Changed this to skip an Fbytecode frame (if present),
  8589.     followed by any number of special form frames.
  8590.  
  8591. Sun Jun 14 18:01:42 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8592.  
  8593.     * eval.c (struct backtrace): Doc fix.
  8594.  
  8595. Fri Jun 12 05:57:23 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8596.  
  8597.     * m/hp300bsd.h (LOAD_AVE_TYPE): This is long, not double.
  8598.     (LOAD_AVE_CVT): Adjusted as appropriate.
  8599.  
  8600.     * fns.c: Moved lots of system-dependent preprocessor cruft
  8601.     dealing with getting the load average to `getloadavg.c'.
  8602.     (Fload_average): Guts moved to `getloadavg.c'.
  8603.     * getloadavg.c: New file, containing the necessary mess to get the
  8604.     load average on many different systems.  This file is supposed to
  8605.     be Emacs-independent.
  8606.     * ymakefile (obj): Add getloadavg.o to the list.
  8607.     (getloadavg.o): Note that this depends on its source, and config.h.
  8608.  
  8609.     * screen.c (Fdelete_screen): Typo in loop looking for new
  8610.     last_nonminibuf_screen - change    `screen = XCONS (screens)->cdr`
  8611.                                      to    `screens = XCONS (screens)->cdr`
  8612.  
  8613.     * xdisp.c (echo_area_display): Don't neglect to draw all the lines
  8614.     of the minibuffer window (or echo area) when a message is being
  8615.     displayed.  If the minibuffer is more than one line high, they
  8616.     should all be blanked.
  8617.  
  8618. Wed Jun 10 15:41:36 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8619.  
  8620.     * sysdep.c [POSIX_SIGNALS] (sys_signal): Fix typo - rather than
  8621.     calling new_action as if it were a function, call sigaction.
  8622.  
  8623. Tue Jun  9 22:22:32 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8624.  
  8625.     * lisp.h (Qnumberp, Qnumber_or_marker_p): Declared.
  8626.  
  8627.     * eval.c (wants_debugger): Changed NULL to NILP.
  8628.     Who installed these calls to NULL?
  8629.  
  8630. Tue Jun  9 14:06:48 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8631.  
  8632.     * dispnew.c (Fsit_for): Don't forget to actually set sec from ARG.
  8633.  
  8634.     * termhooks.h (struct input_event): Doc fix - for mouse clicks, .x
  8635.     and .y give the position in characters, not in pixels.
  8636.  
  8637.     * keyboard.c (format_modifiers): Order the modifier letters
  8638.     alphabetically - control, meta, shift, and up.
  8639.  
  8640. Mon Jun  8 21:57:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8641.  
  8642.     * xfns.c: Move some extern decls out of #if 0, to top of file.
  8643.  
  8644. Mon Jun  8 18:24:54 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8645.  
  8646.     * window.c (Fcoordinates_in_window_p): Docstring fix.
  8647.  
  8648.     * buffer.c (Fother_buffer): Put a comma between arguments BUFFER
  8649.     and VISIBLE_OK in the argument list.  Duh.
  8650.  
  8651.     * screen.c (Fdelete_screen): Remember that s is a SCREEN_PTR *,
  8652.     not a Lisp_Object.
  8653.  
  8654.     * search.c (search_regs): Doc fix.
  8655.     (compile_pattern): Take a new argument - the search register
  8656.     structure - so we can reassure the regex routines that the
  8657.     registers have been allocated.
  8658.     (Flooking_at, Fstring_match, search_buffer): Changed to pass
  8659.     &search_regs to compile_pattern.
  8660.     (search_buffer): When we've searched for a literal string and
  8661.     found it, make sure that the search registers are allocated before
  8662.     stuffing the location of the search into them.
  8663.     (Fstore_match_data): If we need to allocate more registers,
  8664.     allocate them using re_set_registers, instead of just storing the
  8665.     new registers and hoping that regex doesn't free them.
  8666.  
  8667.     * search.c (Freplace_match): Doc fix.
  8668.  
  8669. Sun Jun  7 21:55:17 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8670.  
  8671.     * screen.c (Fdeiconify_screen): Function deleted.
  8672.     It was the same as make-screen-visible.
  8673.  
  8674. Sat Jun  6 21:42:12 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8675.  
  8676.     * keyboard.c: Doc fix.
  8677.  
  8678.     * floatfns.c (Fcbrt): Renamed from Fcube_root, and #if 0'd.
  8679.  
  8680.     * lisp.h (CHECK_NUMBER_OR_FLOAT*): Use Qnumberp or Qnumber_or_marker_p.
  8681.     * data.c (syms_of_data): Staticpro those.
  8682.     (Qinteger_or_float_p, Qinteger_or_float_or_marker_p): Deleted.
  8683.     (Fnumberp, Fnumber_or_marker_p): Define these always,
  8684.     but make them work even if not LISP_FLOAT_TYPE.
  8685.  
  8686. Fri Jun  5 14:33:22 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8687.  
  8688.     * config.h.in: Undefine REL_ALLOC if a system specific file
  8689.     defines SYSTEM_MALLOC.
  8690.  
  8691.     * sysdep.c (save_signal_handlers): Cast result of signal  to
  8692.     avoid compiler warning.
  8693.     * process.c (send_process): Likewise.
  8694.  
  8695. Fri Jun  5 01:57:48 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8696.     
  8697.     * keyboard.c (Fread_key_sequence): New 2nd arg CONTINUE_ECHO
  8698.     added for the sake of universal-argument.
  8699.     
  8700. Thu Jun  4 01:32:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8701.  
  8702.     * editfns.c (Fset_default_file_mode): Function deleted.
  8703.     (Funix_sync): Moved.
  8704.     * fileio.c (Funix_sync): Moved to here.
  8705.  
  8706.     * xfns.c (Fx_erase_rectangle, Fx_draw_rectangle, Fx_contour_region):
  8707.     (Fx_uncontour_region): #if 0 these.
  8708.     (x_rectangle, outline_region): Likewise.
  8709.     (syms_of_xfns): #if 0 the defsubrs.
  8710.  
  8711.     * dispnew.c (Fsleep_for, Fsit_for): Clean up error messages.
  8712.  
  8713.     * eval.c, print.c, keyboard.c: Doc fix.
  8714.  
  8715.     * xfns.c (Fx_horizontal_line): Disabled, since not documented.
  8716.  
  8717.     * fileio.c (Fdelete_directory): Renamed from Fremove_directory.
  8718.  
  8719.     * unexencap.c: Deinstalled (renamed to =unexencap.c)
  8720.     since awaited papers never arrived.
  8721.  
  8722.     * xfns.c: Doc fix.
  8723.  
  8724. Thu Jun  4 00:30:26 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  8725.  
  8726.     * eval.c (stack_trace_on_error, debug_on_error): Made Lisp_Objects V*.
  8727.     (syms_of_eval): Changed DEFVAR_BOOLs to DEFVAR_LISPs.
  8728.     (wants_debugger): New fn.
  8729.     (find_handler_clause): Use it to look in debug-on-error and
  8730.     stack-trace-on-error lists.
  8731.  
  8732. Thu Jun  4 00:17:28 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8733.  
  8734.     * floatfns.c (Fbessel_*, Ferf, Ferfc, Flog_gamma): Turned off;
  8735.     not clearly worth including.
  8736.     (Fasinh, Facosh, Fatanh, Fsinh, Fcosh, Ftanh): Likewise.
  8737.  
  8738. Wed Jun  3 18:43:14 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8739.  
  8740.     * minibuf.c, keyboard.c: Doc fix.
  8741.  
  8742.     * window.c (Fwindow_at): Fix number of args--minimum 2, max 3.
  8743.  
  8744.     * screen.c: Doc fix.
  8745.  
  8746. Tue Jun  2 22:53:16 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8747.  
  8748.     * lread.c (Feval_buffer): Don't read any arguments, if interactive.
  8749.  
  8750. Tue Jun  2 00:32:10 1992  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  8751.  
  8752.     * screen.c (make_screen_without_minibuffer): Apply XSCREEN to
  8753.     Vdefault_minibuffer_screen before calling SCREEN_LIVE_P.  The
  8754.     argument to SCREEN_LIVE_P must be a SCREEN_PTR, not a Lisp_Object.
  8755.  
  8756.     * dispnew.c (Fsit_for): This used to compare arg with 0 and return
  8757.     Qt immediately.  It should actually call sit_for anyway, because
  8758.     sit_for needs to test for input and do the redisplay.
  8759.     (sit_for): Compare sec and usec with zero here, after we've
  8760.     looked for input and done a redisplay.
  8761.  
  8762.     * lread.c (Feval_buffer): Use NILP, not NIL_P.
  8763.  
  8764. Mon Jun  1 23:56:11 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8765.  
  8766.     * buffer.h: New macro, BUF_SET_PT.
  8767.  
  8768.     * lread.c: New subr `eval-buffer', replaces `eval-current-buffer',
  8769.     which is now defined in simple.el.
  8770.  
  8771. Sat May 30 00:05:12 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8772.  
  8773.     * screen.c (Fdelete_screen): If we're deleting the default
  8774.     minibuffer screen, try to find another minibuffer screen.
  8775.  
  8776. Fri May 29 18:58:17 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8777.  
  8778.     * buffer.c (Fother_buffer): New optional argument VISIBLE_OK,
  8779.     indicating that buffers currently visible in windows should not be
  8780.     discriminated against.
  8781.  
  8782. Thu May 28 13:10:38 1992  Ken Raeburn  (raeburn@cygnus.com)
  8783.     
  8784.     * screen.c (Fdelete_screen): Fix bugs in walking screen list.
  8785.     (make_screen_without_minibuffer): Signal an error if the default
  8786.     minibuffer screen is dead.
  8787.     
  8788.     * xfns.c (x_set_name): Use ICCCM-conforming scheme for changing
  8789.     window name in X11.
  8790.     (Fx_create_screen): Likewise.
  8791.  
  8792. Wed May 27 17:33:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8793.  
  8794.     * xselect.c: Support getting and setting the obsolete X cut
  8795.     buffers.
  8796.     (Qcut_buffer0): New atom, denoting the X cut buffer 0.
  8797.     (syms_of_xselect): Initialize and staticpro it.
  8798.     (Fx_own_selection): If TYPE is Qcut_buffer0, interpret this to
  8799.     mean that we should set cut buffer 0 to STRING.
  8800.     (Fx_selection_value): If TYPE is Qcut_buffer0, interpret this to
  8801.     mean that we should retrieve the value of cut buffer 0.
  8802.  
  8803. Thu May 21 00:19:37 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8804.  
  8805.     * xterm.c (construct_mouse_click): Removed extra assignment of
  8806.     result->timestamp.
  8807.  
  8808.     * keyboard.c (last_event_timestamp): Doc fix.
  8809.     * xselect.c (last_event_timestamp): Declare it extern here.
  8810.     (mouse_timestamp): Variable deleted.  last_event_timestamp is a
  8811.     more accurate thing to use here.
  8812.     (own_selection, get_selection_value): Use last_event_timestamp
  8813.     instead of mouse_timestamp.
  8814.     * keyboard.c (make_lispy_event): Pass the event's timestamp
  8815.     through the make_number function, to assure that it is properly
  8816.     tagged before incorporating it into the lispy event.
  8817.     * xterm.c (construct_mouse_click): The timestamp element of a
  8818.     struct input_event is no longer a Lisp_Object; it is now an
  8819.     unsigned long.  So don't use XSET to assign to it.
  8820.     (XTread_socket): Same here, in processing KeyPress events.
  8821.  
  8822.     * keyboard.c (Fexecute_extended_command): Properly initialize
  8823.     this_command_keys to the concatenation of the sequence that
  8824.     invoked Fexecute_extended_command, the characters making up the
  8825.     name of the command we're running, and a return character.
  8826.     Previously, this code would set it to the last key typed while
  8827.     reading the function name from the minibuffer, followed by the
  8828.     name of the function being run.
  8829.  
  8830. Wed May 20 00:11:36 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8831.  
  8832.     * xterm.c (x_display_box_cursor): Draw the cursor at curs_{x,y},
  8833.     rather than at s->cursor_{x,y}.  If cursor_in_echo_area is set,
  8834.     then s->cursor_{x,y} does not accurately describe the position of
  8835.     the cursor.  However, if we're not updating, then curs_{x,y} are
  8836.     garbage; set them from s->cursor_{x,y}.
  8837.  
  8838.     * dispnew.c (update_screen): Check current_screen->enable and
  8839.     current_screen_used to see if there is any text on the last line,
  8840.     not desired_screen->{enable,used}.  When the line isn't enabled,
  8841.     move to line SCREEN_HEIGHT (s) - 1, not SCREEN_HEIGHT (s).
  8842.     Rearranged conditionals.
  8843.  
  8844.     * dispnew.c (cursor_in_echo_area): Document the interpretations of
  8845.     positive and negative values of this variable.
  8846.  
  8847. Mon May 18 22:04:35 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8848.  
  8849.     * dispnew.c (Fding): If have arg, don't end a keyboard macro.
  8850.  
  8851. Mon May 18 02:37:09 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8852.  
  8853.     * dispnew.c (sit_for): New function, which is a slight
  8854.     generalization of Fsit_for; you can tell it that it's waiting for
  8855.     input, so C-g gets handled properly.
  8856.     (Fsit_for): Call it, instead of replicating all its guts.
  8857.     * keyboard.c (read_char): Call sit_for instead of Fsit_for, and
  8858.     indicate that we're awaiting keyboard input.
  8859.  
  8860.     * dispnew.c (Fsit_for): Rename arguments to match docstring.  Use
  8861.     NILP instead of EQ (foo, Qnil).     If nodisp is non-nil, call
  8862.     wait_reading_process_input with do_display 0, instead of 1; this
  8863.     will inhibit spurious redisplays when process input arrives during
  8864.     a sit-for.
  8865.  
  8866.         * process.c (Faccept_process_output): Pass zero as read_kbd
  8867.     argument to wait_reading_process_input when PROC is nil, not when
  8868.     PROC is non-nil.
  8869.  
  8870.     * process.c (wait_reading_process_input): Declare read_kbd to be a
  8871.     Lisp_Object, and use the tagging to tell the difference between a
  8872.     process object and an integer.
  8873.     * dispnew.c (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Pass
  8874.     read_kbd argument to wait_reading_process_input as a Lisp_Object.
  8875.     * keyboard.c (kbd_buffer_get_event): Same.
  8876.     * process.c (Faccept_process_output, send_process): Same.
  8877.  
  8878.     * keyboard.c (read_char): Use save_getcjmp and restore_getcjmp
  8879.     instead of doing the bcopy explicitly.
  8880.  
  8881.     * xterm.c (XTread_socket): When handling an EnterWindow event,
  8882.     don't bother to check waiting_for_input.  It's not necessary.
  8883.  
  8884.     * keyboard.c (read_char): Don't clear waiting_for_input and
  8885.     input_available_clear_time here.
  8886.     (quit_throw_to_read_char): It's already done here.
  8887.  
  8888.     * keyboard.c (quit_throw_to_read_char): Use
  8889.     clear_waiting_for_input instead of clearing waiting_for_input
  8890.     explicitly.
  8891.  
  8892. Mon May 18 02:37:09 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8893.  
  8894.     * keyboard.c (read_char): Call clear_waiting_for_input instead of
  8895.     clearing waiting_for_input and input_available_clear_time
  8896.     explicitly.
  8897.  
  8898. Fri May 15 17:53:33 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8899.  
  8900.     * ymakefile [defined (__GNUC__) and __GNUC__ > 1]: define
  8901.     YMF_PASS_LDFLAGS so that it can deal with an empty flags argument.
  8902.  
  8903.     * callproc.c (Fcall_process): Under VMS, a nil INFILE argument
  8904.     means to read from "NLA0:", not "/dev/null".
  8905.  
  8906.     * callproc.c (Fcall_process): Use nil as the value for display
  8907.     (the fourth argument) when nargs >= 4, not when nargs >= 3.
  8908.  
  8909. Thu May 14 10:12:42 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8910.     
  8911.     * termhooks.h: Change timestamp from a Lisp_Object to an unsigned
  8912.         long.
  8913.     * keyboard.c (kbd_buffer_store_event): We don't have to apply the
  8914.         XINT macro to the timestamp member of the event anymore.
  8915.  
  8916.     * process.c (wait_reading_process_output): Don't turn off polling.
  8917.  
  8918.     * sysdep.c (setpgrp_of_tty): Pass the address of pid, not pid
  8919.     itself.
  8920.  
  8921.     * process.c: Deleted cpp tangle for dealing with system-dependent
  8922.     tty handling; #included "systerm.h".
  8923.     * systerm.h: Add some of the things that were done in process.c:
  8924.     If titan is #defined, then we should include <sys/ttyhw.h> and
  8925.     <sys/stream.h> along with the other SYSV pty stuff.
  8926.     If HPUX is #defined, then EMACS_HAVE_TTY_PGRP isn't true.
  8927.     If XENIX is #defined, then we shouldn't try to use TIOCGETC.
  8928.     * ymakefile: Note that process.o depends on systerm.h now.
  8929.  
  8930. Wed May 13 19:02:05 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8931.  
  8932.         * callint.c (Fprefix_numeric_value): Value 1 for symbol other than `-'.
  8933.  
  8934. Wed May 13 15:12:22 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8935.  
  8936.     * cmds.c (Fforward_line): If the buffer is empty, don't try to see
  8937.     if it contains a newline, and moving nowhere at eob after
  8938.     non-newline should return 1, not 0.
  8939.  
  8940.     * search.c (scan_buffer): Doc fix.
  8941.  
  8942.     * buffer.c (Fbuffer_disable_undo): Accept a buffer name as an
  8943.     argument.
  8944.  
  8945. Tue May 12 23:54:33 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  8946.  
  8947.     * fileio.c: Include config.h first thing.    
  8948.     
  8949.     * keyboard.c (clear_input_pending): New subroutine.
  8950.     * process.c (wait_reading_process_input): Make C-g really quit in
  8951.     sit-for case.
  8952.  
  8953.         * ymakefile (LD_SWITCH_SYSTEM): Don't use -X with GCC.
  8954.  
  8955. Tue May 12 11:21:24 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  8956.  
  8957.     * eval.c (Fapply): Use indirect_function, instead of doing a dumb
  8958.     loop.
  8959.     * keymap.c (get_keymap_1): Same.
  8960.     * macros.c (Fexecute_kbd_macro): Same.
  8961.  
  8962.     * buffer.c (init_buffer_once): Don't disable undos for *scratch*
  8963.     here.  Do it in loadup.el.
  8964.  
  8965.     * buffer.c (init_buffer_once): Doc fix.
  8966.  
  8967.     * doc.c (Fdocumentation): After extracting the doc string from a
  8968.     lambda or autoload expression, don't fall through to the default
  8969.     case and signal an invalid function error; instead, do a `break'.
  8970.  
  8971.     * doc.c (Fdocumentation): Use EQ (x, y) instead of XSYMBOL (x) ==
  8972.     XSYMBOL (y).
  8973.  
  8974.     * doc.c (Fdocumentation): When decyphering a function made from
  8975.     conses, use 'else if' for the chain of alternatives instead of
  8976.     just 'if'.  It used to be that each alternative returned, but
  8977.     that's not true anymore.
  8978.  
  8979.     * alloc.c (Fgarbage_collect): Don't call truncate_undo_list on
  8980.     buffers whose undo list is 't.
  8981.  
  8982.     * doc.c (Fdocumentation): Renamed argument `fun1' to `function',
  8983.     so make-docstring will list argument consistently with the
  8984.     docstring.
  8985.  
  8986. Mon May 11 22:38:45 1992  Joseph Arceneaux  (jla@churchy.gnu.ai.mit.edu)
  8987.  
  8988.     * xterm.h: Removed definition of `RES_CLASS'.
  8989.  
  8990.     * xfns.c (x_get_arg): Eliminated `screen_name' parameter.  No
  8991.     longer uses screen name as X resource search component.
  8992.     All calls to x_get_arg changed accordingly.
  8993.     Global variable `screen_class' and #define `SCREEN_CLASS' removed.
  8994.  
  8995.     * xterm.c (XTread_socket): Added basic structure for handling
  8996.     various ClientMessage events, using new global variables
  8997.     `Xatom_wm_take_focus', `Xatom_wm_save_yourself',
  8998.     `Xatom_wm_delete_window', `Xatom_wm_configure_denied',
  8999.     `Xatom_wm_moved'.
  9000.     * xfns.c: Declare these variables extern.
  9001.     (syms_of_xfns): Initialize these variables.
  9002.  
  9003.     * xselect.c (Fx_own_selection, Fx_selection_value): New optional
  9004.     parameter `type', to specify the selection type.
  9005.     (syms_of_xselect): New symbols Qprimary, Qsecondary, Qclipboard
  9006.     initialized.
  9007.  
  9008. Mon May 11 15:31:55 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9009.  
  9010.     * data.c (Qcyclic_function_indirection): New error condition.
  9011.     (indirect_function, Findirect_function): New functions.
  9012.     (syms_of_data): Initialize Qcyclic_function_indirection, put the
  9013.     error properties on it, and staticpro it.  Defsubr
  9014.     Findirect_function.
  9015.     * lisp.h (indirect_function, Findirect_function): Declare them here.
  9016.     * callint.c (Fcall_interactively): Get symbol's function by
  9017.     calling indirect_function, instead of just looping.
  9018.     * doc.c (Fdocumentation): Same.
  9019.     * eval.c (Finteractive_p, Fcommandp, do_autoload, Feval,
  9020.     Ffuncall): Same.
  9021.     * keyboard.c (Fcommand_execute): Same.
  9022.  
  9023.     * data.c (Fsymbol_function): Name the argument `symbol' instead of
  9024.     `sym', so make-docstring will list argument consistently with the
  9025.     docstring.
  9026.  
  9027.     * process.c (wait_reading_process_input): Make sure the screen
  9028.     isn't garbaged (and therefore not displayed) before we enter the
  9029.     select and start waiting for input.
  9030.  
  9031.     * keyboard.c: #include <systime.h>.
  9032.     * ymakefile (keyboard.o): This depends on systime.h.
  9033.     * keyboard.c (input_available_clear_word): Replaced with
  9034.     input_available_clear_time, which is a pointer to an EMACSTIME;
  9035.     sometimes the time information is larger than a single word.
  9036.     (read_char): Changed ..._word to ..._time.
  9037.     (input_available_signal): Use the EMACS_SET_SECS_USECS macro to
  9038.     clear *input_available_clear_time, instead of zapping a zero into
  9039.     *input_available_clear_word.
  9040.     (set_waiting_for_input, clear_waiting_for_input): Adjusted
  9041.     appropriately.
  9042.  
  9043. Sun May 10 17:24:29 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9044.  
  9045.     * editfns.c (make_buffer_string): New function.
  9046.     * lisp.h (make_buffer_string): Declare it here.
  9047.     * editfns.c (Fbuffer_substring): Call make_buffer_string instead
  9048.     of writing it out.
  9049.     (Fbuffer_string): Call make_buffer_string instead of make_string,
  9050.     so we can deal with buffer relocations.
  9051.     * minibuf.c (read_minibuf): Same here.
  9052.  
  9053. Sat May  9 14:23:50 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9054.  
  9055.     * syssignal.h (sigunblock): New macro, taken from 18.58's
  9056.     emacssignal.h file.
  9057.     * sysdep.c (request_sigio): Use the sigunblock macro to enable
  9058.     reciept of SIGWINCH, instead of the dysfunctional sigblockx.
  9059.  
  9060. Fri May  8 02:55:42 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9061.  
  9062.     * search.c: Doc fix.
  9063.  
  9064. Wed May  6 19:50:58 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9065.  
  9066.     * emacs.c (decode_env_path): If EVARNAME is zero, don't try to
  9067.     call getenv on it.
  9068.     * lread.c (init_lread): When we don't have an environment variable
  9069.     to check, pass 0 instead of the empty string.
  9070.  
  9071.     * alloc.c (Fmake_marker): Use `SIGMASKTYPE' instead of `int'.
  9072.     Instead of calling sigsetmask twice - once to get the mask, and
  9073.     again to restore it - call sigblock, specifying no additional
  9074.     signals.
  9075.  
  9076. Tue May  5 20:56:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9077.  
  9078.     * alloc.c: #include <syssignal.h>, for the sake of the
  9079.     bug-catching code in Fmake_marker.
  9080.     ymakefile: Add dependency.
  9081.  
  9082.     * syssignal.h [not POSIX_SIGNALS] (SIGFULLMASK): New definition,
  9083.     for symmetry with the "defined (POSIX_SIGNALS)" case.
  9084.  
  9085.     * callproc.c (child_setup): Since we always get the environment
  9086.     from Vprocess_environment, don't bother to take the environment
  9087.     the subprocess should inherit as an argument anymore.
  9088.     * process.c (create_process): Don't pass environment as a
  9089.     variable.  Just preserve it across call to fork.
  9090.  
  9091. Mon May  4 17:02:30 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9092.  
  9093.     * floatfns.c: #include <syssignal.h>.
  9094.     (float_error): Use SIGEMPTYMASK instead of zero.
  9095.     
  9096.     * syssignal.h [POSIX_SIGNALS] (sigmask): Defined to expand to a
  9097.     statement expression under GCC, or a function call otherwise.
  9098.     (sigpause, sigblock, sigunblock, sigsetmask): These are now
  9099.     K&R-compatible macros.
  9100.     * systerm.h [POSIX_SIGNALS] (sys_sigmask): Here is the function
  9101.     the POSIX version of sigmask calls when we're not compiling with
  9102.     GCC.
  9103.     * alloc.c (Fmake_marker): Undo changes of Apr 29.
  9104.     * callproc.c (Fcall_process): Same.
  9105.     * data.c (arith_error): Same.
  9106.     * floatfns.c (float_error): Same.
  9107.     * keyboard.c (gobble_input): Same.
  9108.  
  9109.     * sysdep.c (request_sigio, unrequest_sigio)
  9110.  
  9111. Wed Apr 29 11:05:42 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9112.  
  9113.     * x11term.h (CLASS): Change this from "emacs" to "Emacs"; class
  9114.     names should always start with an upper-case letter.
  9115.  
  9116.     * syssignal.h: Arranged cpp conditionals so that the specific
  9117.     cases come first, generic cases last.
  9118.  
  9119.     * syssignal.h (sigpause, sigblock, sigunblock, sigsetmask): Macros
  9120.     removed; they require GCC, and Emacs 19 should compile without GCC.
  9121.     (EMACS_SIGPAUSE, EMACS_SIGBLOCK, EMACS_SIGUNBLOCK,
  9122.     EMACS_SIGSETMASK, EMACS_SIGFREE, EMACS_SIGHOLDX, EMACS_SIGBLOCKX,
  9123.     EMACS_SIGUNBLOCKX, EMACS_SIGPAUSEX): These are new macros that
  9124.     don't require GCC, but expand to statements.
  9125.     * callproc.c (Fcall_process): Use new EMACS_SIG* macros from
  9126.     syssignal.h.
  9127.     * keyboard.c (gobble_input): Same.
  9128.     * sysdep.c (request_sigio, unrequest_sigio): Same.
  9129.     * x11term.h (BLOCK_INPUT, UNBLOCK_INPUT): Same.
  9130.     * alloc.c (Fmake_marker): Same.
  9131.     * data.c (arith_error): Same.
  9132.     * floatfns.c (float_error): Same.
  9133.  
  9134. Tue Apr 28 15:04:26 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9135.  
  9136.     * ymakefile: If we're using GCC version 2.0 or later, use "$(CC)
  9137.     -nostdlib" as the linker.  This will allow us to find libgcc.a
  9138.     even when GCC puts it in a really weird place.
  9139.     (YMF_PASS_LDFLAGS): New macro.
  9140.     (temacs): Use it.
  9141.  
  9142.     * s/hpux.h: Doc fix.
  9143.  
  9144.     * filelock.c (egetenv): Declare this.
  9145.     (lock_path, SUPERLOCK_NAME, superlock_path): New variables and
  9146.     macros.
  9147.     (MAKE_LOCK_PATH, lock_file, unlock_file, lock_superlock): Use the
  9148.     variables lock_path and superlock_path instead of the PATH_LOCK
  9149.     and PATH_SUPERLOCK macros.
  9150.     (init_filelock): New function.
  9151.     * emacs.c (main): Call the init_filelock function.
  9152.     * paths.h.in (PATH_SUPERLOCK): Removed.  This is now calculated
  9153.     from PATH_LOCK or from the EMACSLOCKDIR environment variable.
  9154.  
  9155.     * filelock.c (MAKE_LOCK_PATH): New macro.
  9156.     (lock_file, unlock_file, Ffile_locked_p): Use it.
  9157.  
  9158.     * syntax.c (Fmodify_syntax_entry): Note that '-' is a synonym for
  9159.     ' ' (both denote whitespace), that '\\' denotes the escape class,
  9160.     and that '/' denotes the character-quote class.  The description
  9161.     used to claim that '\\' denoted the character-quote class, and
  9162.     neglected to mention '-' and '/'.
  9163.  
  9164.     * filelock.c (lock_file): Doc fix.
  9165.  
  9166. Mon Apr 27 13:28:57 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9167.  
  9168.     * callproc.c (init_callproc): Get the default Vexec_path from the
  9169.     environment variable "EMACSPATH"; get Vdata_directory from
  9170.     "EMACSDATA".
  9171.  
  9172.     * ymakefile: Fix #endif and #else comments.
  9173.  
  9174. Mon Apr 27 13:28:57 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  9175.  
  9176.     * ymakefile (xemacs): Link xemacs to temacs if HAVE_SHM.
  9177.  
  9178.     * ymakefile (paths.h, config.h): Never copy, always fail.
  9179.  
  9180.     * process.c (wait_reading_process_input): Redisplay if screen_garbaged.
  9181.     Call do_pending_window_change first.
  9182.     Include dispextern.h.
  9183.     * ymakefile (process.o): Added dependency.
  9184.  
  9185.     * ymakefile (OLDXMENU_OPTIONS): New macro, used compiling oldxmenu.
  9186.  
  9187. Sat Apr 25 16:10:00 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9188.  
  9189.     * ymakefile: Changed all references to LD_CMD to LINKER, for
  9190.     compatibility with the 18.58 configuration files.
  9191.     * s/aix3-1.h, s/sunos4shr.h: Same here.
  9192.  
  9193.     * ymakefile: Doc fixes.
  9194.  
  9195.     * ymakefile (CC, MAKE): Set these variables from optional macros.
  9196.     Change all uses of `make' to ${MAKE}.
  9197.  
  9198.     * ymakefile: use HAVE_X11 as alias for X11.
  9199.  
  9200.     * ymakefile (LIB_GCC, GNULIB_VAR): Handle GCC 2.
  9201.  
  9202.     * process.c (allocate_pty): Re-arranged conditionals to put the
  9203.     system-specific-case first, and the generic case in the #else
  9204.     section, for consistency with the rest of Emacs.
  9205.  
  9206.     * process.c (allocate_pty): Wait until we fail to open three ptys
  9207.     in a row before concluding that we've reached the end of the ptys.
  9208.  
  9209. Wed Apr 22 13:40:03 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9210.  
  9211.     * ralloc.c: #include "getpagesize.h".
  9212.  
  9213.     * search.c (Flooking_at): Use search_regs.num_regs instead of
  9214.     RE_NREGS.  As of regex version 0.4, the compiler allocates the
  9215.     registers, and may allocate more than RE_NREGS.
  9216.     (search_buffer): Same.
  9217.     (Freplace_match): Use search_regs.num_regs to tell how many
  9218.     registers are valid.  Also note that if none are valid, no search
  9219.     has been performed.
  9220.     (match_limit): Same.
  9221.     (Fmatch_data): Same.
  9222.     (Fstore_match_data): If we're trying to store more registers than
  9223.     search_regs has allocated, re-allocate them to make room.
  9224.  
  9225. Tue Apr 21 18:05:52 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9226.  
  9227.  
  9228.     * callproc.c (egetenv): Declare the type of VAR.
  9229.  
  9230.     * lisp.h: Don't undefine NULL.  There is no longer any conflict.
  9231.  
  9232.     * lisp.h (NUMBERP): New macro.
  9233.     * editfns.c (Fformat): Protect the sections that deal with
  9234.     Lisp_Float objects with a "#ifdef LISP_FLOAT_TYPE".
  9235.     * bytecode.c (Fbyte_code): Use the NUMBERP macro instead of
  9236.     explicitly checking for the Lisp_Float tag.
  9237.     * callint.c (Fcall_interactively): Same here.
  9238.  
  9239.     * xrdb.c (magic_searchpath_decoder): Re-allocate string as needed,
  9240.     rather than making it a fixed-size array.
  9241.  
  9242.     * xfns.c (Fx_rebind_key): Don't declare modifier_list to be a
  9243.     register variable.  It's too big, and we need the address of its
  9244.     first element when we pass it to XRebindKeysym anyway.
  9245.  
  9246.     * fileio.c (Fdo_auto_save): Doc fix.
  9247.  
  9248. Mon Apr 20 11:24:22 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9249.  
  9250.     * search.c (search_buffer): Cast RE_EXACTN_VALUE to char, because
  9251.     the regex-0.4 distribution says so.
  9252.  
  9253.     * ymakefile (dired.o): This depends on regex.h.
  9254.  
  9255.     * process.c (wait_reading_process_input): There is code here which
  9256.     sends SIGIO to Emacs if we thought we had input available but
  9257.     didn't get SIGIO.  If the system doesn't have SIGIO, then
  9258.     #ifdef it out.
  9259.  
  9260.     * print.c (Fexternal_debugging_output): Arguments were declared
  9261.     ANSI-style - rewritten in K&R 1 fashion.
  9262.  
  9263.     * floatfns.c (IN_FLOAT): Cast the zero in the `else' clause of the
  9264.     conditional expression to SIGTYPE, to match the type of the
  9265.     float_error call in the `then' clause.
  9266.  
  9267.     * s/hpux8: #define HPUX8; this is supposed to be customary
  9268.     procedure, and fileio.c was expecting it, but somehow it didn't
  9269.     get defined.
  9270.  
  9271.     * sysdep.h: Move inclusions of [AIX] <sys/hft.h>,
  9272.     <sys/devinfo.h>, <sys/pty.h>, <unistd.h> [NEED_BSDTTY]
  9273.     <sys/bsdtty.h>, [HPUX and HAVE_PTYS] <sys/ptyio.h>, [SYSV_PTYS]
  9274.     <sys/tty.h>, <sys/pty.h>, and [pfa] <sys/file.h> to systerm.h;
  9275.     also move undefinition of LLITOUT under BSD4_1 to systerm.h.
  9276.     * systerm.h: They're here.
  9277.  
  9278.     * xterm.c (XTcursor_to, XTclear_end_of_line): Declare to return
  9279.     int in the function definitions as well as their declarations.
  9280.  
  9281. Sun Apr 19 00:46:41 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9282.  
  9283.     * fileio.c (directory_file_name): When checking if the string ends
  9284.     with '/', check that slen is a valid length *before* examining
  9285.     dst[slen-1], not after.
  9286.  
  9287. Sat Apr 18 16:23:17 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9288.  
  9289.     * xterm.c (x_death_handler): New function.
  9290.     (x_error_handler): Call x_death_handler to shut down Emacs.
  9291.     (x_term_init): Use x_death_handler to handle SIGPIPE, instead of
  9292.     x_error_handler, which expects to be passed a display and an
  9293.     event.
  9294.     * process.c (send_process): This used to set a handler to
  9295.     catch SIGPIPEs when writing to a subprocess, and then set the
  9296.     handler to SIGDFL after writing, but this would stomp on the
  9297.     SIGPIPE handler for for the X connection.  So restore the prevous
  9298.     handler instead of changing to SIGDFL.
  9299.  
  9300. Sat Apr 18 11:59:13 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9301.  
  9302.     * indent.c (compute_motion): Fix skipping invis lines and
  9303.     truncation at right margin.
  9304.  
  9305. Fri Apr 17 02:22:28 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9306.  
  9307.     * s/hpux.h (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Use pty_name,
  9308.     not ptyname. 
  9309.     * s/rtu.h: Same.
  9310.  
  9311.     * process.c (pty_process): Add 'int' to the declaration 'static
  9312.     pty_processes;'.  This makes it a happy declaration even when
  9313.     static has been #defined as the empty string.
  9314.     * xterm.c (XTcursor_to, XTclear_end_of_line): Same.
  9315.  
  9316.     * unexec.c (sbrk): Declare this to return void * if __STDC__ is
  9317.     defined, or char * otherwise.
  9318.  
  9319.     * lread.c init_lread): Re-cleaned logic.  To determine whether the
  9320.     load path was changed before dumping, cons up a dump path and
  9321.     compare it.  This method is more localized and accurate.
  9322.     (initial_path): Variable removed.
  9323.     (syms_of_lread): Don't staticpro.
  9324.  
  9325.     * floatfns.c (float_error): Declare and define this to return
  9326.     SIGTYPE.
  9327.  
  9328.     * systime.h [HAVE_TIMEVAL] (EMACS_GET_TIME): Declare dummy to be a
  9329.     real struct timezone, instead of an EMACS_TIME.  Since
  9330.     HAVE_TIMEVAL is defined, struct timezone ought to be declared, so
  9331.     there's no harm in passing the genuine article.
  9332.  
  9333.     * sysdep.c [USG] (rename): Place under the protection of a new
  9334.     preprocessor symbol, HAVE_RENAME.
  9335.     * s/hpux.h (HAVE_RENAME): Defined.
  9336.  
  9337.     * sysdep.c [USG] (setpriority): Declare to return int, not void.
  9338.  
  9339.     * s/template.h: Add template section for HAVE_TERMIOS.
  9340.  
  9341.     * term.c (cursor_to, raw_cursor_to, fatal): Do declare the types
  9342.     of the arguments.
  9343.  
  9344. Wed Apr 15 01:33:08 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9345.  
  9346.     * callint.c (Fcall_interactively): When the interactive spec is
  9347.     a string, it may be relocated while reading the arguments.  To
  9348.     avoid this, make a copy of the spec to refer to, instead of
  9349.     using a pointer to the data of the spec string.
  9350.  
  9351.     * callint.c (Fcall_interactively): When following the function
  9352.     chain of a symbol, check for quits.
  9353.  
  9354. Mon Apr 13 14:48:13 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9355.  
  9356.     * lread.c (init_lread): Make the load path default to
  9357.     PATH_LOADSEARCH when we're not dumping (null purify-flag), and
  9358.     PATH_DUMPLOADSEARCH when we are (not (null (purify-flag))).
  9359.     Change from April 7th incorrectly always used PATH_DUMPLOADSEARCH.
  9360.  
  9361.     * lread.c (init_lread): Cleaned up logic; to determine whether the
  9362.     load path was changed before dumping, remember the initial value
  9363.     and compare against it.
  9364.     (initial_path): New variable to support this.
  9365.     (syms_of_lread): staticpro initial_path.
  9366.  
  9367.     * ymakefile: Renamed filenames like "*-dist" to "*.in".
  9368.  
  9369.     * config.h.in: Doc fixes.
  9370.  
  9371. Sat Apr 11 15:54:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9372.  
  9373.     * config.h-dist: Renamed to config.h.in, for consistency with
  9374.     the installation conventions of other GNU programs.
  9375.     * paths.h-dist: Renamed to paths.h.in.
  9376.  
  9377. Sat Apr 11 00:01:36 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  9378.  
  9379.     * termcap.c: Declare getenv.
  9380.  
  9381. Wed Apr  8 00:57:47 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9382.  
  9383.     * Makefile: Renamed to Makefile.in; the configure script will edit
  9384.     this to produce Makefile.
  9385.  
  9386. Tue Apr  7 23:22:59 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9387.  
  9388.     * paths.h-dist (PATH_DUMPLOADSEARCH): New macro.
  9389.     * lread.c (init_lread): If we're building an Emacs to be dumped,
  9390.     use PATH_DUMPLOADSEARCH as the default load path, so we can
  9391.     correctly find our lisp files.
  9392.  
  9393.     * config.h-dist, paths.h-dist: Added "-*- C -*-" to top lines, so
  9394.     Emacs will know that these are really C source.
  9395.  
  9396. Fri Apr  3 22:33:21 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9397.  
  9398.     * search.c (syms_of_search): When allocating memory
  9399.     searchbuf.buffer, cast the return value of malloc to unsigned char
  9400.     *, not char *; this changed in the most recent version of the
  9401.     regex code.
  9402.  
  9403. Tue Mar 31 10:33:58 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9404.  
  9405.     * doc.c (Fdocumentation): Don't forget to end each line of the
  9406.     docstring with "\n\".
  9407.  
  9408.     * process.c (Fprocess_connection): Change "#ifdef 0" around this
  9409.     function to "#if 0".
  9410.  
  9411.     * eval.c (Flet, FletX): Signal an error if one of the let's binding
  9412.     clauses has more than one value form, as in (let ((a 1 2)) a).
  9413.  
  9414.     * eval.c (Ffuncall): Re-install change of March 10; I don't know
  9415.     why it went away.
  9416.  
  9417.     * search.c (compile_pattern): Declare the variable which holds the
  9418.     return value of re_compile_pattern to be const, if this is ANSI C.
  9419.  
  9420.     * alloc.c (xrealloc): Change "ese" to "else".
  9421.  
  9422.     * crt0.c (start1) [sun_soft]: Change 'jst' to 'jsr'.  The Sun
  9423.     assembly language manual doesn't list any 'jst' instruction, I
  9424.     don't know of one personally, and all the analogous code
  9425.     around it uses 'jsr'.
  9426.  
  9427.     * crt0.c [m68k]: Merged with GNU C Library's version: added
  9428.     conditionals for sun_68881, sun_fpa, sun_soft.
  9429.  
  9430.     * config.h-dist: Adjusted for renaming of share-lib to etc.
  9431.     * lread.c (read1): Same.
  9432.     * doc.c (Fdocumentation_property, Fsnarf_documentation): Same.
  9433.     * ymakefile: Same.
  9434.  
  9435. Mon Mar 30 23:03:49 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9436.  
  9437.     * crt0.c: Merged changes from 18.58:
  9438.     [hp9000s300]: Set flag_fpa.  Define float_loc.
  9439.     [new hp assembler]: Double flag_fpa and flag_68881 if %d2!=0.
  9440.     (start1): Declare to be static at the top of the file.
  9441.     (_start): Removed static declaration in this function; since
  9442.     everyone wants it, we'll just put it here.
  9443.  
  9444. Fri Mar 20 15:42:38 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9445.  
  9446.     * fileio.c (Finsert_file_contents): Allow quitting from I/O.
  9447.     (Fcopy_file): Likewise.
  9448.  
  9449. Fri Mar 20 00:59:06 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9450.  
  9451.     * m-intel386.h (HAVE_ALLOCA): Inhibit if C_ALLOCA.
  9452.     (LIB_STANDARD): Alternate USG value if __GNUC__ or C_ALLOCA
  9453.  
  9454.     * alloc.c (xrealloc): If handed a NULL pointer for the block to
  9455.     resize, malloc a new block and return that.  Not all reallocs do
  9456.     this.
  9457.  
  9458.     * m/elxsi.h: Doc fix.
  9459.  
  9460. Wed Mar 18 13:59:51 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9461.  
  9462.     * dispnew.c (Fsleep_for): Call wait_reading_process_input, whether
  9463.     or not we have process support; let the emulator do the work.
  9464.     * emacs.c (fatal_error_signal, Fkill_emacs): Call
  9465.     kill_buffer_processes even when subprocesses is not #defined; we
  9466.     have a stub.
  9467.  
  9468.     * process.c [not defined (subprocesses)] (Fget_buffer_process,
  9469.     init_process, syms_of_process): New stub versions of these functions.
  9470.     * emacs.c (main): Call init_process and syms_of_process whether or
  9471.     not subprocesses is #defined.
  9472.     * xdisp.c (decode_mode_spec): Call Fget_buffer_process whether or
  9473.     not subprocesses is #defined.
  9474.  
  9475. Tue Mar 17 16:31:12 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9476.  
  9477.     * keyboard.c (kbd_buffer_get_event): Call
  9478.     wait_reading_process_input, even when subprocesses is not
  9479.     #defined, instead of doing a whole lot of hairy SIGIO-pausing
  9480.     stuff.
  9481.     * dispnew.c (Fsit_for): Call wait_reading_process_input, whether
  9482.     or not subprocesses is #defined.
  9483.  
  9484.     * process.c (wait_reading_process_input): Since we're no longer
  9485.     checking for exceptional conditions in the call to select, all of
  9486.     the different ways to call select for different systems have
  9487.     become the same; remove the #if conditionals around this.
  9488.  
  9489.     * keyboard.c (read_char): When returning quit_char because we got
  9490.     an interrupt signal, claim that the character came from the
  9491.     currently selected screen.
  9492.  
  9493. Mon Mar 16 18:03:54 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9494.  
  9495.     * callproc.c (Fcall_process): Doc fix.
  9496.  
  9497.     * process.c [not defined (subprocesses)] (kill_buffer_processes):
  9498.     New dummy version of this function.
  9499.     * buffer.c (Fkill_buffer): Removed '#ifdef subprocesses'
  9500.     protection from the call to kill_buffer_processes; this is safe
  9501.     whether or not we actually have subprocesses.
  9502.  
  9503. Sat Mar 14 15:39:07 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9504.  
  9505.     * m/pfa50.h: New file.
  9506.     * process.c (create_process, process_send_signal): Added changes
  9507.     for m/pfa50.h.
  9508.     * sysdep.c: same.
  9509.     * unexec.c: same.
  9510.  
  9511. Sat Mar 14 14:25:03 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9512.  
  9513.     * callproc.c (child_setup): Always put the child in its own
  9514.     process group.
  9515.  
  9516. Fri Mar 13 11:17:33 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9517.  
  9518.     * mem_limits.h (POINTER): Doc fix.
  9519.  
  9520.     * ralloc.c: Don't #include lisp.h and xterm.h; we no longer need
  9521.     to block input in critical sections.
  9522.     (r_alloc, r_alloc_free, r_re_alloc): Don't use BLOCK_INPUT and
  9523.     UNBLOCK_INPUT; these are no longer needed.
  9524.     (struct bp): Doc fix.
  9525.  
  9526. Wed Mar 11 03:07:16 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9527.  
  9528.     * ralloc.c (obtain): When deciding how many pages to request, take
  9529.     into account the amount of spare bytes at the end of the current
  9530.     page; let get be ROUNDUP (size - already_available), instead of
  9531.     ROUNDUP (size).
  9532.     (relinquish): Re-organized for clarity.
  9533.  
  9534.     * editfns.c (Fcurrent_time): Updated to return the current time's
  9535.     seconds split into two 16-bit integers (similar to the system used
  9536.     by file-attributes), and the milliseconds.
  9537.  
  9538. Tue Mar 10 18:12:18 1992  Jim Blandy  (jimb@pogo.cs.oberlin.edu)
  9539.  
  9540.     * process.c (Faccept_process_output): Add new optional argument
  9541.     TIMEOUT-MSECS, and return non-nil iff we actually got some input
  9542.     from the process(es).
  9543.     (wait_reading_process_input): Make return value indicate whether
  9544.     we got some input from the specified process, when read_kbd is a
  9545.     process, or from any process when read_kbd isn't particular.
  9546.  
  9547.     * indent.c (Fmove_to_column): Pass the correct number of arguments
  9548.     to Findent_to.
  9549.  
  9550.     * eval.c (Ffuncall): If a subr is asking for too many arguments,
  9551.     abort instead of printing an error message; this is an internal
  9552.     flaw in Emacs, and the subr cannot be called.
  9553.  
  9554. Fri Mar  6 19:46:24 1992  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  9555.  
  9556.     * doc.c (Fdocumentation, Fdocumentation_property): Take optional
  9557.     new arg to not pass results thru substitute-command-keys.
  9558.  
  9559. Thu Mar  5 12:01:57 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9560.  
  9561.     * unexmips.c (unexec): When setting up the data_section header,
  9562.     calculate the size of the section as "brk - data_start," not "brk
  9563.     - DATA_START".
  9564.  
  9565. Sun Feb 23 00:34:42 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9566.  
  9567.     * fileio.c: #include "systime.h".
  9568.     (Fcopy_file): Use the systime.h macros to copy the time to the new
  9569.     file.
  9570.     * ymakefile: Note that fileio.o depends on systime.h.
  9571.  
  9572.     * ymakefile (dispnew.o): Note that this depends on systerm.h and
  9573.     systime.h.
  9574.     (editfns.o, xterm.o, sysdep.o): Note that this depends on
  9575.     systime.h.
  9576.     (emacs.o, keyboard.o, process.o, sysdep.o): Note that these depend
  9577.     on systerm.h.
  9578.  
  9579.     * systerm.h: Expanded to handle getting and setting terminal
  9580.     parameters:
  9581.     (struct emacs_tty): New structure, which consolidates all of the
  9582.     old tty parameter structures.
  9583.     (EMACS_GET_TTY, EMACS_SET_TTY, EMACS_TTY_TABS_OK): New macros.
  9584.     * sysdep.c (TABS_OK): Definitions of this macro removed;
  9585.     EMACS_TTY_TABS_OK replaces it.
  9586.     (TERMINAL): Definitions removed; now we use struct emacs_tty.
  9587.     [VMS] (input_chan): Renamed to...
  9588.     (input_fd): and defined even when VMS isn't; in that case, we
  9589.     leave it initialized to zero, which is the input tty.  This allows
  9590.     us to use the EMACS_GET_TTY and EMACS_SET_TTY for both VMS and
  9591.     Unix.
  9592.     (discard_tty_input): Use struct emacs_tty and its macros instead
  9593.     of TERMINAL.  Replace some of conditional with a call to
  9594.     EMACS_GET_TTY.
  9595.     (child_setup_tty): Use struct emacs_tty and its macros instead of
  9596.     TERMINAL and conditionals.
  9597.     (old_gtty, old_ltchars, old_tchars, old_lmode): Replaced by...
  9598.     (old_tty): New variable.
  9599.     (lmode): Made conditional on BSD4_1, since it's only used by the
  9600.     BSD4_1 support code now.
  9601.     (init_sys_modes): Define tty to be a struct emacs_tty, not a
  9602.     TERMINAL.  Use macros to get and set parameters for VMS and
  9603.     Unices. Set lmode, tchars, and ltchars along with the rest of the
  9604.     tty state.
  9605.     (tabs_safe_p): Use EMACS_GET_TTY and EMACS_TTY_TABS_OK instead of
  9606.     conditionals.
  9607.     (reset_sys_modes): Use EMACS_SET_TTY to restore the settings from
  9608.     old_tty, instead of using hairy conditionals.
  9609.  
  9610.     * sysdep.c (get_screen_size): Neatened; now each system of
  9611.     reporting the screen size is separated from the rest.
  9612.     
  9613.     * systerm.h (EMACS_HAVE_TTY_PGRP, EMACS_GET_TTY_PGRP,
  9614.     EMACS_GET_TTY_PGRP): New macros to handle setting a tty's current
  9615.     process group.
  9616.     * sysdep.c (setpgrp_of_tty): Use the above, instead of
  9617.     conditionals.
  9618.  
  9619.     * sysdep.c: #include "systerm.h".
  9620.     #ifs that choose #include files moved from here...
  9621.     * systerm.h: to here.
  9622.  
  9623.     * sysdep.c [APOLLO]: We now undefine TIOCSTART not here but...
  9624.     * systerm.h: here.
  9625.  
  9626.     * sysdep.c [BROKEN_TIOCGETC]: We now undefine TIOCGETC not here but...
  9627.     * systerm.h: here.
  9628.  
  9629.     * sysdep.c [BROKEN_FIONREAD]: We now undefine FIONREAD and FASYNC
  9630.     not here but...
  9631.     * systerm.h: here.
  9632.  
  9633.     * process.c (process_send_signal): Steal 18.58's version of this,
  9634.     but incorporate the support for VMS signals.
  9635.         
  9636.     * syssignal.h (EMACS_KILLPG): New macro.
  9637.     * process.c (process_send_signal): Use it.
  9638.     * sysdep.c (sys_suspend): Use it.
  9639.  
  9640.     * syssignal.h (SIGCHLD): If we have SIGCLD and not SIGCHLD, define
  9641.     SIGCHLD as an alias for SIGCLD.
  9642.     * sysdep.c: Remove code for above.
  9643.  
  9644.     * sysdep.c (init_baud_rate): Rather than trying to maintain the
  9645.     illusion of an abstraction with the OSPEED and SETOSPEED macros,
  9646.     just use conditionalized code for each terminal kind.  This is the
  9647.     only place we ever need this functionality.
  9648.     (OSPEED, SETOSPEED): Definitions removed.
  9649.  
  9650. Sat Feb 22 15:40:12 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9651.  
  9652.     * sysdep.c: Moved definition of sigunblock macro to ...
  9653.     * syssignal.h: Here.
  9654.  
  9655.     * hftctl.c: #include <sys/uio.h> before #including <sys/tty.h>.
  9656.     (hfqry, hfskbd): Declare these functions as static before all uses.
  9657.     * unexaix.c (make_hdr, mark_x, copy_text_and_data, copy_sym):
  9658.     Declare as static before all uses.
  9659.     Remove extraneous semicolons from #ifdefs of COFF and XCOFF
  9660.     (unrelocate_symbols): cast the initializers of t_start and d_start
  9661.     to ulong.
  9662.  
  9663.     * s/template.h: Include a clause for the HAVE_TERMIO flag.
  9664.  
  9665. Fri Feb 21 00:23:28 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9666.  
  9667.     * keyboard.c (read_char): Don't clear Vquit_flag when we catch an
  9668.     interrupt and return a quit_char; this change (Mar 21 1991) is too
  9669.     large a change in functionality for the cleanliness it gains.
  9670.  
  9671.     * pwd.h: Renamed to vms-pwd.h, so that we don't get it by accident
  9672.     when we #include <pwd.h> with the `-I.' flag given to the
  9673.     compiler.
  9674.     * editfns.c [VMS]: Changed to include vms-pwd.h instead of pwd.h.
  9675.     * fileio.c [VMS]: Same.
  9676.     * filelock.c [VMS]: Same.
  9677.     * sysdep.c [VMS]: Same.
  9678.  
  9679.     * xrdb.c: Changed to #include "vms-pwd.h" if VMS is defined,
  9680.     instead of including <pwd.h> unconditionally.
  9681.  
  9682.     * window.c (Fset_window_display_table): Rearranged to make etags
  9683.     happy.
  9684.  
  9685.     * xterm.c (XTread_socket): Clear the meta flag from the keypress
  9686.     event before handing it to XLookupString.
  9687.  
  9688. Thu Feb 20 23:05:03 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9689.  
  9690.     * sysdep.c: No need to test #ifdef TIOCGETP before #undefing it.
  9691.  
  9692. Wed Feb 19 10:05:37 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9693.  
  9694.     * systime.h: New file.
  9695.     * dispnew.c: #include "systime.h" to get <time.h> or <sys/time.h>,
  9696.     whichever is appropriate, instead of using a conditional.
  9697.     (Fsleep_for, Fsit_for, Fsleep_for_millisecs): Use the systime.h
  9698.     macros instead of HAVE_TIMEVAL conditionals.
  9699.     * editfns.c: #include "systime.h" to get <time.h> or <sys/time.h>,
  9700.     whichever is appropriate, instead of using a conditional.
  9701.     * fileio.c: Same.
  9702.     * process.c: Same.
  9703.     * xterm.c: Same.
  9704.     (wait_reading_process_input): Use the systime.h macros.
  9705.     * sysdep.c: #include "systime.h" to get <time.h> or <sys/time.h>,
  9706.     whichever is appropriate, instead of using a conditional.
  9707.  
  9708.     * m/template.h: Add description of NO_SOCK_SIGIO.
  9709.  
  9710.     * sysdep.c (reset_sys_modes): Doc fix.
  9711.  
  9712.     * keyboard.c (sigfree, sigholdx, sigblockx, sigunblockx,
  9713.     sigpausex): Definitions moved to syssignal.h.
  9714.  
  9715.     * dispnew.c: Doc fix.
  9716.  
  9717.     * systerm.h: New file, to consolidate the system-dependent
  9718.     terminal-handling trash.
  9719.     * emacs.c: #include systerm.h.
  9720.     (main): Use systerm.h macros instead of conditionals.
  9721.     * dispnew.c: #include systerm.h.
  9722.     (update_screen): Use EMACS_OUTQSIZE instead of the direct ioctl.
  9723.     * keyboard.c: #include systerm.h to get the proper FIONREAD header
  9724.     files, instead of using conditional.
  9725.  
  9726.     * syssignal.h: Added copyright notice.
  9727.  
  9728.     * emacssignal.h: Renamed to syssignal.h, to be like sysdep.c.
  9729.     * data.c, keyboard.c, process.c, sysdep.c, ymakefile: Changed
  9730.     #include directives.
  9731.  
  9732. Sat Feb 15 16:44:53 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9733.  
  9734.     * m/intel386.h: Don't bother casting the argument to the signal
  9735.     function; the SIGTYPE code in config.emacs ought to take care of
  9736.     this.
  9737.  
  9738.     * buffer.c (record_buffer): Doc fix.
  9739.  
  9740. Thu Feb 13 20:57:43 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9741.  
  9742.     * s/iris3-6.h: #define HAVE_GETWD.
  9743.  
  9744. Tue Feb 11 14:59:57 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9745.  
  9746.     * window.c (Fwindow_at): Accept position as two arguments, not a
  9747.     cons of numbers.
  9748.  
  9749.     * window.c (scroll_command): Undo the Jan 31 change; do set the
  9750.     current buffer to the selected window's buffer.  A simple
  9751.     set-buffer will make these two different.
  9752.  
  9753. Mon Feb 10 01:55:45 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9754.  
  9755.     * callproc.c (Fcall_process): Clear synch_process_death and
  9756.     synch_process_retcode to zero before forking the process.
  9757.  
  9758.     * process.c (synch_process_death, synch_process_retcode): Don't
  9759.     declare them extern here.
  9760.     * process.h (synch_process_death, synch_process_retcode): Declare
  9761.     them extern here, along with synch_process_alive.
  9762.  
  9763.     * s/hpux.h: Define CLASH_DETECTION.
  9764.  
  9765.     * window.c (init_window_once): Don't pass any arguments to
  9766.     make_window.
  9767.  
  9768.     * keyboard.c (command_loop_1): Move the label directly_done out of
  9769.     the else block to just after the else block.  This shouldn't
  9770.     change the semantics of the code, but appears to avoid a compiler
  9771.     bug on SCO Unix V.3.2v2.
  9772.  
  9773.     * fileio.c (Fset_umask, Fumask): New functions.
  9774.     (syms_of_fileio): defsubr them.
  9775.  
  9776.     * undo.c (Fprimitive_undo): When undoing a deletion with the point
  9777.     before the deleted text, use Finsert_before_markers so that the
  9778.     mark will end up on the other side of the text, if it's in the
  9779.     area at all.
  9780.  
  9781.     * xdisp.c (redisplay): Properly compute TAB_OFFSET for compute_motion.
  9782.  
  9783.     * keyboard.c (command_loop_1): Don't check whether cursor is at
  9784.     edge of screen here.
  9785.     * dispnew.c (direct_output_forward_char): Check here, and return
  9786.     zero if it can't be done.  And compare the cursor position to the
  9787.     window boundaries, not the screen boundaries.
  9788.  
  9789. Wed Feb  5 15:34:14 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9790.  
  9791.     * screen.c (Fscreen_parameters): If the screen has a minibuffer
  9792.     window on another screen, return the window, instead of nil.
  9793.     (store_screen_param): If the value of the minibuffer parameter is
  9794.     a window, try to make it the surrogate minibuffer window.
  9795.     (Qminibuffer): New variable, to support above change.
  9796.     (syms_of_screen): initialize and staticpro it.
  9797.  
  9798.     * m/tad68k.h: New file.
  9799.  
  9800.     * fileio.c (Ffile_accessible_directory_p): New function.
  9801.     (syms_of_fileio): defsubr it.
  9802.     * callproc.c: #include <errno.h>.
  9803.     (child_setup):  Accept yet another argument, current_dir.
  9804.     Don't try to report an error here if current_dir is inaccessible;
  9805.     this function is called in a vforking process.  Just have the
  9806.     process exit with an error code.
  9807.     (Fcall_process): Make sure that the current directory is okay
  9808.     here, before we fork.  Pass the current_dir argument.
  9809.     * process.c (create_process): Same here.
  9810.  
  9811.     * callproc.c (Fcall_process): Don't assign into args[1] when nargs
  9812.     < 2.  Instead, use a new variable called infile.  Re-arranged
  9813.     logic which processes the BUFFER argument.
  9814.  
  9815. Mon Feb  3 20:09:39 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9816.  
  9817.     * fileio.c (Fexpand_file_name): Doc fix.
  9818.  
  9819.     * scroll.c (line_ins_del): Since we're calculating the array from
  9820.     end to beginning, make the indices go that way, and thus clearly
  9821.     get the right boundary.  This used to ignore the [0] element, and
  9822.     write in the [screen_height] element, which doesn't exist.
  9823.  
  9824. Mon Feb  3 16:41:45 1992  Richard Stallman  (rms at mole.ai.mit.edu)
  9825.  
  9826.     * xdisp.c (redisplay, try_window_id): Special case for change
  9827.     at beginning of line, if using selective display.
  9828.  
  9829. Fri Jan 31 14:36:47 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9830.  
  9831.     * m/delta88k.h: Added USUAL-OPSYS information, for the
  9832.     config.emacs script to use.
  9833.  
  9834.     * window.c (scroll_command): Don't bother setting the current
  9835.     buffer to the selected window's buffer; this should always already
  9836.     be the case.  Add check just in case.
  9837.  
  9838.     * indent.c (compute_motion): Don't pack vpos and hpos into one int;
  9839.     use separate variables hpos/vpos and prev_hpos/prev_vpos.
  9840.     (vmotion): Use largest int as tovpos arg to compute_motion.
  9841.  
  9842. Thu Jan 30 11:45:20 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9843.  
  9844.     * window.c: #include "keyboard.h" to get the Qmode_line and
  9845.     Qvertical_split declarations.
  9846.     * ymakefile (window.o): Note that this depends on keyboard.h.
  9847.  
  9848.     * callproc.c (getenv_internal): Cast the pointer to the variable's
  9849.     value to a char *; elisp strings are unsigned char *'s.  And
  9850.     valuelen is an int *, not an int **.
  9851.  
  9852.     * scroll.c (do_scrolling): Document meaning of enable flag in
  9853.     temp_screen.
  9854.  
  9855. Thu Jan 30 01:44:47 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9856.  
  9857.         * m-orion105.h (C_DEBUG_SWITCH, LIBS_DEBUG): Defs deleted.
  9858.  
  9859. Wed Jan 29 14:37:42 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9860.  
  9861.     * m-iris4d.h (C_SWITCH_MACHINE): New definition.
  9862.  
  9863. Tue Jan 28 11:03:05 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9864.  
  9865.     * term.c: #include "keyboard.h", for Vfunction_key_map.
  9866.     * keyboard.h: Declare Vfunction_key_map.
  9867.  
  9868.     * keyboard.h: New file, for external declarations used in
  9869.     processing keyboard input and events.
  9870.     * lisp.h (Qmode_line, Qvertical_split, num_input_chars,
  9871.     poll_suppress_count): Extern declarations moved to keyboard.h.
  9872.     * keyboard.c: #include "keyboard.h".
  9873.     (Qvscrollbar_par, Qvslider_part, Qvthumbup_part,
  9874.     Qvthumbdown_part, Qhscrollbar_part, Qhslider_part,
  9875.     Qhthumbleft_part, Qhthumbright_part): Moved declarations here from
  9876.     xfns.c, so they're with the other event heading symbols.
  9877.     * eval.c: #include "keyboard.h".
  9878.     * ymakefile (callint.o, keyboard.o, keymap.o, xfns.o, eval.o):
  9879.     Note that these depend on keyboard.h.
  9880.  
  9881.     * xfns.c: The above symbols aren't here any more.  #include
  9882.     "keyboard.h" to get them.
  9883.     (syms_of_xfns): Don't initialize or staticpro them.
  9884.     * keyboard.h: Added extern declarations for the above.
  9885.     * callint.c: #include "keyboard.h".
  9886.  
  9887.     * xfns.c (Vmouse_screen_part): Variable removed, no longer used.
  9888.     (syms_of_xfns): Changed accordingly.
  9889.  
  9890.     * xterm.c (Qmouse_moved): Variable removed, no longer used.
  9891.     (Qmouse_click, Qscrollbar_click): Removed.  These are now event
  9892.     types, in keyboard.c and keyboard.h; they're no longer used in
  9893.     this way.
  9894.     (Vmouse_window, Vmouse_screen_part): Extern declarations removed.
  9895.     (XTread_socket): Don't assign to Vmouse_window or
  9896.     Vmouse_screen_part.
  9897.     (syms_of_xterm): Changed accordingly.
  9898.  
  9899.     * keyboard.h (EVENT_HAS_PARAMETERS, EVENT_HEAD, EVENT_WINDOW,
  9900.     EVENT_BUFFER_POSN, EVENT_SCROLLBAR_BUTTON, EVENT_WINDOW_POSN,
  9901.     EVENT_TIMESTAMP, EVENT_HEAD_UNMODIFIED, EVENT_HEAD_KIND): New
  9902.     macros to recognize and access events that have parameters, like
  9903.     mouse events.
  9904.     * keyboard.c (read_char, echo_char, Fmouse_click_p,
  9905.     read_key_sequence): Use them.
  9906.     * keymap.c: #include "keyboard.h".
  9907.     (access_keymap, store_in_keymap, Fsingle_key_description): Use the
  9908.     macros from keyboard.h.
  9909.  
  9910.     * keyboard.c (Qevent_kind): New symbol, naming the property of an event
  9911.     header where we put the event's type.
  9912.     (Qfunction_key, Qmouse_click, Qscrollbar_click): New symbols, used
  9913.     to tag different kinds of events.
  9914.     (Qevent_unmodified): New symbol, naming the property
  9915.     of an event header where we put an unmodified version of the event
  9916.     header.
  9917.     (modify_event_symbol): Take a new argument, SYMBOL_KIND, whose
  9918.     value should be put on the Qevent_kind property of each symbol we
  9919.     make.  Set the Qevent_unmodified property of each symbol we make.
  9920.     (make_lispy_event): Pass the appropriate SYMBOL_KIND argument to
  9921.     modify_event_symbol.
  9922.     (struct event_head, head_table): New tables, to simplify the
  9923.     initialization of some of the event heads.
  9924.     (syms_of_keyboard): Initialize and staticpro the symbols given in
  9925.     head_table, and put the Qevent_kind and Qevent_unmodified
  9926.     properties on them.  Initialize all of the new symbols listed
  9927.     above.
  9928.  
  9929.     * keyboard.c (lispy_function_keys, lispy_mouse_names): Renamed
  9930.     these from function_key_names and mouse_names, and moved them
  9931.     outside of make_lispy_event, since static doesn't work on all
  9932.     systems, and these can't be automatic.
  9933.  
  9934. Tue Jan 28 00:46:18 1992  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  9935.  
  9936.     * fileio.c (Fwrite_region): Remove Alliant conditional.
  9937.     * crt0.c: Conditionals for ALLIANT_2800.
  9938.     * m/alliant-2800.h: New file.
  9939.     * unexfx2800.c: New file.
  9940.  
  9941.     * m-mips4.h (C_DEBUG_SWITCH): Alternate defn for GCC.
  9942.  
  9943.     * sysdep.c [VMS] (sys_write): Special case for fixed-length
  9944.     with carriage-control characters.
  9945.  
  9946.     * s/isc2-2.h (NOMULTIPLEJOBS): Undef this.
  9947.     (LIB_STANDARD): Add -lPW.
  9948.     (LIBS_SYSTEM): Defined.
  9949.     * m/intel386.h (signal): Optionally don't define it.
  9950.  
  9951. Mon Jan 27 17:53:37 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9952.  
  9953.     * s/template.h: Document the SIGTYPE macro.
  9954.     * s/bsd4-3.h: Define the SIGTYPE macro.
  9955.  
  9956.     * data.c (Fsymbol_value): Extract all the innards of this function
  9957.     into find_symbol_value, except the code which signals an error.
  9958.     (find_symbol_value): New function.
  9959.     * lisp.h (find_symbol_value): Declare it.
  9960.     * keymap.c (current_minor_maps): Use it, instead of a call to
  9961.     Fboundp and Fsymbol_value per every minor map, for every key
  9962.     sequence read.
  9963.  
  9964.     * xterm.c (x_make_screen_visible): Don't raise the window.  This
  9965.     causes the window to pop to the front every time a message
  9966.     appears, which isn't desirable.
  9967.  
  9968.     * screen.c (Fselect_screen, Fdelete_screen, Fset_mouse_position,
  9969.     Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen,
  9970.     Fdeiconify_screen, Fscreen_parameters, Fmodify_screen_parameters,
  9971.     Fset_screen_height, Fset_screen_width, Fset_screen_size,
  9972.     Fset_screen_position): Use SCREEN_IS_X macro instead of testing
  9973.     for output_x_window.
  9974.     * xfns.c (adjust_scrollbars, Fx_store_cut_buffer): Same.
  9975.  
  9976. Sat Jan 25 16:37:19 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9977.  
  9978.     * term.c (term_get_fkeys): New function.
  9979.     (term_init): Call term_get_fkeys.
  9980.  
  9981. Tue Jan 21 10:41:53 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9982.  
  9983.     * editfns.c (Ffollchar, Fprevchar): Renamed to Ffollowing_char and
  9984.     Fprevious_char, for consistency.  Renamed Sfollchar and Sprevchar
  9985.     too.
  9986.     (syms_of_editfns): Fixed defsubrs.
  9987.     * lisp.h (Ffollchar, Fprevchar): Renamed extern declarations as above.
  9988.     
  9989.     * editfns.c (Ffollowing_char): Return 0 at the end of the buffer,
  9990.     as advertised.  Doc fix.
  9991.     (Fprevious_char): Doc fix.
  9992.  
  9993.     * config.h-dist: Rearranged to define user parameters before
  9994.     including the machine and opsystem files, so the files can have
  9995.     conditionals on the parameters.
  9996.  
  9997. Wed Jan 15 15:03:55 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  9998.  
  9999.     * keyboard.c (read_key_sequence): When expanding a function key
  10000.     recognized with Vfunction_key_map, don't scan the expansion for
  10001.     further function key sequences.
  10002.  
  10003.     * keyboard.c (Vfunction_key_map): Real declaration moved to
  10004.     keymap.c; this declaration made extern.
  10005.     (syms_of_keyboard): DEFVAR and initialization of Vfunction_key_map
  10006.     moved to keymap.c, since it should be initialized to a keymap, but
  10007.     we don't want to rely on Qkeymap being initialized now.
  10008.     * keymap.c (Vfunction_key_map): Variable moved here.
  10009.     (syms_of_keymap): DEFVAR and init here.
  10010.  
  10011.     * keymap.c (Fglobal_key_binding): Doc fix.
  10012.  
  10013. Thu Jan 16 01:47:48 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10014.  
  10015.     * m-delta88.h: New file.
  10016.  
  10017.     * window.c (window_scroll): New arg `noerror'.
  10018.     (scroll_command, Fscroll_other_window): Pass that arg.
  10019.  
  10020. Wed Jan 15 17:14:54 1992  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10021.  
  10022.     * process.c (sigchld_handler):
  10023.     Set synch_process_death and synch_process_retcode.
  10024.  
  10025. Tue Jan 14 00:51:08 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10026.  
  10027.     * config.h-dist (SIGTYPE): New macro to help give signal handlers
  10028.     the correct type.
  10029.     * s/usg5-3.h (SIGTYPE): Define this to be void.
  10030.     * dispnew.c (window_change_signal): Declare this to return
  10031.     SIGTYPE.
  10032.     * emacs.c (fatal_error_signal): Same.
  10033.     * data.c (arith_error): Same.
  10034.     * process.c (create_process_1, send_process_trap,
  10035.     create_process_sigchld, sigchld_handler): Same.
  10036.     (create_process): Declare sigchld according to SIGTYPE.  This
  10037.     means we don't have to cast the return value of signal.
  10038.     * keyboard.c (input_poll_signal, interrupt_signal): Declare these
  10039.     to return SIGTYPE.
  10040.     (kbd_buffer_store_event): Include a forward declaration for
  10041.     interrupt_signal here.
  10042.     * sysdep.c (struct save_signal): Say the handler returns SIGTYPE
  10043.     instead of int.
  10044.     (save_signal_handlers): So we don't have to cast the return value
  10045.     from signal here.
  10046.     (sys_suspend): Declare oldsig according to SIGTYPE.
  10047.     (select): Declare old_trap using SIGTYPE.
  10048.     (select_alarm, wait_for_termination_signal): Declare these to
  10049.     return SIGTYPE.
  10050.  
  10051.     * emacs.c: #include <termios.h>, if we have it.
  10052.     (fatal_error_signal): If we have termios, use tcgetpgrp to get the
  10053.     terminal's process group.
  10054.     * process.c: If we have termios, #include <termios.h> instead of
  10055.     <termio.h>.
  10056.     (process_send_signal): If we have termios, use tcgetpgrp to get
  10057.     the terminal's process group.  Have gid default to the child's
  10058.     pid, to simplify the logic below.
  10059.     * sysdep.c (flush_pending_output): If we are using termios, make
  10060.     this function a no-op; since we're not in the tty's pgroup, we
  10061.     would get a SIGTTIN.
  10062.  
  10063. Mon Jan 13 00:50:14 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10064.  
  10065.     * config.h-dist: Removed MAINTAIN_ENVIRONMENT clause.
  10066.     * callproc.c: Removed support for MAINTAIN_ENVIRONMENT.
  10067.     (init_callproc): Use getenv instead of egetenv to initialize
  10068.     Vshell_file_name.
  10069.     * emacs.c (decode_env_path): Use getenv instead of egetenv 
  10070.     * lisp.h: Removed support for MAINTAIN_ENVIRONMENT.
  10071.     * process.c: Same.
  10072.     * ymakefile: Same.
  10073.     * dispnew.c (init_display): Call getenv instead of egetenv.
  10074.  
  10075.     * editfns.c (Fgetenv): Function moved...
  10076.     * callproc.c (Fgetenv): To here, and made to scan
  10077.     Vprocess_environment instead of using the usual C getenv function.
  10078.     (getenv_internal): New function.
  10079.     (egetenv): New function.
  10080.     * lisp.h: Added extern declaration for egetenv.
  10081.     * editfns.c (syms_of_editfns): Adjusted.
  10082.     * callproc.c (syms_of_callproc): Adjusted.
  10083.  
  10084.     * window.h (minibuf_prompt_width): Declare this extern here, after
  10085.     minibuf_prompt.
  10086.     minibuf.c: Don't extern declare it here.
  10087.     indent.c: As above.
  10088.  
  10089.     * dispnew.c (buffer_posn_from_coords): If there is a prompt in the
  10090.     minibuffer, account for its width when computing the buffer
  10091.     position.
  10092.  
  10093.     * Makefile (doall): Explicitly export CC to the xmakefile.
  10094.  
  10095.     * ymakefile: Use /* */ around comments; # confuses cpp.
  10096.  
  10097.     * ymakefile: Note that ralloc.o depends on mem_limits.h, xterm.h,
  10098.     and config.h.
  10099.     Note that vm-limit.o depends on mem_limits.h.
  10100.  
  10101.     * lread.c (read_escape): Return \a as '\007', not '\a'; the latter
  10102.     isn't portable, and this routine would have to be revised anyway
  10103.     to deal with anything other than ASCII.
  10104.  
  10105.     * keymap.c (current_minor_maps): Rewritten not to use
  10106.     function-local static variables, to accomodate DGUX.
  10107.  
  10108.     * xterm.h (UNBLOCK_INPUT): Replace "abort ()" with "(abort (),
  10109.     0)", to avoid type conflicts on odd systems like Ultrix.
  10110.  
  10111.     * xrdb.c: Include <sys/types.h>, and declare getuid to return uid_t.
  10112.  
  10113.     * xdisp.c (redisplay_window): Use SET_PT macro instead of
  10114.     assigning to point.
  10115.     insdel.c (insert_from_string): Same.
  10116.  
  10117.     * xterm.c (XTcursor_to): Declare it static at the function
  10118.     definition, as well as at the top of the file.
  10119.     (dumpglyphs): Removed declarations for buf and cp; these variables
  10120.     are never used.
  10121.  
  10122.     * lisp.h (NULL): Renamed to NILP, so as not to conflict with
  10123.     <stdio.h>, and <stddef.h>.  All callers changed; all
  10124.     #undefinitions of NULL removed.
  10125.  
  10126. Sun Jan 12 23:01:02 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10127.  
  10128.     * xdisp.c (message): #ifdef NO_ARG_ARRAY, make a local block to
  10129.     declare the explicit argument array.
  10130.  
  10131.     * config.h-dist: Instead of reaching the machine- and
  10132.     system-dependent files through symlinks, replace the strings 
  10133.  
  10134. Thu Jan  9 22:50:20 1992  Jim Blandy  (jimb at pogo.cs.oberlin.edu)
  10135.  
  10136.     * keyboard.c (stuff_buffered_input): Don't forget to increment
  10137.     kbd_fetch_ptr while looping through kbd_buffer.
  10138.  
  10139. Wed Jan  8 15:13:56 1992  Jim Blandy  (jimb at occs.cs.oberlin.edu)
  10140.  
  10141.     * keyboard.c (read_avail_input): Don't forget to fill in the
  10142.     screen field in events read from the terminal.
  10143.     * sysdep.c (kbd_input_ast, read_input_waiting): Call
  10144.     kbd_buffer_store_event with a `struct input_event *', not a
  10145.     character or a Lisp_Object.
  10146.  
  10147. Sat Dec 21 02:03:38 1991  Jim Blandy (jimb at occs.cs.oberlin.edu)
  10148.  
  10149.     * bytecode.c (docall): Don't remove protection from the arguments
  10150.     to Ffuncall.
  10151.  
  10152. Fri Dec 20 01:28:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10153.  
  10154.     * keyboard.c (Vfunction_key_map): New variable.
  10155.     (read_key_sequence): Changed to recognize and substitute bindings
  10156.     in Vfunction_key_map at any point in the sequence, unless they
  10157.     conflict with ordinary bindings.
  10158.     (syms_of_keyboard): DEFVAR, document, and initialize
  10159.     Vfunction_key_map.
  10160.  
  10161. Thu Dec 19 00:29:07 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10162.  
  10163.     * keymap.c (Vminor_mode_map_alist): New variable, to support
  10164.     keymaps for minor modes.
  10165.     (current_minor_maps, Fminor_mode_key_binding,
  10166.     Fcurrent_minor_mode_maps): New functions.
  10167.     (Fkey_binding): Rewritten to scan for minor mode bindings too.
  10168.     (syms_of_keymap): DEFVAR, document, and initialize
  10169.     Vminor_mode_map_alist, and defsubr the new Ffunctions.
  10170.     (describe_buffer_bindings): Describe the bindings established by
  10171.     minor modes too.
  10172.     * keyboard.c (follow_key): New function, to support...
  10173.     (read_key_sequence): Completely rewritten to handle scanning an
  10174.     arbitrary number of keymaps at a time.
  10175.  
  10176.     * keyboard.c (Fread_key_sequence): GCPRO keybuf, since it can hold
  10177.     lisp expressions while waiting for input.  Don't pass too many
  10178.     arguments to read_key_sequence.
  10179.     (command_loop_1): Don't pass too many arguments to read_key_sequence.
  10180.  
  10181.     * keyboard.c (add_command_key): New function; there are several
  10182.     places that add keys to this_command_keys, so we make one function
  10183.     to do the work.
  10184.     (read_char, Fexecute_extended_command): Call add_command_key
  10185.     instead of writing out its code again.
  10186.     (init_keyboard): Allocate this_command_keys according to
  10187.     this_command_keys_size.
  10188.  
  10189.     * lread.c (read1): Change comment to use `share-lib' instead of `etc'.
  10190.     * doc.c (Fdocumentation_property, Fsnarf_documentation): Update
  10191.     docstring similarly.
  10192.     (Fsnarf_documentation): Use "../share-lib/" instead of "../etc/"
  10193.     to find doc file while dumping.
  10194.     * unexaix.c: Similar doc fix.
  10195.  
  10196.     * ymakefile (etcdir): Variable removed.
  10197.     (libsrc, archlib, sharelib): New variables, to take the place of
  10198.     etcdir.
  10199.  
  10200. Wed Dec 18 17:55:46 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10201.  
  10202.     * ymakefile (CFLAGS): Don't automatically include C_DEBUG_SWITCH
  10203.     in the value for CFLAGS; the configuration script will take care
  10204.     of choosing the debugging and optimization switches.
  10205.  
  10206.     * config.h-dist: Copy the GLYPH definitions from config.h to here.
  10207.  
  10208. Mon Dec 16 22:36:11 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10209.  
  10210.     * abbrev.c (Fexpand_abbrev): Run pre-abbrev-expand-hook.
  10211.     (syms_of_abbrev): Define that variable.
  10212.  
  10213. Fri Dec 13 13:37:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10214.  
  10215.     * m/m-*.h: Since the m- is now redundant, renamed all files to
  10216.     remove it, and changed references within files.
  10217.     * s/s-*.h: Same business.
  10218.  
  10219. Wed Dec 11 14:22:06 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10220.  
  10221.     * config.h-dist (MULTI_SCREEN): Define this automatically when
  10222.     we're using a window system.
  10223.  
  10224. Mon Dec  9 17:24:45 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10225.  
  10226.     * m/m-*.h (i.e. all machine config files): Added USUAL-OPSYS
  10227.     comments to tell the configuration script what sort of operating
  10228.     system this machine typically runs.
  10229.  
  10230.     * config.h-dist (MScreenWidth, MScreenLength): Deleted; no longer
  10231.     used.
  10232.  
  10233. Sun Dec  8 02:04:27 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10234.  
  10235.     * editfns.c (Fcurrent_time): New function, to return the current
  10236.     time as a number, like the Unix time(3) function.  This might be
  10237.     fun to port.
  10238.     (syms_of_editfns): defsubr it.
  10239.  
  10240. Thu Dec  5 13:59:35 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10241.  
  10242.     * keymap.c (Vminor_mode_map_alist): New variable.
  10243.     (current_minor_maps): New function.
  10244.     (Fcurrent_minor_mode_maps): New function.
  10245.     (syms_of_keymap): DEFVAR, document, and initialize
  10246.     Vminor_mode_map_alist, and defsubr Fcurrent_minor_mode_maps.
  10247.  
  10248.     * callproc.c (Vdata_directory): New lisp variable, for the
  10249.     directory containing architecture-independent data files.
  10250.     (init_callproc): Initialize Vdata_directory from PATH_DATA, and
  10251.     make sure it exists.  Renamed execdir to tempdir, because we use
  10252.     it for both Vexec_directory and Vdata_directory.
  10253.     (syms_of_callproc): Doc fix for Vexec_directory, new DEFVAR_LISP
  10254.     for Vdata_directory.
  10255.     * paths.h-dist (PATH_DATA): New path macro, to initialize
  10256.     Vdata_directory.
  10257.     * doc.c (get_doc_string): Use Vdata_directory to find the
  10258.     docstrings, not Vexec_directory.
  10259.     * lisp.h (Vdata_directory): New extern declaration, for above
  10260.     users.
  10261.     * config.h-dist: Changed references to ../etc to ../share-lib.
  10262.  
  10263.     * callint.c (Fcall_interactively): For the 'k' interactive code,
  10264.     cast the type of the symbol name before passing it to error.
  10265.  
  10266. Mon Dec  2 19:06:31 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10267.  
  10268.     * keyboard.c (make_lispy_movement): Move call to
  10269.     mouse_position_hook from here...
  10270.     (kbd_buffer_get_event): To here, for symmetry with non-movement
  10271.     events.
  10272.  
  10273.     * keyboard.c (kbd_buffer_get_event): Set Vlast_event_screen for
  10274.     mouse movements, too. 
  10275.  
  10276. Wed Nov 27 13:33:31 1991  Jim Wilson  (wilson at wookumz.gnu.ai.mit.edu)
  10277.  
  10278.     * alloca.c (alloca): Add parens to make precedence clearer.
  10279.  
  10280. Tue Nov 26 00:13:29 1991  Michael I Bushnell  (mib at geech.gnu.ai.mit.edu)
  10281.  
  10282.     * search.c: need to include sys/types.h because of recent mod to
  10283.     regex.h.
  10284.  
  10285. Mon Nov 25 23:51:22 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10286.  
  10287.     * bytecode.c: BYTE_CODE_METER and BYTE_CODE_SAFE undefined by default.
  10288.     (METER_CODE): Define same name whether metering or not.
  10289.     (BinsertN): New byte code.
  10290.     (Fbyte_code): Improve overflow/underflow error messages.
  10291.     (docall): Put back previously lost code to remove protection
  10292.     from funcall args.
  10293.  
  10294. Mon Nov 25 20:08:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10295.  
  10296.     * lisp.h (make_array): New extern declaration.
  10297.  
  10298.     * alloc.c (make_sequence): Renamed to make_array; more accurate.
  10299.     * keyboard.c (Fread_key_sequence, Fthis_command_keys): Callers fixed.
  10300.     * macros.c (Fend_kbd_macro): Callers fixed.
  10301.  
  10302. Fri Nov 15 15:39:19 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10303.  
  10304.     * keyboard.c (cmd_error): If an error occurs before somebody has
  10305.     provided a screen to print it on, print it to stderr and exit
  10306.     Emacs.  Handle batch-mode errors with the same code.
  10307.     * lisp.h (Qexternal_debugging_ouput): New extern declaration, for
  10308.     use in cmd_error.
  10309.  
  10310.     * screen.c (Fscreen_pixel_size, Fset_screen_position): Doc fix.
  10311.  
  10312.     * window.c (Fwindow_at): Typecheck COORDINATES more thoroughly.
  10313.  
  10314.     * screen.c (read_mouse_position): Function deleted.
  10315.     (Fread_mouse_position): Renamed to Fmouse_position, and changed to
  10316.     use mouse_position_hook.
  10317.     (syms_of_screen): Adjusted accordingly.
  10318.     * xfns.c (x_read_mouse_position): Function deleted.
  10319.  
  10320.     * screen.h (SCREENP): The non-MULTI_SCREEN case used to say this
  10321.     was false for all objects, but it should be true for the terminal
  10322.     screen, so make its definition the same as in the MULTI_SCREEN
  10323.     case.
  10324.  
  10325.     * screen.h (SCREEN_LIVE_P): New predicate.
  10326.     (CHECK_LIVE_SCREEN): New type-checking macro.
  10327.     (Qlive_screen_p): New error-reporting symbol.
  10328.     * screen.c (Qlive_screen_p): Declare the new symbol.
  10329.     (Flive_screen_p): New lisp predicate.
  10330.     (syms_of_screen): Initialize, staticpro, and defsubr the lot.
  10331.     * dispnew.c (Fredraw_screen): Use CHECK_LIVE_SCREEN.
  10332.     * screen.c (Fscreen_root_window, Fscreen_selected_window,
  10333.     Fnext_screen, Fset_mouse_position, Frestore_screen_configuration,
  10334.     Fmake_screen_visible, Fmake_screen_invisible, Ficonify_screen,
  10335.     Fdeiconify_screen, Fscreen_visible_p, Fredirect_screen_focus,
  10336.     Fscreen_focus, Fmodify_screen_parameters, Fset_screen_height,
  10337.     Fset_screen_width, Fset_screen_size, Fset_screen_position,
  10338.     Fselect_screen): Use CHECK_LIVE_SCREEN.
  10339.     * window.c (Fwindow_at, Fcurrent_window_configuration): Use
  10340.     CHECK_LIVE_SCREEN.
  10341.     * xfns.c (Ffocus_screen, Fx_pixel_width, Fx_pixel_height): Use
  10342.     CHECK_LIVE_SCREEN.
  10343.  
  10344.     * screen.c (Fdelete_screen): Do nothing if SCREEN is already
  10345.     deleted.
  10346.     
  10347.     * screen.c (Qscreenp): Staticpro this symbol.
  10348.  
  10349.     * xfns.c (Fx_create_screen): Doc fix.
  10350.  
  10351.     * xfns.c (Fx_create_screen): Give the screen a minibuffer if the
  10352.     'minibuffer parameter is t or nil; nil is the default value for
  10353.     omitted parameters, and t is intuitive.
  10354.  
  10355. Thu Nov 14 16:18:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10356.  
  10357.     * eval.c (specbind): Check that the thing being bound is a symbol.
  10358.     (funcall_lambda): Signal an invalid-function error if the
  10359.     arguments are not all symbols.
  10360.  
  10361. Fri Nov  8 14:45:30 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10362.  
  10363.     * screen.c (Fselect_screen): Don't select dead screens.
  10364.     * print.c (print): Print dead screen objects starting with
  10365.     "#<dead screen".
  10366.  
  10367.     * keyboard.c (read_key_sequence): Make sure that the compound
  10368.     events actually have valid window fields.
  10369.  
  10370.     * window.c (next_screen_window): Function deleted; Fnext_window
  10371.     can now do its job properly.
  10372.     (window_from_coordinates, window_loop): Call Fnext_window instead
  10373.     of next_screen_window.
  10374.  
  10375.     * xdisp.c (redisplay): Don't clear out minibuffer windows in the
  10376.     midst of the screen loop here.  That's confusing.
  10377.     (redisplay_window): Since this needs special code to detect
  10378.     minibuffers anyway, put it here.  And clear all the lines of a
  10379.     multi-line minibuffer, not just the first one.
  10380.  
  10381. Thu Nov  7 20:54:35 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10382.  
  10383.     * screen.c (Fdelete_screen): When searching Vscreen_list for a new
  10384.     value for last_nonminibuf_screen, remember that the screens live
  10385.     in the cars of the list, not the cdrs.
  10386.  
  10387.     * xterm.c (x_make_screen_visible): Rearranged for clarity.
  10388.  
  10389.     * xdisp.c (echo_area_display): Rearranged for clarity.
  10390.  
  10391. Wed Nov  6 10:53:50 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10392.  
  10393.     * screen.c (next_screen, prev_screen): New meaning for MINI_SCREEN
  10394.     argument helps implement the behavior of Fnext_window.
  10395.     (Fnext_screen): Document the new behavior.
  10396.  
  10397.     * screen.c (make_minibuffer_screen): Do set has_minibuffer for
  10398.     minibuffer-only screens.
  10399.     (Fscreen_parameters): Correctly generate value of minibuffer
  10400.     parameter using SCREEN_HAS_MINIBUF and SCREEN_MINIBUF_ONLY_P.
  10401.     * screen.h (SCREEN_HAS_MINIBUF): New predicate.
  10402.     * dispnew.c (change_screen_size): Use it.
  10403.     * screen.c (Fdelete_screen): Use it.
  10404.  
  10405.     * screen.c (Vglobal_minibuffer_screen): Renamed
  10406.     Vdefault_minibuffer_screen to better describe its significance.
  10407.     (make_screen_without_minibuffer, syms_of_screen): Adjusted.
  10408.     * xfns.c (Fx_create_screen): Doc string adjusted.
  10409.  
  10410.     * xdisp.c (display_mode_line): Make the code which names the
  10411.     screen after the current buffer not depend on
  10412.     Vglobal_minibuffer_screen.
  10413.     * xterm.c (Vglobal_minibuffer_screen): Don't declare this extern
  10414.     here; it's never used.
  10415.  
  10416. Tue Nov  5 13:39:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10417.  
  10418.     * screen.c (Fdelete_screen): Document the fact that surrogate
  10419.     minibuffer screens may not be deleted.
  10420.  
  10421.     * screen.h (SCREEN_MINIBUF_ONLY_P): New predicate, true iff the
  10422.     screen's only window is a minibuffer, aka a "minibuffer screen" or
  10423.     a "minibuffer-only" screen.
  10424.     * dispnew.c (change_screen_size): Use it.
  10425.     * screen.c (Fselect_screen, next_screen, prev_screen,
  10426.     Fdelete_screen): Use it.
  10427.     * window.c (Fdisplay_buffer): Use it.
  10428.  
  10429.     * screen.c (next_screen, prev_screen): Make MINIBUF a lisp
  10430.     boolean, not a C boolean.
  10431.     (Fnext_screen, Fdelete_screen): Changed to fit.
  10432.     * window.c (Fnext_window, Fprevious_window): Changed to fit.
  10433.  
  10434.     * screen.c (make_screen_without_minibuffer): Error string improvement.
  10435.  
  10436.     * screen.c (syms_of_screen): Doc grammar fix for Vemacs_iconified.
  10437.  
  10438.     * screen.c (next_screen): Added some sanity checks, rewrote comments.
  10439.  
  10440.     * screen.h (Vglobal_minibuffer_screen): Don't declare this.  It
  10441.     shouldn't be used for anything but screen creation.
  10442.     * window.c (Fminibuffer_window): Vglobal_minibuffer_screen is not
  10443.     necessarily the screen containing the current minibuffer window.
  10444.     Also, call choose_minibuf_window; it does much of the work here.
  10445.     (Fnext_window): Used to insist on looping through all screens if
  10446.     Vglobal_minibuffer_screen was non-nil.  Now includes screen's
  10447.     minibuffer window according to MINIBUF, no matter what screen it's
  10448.     on, and ignores Vglobal_minibuffer_screen.  Loop termination logic
  10449.     cleaned up.  Clarified doc string.
  10450.     (Fprev_window): Same problems as Fnext_window, above.
  10451.     * screen.c (Vglobal_minibuffer_screen): Documentation rewritten to
  10452.     emphasize that it is only a parameter of the creation of
  10453.     minibufferless screens, and not an indication of where the
  10454.     minibuffer is.
  10455.     (prev_screen): Used to assume that Vglobal_minibuffer_screen was
  10456.     the only minibuffer-only screen, and would enter an infinite loop
  10457.     if Vglobal_minibuffer_screen was the only screen in the list.
  10458.     Rewritten to fix these problems.
  10459.     * minibuf.c (Vglobal_minibuffer_screen): Don't declare it extern
  10460.     here; it's not used.
  10461.  
  10462.     * editfns.c (Fmessage): Don't call Fmake_screen_visible here.
  10463.     * xdisp.c (message, message1): Call it here, so that Emacs C
  10464.     functions like Fy_or_n_p make the screen visible too.
  10465.  
  10466. Mon Nov  4 00:01:14 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10467.  
  10468.     * keyboard.c (readable_events): If EVENT_QUEUES_EMPTY, we can
  10469.     short-circuit and say no.  Otherwise, if do_mouse_tracking, we can
  10470.     short-circuit and say yes.  These things let us scan the event
  10471.     queue less often.
  10472.  
  10473.     * termhooks.h (mouse_tracking_enable_hook): Replaced by...
  10474.     (mouse_moved, mouse_position_hook): It turns out that it is
  10475.     possible and no less efficient simply to tell Emacs if the mouse
  10476.     has moved since last noticed, and let it ask for the current mouse
  10477.     position; X's pointer motion hints are a cool thing.
  10478.     * term.c (mouse_tracking_enable_hook): Replaced by...
  10479.     (mouse_position_hook): New, simpler interface.
  10480.     * keyboard.c (struct movement, movement_buf, movement_ptr):
  10481.     Replaced by...
  10482.     (mouse_moved): This flag, to be used in conjuction with
  10483.     mouse_position_hook.
  10484.     (EVENT_QUEUES_EMPTY): Adjusted to use mouse_moved instead of
  10485.     movement_buf and movement_ptr.
  10486.     (tracking_off, Ftrack_mouse): Don't call mouse_tracking_enable
  10487.     hook.
  10488.     (note_mouse_position): Moved to xterm.c.
  10489.     (get_mouse_position): Replaced by mouse_position_hook.
  10490.     (make_lispy_event): Movement event generation code moved out to a
  10491.     separate function...
  10492.     (make_lispy_movement): Create a mouse movement event for the
  10493.     current mouse position.  Use mouse_position_hook instead of
  10494.     get_mouse_position.  Added static declaration for this above...
  10495.     (kbd_buffer_get_event): Use mouse_moved instead of movement_buf
  10496.     and movement_ptr.  Call make_lispy_movement instead of
  10497.     make_lispy_event.
  10498.     (init_keyboard): Initialize do_mouse_tracking.  Don't init
  10499.     movement_ptr and movement_buf.
  10500.     * xterm.h (STANDARD_EVENT_SET): Add PointerMotionMask and
  10501.     PointerMotionHintMask to the set.
  10502.     * xterm.c (pixel_to_glyph_translation): Renamed to
  10503.     pixel_to_glyph_coords, made static, simplified to take advantage
  10504.     of constant-size characters, and extended to return the bounding
  10505.     rectangle of the glyph returned.
  10506.     (construct_mouse_click): The 'button' field of a button event is
  10507.     the button number, not a mask; convert it to a mask before
  10508.     frobbing x_mouse_grabbed.  Call pixel_to_glyph_coords properly.
  10509.     (last_mouse_screen, last_mouse_glyph): New variables, to keep
  10510.     track of when the pointer has moved to a different glyph.
  10511.     (note_mouse_position): Moved here from keyboard.c and made static.
  10512.     Check if the new mouse position is over a new glyph.  If it is,
  10513.     set mouse_moved flag; otherwise, call XQueryPointer to get the
  10514.     next motion event.
  10515.     (XTmouse_tracking_enable): No longer needed, since pointer motion
  10516.     hints let us implement the simpler mouse position hook.
  10517.     (XTmouse_position): New hook.  Call XQueryPointer to get the
  10518.     current mouse position and request notification about the next
  10519.     mouse movement.  Clear the mouse_moved flag.
  10520.     (pixel_to_glyph_coords, construct_mouse_click,
  10521.     note_mouse_position, XTmouse_position): Put these all on the same
  10522.     page.
  10523.     (XTread_socket): case MotionNotify, call note_mouse_position with
  10524.     the right args; don't call pixel_to_glyph_translation.
  10525.     (x_term_init): Set mouse_position_hook instead of
  10526.     mouse_tracking_enable_hook.
  10527.  
  10528. Thu Oct 31 02:53:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10529.  
  10530.     * xdisp.c (redisplay_window): When trying to avoid starting
  10531.     display at the end of the buffer: check that startp < ZV, not
  10532.     startp <= ZV.
  10533.  
  10534. Tue Oct 29 18:19:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10535.  
  10536.     * xterm.c (x_do_pending_expose, XTmouse_tracking_enable): Use
  10537.     SCREEN_IS_X instead of testing output_method directly.
  10538.  
  10539. Sat Oct 26 01:07:29 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10540.  
  10541.     * xdisp.c (redisplay): In the single-screen optimization, always
  10542.     update the minibuffer's screen as well as the selected screen, no
  10543.     matter what the echo_area_glyphs are.  This makes sure that
  10544.     messages get cleared after a keystroke.
  10545.  
  10546. Fri Oct 25 10:58:04 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10547.  
  10548.     * callint.c (Finteractive): Doc fix.
  10549.  
  10550.     * xterm.c (XTmouse_tracking_enable): Block input while changing
  10551.     the screens' input selection masks.
  10552.  
  10553.     * window.c (change_window_height): If the window being resized is
  10554.     the only window of the screen, no size change is possible; make
  10555.     the delta be zero.  Exit without "changing" the sizes of any
  10556.     windows if the delta is zero.
  10557.  
  10558.     * alloc.c: Don't bother to include xterm.h.
  10559.     (Fgarbage_collect): Don't bother to BLOCK_INPUT here,
  10560.     since we don't cons in the input handler.
  10561.  
  10562. Mon Oct 21 20:30:48 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10563.  
  10564.     * window.c (init_window_once): Set last_nonminibuf_screen to the
  10565.     initial terminal screen, so that poor Fdisplay_buffer doesn't try
  10566.     to create a new screen on a terminal.
  10567.  
  10568. Sat Oct 19 11:39:03 1991  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10569.  
  10570.     * m-intel386.h (signal): Optionally don't define it.
  10571.     * s-isc2-2.h (DONT_DEFINE_SIGNAL): Define this.
  10572.  
  10573. Fri Oct 18 17:22:29 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10574.  
  10575.     * scroll.c (line_ins_del): Don't calculate costs off the end of mf
  10576.     and ov; use < in loop condition, not <=.
  10577.  
  10578.     * scroll.c (scroll_cost): Logic rearranged.
  10579.  
  10580.     * dispnew.c (change_screen_size): Change "SCREEN_IS_TERMCAP
  10581.     (screen) == output_termap" to "SCREEN_IS_TERMCAP (screen)"
  10582.     (window_change_signal): Use SCREEN_IS_TERMCAP predicate instead of
  10583.     testing output_method_directly.
  10584.  
  10585. Tue Oct 15 02:38:32 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10586.  
  10587.     * xterm.h (STANDARD_EVENT_SET): Include ButtonReleaseMask in
  10588.     STANDARD_EVENT_SET.
  10589.     * xterm.c (XTmouse_tracking_enable): Don't bother or'ing
  10590.     ButtonReleaseMask with the STANDARD_EVENT_SET.
  10591.  
  10592.     * dispnew.c (buffer_posn_from_coords): If the coordinates are off
  10593.     past the end of a line, return them as being *before* the newline,
  10594.     not after.
  10595.  
  10596.     * keyboard.c (kbd_buffer_get_event): Set input_pending after
  10597.     reading the event, no matter what sort of event it is - i.e., move
  10598.     the assignment to input_pending outside of the event lispifying
  10599.     conditional.
  10600.  
  10601.     * keyboard.c (note_mouse_position): Don't record a "new" mouse
  10602.     position unless it really differs from the last one returned.
  10603.  
  10604.     * keyboard.c (kbd_buffer_read_char): Renamed to
  10605.     kbd_buffer_get_event, for consistency with kbd_buffer_store_event.
  10606.  
  10607.     * window.c (Fwindow_at): modified to take the coordinates as a
  10608.     pair, not a two-element list, for ease of use and compatibility
  10609.     with events.  Make SCREEN argument second and optional.
  10610.     (Fcoordinates_in_window_p): Modified to take and return the
  10611.     coordinates as above, and to distinguish the right border as well
  10612.     as the mode line.
  10613.     (window_from_coordinates): Modified to distinguish the right
  10614.     border as well as the mode line.
  10615.     * lisp.h (Qmode_line, Qvertical_split): Declare this extern, from
  10616.     keyboard.c.
  10617.     * keyboard.c (make_lispy_event): Distinguish a window's right
  10618.     border from its text area.
  10619.  
  10620.     * window.c (coordinates_in_window): Make it static.
  10621.  
  10622.     * window.c (Flocate_window_from_coordinates): Renamed to
  10623.         Fwindow_at.
  10624.     (syms_of_window): Adjusted.
  10625.     * lisp.h: Adjusted to say so.
  10626.  
  10627.     * screen.c (Fcoordinates_in_window_p, window_from_coordinates,
  10628.     Flocate_window_from_coordinates): Functions moved to window.c.
  10629.     (syms_of_screen): Adjusted.
  10630.     * window.c (Fcoordinates_in_window_p, window_from_coordinates,
  10631.     Flocate_window_from_coordinates): Here they are.
  10632.     (syms_of_window): Adjusted.
  10633.     * lisp.h: Adjusted to say so.
  10634.  
  10635. Mon Oct 14 23:36:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10636.  
  10637.     * xterm.c (XTclear_end_of_line): This used to try to get the
  10638.     cursor out of the way by comparing the line being cleared with
  10639.     s->cursor_y, which is meaningless; it should have compared it with
  10640.     s->phys_cursor_y.  Changed to just mark the cursor as cleared if
  10641.     it's in the area we're clearing.
  10642.  
  10643. Sun Oct 13 05:20:50 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10644.  
  10645.     * m-intel386.h: Fix typo in #endif.
  10646.  
  10647. Sat Oct 12 00:47:36 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10648.  
  10649.     * callint.c (Fcall_interactively): Added new interactive spec 'K',
  10650.     for mouse clicks.  Added explanation to doc string.  Removed 'e'
  10651.     spec, which didn't work with the new input model anyway.
  10652.     * keyboard.c (Fmouse_click_p): New function.
  10653.     (syms_of_keyboard): defsubr it.
  10654.  
  10655.     * keyboard.c (EVENT_QUEUES_EMPTY): Clarified comment.
  10656.     (tracking_off): Change "if (!readable_events)" to
  10657.     "if (!readable_events ())".
  10658.     (Ftrack_mouse): Doc fix.
  10659.     (kbd_buffer_read_char): Fix brainos in tossing of unwanted events.
  10660.     Don't use EVENT_QUEUES_EMPTY to set input_pending; call
  10661.     readable_events.
  10662.  
  10663. Fri Oct 11 22:17:56 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10664.  
  10665.     * keyboard.c (Qmode_line): New quoted symbol.
  10666.     (syms_of_keyboard): Initialize and staticpro it.
  10667.     (make_lispy_event): Use it to indicate when a mouse position is in
  10668.     a window's mode line.
  10669.  
  10670.     * xterm.c (XTread_socket): Consider the window to be resized if
  10671.     either the character or pixel dimensions have changed; this will
  10672.     catch font size changes.
  10673.  
  10674. Tue Oct  8 10:37:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10675.  
  10676.     * process.c (wait_reading_process_input): Removed all the
  10677.     exceptional condition stuff.  Emacs lacks any way to respond to
  10678.     such a state, and selecting for it without responding to it can make
  10679.     Emacs loop indefinitely.
  10680.  
  10681.     * xterm.c (XTread_socket, construct_mouse_click): Make sure that
  10682.     all enqueued events have their timestamp field set.
  10683.     * termhooks.h (struct input_event): Doc fix.
  10684.     * keyboard.c (last_event_timestamp): New variable.
  10685.     (get_mouse_position, kbd_buffer_store_event,
  10686.     kbd_buffer_read_char): Make sure to fill in Vlast_event_screen and
  10687.     last_event_timestamp.
  10688.     * xselect.c (mouse_timestamp): Don't use this anymore.
  10689.     (last_event_timestamp): Use this instead.
  10690.     (Fx_own_selection, Fx_own_clipboard, Fx_get_selection,
  10691.     Fx_get_clipboard): Use last_event_timestamp instead of
  10692.     mouse_timestamp.
  10693.  
  10694.     * xdisp.c (redisplay): Don't pass extra arguments to
  10695.     update_screen.
  10696.  
  10697.     * keyboard.c (echo_truncate): Don't call echo here; this results
  10698.     in extraneous echoing of characters.
  10699.     (read_key_sequence): After calling echo_truncate, call echo_char
  10700.     to put the character we just read into the minibuffer, if
  10701.     appropriate.
  10702.  
  10703.     * keyboard.c (read_key_sequence): Removed unused argument
  10704.     no_redisplay.
  10705.  
  10706. Tue Oct  1 00:11:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10707.  
  10708.     * xfns.c (x_create_screen): Initialize phys_cursor_x to -1, to
  10709.     indicate that the screen has no displayed cursor.
  10710.  
  10711.     * xfns.c (x_create_screen): Let InternalBorderWidth default to 1.
  10712.  
  10713.     * xterm.c (x_display_bar_cursor): Declare this to be static void.
  10714.  
  10715.     * xterm.c (XTupdate_begin): Don't turn off the cursor.  This makes
  10716.     ugly flickering.  Instead, make it okay for XTins_del_lines to do
  10717.     so:
  10718.     * screen.h (struct screen): New field phys_cursor_glyph, keeping
  10719.     track of the glyph under the currently displayed cursor.  Since
  10720.     current_glyphs is sometimes inaccurate when we want to undraw the
  10721.     cursor (as when XTins_del_lines is called from do_scrolling), we
  10722.     can't always get the GLYPH from there.
  10723.     * xterm.c (x_draw_single_glyph): Take the glyph to draw as an
  10724.     argument, instead of taking it from the screen matrix.
  10725.     (x_display_box_cursor): Set and use s->phys_cursor_glyph.
  10726.  
  10727.     * ymakefile: Note that scroll.o and xmenu.o depend on screen.h.
  10728.  
  10729. Sun Sep 29 07:24:42 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10730.  
  10731.     * keyboard.c (make_lispy_event): When building mouse movement
  10732.     event, use `m', not `event', dummy.
  10733.  
  10734. Thu Sep 26 02:28:16 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10735.  
  10736.     * screen.c (Fscreen_parameters): Return the proper value for the
  10737.     'minibuffer parameter for minibuffer-only screens.
  10738.  
  10739.     * xdisp.c (redisplay_window): When the start position is forced,
  10740.     constrain it to be within the visible region anyway.
  10741.  
  10742.     * xterm.c (XTwrite_glyphs): Instead of turning off the cursor
  10743.     before we write, just notice if we wrote over it.
  10744.  
  10745.     * xfns.c (x_decode_color): If a screen has two planes, then it is
  10746.     considered a color screen, and we should look up the color value.
  10747.  
  10748.     * ymakefile: Include xselect.o and xrdb.o in XOBJ even when
  10749.     HAVE_X_MENU is not defined.
  10750.  
  10751.     * fns.c (Fdelete): This used to be named Fdelq; Roland forgot to
  10752.     change the function name in his August 17 change.
  10753.     (syms_of_fns): defsubr Fdelete.
  10754.  
  10755. Tue Sep 24 03:20:07 1991  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
  10756.  
  10757.     * alloca.c: Do nothing if alloca is defined as a macro.
  10758.  
  10759. Sun Sep  8 23:21:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10760.  
  10761.     * m-pfa50.h: New file.
  10762.  
  10763. Fri Sep  6 02:53:44 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10764.  
  10765.     * unexec.c: Add conditionals for COFF_ENCAPSULATE.
  10766.  
  10767. Sat Aug 17 20:46:04 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)
  10768.  
  10769.     * fns.c (Fdelete): New fn.  We have member now; we should have
  10770.     delete too.
  10771.  
  10772. Fri Aug 16 00:04:49 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10773.  
  10774.     * xfns.c (x_get_arg): Clean bad characters out of the screen name
  10775.     before using it as a resource key.
  10776.  
  10777.     * abbrev.c (Fexpand_abbrev): Don't let capitalization go past point.
  10778.  
  10779.     * sysdep.c (sys_suspend): Don't use & before array name.
  10780.  
  10781.     * sysdep.c [BROKEN_FIONREAD]: Undefine FASYNC.
  10782.  
  10783.     * m-tandem-s2.h (START_FILES, LIB_STANDARD): Added.
  10784.  
  10785.     * s/s-aix3-1.h: Define HAVE_TCATTR.
  10786.  
  10787.     * xfns.c (Fx_grab_cursor, Fx_ungrab_cursor): Functions removed.
  10788.  
  10789. Thu Aug 15 23:57:15 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10790.  
  10791.     * bytecode.c (Qbyte_code_meter): New.
  10792.     (Bend_of_line, Bset_marker, Bmatch_beginning, Bmatch_end, Bupcase,
  10793.     Bdowncase, BRgoto, BRgotoifnil, BRgotoifnonnil,
  10794.     BRgotoifnilelsepop, BRgotoifnonnilelsepop, BlistN, BconcatN): New
  10795.     byte codes.
  10796.     (Fbyte_code): Implemented new codes listed above.  Added code to
  10797.     count how many times a function is called.
  10798.     (syms_of_bytecode): Initialize and staticpro Qbyte_code_meter.
  10799.  
  10800.     * xfns.c (x_window): When setting the class hints, use the
  10801.     screen's name as the res_name.
  10802.  
  10803.     * xfns.c (x_make_screen_name): New function.
  10804.     (Fx_create_screen): Use x_get_arg to find screen name; if none has
  10805.     been specified, use x_make_screen_name; don't set the name again
  10806.     at the bottom.
  10807.     (x_get_arg): If SCREEN_NAME is nil, don't pass any class to
  10808.     Fx_get_resource.
  10809.  
  10810.     * xfns.c (x_get_arg, x_default_parameter): Take an extra argument
  10811.     TYPE, instead of encoding the type in the first letter of the
  10812.     property name.
  10813.  
  10814. Thu Aug 15 14:29:30 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  10815.  
  10816.     * buffer.c (Fkill_all_local_variables): Don't pass
  10817.     Fmake_local_variable too many args.  Use Fset instead.
  10818.  
  10819. Wed Aug 14 23:09:05 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  10820.  
  10821.     * xfns.c (emacs_class): Variable removed.
  10822.     (EMACS_CLASS): New macro, specifying Emacs class for xrdb use.
  10823.     Use a class of "Emacs", to be compatible with previous versions.
  10824.     (Fx_get_resource, x_window, Fx_open_connection): Use macro here.
  10825.  
  10826.     * buffer.c (Fgenerate_new_buffer): Function moved to
  10827.     lisp/files.el.
  10828.     (Fgenerate_new_buffer_name): New function which does only the
  10829.     name-choosing work Fgenerate_new_buffer used to do.
  10830.     (Frename_buffer): Added second optional argument DISTINGUISH,
  10831.     which lets rename_buffer use generate-new-buffer-name if non-nil.
  10832.     Return the name the buffer was given.
  10833.     Do nothing if new name is already buffer's name.
  10834.  
  10835.     * xfns.c (Fx_get_resource): Take third argument CLASS, and require
  10836.     it to be specified whenever NAME is.
  10837.     All callers changed.
  10838.     [not HAVE_X11] (Fx_get_default): Only take the one arg.
  10839.     [not HAVE_X11] (Fx_get_resource): Toss the second two args.
  10840.  
  10841. Tue Aug 13 03:07:03 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10842.  
  10843.     * xfns.c (Fx_close_current_connection): Add \n to error message.
  10844.  
  10845.     * keyboard.c (make_lispy_event): Added HP keys into the
  10846.     function_key_names array.
  10847.     * xterm.c (XTread_socket): For KeyPressed events, strip the
  10848.     keysym's vendor-specific bit, and take a shot at fitting it into
  10849.     the Emacs key numbering.
  10850.  
  10851.     * screen.c (Vdefault_screen_alist): Definition moved from
  10852.     screen.el to here.
  10853.     (syms_of_screen): DEFVAR_LISP and initialize it here.
  10854.     * screen.h: Declare it here.
  10855.     * xfns.c (x_get_arg): Use it here.
  10856.  
  10857.     * screen.c (make_screen): When choosing a buffer for the screen's
  10858.     root window, shy away from buffers whose names start with a space.
  10859.  
  10860. Sun Aug 11 00:32:22 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10861.  
  10862.     * process.c (exec_sentinel, exec_sentinel_unwind): Move these
  10863.     above status_notify.
  10864.  
  10865.     * eval.c (Qinhibit_quit): New variable, to support Aug 5 changes
  10866.     to process.c.
  10867.     (syms_of_eval): Initialize and staticpro above.
  10868.     * lisp.h: added extern declaration for above.
  10869.  
  10870. Sat Aug 10 23:23:51 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10871.  
  10872.     * regex.c (re_search_2): When searching with the fastmap, test for
  10873.     a translate table outside of the loop, not inside the loop.
  10874.  
  10875. Sat Aug 10 16:14:07 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10876.  
  10877.     * fns.c (Fequal): Don't crash on circular structure.
  10878.     (internal_equal): New subroutine does the recursion.
  10879.  
  10880.     * print.c (print): Recognize circular car pointers.
  10881.  
  10882. Sat Aug 10 01:48:38 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10883.  
  10884.     * process.c (wait_reading_process_input): Ignore exceptional
  10885.     conditions on the keyboard input.
  10886.  
  10887. Tue Aug  6 21:56:30 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  10888.  
  10889.     * lisp.h: Fiddled with formatting.
  10890.  
  10891.     * process.c (exec_sentinel_unwind): New function.
  10892.     (exec_sentinel): Restore the process's sentinel, using an
  10893.     unwind_protect.
  10894.  
  10895. Mon Aug  5 23:55:24 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10896.  
  10897.     * keyboard.c: Doc fix.
  10898.  
  10899. Mon Aug  5 19:57:33 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10900.  
  10901.     * dired.h: Don't include search.h; it doesn't exist.
  10902.  
  10903.     * process.c (read_process_output, exec_sentinel): Bind
  10904.     Qinhibit_quit to true and call the filter directly instead of
  10905.     through a condition-case.
  10906.     (run_filter): Removed.
  10907.     (this_filter, filter_process, filter_string): Variables now
  10908.     unnecessary.
  10909.  
  10910.         * xfns.c (Fx_get_resource): Take the screen name as an optional
  10911.     argument and look up resources using the name of the screen as
  10912.     part of the key.
  10913.     [not HAVE_X11] (Fx_get_default): Take optional 2nd arg NAME and
  10914.     ignore it.
  10915.     (x_get_arg): Take the screen name as an arg, and call
  10916.     Fx_get_resource with that argument.
  10917.     (x_default_parameter, x_figure_window_size, x_icon): Pass the
  10918.     screen's name to x_get_arg.
  10919.     (Fx_create_screen): Make sure the screen name is either nil or a
  10920.     string, and pass it to x_get_arg.
  10921.  
  10922.     * xfns.c (Vx_screen_defaults): Variable removed; such settings
  10923.     belong in the .Xdefaults file.
  10924.     (syms_of_xfns): Don't defvar it here.
  10925.     (Fx_create_screen): Don't use it here.
  10926.  
  10927.     * keyboard.c (classify_object): #if 0'd function finally removed.
  10928.     * xterm.c (Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
  10929.     Qexited_window, Qredraw_screen): Unused, so removed.
  10930.     (syms_of_xterm): Don't bother to initialize above.
  10931.     
  10932.     * xterm.c (init_input_symbols): Renamed to syms_of_xterm, for
  10933.     consistency.
  10934.     (x_term_init): Don't call it here.
  10935.     * xfns.c (syms_of_xfns): Don't call syms_of_xselect here.
  10936.     * emacs.c (main): Call them here.
  10937.  
  10938.     * xterm.c (invocation_name): Made this a Lisp_Object, so that its
  10939.     string value could be relocated properly.
  10940.     (x_term_init, x_text_icon): Adjusted code appropriately.
  10941.     (syms_of_xterm): staticpro invocation_name.
  10942.     * xfns.c (invocation_name): Changed extern declaration, deleted
  10943.     extra declaration.
  10944.     (Fx_get_resource): Adjusted code appropriately.
  10945.  
  10946. Sun Aug  4 17:38:25 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10947.  
  10948.     * lread.c (read1): Accept #[...] for bytecode object.
  10949.     * print.c (print): Print them that way.
  10950.  
  10951. Thu Aug  1 21:02:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10952.  
  10953.     * fileio.c (Fexpand_file_name): Avoid doing strlen (0).
  10954.  
  10955.     * editfns.c, filelock.c [VMS]: Use pwd.h from Emacs, not from system.
  10956.     * fileio.c [VMS]: Likewise.  Also include stddef.h, string.h.
  10957.     Include perror.h only once.
  10958.     [VMS] (file_name_as_directory, directory_file_name): Remove
  10959.     assignments from if conditions.
  10960.     (Fexpand_file_name): Remove excess slash from end of user's home dir.
  10961.  
  10962. Thu Aug  1 12:31:38 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  10963.  
  10964.     * emacs.c (main): Add SIGIO conditional within AIX conditional.
  10965.  
  10966.     * xdisp.c (try_window_id): Compute proper position for screen bottom
  10967.     when all changes are below the screen.
  10968.     When first computing bp, don't go more than HEIGHT + 1 lines.
  10969.  
  10970. Wed Jul 31 13:14:45 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10971.  
  10972.     * xterm.c (x_destroy_window): If we're destroying the currently
  10973.     highlighted screen, clear x_highlight_screen.
  10974.  
  10975.     * xdisp.c (display_text_line, display_string):
  10976.     Don't go past endp for multi-column chars.
  10977.  
  10978. Sun Jul 28 08:09:19 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  10979.  
  10980.     * lread.c (init_lread): If Vload_path was set specially before
  10981.     dumping, preserve it by default.
  10982.  
  10983.     * process.c (process_send_signal): Notice and deal if the
  10984.     TIOCGPGRP ioctl says that the subprocess has no pgrp.
  10985.  
  10986.     * xdisp.c (try_window_id): Always update window_end_* if successful.
  10987.  
  10988.     * process.h (subtty): New slot.
  10989.     * process.c (create_process): Set it.
  10990.     (process_send_signal): Use it.
  10991.  
  10992.     * alloc.c (Fmake_rope): Doc fix.
  10993.     * screen.c (Fselect_screen): Doc fix.
  10994.     * vms-pp.c: Fix comment.
  10995.  
  10996.     * keymap.c (Fkeymapp, Fdefine_prefix_command): Doc fixes.
  10997.  
  10998.     * window.c (window_select_count): No longer static.
  10999.     (init_window_once): Increment window_select_count, to give each
  11000.     window a unique use_time.
  11001.     * window.h (window_select_count): extern this here.
  11002.     * screen.c (make_screen): Stamp a new screen's selected window
  11003.     with the proper selection time.
  11004.  
  11005.     * ymakefile: xselect.o depends on screen.h, xterm.h, and config.h.
  11006.     xrdb.o depends on config.h.
  11007.     xterm.o depends on gnu.h.
  11008.     * xfns.h: File removed - it only declared Vx_send_movement_events.
  11009.     All includers changed.
  11010.  
  11011. Sat Jul 27 13:43:29 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11012.  
  11013.     * keymap.c (Fcopy_keymap): Don't recursively copy maps inside symbols.
  11014.  
  11015. Sat Jul 27 04:24:31 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11016.  
  11017.     * xdisp.c (redisplay): If echo_area_display puts text in a
  11018.     surrogate minibuffer screen, don't neglect to update it.
  11019.  
  11020.     * keyboard.c (kbd_buffer_store_event): Make sure
  11021.     Vlast_event_screen is set properly for quit characters.
  11022.  
  11023. Fri Jul 26 17:30:09 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11024.  
  11025.     * keyboard.c (command_loop_1): pass both arguments to
  11026.     Fselect_screen.
  11027.  
  11028.     * screen.c (make_screen): Divide the size by sizeof (Lisp_Object)
  11029.     before passing it to Fmake_vector.
  11030.     
  11031.     * screen.h [not MULTI_SCREEN] (SCREEN_SCROLL_BOTTOM_VPOS): fixed
  11032.     definition.
  11033.  
  11034.     * screen.c: #include termhooks.h and therefore stdio.h.
  11035.     (make_screen): Initialize focus_screen member.
  11036.     (Fdelete_screen): Refuse to delete SCREEN if it is a
  11037.     surrogate minibuffer for some other screen, not just if it's the
  11038.     global minibuffer screen.
  11039.     (Fredirect_screen_focus, Fscreen_focus): New function.
  11040.     (syms_of_screen): defsubr Sredirect_screen_focus.
  11041.     * window.c: Don't include termhooks.h or stdio.h.
  11042.     (Fselect_window): Removed grunge to support minibuffer hack.
  11043.     * screen.h (struct screen): Added focus_screen member, and
  11044.     accessor for it.
  11045.     * alloc.c (mark_object): mark focus_screen member of Lisp_Screens.
  11046.     * xterm.c (XTscreen_rehighlight): Use the focus_screen member to
  11047.     decide which screen to highlight.
  11048.     (XTread_socket): Use focus_screen when enqueuing keystrokes.
  11049.     * minibuf.c (read_minibuf, read_minibuf_unwind): Shift the
  11050.     selected screen's focus around appropriately.
  11051.     * termhooks.h (screen_rehighlight_hook): Doc fix.
  11052.  
  11053.     * lisp.h (CHECK_IMPURE): Moved definition...
  11054.     * puresize.h (CHECK_IMPURE): To here.
  11055.  
  11056. Thu Jul 25 08:06:22 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11057.  
  11058.     * dispnew.c (buffer_posn_from_coords): Bufp is broken; don't use it.
  11059.  
  11060.     * xterm.c (XTscreen_rehighlight): Neatened sloppy logic.
  11061.     
  11062.     * keyboard.c (read_key_sequence): When truncating a key sequence,
  11063.     don't forget to put the new keystroke back in this_command_keys.
  11064.     Do this before calling echo_truncate, and don't call echo_char.
  11065.  
  11066. Wed Jul 24 00:17:54 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11067.  
  11068.     * xterm.c (x_term_init): Initialize x_focus_screen and
  11069.     x_highlight_screen.
  11070.  
  11071.     * xterm.c (XTscreen_rehighlight): Handle things correctly when
  11072.     x_focus_screen is 0.
  11073.     (XTread_socket): Process EnterNotify and LeaveNotify events with
  11074.     .focus == 0 properly.  For FocusOut events, pass the right
  11075.     arguments to x_new_focus_screen.
  11076.  
  11077.     * fileio.c (Finsert_file_contents): Use RETURN_UNGCPRO macro.
  11078.  
  11079.     * buffer.c (Fbuffer_name): Fix typo in doc string.
  11080.     (syms_of_buffer): Fix typo in before_change_function name.
  11081.  
  11082. Tue Jul 23 10:41:43 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11083.  
  11084.     * screen.h (CHECK_SCREEN): Define a dummy version of this when
  11085.     MULTI_SCREEN is not defined.
  11086.  
  11087.     * sysdep.c (init_signals, sys_signal, sys_sigpause): New functions.
  11088.     (sys_sigblock, sys_sigunblock, sys_sigsetmask): New functions.
  11089.  
  11090.     * sysdep.c (_sobuf): Unsigned chars if DGUX.
  11091.  
  11092.     * sysdep.c [DGUX]: Include file.h.
  11093.     [DGUX] (sys_siglist): New variable.
  11094.  
  11095.     * x11term.c (x_init_1) [SYSV_STREAMS]: Don't close the old
  11096.     descriptor.
  11097.  
  11098.     * keyboard.c (read_key_sequence): Treat function keys like ascii
  11099.     characters.
  11100.  
  11101.     * lread.c (init_lread, syms_of_lread): New names for init_read and
  11102.     syms_of_read, for consistency.
  11103.  
  11104.     * emacssignal.h: New file.
  11105.     * data.c, keyboard.c, process.c, sysdep.c: Include it.
  11106.     * data.c (arith_error): Use SIGEMPTYMASK.
  11107.     * keyboard.c (sigfree, sigunblockx): Use SIGEMPTYMASK.
  11108.     (sigholdx, sigblockx): Use sigmask.
  11109.     (gobble_input): Use sigblockx instead of sigholdx, so that any
  11110.     other blocked signals stay blocked during and after the call to
  11111.     read_avail_input.
  11112.     * process.c (create_process): Use sigmask.
  11113.     [FASYNC] (request_sigio): Use sigunblock.
  11114.     * xterm.c (sigmask): Removed #definition here.
  11115.     * ymakefile (keyboard.o, process.o, sysdep.o, data.o): Make these
  11116.     depend on emacssignal.h.
  11117.  
  11118.     * window.c (Fselect_window): Modify surrogate minibuffer hack to
  11119.     make the minibuffer the selected window of the selected screen,
  11120.     AND select the minibuffer window's screen.
  11121.     * minibuf.c (read_minibuf): If the minibuffer window is on a
  11122.     different screen, save that screen's configuration too.
  11123.  
  11124.     * window.c (Fset_window_configuration): Use SCREEN_ accessor to
  11125.     get at a screen's root window.  Removed unused variable
  11126.     screen_to_select.
  11127.     (Fcurrent_window_configuration): Take an optional argument SCREEN.
  11128.     All callers changed.
  11129.  
  11130.     * window.c (auto_new_screen, Vauto_new_screen_function): Renamed
  11131.     to pop_up_screens and pop_up_screen_function, to be parallel with
  11132.     pop_up_windows.
  11133.     (display_buffer, syms_of_window): Changed appropriately.
  11134.  
  11135.     * fns.c (Fload_average) [DGUX]: Add code to support DGUX.
  11136.  
  11137.     * s-dgux.h, m-aviion.h: New files.
  11138.  
  11139.     * emacs.c (main) [POSIX_SIGNALS]: Call init_signals.
  11140.  
  11141.     * screen.c (Fdelete_screen): Update last_nonminibuf_screen if
  11142.     the screen it's currently pointing to gets deleted.
  11143.  
  11144. Mon Jul 22 21:05:18 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11145.  
  11146.     * screen.c (last_nonminibuf_screen): New variable.
  11147.     (Fselect_screen): Set last_nonminibuf_screen if appropriate.
  11148.  
  11149. Sun Jul 21 07:37:09 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11150.  
  11151.     * screen.h (last_nonminibuf_screen): Added declarations for new
  11152.     variable. 
  11153.     * minibuf.c (active_screen): Variable removed.
  11154.     (read_minibuf): Removed code to set and clear active_screen.
  11155.     * window.c (Fdisplay_buffer): Rewritten to use
  11156.     last_nonminibuf_screen.
  11157.  
  11158.     * screen.c (next_screen): Use SCREEN_ accessors instead of ->. 
  11159.  
  11160.     * window.c (Fdisplay_buffer): Removed reference to
  11161.     Fx_create_screen; we should rely on the auto-new-screen-function
  11162.     being set to something appropriate.
  11163.  
  11164. Sun Jul 21 00:58:10 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11165.  
  11166.     * keyboard.c (read_key_sequence): Restore the state of
  11167.     this_command_key_count along with the echoing state.
  11168.  
  11169. Sat Jul 20 18:42:59 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11170.  
  11171.     * xfns.c (Fx_synchronize): New function.
  11172.     (syms_of_xfns): defsubr it.
  11173.  
  11174.     * xdisp.c (redisplay): Don't turn on all_windows whenever we're
  11175.     using a separate minibuffer screen.  Even if there is some tweak
  11176.     necessary, this wasn't it.
  11177.  
  11178.     * process.c (status_notify): Do not forget to UNGCPRO.
  11179.  
  11180.     * screen.c (next_screen): Re-work logic to skip minibuffer-only
  11181.     screens so that it doesn't loop indefinitely, even when the only
  11182.     screen is a minibuffer-only screen.  Skip all screens that are
  11183.     only minibuffers, not just when they are the global minibuffer
  11184.     screen.
  11185.  
  11186.     * xdisp.c (message, message1): If the screen's message buffer
  11187.     is 0, toss the message; don't check the window system against
  11188.     the screen output_method.
  11189.  
  11190. Fri Jul 19 07:42:41 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11191.  
  11192.     * keyboard.c (read_key_sequence): When we truncate the echo
  11193.     buffer because the user has switched screens, re-echo the
  11194.     character that caused the truncation.
  11195.  
  11196.     * lread.c (Fload): Change "source newer than ..." message not to
  11197.     refer to "libraries."  What is a "library," anyway?
  11198.  
  11199.     * window.c: #include "termhooks.h", and therefore <stdio.h> too.
  11200.     [MULTI_SCREEN] (Fselect_window): If the window being selected is
  11201.     the selected screen's minibuffer, but it lives on another screen,
  11202.     don't select that other screen - call the screen_rehighlight_hook
  11203.     instead.
  11204.     * termhooks.h (screen_rehighlight_hook): New hook, so that Emacs
  11205.     can shift the screen highlighting when needed.
  11206.     * term.c (screen_rehighlight_hook): Define it.
  11207.     * xterm.c (x_highlight_screen): New variable.
  11208.     (x_new_focus_screen): Move the rehighlighting code to...
  11209.     (XTscreen_rehighlight): New function.
  11210.     (x_display_bar_cursor, x_display_box_cursor): Use
  11211.     x_highlighted_screen instead of x_focus_screen.
  11212.     (x_term_init): Initialize screen_rehighlight_hook.
  11213.     * ymakefile: Make window.o depend on termhooks.h.
  11214.  
  11215.     * xfns.c (Fx_create_screen): Add mention of
  11216.     global-minibuffer-screen to docstring.
  11217.     * screen.c (make_screen_without_minibuffer): Improve error message
  11218.     displayed when Vglobal_minibuffer_screen is not a proper screen.
  11219.  
  11220. Thu Jul 18 01:56:23 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11221.  
  11222.     * config.h (PURESIZE): Definition moved to...
  11223.     * puresize.h: New file.
  11224.     (PURESIZE): Define this here.  This will allow people to change
  11225.     their pure storage allocation without having to recompile most of
  11226.     Emacs.
  11227.     * data.c: #include puresize.h, since CHECK_IMPURE needs PURESIZE.
  11228.     * alloc.c: #include puresize.h.
  11229.     [HAVE_SHM] (pure_size): New variable, so that XPNTR doesn't depend
  11230.     on PURESIZE.
  11231.     [HAVE_SHM] (init_alloc_once): Initialize pure_size here.
  11232.     * lisp.h [HAVE_SHM] (XPNTR): Defined in terms of pure_size,
  11233.     instead of PURESIZE.
  11234.     (pure_size): extern declaration added here.    
  11235.     * ymakefile: Added puresize.h to dependencies for alloc.c and
  11236.     data.c's .o files.
  11237.  
  11238.     * emacs.c (main): Doc fix for kludge to scan for -d.
  11239.  
  11240. Wed Jul 17 01:21:20 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11241.  
  11242.     * termhooks.h (struct input_event): #if 0'd out the definition for
  11243.     the screen_selected event type, and added the stipulation that the
  11244.     {non_,}ascii_keystroke events specify the screen they happen in.
  11245.     * xterm.c (x_new_focus_screen): Don't enqueue a screen_selected
  11246.     event.
  11247.     (XTread_socket): Calls to x_new_focus_screen in the EnterNotify,
  11248.     FocusIn, LeaveNotify, and FocusOut event code don't worry about
  11249.     enqueued events any more.
  11250.     * keyboard.c (new_selected_screen): Removed - see below.
  11251.     (Vlast_event_screen): New variable, visible to lisp code.
  11252.     (echo_length, echo_truncate): New functions.
  11253.     (readable_events): Removed screen_selected events from the set of
  11254.     things to skip.
  11255.     (kbd_buffer_store_event): Don't bother collapsing consecutive
  11256.     screen_selected events.
  11257.     (kbd_buffer_read_char): Don't process screen_selected events.
  11258.     (make_lispy_event): Re-arrange scrollbar events to put the window
  11259.     whose scrollbar was diddled right after the identifying symbol,
  11260.     for consistency.
  11261.     (read_key_sequence): Let the selected screen and the location of
  11262.     the event affect the keymap used to find its binding.
  11263.     (Fread_key_sequence): Update docstring.
  11264.     (syms_of_keyboard): Added DEFVAR_LISP for Vlast_event_screen.
  11265.  
  11266. Mon Jul 15 21:17:11 1991  Jim Blandy  (jimb@pogo.gnu.ai.mit.edu)
  11267.  
  11268.     * screen.c (next_screen): If !mini_screen, only exclude the global
  11269.     minibuffer screen when the minibuffer is its only window.
  11270.     (Fnext_screen): Make the docstring clearer about what MINISCREEN
  11271.     means.
  11272.  
  11273.     * window.c (Fother_window): Indicate that it takes both a required
  11274.     and optional argument, instead of just one required.
  11275.  
  11276. Mon Jul 15 17:10:19 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)
  11277.  
  11278.     * buffer.c (Fkill_buffer): Rehacked kill-buffer-hooks to use
  11279.     standard name kill-buffer-hook, and to use set_buffer_internal
  11280.     instead of Fset_buffer.  Use static variable containing symbol
  11281.     instead of intern.
  11282.     (syms_of_buffer, init_buffer_once): Qkill_buffer_hook =
  11283.     'kill-buffer-hook.
  11284.  
  11285. Mon Jul 15 05:35:12 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11286.  
  11287.     * keymap.c (Fsingle_key_description): When describing a listy
  11288.     object, take the car to find the symbol that heads it, not the cdr.
  11289.  
  11290.     * dispnew.c (buffer_posn_from_coords): Pass col and line to
  11291.     compute_motion in the correct order.
  11292.  
  11293.     * keyboard.c (make_lispy_event): When calculating rows and columns
  11294.     for mouse clicks and movement events, don't forget to subtract the
  11295.     position of the window's top left corner before passing them to
  11296.     buffer_posn_from_coords.
  11297.  
  11298.     * screen.c (coordinates_in_window): Removed useless test for *y ==
  11299.     screen_height, and screen_height variable; this would be out of
  11300.     range of all the windows anyway.
  11301.  
  11302.     * xdisp.c (message1): Removed code to ignore messages before X has
  11303.     started up; this issue has hopefully been addressed by the
  11304.     condition-case in startup.el.
  11305.  
  11306.     * editfns.c (init_editfns): Make user_name char * instead of
  11307.     unsigned char *, since that's what most of the usages seem to
  11308.     want.  And when expanding ampersands in AMPERSAND_FULL_NAME mode,
  11309.     don't try to use user_name as a string; use Vuser_name.
  11310.  
  11311.     * minibuf.c (assoc_for_completion): New function.
  11312.     (do_completion): Use that to check for exact match.
  11313.  
  11314.     * minibuf.c (Ftry_completion):  Fix handling of matches aside from
  11315.     case.  If ignoring case, and all else equal, try to preserve the
  11316.     case of the characters in the input.
  11317.  
  11318.     * process.c (status_notify): GCPRO tail.
  11319.  
  11320.     * sysdep.c (creat_copy_attrs, rename_sans_version):  Always set
  11321.     protection to O:REWD when creating file.  Added new function
  11322.     rename_sans_version, which strips the version number from the target
  11323.     filename, renames the temporary file to this filename,  and then
  11324.     sets the file protection of this new file to be the same as the file
  11325.     being edited.
  11326.  
  11327.     * sysdep.c [VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
  11328.     (F_SETFL) [VMS]: Undefine this, to control conditionals.
  11329.     (getpwnam): Make `full' unsigned.
  11330.     (creat_copy_attrs): Add some casts.
  11331.     (sys_access): Change prvmask and CHECKPRIV to use bitfields.
  11332.     Add some casts, and make dummy an unsigned short int.
  11333.     Don't use & on constants.
  11334.     (vmserrstr): Add a cast.
  11335.     (sys_creat): Define va_count before this function.
  11336.  
  11337. Sun Jul 14 18:13:36 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11338.  
  11339.     * sysdep.c (sys_sleep, input_wait_timeout): Don't use & on constant.
  11340.     [VMS]: Include pwd.h from Emacs.  Use sys/file.h if GCC.
  11341.     (bzero, bcopy) [VMS]: Don't take address of `length'.
  11342.  
  11343.     * sysdep.c (sys_suspend): Cast value of `signal' to insulate from
  11344.     changed value type in sysV.3.
  11345.  
  11346.     * sysdep.c (child_setup_tty): Turn off erase & kill chars for BSD.
  11347.  
  11348.     * sysdep.c (discard_tty_input): Use TIOCFLUSH on Apollo.
  11349.     (init_sys_modes): Avoid TIOCSTART on Apollo.
  11350.  
  11351.     * sysdep.c: If HAVE_TERMIOS is not defined, define tcgetattr in
  11352.     terms of the TIOCGETP ioctl.
  11353.     (init_sys_modes): Handle VSUSP, V_DSUSP if HAVE_TCATTR.
  11354.     (discard_tty_input, init_baud_rate, child_setup_tty,
  11355.     init_sys_modes, tabs_safe_p, reset_sys_modes):
  11356.     Use tcgetattr, and if HAVE_TCATTR, use tcsetattr.
  11357.  
  11358. Sat Jul 13 01:02:53 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)
  11359.  
  11360.     * s-hpux8.h: New file.
  11361.     * fileio.c [HPUX8]: Don't include errnet.h.
  11362.  
  11363.     * unexhp9k800.c (unexec): Local variable i to avoid compiler bug?
  11364.  
  11365.     * sysdep.c (insque) [WRONG_NAME_INSQUE]: New function.
  11366.     * s-386ix.h (WRONG_NAME_INSQUE): Define it.
  11367.  
  11368.     * xdisp.c (message_buf_print): New variable.
  11369.     (message): Clear it here.
  11370.     * dispextern.h: Declare it here.
  11371.     * print.c (printchar, strout): Set it and test it here.
  11372.  
  11373.     * keyboard.c (command_loop_1): Don't clear last_command when start
  11374.     macro.
  11375.  
  11376.     * keyboard.c (read_command_char): Exit at eof if noninteractive.
  11377.  
  11378.     * indent.c (invalidate_current_column): New function.
  11379.     * editfns.c (Fwiden, Fnarrow_to_region): Call it.
  11380.  
  11381.     * process.c (create_process): Use O_NOCTTY whenever defined,
  11382.     unless USG.
  11383.  
  11384.     * process.c (Fprocess_send_eof): If using a pipe, close it.
  11385.     (close_process_descs): Check IN and OUT for nonzeroness. 
  11386.  
  11387.     * process.c (process_send_signal): Use interrupt chars
  11388.     to send certain signals to the process group.
  11389.     (TIOCGETC): Undefine this if it is not really usable.
  11390.  
  11391.     * sysdep.c (discard_tty_input): Do nothing if read_socket_hook.
  11392.  
  11393.     * xfns.c (x_set_mouse_color): Change the default pointer shapes to
  11394.     be closer to xterm and emacs 18.
  11395.  
  11396.     * xterm.c (x_focus_on_screen, x_unfocus_screen): These no longer
  11397.     call XSetInputFocus, because I think that the X-windows ICCCM
  11398.     says that only the window manager can do this sort of thing.
  11399.  
  11400.     * keyboard.c (read_char): When there is an unread command
  11401.     character, goto reread_first when this_command_key_count is zero,
  11402.     not when it is >= 0.
  11403.     (command_loop_1): Reset this_command_key_count only if there is no
  11404.     prefix argument.  This makes echoing of keystrokes work correctly.
  11405.  
  11406. Thu Jul 11 23:55:01 1991  Jim Blandy  (jimb@geech.gnu.ai.mit.edu)
  11407.  
  11408.     * eval.c (Finteractive_p): Changed "! XTYPE (foo) == Lisp_Bar" to
  11409.     "XTYPE (foo) != bar".
  11410.  
  11411. Thu Jul 11 17:03:10 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11412.  
  11413.     * eval.c (apply1): Don't forget to UNGCPRO before returning.
  11414.  
  11415.     * xterm.c (XTupdate_begin): Undisplay the cursor here; do_scrolling
  11416.     will call XTins_del_lines when the screen matrix is inaccurate, so
  11417.     we cannot undisplay the cursor then, but do_scrolling is always
  11418.     called within an update.
  11419.  
  11420. Wed Jul 10 19:58:18 1991  David J. MacKenzie  (djm at nutrimat)
  11421.  
  11422.     * termcap.c, tparam.c [!emacs, USG || STDC_HEADERS]: Define bcopy
  11423.     in terms of memcpy.
  11424.  
  11425. Tue Jul  9 18:36:25 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11426.  
  11427.     * scroll.c (do_scrolling): Use correct termination condition for
  11428.     loop that uses the glyph pointers for the deleted lines to fill in
  11429.     the inserted lines.
  11430.  
  11431. Mon Jul  8 21:28:23 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11432.  
  11433.     * editfns.c: Doc fix.
  11434.  
  11435. Wed Jul  3 05:47:56 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11436.  
  11437.     * dispnew.c (line_hash_code): Test m->highlight[vpos], not
  11438.     m->highlight.  All lines were getting hash codes of -1, because
  11439.     the highlight vector was never NULL.  Golly.
  11440.  
  11441.     * process.c (list_processes_1): Handle status of network streams.
  11442.  
  11443. Tue Jul  2 22:10:26 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11444.  
  11445.     * doc.c (Fdocumentation_property):
  11446.     Pass only strings to Fsubstitute_command_keys.
  11447.  
  11448. Tue Jul  2 17:01:02 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11449.  
  11450.     * editfns.c (init_editfns): If neither of the environment
  11451.     variables are set, DON'T set Vuser_name to Vuser_real_name; it's
  11452.     supposed to reflect the EFFECTIVE uid.
  11453.     Get the full name according to Vuser_name if it differs from
  11454.     Vuser_real_name, not if they are equal.
  11455.     And pass Vuser_name to getpwnam in that case instead of user_name,
  11456.     which might be 0.
  11457.  
  11458.     * lisp.h (RETURN_UNGCPRO): New macro.
  11459.     
  11460.     * bytecode.c (Fbyte_code): Do not remove GC protection from the
  11461.     stack when making a function call, because the caller is
  11462.     responsible for protecting the arguments to a MANY-arg'ed
  11463.     function.
  11464.     * eval.c (Fapply): If we use funcall_args, GCPRO it.
  11465.     And when we call Ffuncall with funcall_args, tell it the correct
  11466.     length of funcall_args, no matter which branch allocated it.
  11467.     (Ffuncall): Don't gcpro the arguments before calling
  11468.     Fgarbage_collect.
  11469.     (Feval): If we're calling a subr that takes MANY args, don't
  11470.     UNGCPRO until after we call the subr.
  11471.     (apply1, call0, call1, call2, call3): GCPRO the arg arrays passed
  11472.     to Ffuncall and Fapply.
  11473.     * callproc.c (Fcall_process, Fcall_process_region): Don't GCPRO
  11474.     the argument array.
  11475.     * editfns.c (Finsert, Finsert_before_markers): Don't GCPRO the
  11476.     argument array.  Added comment about when GCPROing is not needed.
  11477.     * mocklisp.c (Finsert_string): Don't GCPRO the argument array.
  11478.  
  11479.     * keyboard.c (init_keyboard): Handle SIGQUIT with interrupt_signal
  11480.     on any system that has HAVE_TERMIO, not just on USG systems.
  11481.  
  11482. Mon Jul  1 12:20:34 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11483.  
  11484.     * editfns.c (init_editfns): Test that user_name isn't 0.
  11485.  
  11486. Sat Jun 29 12:25:43 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11487.  
  11488.     * search.c: Doc fixes.
  11489.  
  11490. Fri Jun 28 11:22:05 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11491.  
  11492.     * keyboard.c (make_lispy_event): Let the posns of mouse clicks and
  11493.     mouse movements be nil when window_from_coordinates returns a
  11494.     NON-window, not when it returns a window.  Since posn is a lisp
  11495.     object, don't call make_number when consing up the event.
  11496.     Don't call make_number on the code member of the event.
  11497.  
  11498.     * keyboard.c (struct movement): Make the x, y, and time members
  11499.     Lisp_Objects, since it's easier to convert from a Lisp_Object than
  11500.     to.
  11501.     (note_mouse_position): Adjusted for the above.
  11502.     (make_lispy_event): Removed code to make Lisp_Objects for those
  11503.     members.
  11504.  
  11505.     * xterm.c (XTread_socket): When handling LeaveNotify events,
  11506.     remember that the focus member of the event is true when the
  11507.     receiving window now has the focus, not when it is losing it.
  11508.     * xfns.c (Ffocus_screen): Don't signal an error if SCREEN is
  11509.     already the focus screen.
  11510.  
  11511. Wed Jun 26 10:35:34 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11512.  
  11513.     * alloc.c (Fmake_rope): Use sizeof (GLYPH) instead of 2 to
  11514.     determine how large the string should be, and changed doc string
  11515.     to describe ropes as strings of glyphs, not just as strings of
  11516.     character pairs.
  11517.     (Frope_elt): Use sizeof (GLYPH) as the element size, instead of
  11518.     assuming that the elements are two bytes.
  11519.     * lisp.h (typedef GLYPH): Moved the definition from here...
  11520.     * config.h (typedef GLYPH): to here, so people can elect to get
  11521.     better performance if they don't want to use huge fonts.
  11522.     * xterm.c (dumpglyphs): Use XDrawImageString or
  11523.     XDrawImageString16, Depending on sizeof (GLYPH).
  11524.     
  11525.     * data.c (Fsetq_default): Call Fset_default to do the assignments,
  11526.     not plain Fset.
  11527.  
  11528.     The following changes were contributed by Jamie Zawinski
  11529.     <jwz@lucid.com>:
  11530.  
  11531.     * bytecode.c (Fbyte_code): BYTE_CODE_SAFE and BYTE_CODE_METER
  11532.     options added.
  11533.     Added Bmark, Bscan_buffer, Bset_mark to support error-checking for
  11534.     these obsolete bytecodes.
  11535.     Added Bunbind_all to support tail-call optimization (not yet
  11536.     implemented).
  11537.     Did NOT add the relative branch opcodes that were in the version
  11538.     of bytecode.c that Jamie sent.
  11539.     The branching bytecodes now only QUIT if they take the branch.
  11540.     Btemp_output_buffer_show, Bforward_char, Bforward_word,
  11541.     Bskip_chars_forward, Bskip_chars_backward, and Bforward_line
  11542.     passed the wrong number of arguments to their subrs. 
  11543.     Brem, Bbuffer_substring, Bdelete_region, Bnarrow_to_region,
  11544.     Bstringeqlsign, Bstringlss, Bequal, Bnthcdr, Bmember, Bassq,
  11545.     Bsetcar, and Bsetcdr passed arguments to the subr in the wrong
  11546.     order.
  11547.  
  11548. Tue Jun 25 16:49:50 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)
  11549.  
  11550.     * doc.c (Fdocumentation): Added a QUIT test to the loop that finds
  11551.     the symbol's function value.
  11552.  
  11553. Mon Jun 24 18:48:03 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11554.  
  11555.     * xterm.c (dumprectangle): Removed call to XFlushQueue here.
  11556.  
  11557.     * keyboard.c (command_loop_1): Call Fselect_screen to establish
  11558.     the new selected screen after the key sequence has been read, not
  11559.     at the top of the loop.  This way, a key sequence will happen in
  11560.     the screen it was typed at, or (to be more precise) the screen its
  11561.     last character was typed at.
  11562.  
  11563.     * keyboard.c (fast_read_one_key): Function deleted, since it had
  11564.     been #if 0'd out a long time ago.
  11565.     (command_loop_1): Support for fast_read_one_key removed.
  11566.  
  11567.     * eval.c (Ffuncall): Do GCPRO the arguments, contrary to the May
  11568.     16 change.  The convention appears to be that the MANY-arged
  11569.     callee must protect its own arguments.
  11570.     (Fapply): Don't protect funcall_args; they are the caller's
  11571.     responsibility.
  11572.     * bytecode.c (Fbyte_code): GCPRO the section of the stack *above*
  11573.     the args to Ffuncall, since it will be protected again once
  11574.     Ffuncall returns and therefore should stay valid.  If it is not
  11575.     protected, string relocation may make it invalid.
  11576.     * mocklisp.c (Finsert_string): GCPRO the arguments, since insert
  11577.     may cause a garbage collection.
  11578.     * editfns.c (Finsert, Finsert_before_markers): GCPRO the
  11579.     arguments, since insert may cause a garbage collection.
  11580.     * callproc.c (Fcall_process, Fcall_process_region): GCPRO the
  11581.     arguments, since insert may cause a garbage collection.
  11582.  
  11583. Thu Jun 20 06:24:19 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11584.  
  11585.     * buffer.h (struct buffer_text, struct buffer): small change to
  11586.     comments.
  11587.  
  11588.     * search.c (Fmatch_beginning, Fmatch_end): Fixed doc strings to
  11589.     indicate that non-regexp searches set these too.
  11590.  
  11591.     * window.c (Fset_window_start): If window is not the selected
  11592.     window, set windows_or_buffers_changed, so that redisplay will
  11593.     know that it should redisplay the window.
  11594.  
  11595.     * callint.c (Finteractive): Changed doc string to indicate that
  11596.     the interactive prompts are passed through format.
  11597.  
  11598. Thu Jun 20 00:21:31 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  11599.  
  11600.     * buffer.c (syms_of_buffer): buffer-undo-list doc fix.
  11601.  
  11602. Tue Jun 11 18:18:27 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)
  11603.  
  11604.     * data.c (Fsetq_default): Take multiple SYM, VAL args; syntax now
  11605.     parallel to setq.
  11606.  
  11607. Sat May 25 00:38:22 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11608.  
  11609.     * keyboard.c (kbd_buffer_read_char): Fix wait-for-input loop so
  11610.     that we always process/toss events we don't want to return.
  11611.  
  11612.         * screen.c (Fselect_screen): Call Ffocus_screen instead of
  11613.     x_new_selected_screen, which doesn't exist anymore.
  11614.  
  11615.     * xfns.c (Ffocus_screen): Declare the type of the SCREEN argument.
  11616.  
  11617.     * xfns.c (Fx_track_pointer): Function #if 0'd out - I don't think
  11618.     that this is a feature that we want.
  11619.     (syms_of_xfns): Elide the defsubr for the above.
  11620.  
  11621.     * xterm.c (x_mouse_screen, x_input_screen): Variable deleted,
  11622.     since all we really need is x_focus_screen; all other issues are
  11623.     the realm and responsibility of the window manager.
  11624.     (x_new_selected_screen): Renamed to x_new_focus_screen, and
  11625.     modified not to do thiogs inappropriate for signal handlers.
  11626.     (XTread_socket): Change the handling of EnterNotify, LeaveNotify,
  11627.     FocusOut and FocusIn events to use x_new_selected_screen, and
  11628.     ditched code that deals with x_mouse_screen and x_input_screen,
  11629.     since they don't exist anymore.
  11630.     (x_display_bar_cursor, x_display_box_cursor): Compare s with
  11631.     x_focus_screen to see what form the cursor should take.
  11632.     (x_destroy_window): Don't bother with x_input_screen.
  11633.     * xfns.c (x_mouse_screen): Removed extern declaration for this.
  11634.     (Fx_grab_pointer): Confine the pointer to x_focus_screen, not
  11635.     x_mouse_screen.  This is wrong, but will make emacs compile until
  11636.     this gets fixed.
  11637.  
  11638. Thu May 23 18:52:13 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11639.  
  11640.     * keyboard.c (get_input_pending): Don't use trim_events; use
  11641.     readable_events instead.
  11642.  
  11643.     * keyboard.c (make_lispy_event): Remove case for window_sys_event,
  11644.     since that type of event doesn't exist anymore.
  11645.  
  11646.     * minibuf.c (Fcompleting_read): Document the backup-n argument.
  11647.  
  11648.     * dispnew.c (init_display): Don't declare alternate_display extern
  11649.     here.  I can't figure out what this feature is, and it's broken.
  11650.     * emacs.c (main): Don't test alternate_display and put its value
  11651.     in the environment.
  11652.  
  11653. Wed May 22 18:47:28 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11654.  
  11655.     * keyboard.c (struct movement): Made .used an int instead of a
  11656.     char, since that's more likely to be stored atomically on SPARCS
  11657.     and similar machines. 
  11658.  
  11659.     * termhooks.h (struct input_event): Removed the window_sys_event,
  11660.     since it's not used anywhere.  Added screen_selected event type.
  11661.     The event handling code used to change the current buffer,
  11662.     selected window, and selected screen out from under running lisp
  11663.     code.  Now we wait for a more convenient time by enqueuing an
  11664.     event.
  11665.     * xterm.c (XTread_socket): When handling FocusIn events and
  11666.     EnterNotify events with the focus member set, enqueue a
  11667.     selected_screen event instead of calling x_new_selected_screen.
  11668.     * keyboard.c (trim_events): Function deleted; it is a bad idea to
  11669.     delete events based on the current tracking state, since tracking
  11670.     might be re-enabled later.
  11671.     (readable_events): New function which searches the input queue for
  11672.     readable events.
  11673.     (tracking_off): Call readable_events to see if we should
  11674.     redisplay.
  11675.     (kbd_buffer_read_char):    Toss events that we are not interested in.
  11676.     This is a better place to do it than trim_events, since we know
  11677.     that do_mouse_tracking will not change.  Also, handle
  11678.     screen_selected events.
  11679.     (new_selected_screen): New variable, holding the screen which
  11680.     should become selected the next time through command_loop_1.
  11681.     (syms_of_keyboard): Initialize and staticpro new_selected_screen.
  11682.     (command_loop_1): If there is a new screen to be selected, do so.
  11683.  
  11684. Tue May 21 20:30:04 1991  Jim Blandy  (jimb@wookumz.gnu.ai.mit.edu)
  11685.  
  11686.     * xdisp.c (message): Removed the if at the top that did not
  11687.     display messages if the current screen was a termcap screen and a
  11688.     window system will be used.  The change to startup.el on May 18,
  11689.     1991 replaces this.
  11690.  
  11691.     * ralloc.c (check_memory_limits): If the address returned by the
  11692.     allocator is not representable in a Lisp_Object, call memory_full
  11693.     instead of printing a very silly "warning" message.
  11694.  
  11695. Sun May 19 18:04:39 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11696.  
  11697.     * xterm.c (XTread_socket): Don't overwrite the end of the buffer
  11698.     with function keys.
  11699.  
  11700.     * keyboard.c (tracking_off): Update input_pending after reading
  11701.     all the input.
  11702.     * process.c: #include "screen.h".
  11703.     (wait_reading_process_input): Check if any screens have been newly
  11704.     mapped and need updating.
  11705.     * xterm.c (XTread_socket): Don't SET_SCREEN_GARBAGED when the
  11706.     screen is unmapped; do this when is mapped.
  11707.     (dumprectangle): Don't dump any data for garbaged screens.
  11708.  
  11709. Sat May 18 14:18:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11710.  
  11711.     * sysdep.c (init_sys_modes): Moved the clauses that set up
  11712.     interrupt-driven input out of the "if running on a terminal"
  11713.     clause, since these may need to be set up even when running on a
  11714.     window system.
  11715.  
  11716. Fri May 17 15:05:33 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11717.  
  11718.     * process.c (Fprocess_status): For network connections, return
  11719.     Qopen and Qclosed instead of Qrun and Qexit, as documented.
  11720.  
  11721.     * lread.c (read1): Removed code that treated numbers starting with
  11722.     a zero as octal.
  11723.  
  11724. Thu May 16 09:58:09 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11725.  
  11726.     * eval.c (Ffuncall): Don't gcpro the arguments; the caller
  11727.     protects them.
  11728.     (Fapply): Gcpro funcall_args, if we use them.
  11729.  
  11730.     * xterm.c (notice_mouse_movement): #if 0'd this function out.
  11731.     (XTread_socket): #if 0 the code that fakes motion events for
  11732.     moving in and out of windows.  Also, rearrange the MotionNotify
  11733.     case to give character rows and columns to note_mouse_position,
  11734.     not pixel x and y positions.  Don't deal with scrollbars here.
  11735.     * termhooks.h (struct input_event): Removed the mouse_movement
  11736.     event kind.
  11737.     * keyboard.c (movement_buf): A new buffer for mouse-movement events.
  11738.     This is hairier than you might think; see the comments for this
  11739.     and the comments for note_mouse_position and get_mouse_position
  11740.     for an explanation of why this is hairy.
  11741.     (movement_ptr): Where the event handler should store new mouse
  11742.     locations.
  11743.     (EVENT_QUEUES_EMPTY): New macro, to be used in the places that
  11744.     used to compare kbd_fetch_ptr to kbd_store_ptr to see if there
  11745.     were any events available; this macro tests the mouse movement
  11746.     buffer too.
  11747.     (Qmouse_movement): New symbol to head mouse movement events with.
  11748.     (trim_events): Mouse movement events are no longer in kbd_buffer,
  11749.     so don't try to trim them.
  11750.     (tracking_off, kbd_buffer_read_char, get_input_pending): Use
  11751.     EVENT_QUEUES_EMPTY.
  11752.     (get_mouse_position): New function to retrieve a mouse position
  11753.     from the buffer properly, no matter when the event-handling signal
  11754.     occurs.
  11755.     (kbd_buffer_read_char): If there is something in kbd_buffer, make
  11756.     an event for that; if there is a mouse movement, make an event for
  11757.     that; otherwise, the while loop lied.
  11758.     (make_lispy_event): Added code to produce mouse movement events.
  11759.     (init_keyboard): Clear the mouse movement buffer.
  11760.     (Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen,
  11761.     Qexited_window, Qexited_scrollbar): Removed extern declarations
  11762.     for these, since they're no longer generated.
  11763.     (syms_of_keyboard): Initialize and staticpro Qmouse_movement,
  11764.     remove DEFVAR_LISP for Vignore_mouse_events.
  11765.  
  11766. Tue May 14 12:45:20 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11767.  
  11768.     * lread.c (read1): Correctly parenthesize the shift when parsing
  11769.     octal numbers, and signal an error if we see a non-octal digit.
  11770.  
  11771. Mon May 13 11:28:07 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11772.  
  11773.     * keyboard.c (trim_events): New function, to remove uninteresting
  11774.     events from the input queue.
  11775.     (get_input_pending): Call trim_events before checking the queue,
  11776.     so as not to advertise input we don't care about.
  11777.     (Ftrack_mouse): A new function to enable mouse tracking for a
  11778.     block of code.
  11779.     (tracking_off): A function for unwind_protection; restore the
  11780.     mouse tracking state to what it was outside of the track-mouse
  11781.     (syms_of_keyboard): defsubr track-mouse.
  11782.     (make_lispy_event): Find the window io which the click occurred
  11783.     when processing mouse_click events, instead of trusting the window
  11784.     tree in the signal-handling code.  Include the buffer position in
  11785.     the click event.
  11786.  
  11787.     * xterm.c (construct_mouse_click): Return the click's screen, not
  11788.     its window, and don't bother updating Vmouse_window.  Calculate
  11789.     the row and column of text-area clicks using
  11790.     pixel_to_glyph_translation, since we know that those data
  11791.     structures are alive in signal handlers.
  11792.  
  11793.     * screen.c (window_from_coordinates,
  11794.     Flocate_window_from_coordinates): Moved these to window.c, since I
  11795.     need to be able to call them even if we don't have multi-screen
  11796.     support.
  11797.     (syms_of_screen): Removed defsubr for
  11798.     Flocate_window_from_coordinates.
  11799.     * window.c (window_from_coordinates, Flocate_window_from_coordinates):
  11800.     Here they are.
  11801.     (syms_of_window): Here is the defsubr.
  11802.  
  11803.     * keyboard.c (note_mouse_position): New function to enqueue
  11804.     mouse movement events properly.
  11805.     (current_movement_event): New variable, to support the above.  See
  11806.     its comment for more explanation.
  11807.  
  11808.     * termhooks.h (struct input_event): Change the .window member to
  11809.     .screen, make it a struct screen *, and indicate that those events
  11810.     which used to return    windows now return screens.  It is unsafe
  11811.     for the event reader to traverse the window structure, because it
  11812.     can be called by a signal handler.
  11813.  
  11814. Fri May 10 12:29:21 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11815.  
  11816.     * keyboard.c (Vignore_mouse_events): Variable deleted.
  11817.     (make_lispy_event): For mouse and scrollbar clicks, return the
  11818.     position as a pair of numbers, not a list of two numbers.
  11819.  
  11820. Thu May  9 02:27:10 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11821.  
  11822.     * keyboard.c (do_mouse_tracking): Define this variable, which
  11823.     controls whether kbd_buffer_read_char will ignore button up and
  11824.     mouse movement events.
  11825.         * termhooks.h: Declare do_mouse_tracking here.
  11826.  
  11827.         * xterm.h (STANDARD_EVENT_SET): New constant, giving the event
  11828.     mask all the windows use.
  11829.  
  11830.     * xfns.c (Vx_send_mouse_movement_events): Removed this variable;
  11831.     XTmouse_tracking_enable and do_mouse_tracking do its job better.
  11832.     (syms_of_xfns): Remove the DEFVAR_LISP for the above.
  11833.     (x_window): Don't ask for any pointer motion events or button
  11834.     release events by default; use the unmodified STANDARD_EVENT_MASK.
  11835.     The user will ask for them explicitly if he or she wants them.
  11836.     And don't ask for backing store.
  11837.  
  11838.     * xterm.c (XTmouse_tracking_enable): New function to
  11839.     request/unrequest detailed mouse tracking information of the
  11840.     server, and set the flag used by XTread_socket.
  11841.     (x_term_init): Set mouse_tracking_enable_hook to
  11842.     XTmouse_tracking_enable here.
  11843.     (XTread_socket): Handle mouse movement events by calling
  11844.     note_mouse_position.
  11845.  
  11846.     * xterm.c (XTread_socket): For MapNotify events, go ahead and set
  11847.     the screen's visible flag, so Expose events will work.  Clear the
  11848.     iconified flag.
  11849.  
  11850.     * editfns.c (Finsert_char): Return immediately if n <= 0, not just
  11851.     if n < 0, so that the `while' below does not become an infinite
  11852.     loop.
  11853.  
  11854.     * term.c (mouse_tracking_enable_hook): Added this variable to
  11855.     allow emacs to request that the window system start or stop
  11856.     detailed mouse tracking.
  11857.     * termhooks.h (mouse_tracking_enable_hook): Declare it here.
  11858.  
  11859.     * xfns.c: Declare the functions before initializing
  11860.     x_screen_parm_table to point to them.
  11861.  
  11862.     * xterm.c (XTread_socket): Don't send Qmapped_screen,
  11863.     Qunmapped_screen, Qexited_scrollbar, Qexited_window,
  11864.     Qredraw_screen - these are not features that we want to support.
  11865.  
  11866. Tue May  7 00:42:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11867.  
  11868.     * editfns.c (Finsert_char): Let strlen be the minimum of n and
  11869.     256, not the maximum, so we use an n-byte buffer when n < 256, and
  11870.     a 256-byte buffer many times when n > 256.
  11871.  
  11872. Sun May  5 21:58:01 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11873.  
  11874.     * keymap.c (Fkeymapp): Fixed docstring to give the right
  11875.     definition of a keymap.
  11876.  
  11877. Fri May  3 15:02:12 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11878.  
  11879.     * data.c (Fcompiled_function_p): New function.
  11880.  
  11881. Fri May  3 00:57:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11882.  
  11883.     * xfns.c (struct x_screen_parm_table): New type for recording
  11884.     information about screen parameters.
  11885.     (x_screen_parms): New table describing the existing parameters.
  11886.     (init_x_parm_symbols, x_set_screen_param): Use x_screen_parms
  11887.     instead of a large switch statement.
  11888.     (x_figure_window_size): Make the default case of the switch call
  11889.     abort instead of signalling an error, since window_prompting's
  11890.     value is internally generated.
  11891.  
  11892. Wed May  1 18:21:36 1991  Jim Blandy  (jimb at churchy.gnu.ai.mit.edu)
  11893.  
  11894.     * keymap.c (describe_map_tree): GCPRO the maps variable;
  11895.     Fkey_description calls Fmapconcat, which eventually calls
  11896.     Ffuncall, which can garbage-collect.
  11897.  
  11898. Sun Apr 28 01:04:15 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11899.  
  11900.     * dispnew.c (buffer_posn_from_coords): Use the information in bufp
  11901.     to reduce the distance compute_motion must scan, when possible.
  11902.  
  11903. Sat Apr 27 21:56:59 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11904.  
  11905.     * keyboard.c (syms_of_keyboard): Qtop_level is initialized and
  11906.     staticpro'd in syms_of_data too.  Don't staticpro (or initialize)
  11907.     it again here.
  11908.  
  11909.     * macros.c (syms_of_macros): Since executing-macro and
  11910.     executing-kbd-macro are actually the same variable, use
  11911.     DEFVAR_LISP_NOPRO for the second one so it doesn't get staticpro'd
  11912.     twice.
  11913.  
  11914.     * process.c (syms_of_process): Don't staticpro or initialize Qexit
  11915.     here, since syms_of_eval already does this and it's bad to
  11916.     staticpro something twice.
  11917.     (Qexit): Remove declaration here, so there will be a compilation
  11918.     error if someone rearranges eval.c without fixing the Qexit stuff.
  11919.     * eval.c (syms_of_eval): Add comment here to say that
  11920.     syms_of_process cares about Qexit too.
  11921.  
  11922.     * lread.c (init_obarray): Don't staticpro Vobarray, since the
  11923.     DEFVAR_LISP in syms_of_read takes care of that.
  11924.  
  11925. Mon Apr 22 00:34:21 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11926.  
  11927.     * window.c (save_window_save): Always get the selected window's
  11928.     value of point from its buffer, not just when it's also the
  11929.     current buffer.
  11930.  
  11931.     * lisp.h (Qdisabled): Declare this here so that the keys_of_*
  11932.     files can disable the commands they define.
  11933.     * casefiddle.c (keys_of_casefiddle): Make upcase-region and
  11934.     downcase-region disabled, by default.
  11935.  
  11936. Tue Apr 16 09:39:52 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  11937.  
  11938.     * bytecode.c (PUSH):  Alliant can't be bothered to implement the
  11939.     preincrement operator right, so use a comma.
  11940.  
  11941.      * print.c (syms_of_print): staticpro Qexternal_debugging_output.
  11942.  
  11943.     * editfns.c (clip_to_bounds): No longer static - used in window.c.
  11944.     * window.c (unshow_buffer): Use clip_to_bounds to make sure we
  11945.     change point to something legal.
  11946.  
  11947. Sun Apr 14 22:43:51 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  11948.  
  11949.     * sysdep.c: Changes in formatting and comments.
  11950.  
  11951. Fri Apr 12 11:45:34 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11952.  
  11953.     * editfns.c (Fbuffer_substring): Don't call make_string, because
  11954.     it may cause a compaction and move the buffer, and then copy the
  11955.     wrong data.
  11956.  
  11957.     * keyboard.c (read_char): Only GC if we've actually done enough
  11958.     consing since the last gc to make it worthwhile.
  11959.  
  11960. Thu Apr 11 09:48:53 1991  Jim Blandy  (jimb at geech.gnu.ai.mit.edu)
  11961.  
  11962.     * keymap.c (access_keymap): Canonicalize the order of the
  11963.     modifiers when you look up a symbol in a keymap, too.
  11964.     (where-is-internal): If the keymap in which we found the
  11965.     definition was reached by meta-prefix-char, replace it with the
  11966.     metized character.
  11967.  
  11968.     * eval.c (Fcondition_case): Initialize the `handler_list' member
  11969.     of the catchtag.
  11970.  
  11971.     * keyboard.c (read_char): reset recent_keys_index when it is
  11972.     greater than OR EQUAL to the number of elements in recent_keys,
  11973.     stupid.
  11974.  
  11975.     * keymap.c (access_keymap): When fetching the car of listy events,
  11976.     no need to call Fcar_safe - extract the car directly.
  11977.     * keyboard.c (read_key_sequence): Don't extract the car from listy
  11978.     events here since 1) it strips information that we need from the
  11979.     events, and 2) access_keymap will take care of that for us.
  11980.  
  11981.     * macros.c (Qexecute_kbd_macro): New variable, used by
  11982.     Fexecute_command.
  11983.     (syms_of_macros): Initialize and staticpro Qexecute_kbd_macro.
  11984.     * lisp.h: Add extern declaration for Qexecute_kbd_macro.
  11985.     * keyboard.c (Fcommand_execute): Add an entry to the command
  11986.     history for keyboard macros too.
  11987.  
  11988.     * xterm.c (XTread_socket): If we get a MappingNotify event whose
  11989.     request == MappingKeyboard, someone has changed the keyboard
  11990.     mapping, and we should get the new mapping with
  11991.     XRefreshKeyboardMapping.
  11992.  
  11993. Wed Apr 10 11:43:37 1991  Jim Blandy  (jimb at wookumz.gnu.ai.mit.edu)
  11994.  
  11995.     * commands.h: Declare last_command_char to be a Lisp_Object, not
  11996.     an integer (ack).
  11997.  
  11998.     * cmds.c (Fself_insert_command): If last_command_char is not an
  11999.     integer, beep.
  12000.     * minibuf.c (Fself_insert_and_exit): Same thing.
  12001.  
  12002.     * keyboard.c (format_modifiers): New function, factoring out code
  12003.     from modify_event_symbol and reorder_modifiers.
  12004.     (modify_event_symbol): Call format_modifiers instead of doing the
  12005.     work inline.
  12006.     (reorder_modifiers): New function to put the modifiers on a
  12007.     modified symbol in the canonical order.
  12008.  
  12009.     * keymap.c (modify_event_symbol): Prepend the modifiers so they
  12010.     appear in the canonical order: `M-C-S-U-'.
  12011.     (store_in_keymap): If IDX is a symbol, put the modifiers in the
  12012.     canonical order before storing.
  12013.  
  12014. Tue Apr  9 15:05:54 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12015.  
  12016.     * keymap.c (Flocal_set_key, Fglobal_set_key): When checking types
  12017.     of arguments, allow KEYS to be a vector or string, not just a
  12018.     string.
  12019.     (keymap_table): New static function to replace duplicated code in
  12020.     access_keymap and store_in_keymap.
  12021.     (access_keymap): Use keymap_table.
  12022.     (store_in_keymap): Use keymap_table, and put non-character
  12023.     definitions in dense keymaps *after* the vector.
  12024.  
  12025.     * fileio.c (directory_file_name): Remove trailing slashes from
  12026.     single-letter names like "a/" too.  Let slen be the string length,
  12027.     not one less than the string length.
  12028.  
  12029.     * keyboard.c (Fset_input_mode): Don't complain that QUIT isn't an
  12030.     ASCII character if it is nil - it is an optional parameter.
  12031.  
  12032.     * keymap.c (Faccessible_keymaps): Use meta-characters in the key
  12033.     sequences returned, carefully making sure that the sequences still
  12034.     appear in order of increasing length.
  12035.  
  12036. Thu Apr  4 14:56:33 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12037.  
  12038.     * vmsfns.c (vms_trnlog): Increased size of str to 256 elements.
  12039.     (vms_symbol): Increased size of str to 1025 elements.
  12040.  
  12041. Sun Mar 24 01:50:12 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12042.  
  12043.     * dispnew.c (pixel_to_glyph_translation): Moved this function to
  12044.     xterm.c, since it is specific to X and only called by the X code.
  12045.     * xterm.c (pixel_to_glyph_translation): Here it is.
  12046.  
  12047. Fri Mar 22 18:19:21 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12048.  
  12049.     * s-usg5-4.h (DATA_SEG_BITS): Definition deleted.
  12050.     * m-intel386.h (DATA_SEG_BITS): Define here if USG5_4.
  12051.  
  12052. Fri Mar 22 17:48:01 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12053.  
  12054.     * keymap.c (Faccessible_keymaps): Produce meta-characters in the
  12055.     key sequences instead of [meta-prefix-char CHAR] sequences.
  12056.  
  12057. Thu Mar 21 20:24:53 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12058.  
  12059.     * keymap.c (Flookup_key): If KEY is a zero-length array, then
  12060.     return KEYMAP; this is more algebraically satisfying.
  12061.  
  12062.     * dispnew.c (Fsit_for): If the time to sit is zero and there is no
  12063.     input available, then return Qt, not Qnil.
  12064.  
  12065.     * keyboard.c (read_char): If a quit occurs and we return
  12066.     quit_char, clear Vquit_flag, so we don't end up returning it again
  12067.     and again...  All lisp code does this manually if they call
  12068.     read-char with quits inhibited, so it's the right thing to do.
  12069.  
  12070. Wed Mar 20 06:01:58 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12071.  
  12072.     * keyboard.c (read_char): If there is still no input available
  12073.     after an auto-save, do a garbage-collection.
  12074.  
  12075.     * undo.c (truncate_undo_list): Always leave at least one undo
  12076.     record in the undo list.  And use sizeof (struct Lisp_Cons), etc.
  12077.     instead of 8, etc.
  12078.  
  12079.     * keyboard.c (read_char): When deciding whether to wrap
  12080.     recent_keys_index back to 0, compare it against
  12081.     sizeof (recent_keys)/sizeof(recent_keys[0]),
  12082.     not sizeof (recent_keys).
  12083.     (quit_char): This can't be anything but an ASCII character, so it
  12084.     shouldn't be a Lisp_Object.  The declaration's comment says why.
  12085.     (read_char, init_keyboard): Treat quit_char as an int now.
  12086.     (Fset_input_mode): As above, and signal an error if QUIT is not an
  12087.     ASCII character.
  12088.  
  12089.     * callint.c (Fprefix_numeric_value): Use XFASTINT to initialize
  12090.     val, not raw.
  12091.  
  12092.     * fileio.c (Fmake_symbolic_link): Don't expand FILENAME; this
  12093.     would make it impossible to make a link to a relative name.
  12094.  
  12095. Tue Mar 19 18:45:06 1991  Jim Blandy  (jimb at pogo.gnu.ai.mit.edu)
  12096.  
  12097.     * keyboard.c (syms_of_keyboard): Removed the DEFVAR_BOOL for
  12098.     meta-flag.  This cannot be a lisp variable because we need to
  12099.     change the terminal settings whenever this flag changes.  Change
  12100.     this through set-input-mode instead.
  12101.  
  12102. Tue Mar 19 17:30:09 1991  Richard Stallman  (rms at mole.gnu.ai.mit.edu)
  12103.  
  12104.     * keyboard.c (read_avail_input): Raise SIGHUP if no input on AIX.
  12105.  
  12106. Tue Mar 19 02:52:36 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12107.  
  12108.     * keyboard.c (kbd_buffer_store_event, kbd_buffer_read_char,
  12109.     read_key_sequence, Fexecute_extended_command, Fset_input_mode,
  12110.     init_keyboard, syms_of_keyboard): Use XSET (var, Lisp_Int, exp)
  12111.     instead of XSETINT (var, exp) in those cases where var is not
  12112.     known to already be a Lisp_Int.
  12113.     * search.c (skip_chars): Same.
  12114.     * xterm.c (construct_mouse_click, XTread_socket): Same.
  12115.     * callint.c (Fprefix_numeric_value): Make sure to return a
  12116.     Lisp_Int even when RAW is a cons whose car is not a Lisp_Int.
  12117.     * process.c (sigchld_handler): When searching for a process whose
  12118.     pid is -1, make sure that the pid is an int first, since network
  12119.     streams are in Vprocess_alist too.
  12120.  
  12121.     * keyboard.c (syms_of_keyboard): Added DEFVAR_BOOL for
  12122.     meta-flag.  Emacs 18 had this, and I see no entry in the ChangeLog
  12123.     saying that it was purposefully removed.
  12124.  
  12125. Sun Mar 17 14:07:44 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12126.  
  12127.     * keymap.c (Fcopy_keymap, Faccessible_keymaps, describe_map,
  12128.     append_key): Minor typos and brainos corrected.
  12129.  
  12130.     * keyboard.c (read_char): Removed code to find the vector in a
  12131.     (kbd-macro . VECTOR) - style macro, since the macro is represented
  12132.     by the vector itself.
  12133.     (read_char_menu_prompt): Changed to correctly recognize the new 
  12134.     dense keymap structures.
  12135.     (read_key_sequence): Changed code that checks for keymapness to
  12136.     use get_keymap_1 instead of doing the indirection and keymapness
  12137.     testing itself.
  12138.     (Fcommand_execute): A keyboard macro is now a string or a vector.
  12139.     (Fexecute_extended_command): When expanding this_command_keys,
  12140.     remember that it is now an array of Lisp_Objects, not chars.
  12141.  
  12142.     * doc.c (Fdocumentation): Rearranged into a switch statement, and
  12143.     made vectors macros, not keymaps.
  12144.  
  12145.     * eval.c (Fcommandp): Removed code to recognize 
  12146.     (kbd-macro . VECTOR) as a command, and added code to recognize
  12147.     vectors as commands.
  12148.     * macros.c (Qkbd_macro): Variable deleted.
  12149.     (syms_of_macros): Initialization of Qkbd_macro removed.
  12150.  
  12151. Thu Mar 14 18:36:34 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12152.  
  12153.     * minibuf.c (keys_of_minibuf): Changed all calls to
  12154.     initial_define_lisp_key to calls to initial_define_key.
  12155.  
  12156.     * keymap.c (describe_map): Adjusted to handle the new style of
  12157.     keymap.
  12158.  
  12159. Thu Mar 14 17:06:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12160.  
  12161.     * fileio.c (Fwrite_region): On VMS, don't try rewriting old version.
  12162.  
  12163. Thu Mar 14 09:31:59 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12164.  
  12165.     * keymap.c (Faccessible_keymaps): Adjusted to handle the new style
  12166.     of keymap.
  12167.     (Fwhere_is_internal): Handle the new-style of keymaps.
  12168.     Additionally, only check to see if a match is shadowed by a
  12169.     binding in the local keymap when LOCAL_KEYMAP is non-nil, instead
  12170.     of comparing elt against DEFINITION yet again.
  12171.     (describe_map_tree): Handle key sequences that are vectors, as
  12172.     well as those that are strings.
  12173.  
  12174. Wed Mar 13 18:07:27 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12175.  
  12176.     * commands.h, keymap.c (meta_map, control_x_map): Make these
  12177.     Lisp_Objects, not Lisp_Vectors.
  12178.     keymap.c (syms_of_keymap): Same.
  12179.  
  12180.     * keymap.c (Fuse_global_map): There is no longer any reason to
  12181.     insist that KEYMAP must be a dense keymap; delete the code that
  12182.     does so.
  12183.  
  12184. Tue Mar 12 22:31:21 1991  Jim Blandy  (jimb at wookumz.ai.mit.edu)
  12185.  
  12186.     * commands.h, lisp.h: Changed global_map and current_global_map    to
  12187.     be Lisp_Objects, not Lisp_Vectors.
  12188.     keyboard.c (read_key_sequence): Same.
  12189.     keymap.c (Fkey_binding, Fglobal_key_binding, Fglobal_set_key,
  12190.     Fuse_global_map, Fwhere_is_internal, describe_buffer_bindings,
  12191.     syms_of_keymap): Same.
  12192.  
  12193.     * keymap.c (Fdefine_key): Braino: increment idx and clear metized
  12194.     flag even when the element of the key sequence isn't a character.
  12195.     (Flookup_key): Fix same braino.
  12196.  
  12197. Sun Mar 10 16:54:18 1991  Jim Blandy  (jimb at wookumz.ai.mit.edu)
  12198.  
  12199.     * keymap.c (get_keyelt): Use access_keymap to resolve indirect
  12200.     entries, instead of duplicating its code.
  12201.     (Fcopy_keymap): Handle the new keymap structure.
  12202.  
  12203. Sat Mar  9 23:35:18 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12204.  
  12205.     * eval.c (struct catchtag): New field handlerlist.
  12206.     (internal_catch, internal_condition_case): Set that field.
  12207.     (unbind_catch): Use it.
  12208.  
  12209. Fri Mar  8 02:53:41 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12210.  
  12211.     * m-intel386.h (signal): Maybe define if USG.
  12212.  
  12213.     * keyboard.c (echo_char): Don't have space at end of echobuf.
  12214.  
  12215. Thu Mar  7 16:13:32 1991  Jim Blandy  (jimb at albert.ai.mit.edu)
  12216.  
  12217.     * keyboard.c (syms_of_keyboard): Initialize mouse_syms, instead of
  12218.     doing func_key_syms twice.  Don't deal with scrollbar_syms, since
  12219.     it doesn't exist.
  12220.  
  12221. Wed Mar  6 14:43:59 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12222.  
  12223.     * keymap.c (access_keymap, store_in_keymap): Changed to handle the
  12224.     new style of keymaps.
  12225.  
  12226.     * fns.c (Fassq, Fcopy_alist): Changed docstring to promise to
  12227.     ignore elements of LIST that are not conses.  See access_keymap
  12228.     and copy_keymap for a cheap excuse.
  12229.  
  12230. Wed Mar  6 14:32:14 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12231.  
  12232.     * s-vms.h (DATA_START): Remove `+ 512'.
  12233.  
  12234. Tue Mar  5 20:37:22 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)
  12235.  
  12236.     * keymap.c (Fmake_keymap): Rewritten to construct the
  12237.     new dense keymap structure: (keymap VECTOR . ALIST).  Docstring
  12238.     adjusted accordingly.  This means that the keyboard macro
  12239.     stupidity (see Feb 27, keyboard.c) is no longer needed.
  12240.  
  12241. Sun Mar  3 17:15:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12242.  
  12243.     * sysdep.c (MEMORY_IN_STRING_H): New compilation flag.
  12244.     * s-isc2-2.h: New file.
  12245.  
  12246. Wed Feb 27 14:28:29 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12247.  
  12248.     * macros.c (Qkbd_macro): New variable, to hold the symbol
  12249.     `kbd-macro', which we use to tag vector-style keyboard macros.
  12250.     (syms_of_macros): Initialize and staticpro Qkbd_macro.
  12251.  
  12252.     * eval.c (Fcommandp): Recognize the new keyboard macros.
  12253.  
  12254.     * keyboard.c (Fcommand_execute): A keyboard macro is now a string,
  12255.     or a cons whose car is the symbol `kbd-macro' and whose
  12256.     cdr is a vector of events; previously, macros were strings or
  12257.     vectors, but that makes it difficult to tell the difference
  12258.     between macros and dense keymaps.
  12259.     (read_char): Handle the new macros correctly, and re-allocate
  12260.     this_command_keys correctly.
  12261.  
  12262. Tue Feb 26 23:45:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12263.  
  12264.     * s-vms.h (calloc): Define like malloc, etc.
  12265.  
  12266. Tue Feb 26 12:50:45 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)
  12267.  
  12268.     * xterm.c (XTread_socket): Move enter_timestamp outside of the
  12269.     function; static variables inside functions don't always work in
  12270.     Emacs.
  12271.  
  12272.     * editfns.c (in_accessible_range): Deleted - insufficently
  12273.     general.
  12274.     (clip_to_bounds): New function, much like in_accessible_range,
  12275.     except that the upper and lower bounds are arguments.
  12276.     (goto_char, save_restriction_restore): Rewritten to use
  12277.     clip_to_bounds instead of in_accessible_range.
  12278.  
  12279. Mon Feb 25 08:44:45 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12280.  
  12281.     * keymap.c (initial_define_lisp_key): Turn KEY into a Lisp_Int
  12282.     before passing it to store_in_keymap.
  12283.  
  12284.     * buffer.c (reset_buffer_local_variables): Don't try to initialize
  12285.     the buffer's mouse_map and function_key_map fields, since they
  12286.     don't exist anymore.
  12287.  
  12288.     * macro.c (kbd_macro_buffer, kbd_macro_ptr, kbd_macro_end): These
  12289.     are now all pointers to Lisp_Objects instead of chars.
  12290.     (Fend_kbd_macro): Use make_sequence.
  12291.     (store_kbd_macro_char): Argument c is now a Lisp_Object.  Change
  12292.     call to xrealloc to ask for Lisp_Objects instead of chars.  Set
  12293.     kbd_macro_end to the same place in the new buffer as it was in the
  12294.     old one, not to the end of the buffer.
  12295.     (Fexecute_kbd_macro): Allow MACRO to be a string or a vector.
  12296.     (syms_of_macros): Allocate Lisp_Objects instead of chars for
  12297.     kbd_macro_buffer.
  12298.  
  12299.     * alloc.c (make_sequence): New function, useful to keyboard.c and
  12300.     macro.c.
  12301.     * keyboard.c (Fread_key_sequence): Use make_sequence.
  12302.     (Fthis_command_keys): Use make_sequence.
  12303.  
  12304. Sun Feb 24 16:40:10 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12305.  
  12306.     * keymap.c (Fwhere_is): If the command can't be found, the message
  12307.     is now "foobie is not on any key.", instead of "... any keys.".
  12308.  
  12309.     * keyboard.c (input_poll_signal): Pass 0 to read_avail_input,
  12310.     instead of `&junk'.  Removed variable `junk'.
  12311.     (command_loop_1): Updated to handle the unified function key/mouse
  12312.     event/keystroke arrangement.
  12313.     (Finput_pending_p): Removed vestiges of code to handle
  12314.     unread_input_char value of -1, since this doesn't happen anymore.
  12315.     (read_char): Adapted to handle lispy events.
  12316.     (read_char_menu_prompt): Allocate `menu' buffer using alloca,
  12317.     instead of a variable-sized array, which is gcc-specific.
  12318.     (Frecent_keys): Return the most recent "keystrokes" as a vector,
  12319.     to accomodate lispy events.
  12320.     (Fset_input_mode): Accomodate non-characters as quit keys.  If
  12321.     this is a bad thing, init_sys_modes will tell us.
  12322.     (init_keyboard): this_command_keys is now an array of
  12323.     Lisp_Objects; adjust the amount of storage we request to hold it.
  12324.     Remember that quit_char can be any keystroke.
  12325.     (syms_of_keyboard): last_command_char, last_input_char, help_char,
  12326.     menu_prompt_more_char and meta_prefix_char are now DEFVAR_LISPs
  12327.     instead of DEFVAR_INTs.
  12328.     
  12329. Sun Feb 24 15:58:23 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12330.  
  12331.     * process.c (wait_reading_process_input): Use NETCONN_P.
  12332.  
  12333. Sat Feb 23 22:18:47 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12334.  
  12335.     * keyboard.c: (recent_keys, this_command_keys,
  12336.     menu_prompt_more_char, help_char, last_command_char, quit_char,
  12337.     last_input_char): Changed to Lisp_Objects, so we can use function
  12338.     keys for them.
  12339.     (Vglobal_function_map): Variable deleted.
  12340.     (echo_char): Echo function keys too.  The argument C is now a
  12341.     Lisp_Object instead of a char.
  12342.     (Fread_key_sequence): Removed sludge to handle window events
  12343.     specially, and added sludge to handle sequences with
  12344.     non-characters in them.
  12345.     (classify_object): Elided, since this should go away soon.
  12346.     (read_key_sequence): Adapted to look up symbols in keymaps,
  12347.     just like characters.
  12348.  
  12349. Sat Feb 23 15:22:57 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12350.  
  12351.     * process.c (send_process): Handle EAGAIN like EWOULDBLOCK.
  12352.  
  12353. Fri Feb 22 11:13:25 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12354.  
  12355.     * doc.c (substitute_command_keys): Call describe_map_tree with
  12356.     only three arguments, since the CHARTAB arg has been disposed of.
  12357.  
  12358.     * keymap.c (Fcurrent_global_map, Fuse_local_mouse_map): Functions
  12359.     deleted, since the mouse maps are no longer separate from the key
  12360.     maps.
  12361.     (append_key): New function, which handles tacking a single
  12362.     keystroke on the end of a key sequence, promoting strings to
  12363.     vectors when needed.
  12364.     (Faccessible_keymaps): Adjusted to return vectors for key
  12365.     sequences, when necessary.
  12366.     (Fkey_description): Removed stuff to handle mouse buttons and
  12367.     other things specially, since this work will go into
  12368.     Fsingle_key_description.
  12369.     (Fsingle_key_description): SIMPLIFIED to handle everything
  12370.     correctly!  Jeepers!
  12371.     (Fwhere_is_internal): Scan the assoc-list at the end of dense
  12372.     keymaps, and construct strings or vectors.
  12373.     (where_is_string, describe_buffer_bindings): Simplified by
  12374.     deleting code to handle mouse button bindings specially.
  12375.     (describe_map_tree): Removed CHARTAB argument; this was
  12376.     a kludge to print out mouse events nicely, and is no longer
  12377.     necessary.  Nobody was using it anyway.
  12378.     (describe_map): Removed ugly hack to handle mouse buttons
  12379.     specially, added code to describe alists on dense keymaps, and
  12380.     removed CHARTAB argument.
  12381.     (describe_alist): Made to handle bindings of symbols as well as
  12382.     characters.  Removed CHARTAB argument.
  12383.     (describe_vector): Removed CHARTAB argument, allocated KLUDGE
  12384.     outside of loop and GCPRO'd it.
  12385.     (syms_of_keymap): Remove last vestiges of Vglobal_mouse_map,
  12386.     Vmouse_button_names, Suse_local_mouse_map,
  12387.     Scurrent_local_mouse_map.
  12388.  
  12389.     * buffer.h (struct buffer): Removed mouse_map and function_key_map
  12390.     members, since they are now handled by the keymap element.
  12391.  
  12392.     * keyboard.c (syms_of_keyboard): Change initialization of
  12393.     meta_prefix_char, since it's now a Lisp_Object.
  12394.  
  12395.     * keymap.c (Fkeymapp): Rewrote this to use get_keymap_1; now it's
  12396.     a one-liner instead of a 13-liner.
  12397.     (DENSE_TABLE_SIZE): Created new constant for the # of lookup-style
  12398.     entries in a dense keymap, and the index of the map's assoc list.
  12399.     Used it where appropriate.
  12400.     (Fcopy_keymap): Notice that 129'th element in dense keymaps.
  12401.     (Fdefine_key, Flookup_key): Reworked to deal with vectors of
  12402.     symbols and characters as well as strings for key sequences.
  12403.     (meta_prefix_char): Changed from an int to a Lisp_Object.
  12404.  
  12405. Thu Feb 21 22:41:38 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12406.  
  12407.     * fileio.c (report_file_error): Don't downcase "I/O".
  12408.  
  12409. Wed Feb 20 05:25:56 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12410.  
  12411.     * keymap.c (access_keymap): Allow IDX to be any sort of bindable
  12412.     event, and deal with the extended keymaps.  IDX is now a
  12413.     Lisp_Object instead of an int, obviously.
  12414.     (store_in_keymap): Allow IDX to be any sort of bindable event, and
  12415.     deal with the extended keymaps.  IDX is now a Lisp_Object.
  12416.  
  12417.     * xterm.c (construct_mouse_click): Add code to set the up_modifier
  12418.     bit for ButtonRelease events.
  12419.  
  12420.     * keyboard.c (kbd_buffer_store_event): Use XFASTINT and XSETINT to
  12421.     access event->code, since it's a Lisp_Object.
  12422.     (kbd_buffer_read_char): Golly, perhaps we should increment
  12423.     kbd_fetch_ptr to remove the event we just read from the queue.
  12424.     (modify_event_symbol): Stupid fixes: correctly look up unmodified
  12425.     symbols when cache entry has a modified symbol vector.  And, when
  12426.     first adding the modified symbol vector, copy the old slot value
  12427.     into it correctly.
  12428.  
  12429. Tue Feb 19 00:03:16 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12430.  
  12431.     * keyboard.c (command_loop_1): #if 0 the block of code which
  12432.     handles mouse events and other lispy events specially, since I
  12433.     hope it will go away soon.
  12434.  
  12435.     * dispnew.c (Fsleep_for_millisecs): Pass all four arguments to
  12436.     wait_reading_process_input, instead of just the first two.
  12437.  
  12438.     * process.c (wait_reading_process_input): Remove support for
  12439.     only waiting for mouse input, since that has been superceded.
  12440.     This removes X dependencies from process.c, and eliminates some
  12441.     references to code that should only exist when using X10.
  12442.  
  12443.     * keyboard.c (mouse_moved_symbol, redraw_screen_symbol,
  12444.     mapped_screen_symbol, unmapped_screen_symbol,
  12445.     exited_window_symbol, exited_scrollbar_symbol): Renamed to
  12446.     Qmouse_moved, Qredraw_screen, Qmapped_screen, Qunmapped_screen,
  12447.     Qexited_window, Qexited_scrollbar, just as done in xterm.c.
  12448.     (classify_object): Removed code to look up a function key in the
  12449.     global and local function key keymaps, since this will be done
  12450.     more generally.
  12451.     (Fexecute_mouse_event): Elided this function with a #if 0;  I
  12452.     think it will go away once the more general keymap stuff is
  12453.     implemented, but I'm not sure.
  12454.     (syms_of_keyboard): Removed defsubr for Sexecute_mouse_event.
  12455.     (where_is_string, describe_buffer_bindings, syms_of_keymap):
  12456.     Elided code to handle mouse button bindings specially; I hope this
  12457.     will go away.
  12458.  
  12459.     * lread.c (syms_of_lread): Change defsubr for eval-buffer to
  12460.     defsubr for eval-current-buffer.
  12461.  
  12462.     * keymap.c (syms_of_keymap): defvar for Vglobal_function_map
  12463.     removed, since that variable has disappeared.
  12464.  
  12465.     * xterm.c (x_func_key_to_sym): Removed entirely, since we no
  12466.     longer convert X keycodes to symbols in this section of code.
  12467.     (x_convert_modifiers): New function to turn the X modifier bits
  12468.     into struct input_event modifier bits.
  12469.     (encode_mouse_button): removed, since this work isn't done here
  12470.     anymore.
  12471.     (Vx_send_mouse_movement_events): Add an extern declaration for
  12472.     this.
  12473.  
  12474.     * termhooks.h: Only define struct input_event if the module
  12475.     has previously #included lisp.h; this avoids forcing simple modules
  12476.     like cm.c to #include lisp.h.
  12477.  
  12478.     * term.c: #include "lisp.h" before #including "termhooks.h", since
  12479.     the latter uses Lisp_Objects now.
  12480.  
  12481.     * xfns.c (syms_of_xfns): Delete the defsubr for Sx_window_id,
  12482.     since Fx_window_id is gone.
  12483.  
  12484.     * xterm.c (construct_mouse_event): Construct a struct input_event
  12485.     instead of a lispy event.
  12486.  
  12487.     * screen.c (coordinates_in_window):  Added explanatory comment. 
  12488.     (window_from_coordinates): Change PART, whose returned values are
  12489.     dependent on X-windows, to be called MODELINE_P, with appropriate
  12490.     new return values.
  12491.     * xterm.c (notice_mouse_movement): Handle the X-windows dependent
  12492.     stuff that used to be in window_from_coordinates here instead.
  12493.     (XTread_socket): Modified to produce struct input_events
  12494.     instead of lispy events.
  12495.  
  12496. Mon Feb 18 18:12:57 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12497.  
  12498.         * termhooks.h: Added up_modifier to the enum for modifier bits;
  12499.     this bit will be applied to mouse events.
  12500.     (struct input_event): Changed specification of non_ascii_keystroke
  12501.     events to send the function key number instead of a symbol.
  12502.     * keyboard.c (modify_event_symbol): Re-arranged to work well
  12503.     with function key/mouse button numbers instead of symbols.
  12504.     And if (MODIFIERS & up_modifer), prepend "U-" to the name of the
  12505.     symbol being constructed.
  12506.     (make_lispy_event): Use the new modify_event_symbol.
  12507.  
  12508.     * xterm.c (notice_mouse_movement): Adjusted this function to
  12509.     work with a struct input_event instead of producing an
  12510.     s-expression.
  12511.  
  12512.     * xterm.c, xfns.c: Made all references to x_mouse_queue,
  12513.     x_expose_queue, and the functions which manipulate them
  12514.     conditional on having X10, since only X10 code ever places
  12515.     anything in these queues.
  12516.  
  12517. Fri Feb 15 05:20:16 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12518.  
  12519.     * termhooks.h: Define struct input_event, to represent input
  12520.     events while they sit in the keyboard input buffer.  Using lisp
  12521.     objects to represent input events is a bad idea because the
  12522.     routines which enqueue them can be called from signal handlers,
  12523.     and therefore should not cons.
  12524.  
  12525.     * keyboard.c: (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Change
  12526.     these to be of type `struct input_event *'.
  12527.     (kbd_buffer_store_event): Manipulate struct input_events instead
  12528.     of lisp objects.
  12529.     (make_lispy_event): New function, to construct a lisp-style event
  12530.     corresponding to a particular struct input_event.
  12531.     (modify_event_symbol): New function, to add modifier prefixes to a
  12532.     symbol, and look the new symbols up quickly if they've already
  12533.     been created.
  12534.     (kbd_buffer_read_char): Call make_lispy_event to turn the thing
  12535.     in the keyboard buffer into the form that read_char is expecting.
  12536.     (Qwith_modifier_keys): Define this new symbol variable.
  12537.     (syms_of_keyboard): Initialize and protect Qwith_modifier_keys.
  12538.  
  12539.     * xterm.c (init_input_symbols): Rearranged the code that produces
  12540.     the func_key_syms array.
  12541.     (x_func_key_to_sym): Simplified, since more will be handled in
  12542.     make_lispy_event.
  12543.     (XTread_socket): When handling KeyPress events, don't pass the
  12544.     state of the modifier keys to x_func_key_to_sym, since it doesn't
  12545.     care any more.
  12546.  
  12547.     * sysdep.c (kbd_input_ast, end_kbd_input, read_input_waiting):
  12548.     Rename kbd_buffer_store_char to kbd_buffer_store_event.
  12549.  
  12550.     * keyboard.c (stuff_buffered_input): Since the keyboard buffer
  12551.     holds lisp objects, only stuff entries that are Lisp_Ints, and
  12552.     XINT them before passing them to stuff_char.
  12553.     (kbd_buffer_store_char): Make this not a static function, since
  12554.     sysdep.c calls it.  And rename it kbd_buffer_store_event.
  12555.  
  12556.     * keyboard.c (kbd_buffer, kbd_fetch_ptr, kbd_store_ptr): Made these
  12557.     variables static, to document the fact that they're only used
  12558.     within keyboard.c.
  12559.  
  12560. Wed Feb 13 00:43:13 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12561.  
  12562.     * xterm.c (init_input_symbols): remove the `xk-' prefix from all
  12563.     the function key symbols, since they're going to be used for
  12564.     function keys from all sorts of terminals, not just when running
  12565.     under X.
  12566.  
  12567.     * lread.c (read_escape): Removed support for mouse button escapes
  12568.     (\S-, \U-, \C- applied to digits), because they're being replaced
  12569.     by something more rational.
  12570.  
  12571. Sat Feb  9 13:23:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12572.  
  12573.     * buffer.c: Doc fix.
  12574.  
  12575.     * sysdep.c (dup2): Rewrite of non-F_DUPFD case.
  12576.  
  12577. Fri Feb  8 00:03:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12578.  
  12579.     * m-intel386.h (LOAD_AVE_CVT): Add extra parens.
  12580.     * s-usg5-4.h (LIBX11_SYSTEM): #undef it.
  12581.  
  12582. Thu Feb  7 13:39:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12583.  
  12584.     * s-esix.h: New version from kayvan.
  12585.     Adds HAVE_X11 conditional, NEED_PTEM_H, USG_SYS_TIME, USE_UTIME,
  12586.     LIBS_DEBUG; removes #undef sigsetmask, LIBS_SYSTEM, ESIX, 
  12587.     MISSING_UTIMES.
  12588.  
  12589. Wed Feb  6 14:18:42 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12590.  
  12591.     * process.c (Faccept_process_output): Second arg gives timeout.
  12592.  
  12593. Wed Feb  6 00:01:26 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12594.  
  12595.     * lread.c (read_escape): Added support for \S- and \U- escapes (for
  12596.     binding mouse buttons), and noted that \C- must work on digits.
  12597.  
  12598.     * xterm.c (init_input_symbols): Was mistakenly renamed
  12599.     init_inputs; named back.
  12600.  
  12601.     * xterm.c (construct_mouse_click, encode_mouse_button): Rewritten
  12602.     to build new-style mouse events.
  12603.  
  12604.     * dispnew.c (update_line): Write a zero into obody[olen] to make
  12605.     sure the lines in current_screen->glyphs remain terminated.
  12606.     * xdisp.c (display_string, display_text_line): Don't write off
  12607.     the end of the line and destroy the zero terminator when expanding
  12608.     a tab.
  12609.  
  12610.     * fns.c (Fy_or_n_p): Accept C-] (usually abort-recursive-edit) as
  12611.     well as C-g to quit.
  12612.  
  12613. Tue Feb  5 18:28:57 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12614.  
  12615.     * sysdep.c, s-aix3-1.h, s-hpux.h, s-iris3-5.h, s-iris3-6.h,
  12616.     s-irix3-3.h, s-rtu.h, s-sunos4-1.h, s-unipl5-0.h, s-unipl5-2.h,
  12617.     s-usg5-0.h, s-usg5-2-2.h, s-usg5-2.h, s-usg5-3.h, s-xenix.h:
  12618.     Globally replaced INTERRUPTABLE with INTERRUPTIBLE.
  12619.  
  12620.     * xterm.c (construct_mouse_event): Renamed to
  12621.     construct_mouse_click, since there are kinds of mouse events
  12622.     besides clicks (movement, for example).
  12623.     (XTread_socket): rename calls here.
  12624.  
  12625.     * xterm.c (mapped_screen_symbol, unmapped_screen_symbol,
  12626.     exited_scrollbar_symbol, exited_window_symbol,
  12627.     redraw_screen_symbol, mouse_moved_symbol): Renamed to
  12628.     Qmapped_screen, Qunmapped_screen, Qexited_scrollbar,
  12629.     Qexited_window, Qredraw_screen, Qmouse_moved, to agree with naming
  12630.     conventions elsewhere in Emacs.
  12631.  
  12632.     * xfns.c (text_part_sym, modeline_part_sym,
  12633.     vertical_scrollbar_sym, vertical_slider_sym, vertical_thumbup_sym,
  12634.     vertical_thumbdown_sym, horizontal_scrollbar_sym,
  12635.     horizontal_slider_sym, horizontal_thumbleft_sym,
  12636.     horizontal_thumbright_sym): Renamed to Qtext_part, Qmodeline_part,
  12637.     Qvscrollbar_part, Qvslider_part, Qvthumbup_part, Qvthumbdown_part,
  12638.     Qhscrollbar_part, Qhslider_part, Qhthumbleft_part,
  12639.     Qhthumbright_part, to agree with the naming conventions elsewhere
  12640.     in Emacs.
  12641.  
  12642.     * xterm.c (XTread_socket): While handling EnterNotify events,
  12643.     clear Vmouse_event here.
  12644.     (notice_mouse_movement): Don't clear it here.
  12645.  
  12646. Mon Feb  4 17:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12647.  
  12648.     * s-sunos4-0.h: Renamed from s-sunos4.h.
  12649.     (read, write, open, close): Macro defs moved to s-sunos4-1.h.
  12650.     (INTERRUPTABLE_*): Likewise.
  12651.     * s-sunos4-1.h: New file.
  12652.  
  12653. Mon Feb  4 02:17:08 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12654.  
  12655.     * keymap.c (Vglobal_mouse_map, Vglobal_function_map): Variables
  12656.     removed in preparation for conversion to unified keymap format.
  12657.     (Fmake_keymap): Make vector keymaps with 129 entries; the last
  12658.     will be an assoc-list for looking up symbols.  Update docstring to
  12659.     describe 129'th element.
  12660.     (Fmake_sparse_keymap): Update docstring to say that you can bind
  12661.     symbols in these maps too.
  12662.     (Fkeymapp): Recognize 129-element vectors as keymaps, not
  12663.     128-element vectors.
  12664.     (get_keymap_1): wrong_type_argument can no longer return a new
  12665.     value supplied by the debugger; remove loop to support this.
  12666.  
  12667.     * xterm.c (XTread_socket): When handling EnterNotify events,
  12668.     enqueue fake mouse events iff Vx_send_mouse_movement_events !=
  12669.     Qnil.
  12670.  
  12671.     * xfns.c (Fx_window_id): Function removed; Fscreen_parameters
  12672.     already provides this information.
  12673.  
  12674.     * xterm.c (x_term_init): Cleaned up the code to get the host name,
  12675.     and removed fixed limit on host name length.
  12676.  
  12677.     * window.c (Fscroll_other_window): Don't explicitly save
  12678.     current_buffer and point; the save_excursion will take care of
  12679.     that anyway.
  12680.  
  12681.     * dispnew.c (safe_bcopy): Rewritten to handle overlapping regions
  12682.     with multiple calls to bcopy instead of a stupid copy loop.
  12683.  
  12684.     * xterm.c, xfns.c (Vscreen_part, Vx_send_movement_events): These
  12685.     variables renamed to Vmouse_screen_part,
  12686.     Vx_send_mouse_movement_events.
  12687.  
  12688.     * lread.c (Feval_buffer): function deleted.
  12689.     (Feval_current_buffer): Removed "#if 0 ... #endif" around this
  12690.     function.
  12691.  
  12692. Sun Feb  3 21:50:00 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12693.  
  12694.     * Makefile, ymakefile (SHELL): Force use of sh.
  12695.  
  12696.     * s-usg5-4.h (USG5_4): Define it.
  12697.     (LOAD_AVE_*): Don't define them.
  12698.     * m-intel386.h (LOAD_AVE_*): Define, if USG5_4.
  12699.  
  12700.     * buffer.c (Fbuffer_local_variables): Omit slots with no names.
  12701.  
  12702. Sun Feb  3 19:12:31 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12703.  
  12704.     * xterm.c (x_term_init, init_input_symbols): Moved these to the
  12705.     bottom of the file, 1) to be consistent with the other files, and
  12706.     2) so it can initialize some variables I want.
  12707.  
  12708. Sat Feb  2 05:26:29 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12709.  
  12710.     * xterm.h: Added external declaration for x_focus_screen.
  12711.  
  12712.     * search.h: File deleted.
  12713.     * buffer.h: declare searchbuf here instead.
  12714.  
  12715.     * screen.c (Ffocus_screen, Funfocus_screen): Moved these functions
  12716.     to xfns.c, since they're x-specific.
  12717.     (syms_of_screen): Removed defsubr calls for above.
  12718.     * xfns.c (Ffocus_screen, Funfocus_screen): Here they are.
  12719.     (syms_of_xfns): The defsubrs are here now.
  12720.  
  12721.     * buffer.h (PT): Make this expand to an expression which is not an
  12722.     l-value, to prevent people from assigning to it.  If everyplace
  12723.     uses SET_PT, it will be easier to merge in the interval code.
  12724.     (point): Similar changes here.
  12725.     (SET_PT): This can no longer be written in terms of PT, so write
  12726.     out current_buffer->text.pt.
  12727.  
  12728.     * xterm.c (x_new_font): Rewritten to remove arbitrary limit on
  12729.     size of x_font_table.
  12730.     (x_font_table_size): Created new variable.
  12731.     (n_available_fonts, font_names, font_info, MAX_FONTS): Deleted
  12732.     these variables/macros.
  12733.  
  12734.     * dispnew.c (scroll_screen_lines): Instead of disabling the lines
  12735.     vacated by the scroll (i.e. zeroing enable), mark them as enabled
  12736.     but empty.
  12737.  
  12738.     * callint.c (Fcall_interactively): Move UNGCPRO down, so that
  12739.     stuff is protected while we build the command history entry and do
  12740.     the function call.
  12741.  
  12742.     * xterm.c (XTupdate_end): Turn cursor on, even if we don't
  12743.     currently have the focus.
  12744.  
  12745.     * minibuf.c (temp_echo_area_glyphs): Clear echo_area_glyphs and
  12746.     previous_echo_glyphs, so the message we're displaying will
  12747.     supercede any existing message.
  12748.  
  12749.     * keyboard.c: Removed external declaration of echo_area_glyphs,
  12750.     since it's declared in window.h.
  12751.  
  12752. Thu Jan 31 18:16:41 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12753.  
  12754.     * xterm.c (XRINGBELL): Pass 0 as the second argument to XBell;
  12755.     respect the user's preferences.
  12756.  
  12757. Wed Jan 30 05:22:47 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12758.  
  12759.     * xterm.c (x_draw_single_glyph): New function, created to simplify
  12760.     cursor drawing/undrawing.
  12761.     (x_display_box_cursor): Rewritten to properly handle the box
  12762.     cursor in its filled and hollow forms.
  12763.     * xterm.h (enum text_cursor_kinds): Added enum for the different
  12764.     kinds of cursors which might be displayed in a window.
  12765.     (struct x_display): added member `text_cursor_kind' which says
  12766.     which kind of cursor is currently being displayed in the window, so
  12767.     we can arrange to redraw it effectively.
  12768.  
  12769.     * keyboard.c (command_loop_1): When handling the forward_char
  12770.     command, don't let point move to the location after the end of the
  12771.     buffer.
  12772.  
  12773.     * keyboard.c (poll_suppress_count): Define this even if
  12774.     POLL_FOR_INPUT is not defined, because this makes lots of #ifdef
  12775.     clauses unnecessary, and doesn't hurt, because
  12776.     {start,stop}_polling become nops.
  12777.  
  12778.     * config.h, config.h-dist: Make these #include "system.h" and
  12779.     "machine.h", and let the config script link these appropriately,
  12780.     instead of using the machine-specific names and expecting the user
  12781.     to edit this file.
  12782.  
  12783. Tue Jan 29 21:08:41 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12784.  
  12785.     * window.c (Fdelete_window): sib is a Lisp_Object; treat it as
  12786.     such.
  12787.  
  12788.     * xterm.c (screen_unhighlight): When the focus leaves a screen,
  12789.     draw the cursor as a box instead of making it disappear entirely.
  12790.  
  12791. Tue Jan 29 14:59:44 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12792.  
  12793.     * unexec.c (make_hdr) [TPIX]: Set f_hdr.f_nscns and f_thdr.f_scnptr.
  12794.  
  12795.     * sysdep.c [BROKEN_TIOCGWINSZ]: Undef TIOCGWINSZ.
  12796.  
  12797.     * process.c (wait_reading_process_input): Don't ignore
  12798.     a zero-length read on a network connection.  Do close it.
  12799.  
  12800.     * sysdep.c (hft_init, hft_reset): Pass &junk as arg to HFQERROR.
  12801.     Do nothing if not HFT.
  12802.  
  12803. Tue Jan 29 00:02:34 1991  Jim Blandy  (jimb at albert.ai.mit.edu)
  12804.  
  12805.     * xfns.h: Created, to declare things defined in xfns.c.
  12806.     Declare Vx_send_movement_events.
  12807.     * xfns.c: #include "xfns.h".
  12808.     (Vx_send_movement_events): Define this variable.
  12809.     (syms_of_xfns): DEFVAR_LISP it.
  12810.     * xterm.c: #include "xfns.h".
  12811.     (XTread_socket): Place a mouse-moved event in the buffer iff
  12812.     Vx_send_movement_events says to.
  12813.  
  12814. Mon Jan 28 17:47:54 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12815.  
  12816.     * ymakefile: noted that callint.o depends on mocklisp.h,
  12817.     and dired.o on search.h.
  12818.  
  12819.     * environ.h: Deleted - its creation in the first place was misguided.
  12820.     callproc.h: Removed #include "environ.h", and added declarations
  12821.     for environ.h
  12822.  
  12823.     * buffer.c (syms_of_buffer): Add more detailed documentation to
  12824.     buffer-undo-list.
  12825.  
  12826.     * lisp.h (poll_suppress_count): Add external declaration for this here.
  12827.  
  12828. Mon Jan 28 00:34:59 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12829.  
  12830.     * m-sun3-68881.h, m-sun3-fpa.h, m-sun3-soft.h: New files.
  12831.  
  12832. Sun Jan 27 22:19:31 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12833.  
  12834.     * lisp.h (struct handler): add poll_suppress_count member, so
  12835.     we can restore poll_suppress_count when we handle an error.
  12836.     * eval.c (struct catchtag): Add it here too, for throws.
  12837.     (internal_catch, Fcondition_case, internal_condition_case): Record
  12838.     the value of poll_suppress_count here in the handler and catch tag.
  12839.     (Fthrow, Fsignal): Restore it here.
  12840.  
  12841. Fri Jan 25 21:41:27 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12842.  
  12843.     * xterm.c (x_display_box_cursor): If we're undrawing the cursor by
  12844.     redrawing the character underneath it, draw according to that
  12845.     line's highlight, instead of assuming it's in the normal GC.
  12846.  
  12847. Fri Jan 25 16:52:12 1991  Richard Stallmao  (rms at mole.ai.mit.edu)
  12848.  
  12849.     * buffer.h (PTR_CHAR_POS): Value was too small by 1.
  12850.  
  12851. Wed Jan 16 17:45:05 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12852.  
  12853.     * doprnt.c (doprnt): Check for overflow in fmtcpy.
  12854.  
  12855. Wed Jan 16 16:35:33 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12856.  
  12857.     * window.c (Fdelete_window): If the deletee gives its space to its
  12858.     next sibling, that sibling needs to have its top/left side pulled
  12859.     back to where the deletee's is.
  12860.  
  12861. Tue Jan 15 16:17:53 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12862.  
  12863.     * doc.c (Fsnarf_documentation): handle attaching docstrings to
  12864.     bytecode objects too.
  12865.  
  12866.     * syntax.h (syntax_spec_code): make external declaration for this
  12867.     unsigned char to match the definition in syntax.c.
  12868.  
  12869.     * indent.c (compute_motion): added comments describing how it
  12870.     can be used.
  12871.  
  12872. Tue Jan 15 13:13:36 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12873.  
  12874.     * process.c (create_process): Use SETUP_SLAVE_PTY if defined.
  12875.  
  12876.     * s-usg5-4.h (HAVE_PTYS, HAVE_SETSID): Defined.
  12877.     (HAVE_WAIT_HEADER, WAITTYPE, wait3, WRETCODE): New macros.
  12878.     (TIOCSIGSEND): Alias for TIOCSIGNAL.
  12879.     (FIRST_PTY_LETTER): Overridden.
  12880.     (PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF, SETUP_SLAVE_PTY): New macros.
  12881.  
  12882.     * m-ibmrs6000.h    (CANNOT_DUMP): Undefine it.
  12883.     (UNEXEC): Define it.
  12884.     (PURE_SEG_BITS, SHMKEY): Define only if CANNOT_DUMP.
  12885.     (LINKER): Override it.  Then add -bnodelcsect.
  12886.  
  12887.     * xfns.c (Fx_get_default): Try reversing XGetDefault args if it fails.
  12888.  
  12889. Sun Jan 13 20:26:50 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12890.  
  12891.     * s-usg5-4.h (LOAD_AVE_CVT): Cast value to int.
  12892.  
  12893.     * keyboard.c (read_avail_input): Signal SIGHUP if FIONREAD fails.
  12894.  
  12895.     * ymakefile: Put tokens after #endif into comment.
  12896.  
  12897.     * filelock.c (lock_file_owner_name): Declare argument type.
  12898.  
  12899.     * syntax.c (syntax_spec_code): Type now unsigned char.
  12900.  
  12901.     * process.c (wait_reading_process_input):
  12902.     Call status_notify even when not doing redisplay.
  12903.  
  12904.     * emacs.c (Fkill_emacs): Turn off SIGIO before exiting.
  12905.  
  12906.     * s-usg5-3.h (USG5_3): Define it.
  12907.     * m-ibmps2-aix.h [USG5_3]: Define TEXT_START as 0.
  12908.     Don't define DATA_START or DATA_END or TEXT_END or DATA_SEG_BITS.
  12909.     Override various other symbols at end of file.
  12910.  
  12911. Sat Jan 12 15:10:24 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12912.  
  12913.     * window.c (window-configuration-p): Closing paren needed.  Added.
  12914.  
  12915.     * keyboard.c (command_loop_1): When displaying a message over an
  12916.     active minibuffer, call Fsit_for with three arguments, not two.
  12917.  
  12918. Sat Jan 12 14:50:45 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12919.  
  12920.     * s-irix3-3.h (HAVE_SYSVIPC): Defined.
  12921.  
  12922. Sat Jan 12 13:56:32 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  12923.  
  12924.     * dispnew.c (buffer_posn_from_coords): compute_motion starting
  12925.     from bufp[y] instead of counting from the top of the window.
  12926.  
  12927. Fri Jan 11 16:38:54 1991  Richard Mlynarik  (mly at pizza.ai.mit.edu)
  12928.  
  12929.         * window.c (window-configuration-p):  Needed.  Added.
  12930.  
  12931. Fri Jan 11 15:52:10 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12932.  
  12933.     * dispnew.c (buffer_posn_from_coords): Remember to deduce space
  12934.     for the line continuation markers and the window separators from
  12935.     the window width.
  12936.  
  12937. Fri Jan 11 11:45:19 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12938.  
  12939.     * m-tower32v3.h (VALBITS, GCTYPEBITS): Use 26 bits for pointer.
  12940.  
  12941. Thu Jan 10 12:33:20 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  12942.  
  12943.     * fileio.c (Fcopy_file): Always close descriptors.
  12944.  
  12945.     * s-sunos4.h: read, write, open and close are interruptable.
  12946.  
  12947. Wed Jan  9 12:32:21 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12948.  
  12949.     * xterm.c, dispnew.c (pixel_to_char_translation): Renamed to
  12950.     pixel_to_glyph_translation, and rewritten.  Just get coordinates,
  12951.     don't return anything.
  12952.     (buffer_posn_from_coords): New function - given a window and
  12953.     co-ordinates on the screen, find the buffer position at those
  12954.     co-ordinates. 
  12955.  
  12956. Tue Jan  8 06:14:51 1991  Jim Blandy  (jimb at geech.ai.mit.edu)
  12957.  
  12958.     * alloc.c (Fmake_byte_code): Flesh out docstring.
  12959.  
  12960.     * window.c (window_loop): pick the first window correctly, even
  12961.     when screen == 0.
  12962.  
  12963.     * dispnew.c (scroll_screen_lines): Don't forget to call
  12964.     update_begin at the top of the down-scrolling section.
  12965.     And rotate by amount, not -amount, in the up-scrolling section.
  12966.  
  12967.     * xterm.h (MAX_FONTS, x_font_table, n_fonts): Removed external
  12968.     declarations for these variables, since they're declared static in
  12969.     xterm.c and not used elsewhere.
  12970.     * xterm.c (MAX_FONTS): Moved definition of this to here from
  12971.     xterm.h.
  12972.  
  12973.     * xterm.c (x_new_font): If you can't find the requested font,
  12974.     return a code which indicates this, instead of calling abort.
  12975.  
  12976. Mon Jan  7 10:08:47 1991  Jim Blandy  (jimb at churchy.ai.mit.edu)
  12977.  
  12978.     * xdisp.c (redisplay, display_mode_line): To test
  12979.     Vglobal_minibuffer_screen for validity, you must check that its
  12980.     type is Lisp_Screen; comparing it to Qnil isn't good enough.
  12981.  
  12982.     * screen.c (syms_of_screen): Initialize Vglobal_minibuffer_screen
  12983.     to Qnil; otherwise, it inhibits decent redisplay (is that another
  12984.     bug?)
  12985.  
  12986.     * dispnew.c (init_display): Make sure that the standard input is a
  12987.     terminal here.
  12988.     * emacs.c (main): Not here, since we don't know yet if we want to
  12989.     use a window system of some sort.
  12990.  
  12991.     * xfns.c (x_make_gc): Delete code to support default_face and
  12992.     highlight_face, since they're part of the interval code, and
  12993.     shouldn't be installed yet.
  12994.  
  12995.     * dispnew.c (init_display): calculate_costs expects a screen
  12996.     parameter; pass selected_screen, instead of nothing.
  12997.  
  12998.     * search.c (Freplace_match): Protect STRING.
  12999.     * process.c (run_filter): New function.
  13000.     (read_process_output, exec_sentinel): Use run_filter to call the
  13001.     process's filter function. 
  13002.      (status_notify): GCPro MSG.
  13003.      * process.c (Fopen_network_stream): Protect various args.
  13004.     * print.c (Fprin1_to_string, Fprint): Protect OBJ.
  13005.     * lread.c (Feval_region): Check type of B.
  13006.     * keymap.c (describe_alist): Protect ELT_PREFIX and TEM2.
  13007.     (describe_vector): Likewise for ELT_PREFIX and TEM1.
  13008.  
  13009. Sun Jan  6 23:25:24 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13010.  
  13011.     * sysdep.c (init_sys_modes): Turn off VSUSP and V_DSUSP if they exist.
  13012.     Only on a MIPS.
  13013.  
  13014. Sat Jan  5 09:13:07 1991  Jim Blandy  (jimb at spiff.ai.mit.edu)
  13015.  
  13016.     * xselect.c (x_answer_selection_request): For incremental, set
  13017.     format to 32 and send only 1 element.  Pass the address of size,
  13018.     not size itself.
  13019.     (x_selection_arrival): For incremental, delete the property
  13020.     containing the size of the transfer.  This generates a
  13021.     PropertyNotify to the owner, starting the exchange.
  13022.  
  13023.     * xrdb.c (get_user_app): Pass correct number of parameters to
  13024.     sprintf.
  13025.  
  13026.     * xfns.c (x_window): Don't use backing store or saveunders; they
  13027.     seem to slow down suns.
  13028.     (x_icon): Set the InputHint to the window manager to False.
  13029.     (x_make_gc): Initialize gc_values.line_width to zero before
  13030.     creating the normal video GC, since it uses it.  And set the
  13031.     default_face and hilite_face gcs here.
  13032.     (install_vertical_scrollbar): Add 2 to thumbdown y position, and
  13033.     don't add ibw.
  13034.  
  13035.     * insdel.c (insert, del_range): Use SET_PT rather than assigning
  13036.     point directly.
  13037.     * window.c (Fselect_window): Here too.
  13038.  
  13039.     * xdisp.c (redisplay_all_windows): removed static declaration for
  13040.     this nonexistent function.
  13041.  
  13042. Fri Jan  4 01:05:07 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13043.  
  13044.     * window.c (window_loop): neatened up.  MINI being non-zero now
  13045.     makes it recognize active minibuffer windows.  Iterates properly
  13046.     over multiple screens when asked nicely.
  13047.     (Fget_lru_window, Fget_largest_window): SCREENS arguments are now
  13048.     declared as a Lisp_Object, and documented.
  13049.     (Fget_buffer_window): SCREENS argument is now documented.
  13050.     (Fdelete_other_windows): Delete other windows on the argument
  13051.     window's screen, not the current screen.
  13052.  
  13053.     * screen.c (window_from_coordinates): Changed other reference to
  13054.     Fnext_window to use next_screen_window; see below.
  13055.  
  13056.     * window.c (Fnext_window, Fprevious_window): Accept non-nil, non-t
  13057.     values for mini, and don't turn off all-screens when mini is t but
  13058.     there is no global minibuffer screen.  Remove screen_{root,mini}
  13059.     variables.
  13060.     (Fother_window): Added second argument all_screens.
  13061.  
  13062.     * undo.c (record_delete): Removed dead variable llength.
  13063.  
  13064.     * data.c (Qkeyp, Fkeyp): Removed these and supporting code.
  13065.     * keymap.c (Fsingle_key_description): Report an error instead of
  13066.     calling wrong_type_argument.
  13067.     * lisp.h (Qkeyp): Removed external declaration for this.
  13068.     
  13069. Thu Jan  3 17:30:46 1991  Richard Stallman  (rms at mole.ai.mit.edu)
  13070.  
  13071.     * search.c (search_buffer): Return starting position if count == 0.
  13072.  
  13073. Wed Jan  2 01:57:57 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13074.  
  13075.     * scroll.c (do_scrolling): Use correct limits on loop to clear
  13076.     lines just inserted--old version lost a line.
  13077.  
  13078.     * screen.c: #ifdef HAVE_X_WINDOWS, #include xterm.h
  13079.     (Ffocus_screen, Funfocus_screen): use Joe's new definitions, and
  13080.     only define these functions ifdef HAVE_X_WINDOWS.
  13081.     (window_from_coordinates): use next_screen_window instead of
  13082.     Fnext_window, so that global minibuffers work.
  13083.  
  13084.     * lread.c (syms_of_read): Don't forget to defsubr
  13085.     read-char-exclusive.
  13086.  
  13087.     * lisp.h (Fscreenp, Fselect_screen, Ffocus_screen,
  13088.     Funfocus_screen, Fselected_screen, Fwindow_screen,
  13089.     Fscreen_root_window, Fscreen_selected_window, Fscreen_list,
  13090.     Fnext_screen, Fdelete_screen, Fread_mouse_position,
  13091.     Fset_mouse_position, Fmake_screen_visible, Fmake_screen_invisible,
  13092.     Ficonify_screen, Fdeiconify_screen, Fscreen_visible_p,
  13093.     Fvisible_screen_list, Fscreen_parameters,
  13094.     Fmodify_screen_parameters, Fscreen_pixel_size, Fscreen_height,
  13095.     Fscreen_width, Fset_screen_height, Fset_screen_width,
  13096.     Fset_screen_size, Fset_screen_position, Fcoordinates_in_window_p,
  13097.     Flocate_window_from_coordinates, Frubber_band_rectangle): added
  13098.     extern declarations for all these.
  13099.  
  13100.     * lisp.h (Qscreenp): added an extern declaration for this.
  13101.  
  13102.     * lisp.h (DBL_DIG): Added constant for the maximum number of
  13103.     decimal digits a float could print to.  Used in print.c.
  13104.  
  13105.     * keymap.c (Fkey_description): Produce pretty descriptions of
  13106.     mouse and window system events too.
  13107.     (Fsingle_key_description): signal an error if obj is not a key.
  13108.  
  13109.     * data.c (Fkeyp, Qkeyp): Added predicate to recognize things which
  13110.     can be bound - this includes keys, symbols (for function keys and
  13111.     window system events), and conses (for mouse events).
  13112.     * lisp.h (Qkeyp): Added external declaration for this.
  13113.  
  13114.     * keyboard.c (Frecursive_edit): Don't specbind the standard IO here.
  13115.     (recursive_edit_1): Do it here, and don't forgot to unbind_to.
  13116.  
  13117.     (command_loop_1): Reset no_redisplay after mouse commands.
  13118.  
  13119.     (classify_object): Place the object in read_key_sequence_cmd.
  13120.  
  13121.     (Fread_key_sequence): recognize that when read_key_sequence
  13122.     returns -1 or -2, it's a mouse event or window system event.
  13123.  
  13124. Tue Jan  1 09:21:56 1991  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13125.  
  13126.     * fileio.c (Fwrite_region): We should dereference GPT_ADDR[-1]
  13127.     before comparing it to '\n' for VMS cruft.
  13128.     (Fdo_auto_save): Don't call run-hooks before it's defined.  This
  13129.     only happens before emacs is dumped, when loading inc-vers.el.
  13130.  
  13131.      * eval.c (Fsignal): TOTALLY_UNBLOCK_INPUT here.
  13132.     (error): Not here.
  13133.  
  13134.     (Feval): We use argvals[0..5], so declare it to have six elements
  13135.     instead of just five.
  13136.  
  13137. Sun Dec 30 23:24:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13138.  
  13139.     * eval.c (Fsignal): Don't ever return.
  13140.     Call error instead if user tries to use debugger to return.
  13141.  
  13142.     * eval.c (unbind_to): New second arg is value to return.  gcpro it.
  13143.     All callers changed to pass the arg; if a caller uses unbind_to
  13144.     just before returning, it passes as this arg the value it wants
  13145.     to return, then it returns whatever comes back.
  13146.  
  13147. Fri Dec 28 18:39:45 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13148.  
  13149.     * print.c (print): put obj in a non-register variable so
  13150.     we could gcpro it.  Also fixed some syntax errors.
  13151.  
  13152.     * editfns.c (Fformat): declare nstrings, and declare nstrings and
  13153.     strings in a local block.
  13154.     (Fformat): XFLOAT(args[n]) isn't a float; ->data is.
  13155.  
  13156. Thu Dec 27 13:56:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13157.  
  13158.     * m-tower32.h: Add comments for how to optimize.
  13159.     * m-tower32v3.h: New file.
  13160.  
  13161.     * fileio.c (Fwrite_region): Save errno around unlock_file.
  13162.  
  13163. Wed Dec 26 17:48:01 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13164.  
  13165.     * editfns.c (Fformat): Handle floats.  Convert between int and float.
  13166.     Don't truncate value at null char coming from doprnt.
  13167.     * doprnt.c (doprnt): Replace tembuf with malloced buff if too small.
  13168.     Handle %e, %f and %g.
  13169.  
  13170. Tue Dec 25 18:05:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13171.  
  13172.     * abbrev.c (Fexpand_abbrev): Use insert_from_string, not insert.
  13173.     (Funexpand_abbrev): Likewise.
  13174.     * doc.c (Fsubstitute_command_keys): Likewise.
  13175.     * editfns.c (Finsert, Finsert_before_markers): Likewise.
  13176.     * minibuf.c (Fminibuffer_complete_word): Likewise.
  13177.     * mocklisp.c (Finsert_string): Use insert1.
  13178.     * vmsfns.c (Fdefault_subproc_input_handler): Likewise.
  13179.  
  13180.     * print.c: Don't use strout for the text of a Lisp string.
  13181.     (print_string): New function to use instead.
  13182.     (print): Use print_string when no escapes needed.
  13183.     When printing with escapes, protect the string and check addr often.
  13184.  
  13185. Mon Dec 24 18:42:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13186.  
  13187.     * insdel.c (insert_from_string): New function.
  13188.  
  13189. Thu Dec 20 18:09:19 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13190.  
  13191.     * term.c (ins_del_lines): Handle scroll region wrt chars_wasted.
  13192.  
  13193. Sun Dec 16 17:22:41 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13194.  
  13195.     * Globally renamed InsStr to insert_string.
  13196.  
  13197. Sat Dec 15 15:37:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13198.  
  13199.     * s-usg5-3.h (USG_SHARED_LIBRARIES): Define it.
  13200.  
  13201.     * m-intel386.h (C_SWITCH_MACHINE): New macro.
  13202.  
  13203. Sat Dec 15 13:36:28 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13204.  
  13205.     * alloc.c (STRING_FULLSIZE): Use sizeof(struct Lisp_String)
  13206.     instead of sizeof(int).
  13207.  
  13208. Fri Dec 14 03:31:28 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13209.  
  13210.     * keyboard.c (Fread_key_sequence): Clear this_command_key_count
  13211.     here; who unfixed this?
  13212.  
  13213. Wed Dec 12 16:17:56 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13214.  
  13215.     * abbrev.c (Fdefine_abbrevs): Don't crash when EXPANSION is nil.
  13216.  
  13217. Tue Dec 11 21:45:27 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13218.  
  13219.     * eval.c (Fmacroexpand): Change handling of (foo . bar) in ENV.
  13220.  
  13221. Mon Dec 10 00:11:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13222.  
  13223.     * m-pmax.h (SYSTEM_MALLOC): Define it.
  13224.  
  13225.     * process.c (wait_reading_process_input): Ignore failure with EIO.
  13226.  
  13227. Sun Dec  9 23:38:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13228.  
  13229.     * m-iris4d.h (LOAD_AVE_CVT): Divide by 1024.
  13230.     (LIB_STANDARD): Use -lbsd first.
  13231.     (LIBS_MACHINE): Don't use -lbsd here.
  13232.     * s-irix3-3.h (ADDR_CORRECT): Macro deleted.
  13233.     (LIBS_MACHINE): Macro deleted.
  13234.     (LDAV_SYMBOL): Delete the `_' from start of symbol.
  13235.  
  13236.     * process.c (create_process): Delete duplicate sigsetmask.
  13237.  
  13238.     * m-ibmrt.h (RTPC_REGISTER_BUG, SHORT_CAST_BUG): Macros deleted.
  13239.     (C_SWITCH_MACHINE): Use -D to define alloca.
  13240.     (SIGN_EXTEND_CHAR): Use a cast.
  13241.  
  13242. Wed Dec  5 20:05:58 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13243.  
  13244.          * keyboard.c (Fsuspend_emacs): Protect STUFFSTRING.
  13245.     (cmd_error): Protect TAIL while printing.
  13246.     (input_poll_signal, start_polling): Use polling_period.
  13247.     (syms_of_keyboard): Initialize it and make it a Lisp var.
  13248.  
  13249.     * fns.c (Fyes_or_no_p): Protect PROMPT for entire loop.
  13250.  
  13251.     * fileio.c (Frename_file): Protect args.
  13252.     * fileio.c (Fadd_name_to_file): Protect the args.
  13253.     (Fcopy_file, Fmake_symbolic_link): Likewise.
  13254.     (Finsert_file_contents): Protect FILENAME.
  13255.  
  13256. Tue Dec  4 16:00:45 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13257.  
  13258.     * eval.c (Fbacktrace): gcpro TAIL.
  13259.     * emacs.c (Fkill_emacs): gcpro ARG.
  13260.     * editfns.c (Fformat): remove remains of gcpro'd args.
  13261.  
  13262.     * dispnew.c (syms_of_dispnew): Don't clobber Vwindow_system_version
  13263.     if CANNOT_DUMP.
  13264.  
  13265.     * dired.c (file_name_completion): Check that FILE is a string.
  13266.  
  13267.     * buffer.c (Fbury_buffer): Don't init BUF1.
  13268.  
  13269.     * doc.c (Fsubstitute_command_keys): Protect STR and don't keep a
  13270.     pointer to the middle of it.
  13271.  
  13272.     * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Override for BSD.
  13273.  
  13274.     * process.c (sigchld_handler): Clear synch_process_alive if the
  13275.     dying process isn't in the table at all.
  13276.     * callproc.c (call_process_cleanup): Clear synch_process_alive.
  13277.  
  13278. Mon Dec  3 13:48:08 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13279.  
  13280.     * callproc.c (Fcall_process): change synch_process_pid to
  13281.     synch_process_alive, as a general flag that we are waiting for
  13282.     a synchronous process to die.  This obviates the need to block
  13283.     SIGCHLDs until we know the pid.
  13284.     * sysdep.c (wait_for_termination): wait for synch_process_alive    to
  13285.     be false.
  13286.  
  13287.     * process.c (sigchld_handler): If pid not recognized, look for a
  13288.     process recorded with pid -1.
  13289.     (create_process): Set pid to -1 before the fork.
  13290.     Store correct pid right after the fork.
  13291.     Don't change sigchld handler on system V.
  13292.  
  13293.     * process.c (Fstart_process): Set BUFFER before other string vars
  13294.     so a gc in Fget_buffer_create won't clobber them.
  13295.  
  13296. Fri Nov 30 18:07:13 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13297.  
  13298.     * keyboard.c (read_command_char): Save and restore getcjmp.
  13299.  
  13300. Thu Nov 29 16:57:02 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13301.  
  13302.     * process.c (status_convert): Use WRETCODE for exited process.
  13303.  
  13304. Mon Nov 26 14:34:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13305.  
  13306.     * s-usg5-4.h (LIB_STANDARD): Add libucb.a.
  13307.     (NEED_PTEM_H): Define this instead of NEED_SIOCTL.
  13308.     * m-ibm370aix.h, m-ibmps2-aix.h, m-ibmrs6000.h (NEED_SIOCTL):
  13309.     Undefine this.
  13310.     (NEED_PTEM_H): Likewise.
  13311.  
  13312.     * s-sunos4.h (O_NDELAY): Don't define this.
  13313.  
  13314.     * print.c (Fwith_output_to_temp_buffer): Don't eval first arg twice.
  13315.  
  13316. Thu Nov 22 17:29:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13317.  
  13318.     * m-hp9000s300.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Alternate defs for BSD.
  13319.  
  13320. Wed Nov 21 15:59:58 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13321.  
  13322.     * dispnew.c (init_display): Check if we're using a window system
  13323.     before trying to initialize the terminal.  If someone has
  13324.     indicated that they want to use a window system, we shouldn't
  13325.     bother initializing the terminal.  This is especially important
  13326.     when the terminal is so dumb that emacs gives up and doesn't bother
  13327.     using the window system.
  13328.  
  13329. Tue Nov 20 19:02:02 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13330.  
  13331.     * print.c (Fexternal_debugging_output): added new function which
  13332.     writes a character to stderr, for use when debugging emacs with
  13333.     gdb.
  13334.  
  13335. Wed Nov 14 19:10:53 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13336.  
  13337.     * dispnew.c (window_change_signal): used to assume that SIGWINCHes
  13338.     always applied to the currently selected screen.  Now it scans the
  13339.     list of screens for a screen controlled by termcap, and changes that
  13340.     screen's size.
  13341.  
  13342. Tue Nov 13 12:04:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13343.  
  13344.     * fileio.c (err_str): New macro.
  13345.     (Finsert_file_contents, Fwrite_region): Use it in error messages.
  13346.  
  13347. Mon Nov 12 17:18:00 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13348.  
  13349.     * insdel.c (del_range): Supply missing arg to gap_left.
  13350.  
  13351. Sun Nov 11 15:45:03 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13352.  
  13353.     * regex.c: Disabled definition of NULL from lisp.h
  13354.  
  13355.     * crt0.c (_start): added static declaration of start1.
  13356.  
  13357.     * xfns.c: added definition for Vbar_cursor.
  13358.     (syms_of_xfns): Added DEFVAR_LISP clause for Vbar_cursor.
  13359.  
  13360.     * xterm.c (XTread_socket): passed &event.xkey instead of &event to
  13361.     XLookupString, so things will typecheck nicely.
  13362.  
  13363.     * Globally rewrote all references to Vmouse_buffer to use the
  13364.     buffer viewed by Vmouse_window instead.
  13365.  
  13366.     * alloc.c (xmalloc, xrealloc): removed calls to
  13367.     {un,}hold_window_change.  The new SIGWINCH-handling code and
  13368.     do_pending_window_change make them unnecessary.
  13369.  
  13370. Sun Nov 11 14:12:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13371.  
  13372.     * process.c (wait_reading_process_input): Make Available static;
  13373.     don't clear when a nonzero bit is found.
  13374.  
  13375.     * fns.c (Fnthcdr): Stop loop if reach end.
  13376.  
  13377.     * dispnew.c: Include fcntl.h if HAVE_TERMIO.
  13378.  
  13379. Sat Nov 10 16:32:59 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13380.  
  13381.     * alloc.c (make_uninit_string): No longer declared static, and
  13382.     extern declaration added to lisp.h.  It's used in dired.c.
  13383.  
  13384. Thu Nov  8 22:34:30 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13385.  
  13386.     * dispnew.c (do_pending_window_change): Changed incorrect call to
  13387.     change_window_size_1 into a loop which scans list of screens and
  13388.     resizes those that need resizing.
  13389.  
  13390. Tue Nov  6 22:00:52 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13391.  
  13392.     * m-ibmrs6000.h (CANNOT_DUMP): Define it.
  13393.  
  13394.     * process.c (create_process): Unblock SIGCHLD in the child.
  13395.  
  13396.     * process.c (wait_reading_process_input): Don't read input
  13397.     from more than one process between calls to `select'.
  13398.  
  13399. Fri Nov  2 15:13:17 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13400.  
  13401.     * callint.c (syms_of_callint):
  13402.     Initialize Vprefix_arg and Vcurrent_prefix_arg.
  13403.  
  13404. Thu Nov  1 17:00:06 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13405.  
  13406.     * dired.c (Fdirectory_files): Avoid using MAXNAMLEN.
  13407.  
  13408. Wed Oct 31 10:36:08 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13409.  
  13410.     * process.c (MAXDESC): Enclosed definition in `#ifndef ... #endif'
  13411.     clause.
  13412.  
  13413.     * bytecode.c: Included syntax.h to declare syntax_code_spec.
  13414.  
  13415.     * syntax.h (syntax_spec_code): Added extern declaration for this.
  13416.  
  13417.     * floatfns.c (float_error): Added static declaration for this at
  13418.     the top of the file.
  13419.  
  13420. Mon Oct 29 19:53:19 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13421.  
  13422.     * indent.c (position_indentation): renamed stray `bf_cur' to
  13423.     `current_buffer', and old `CharAt' usages to `FETCH_CHAR'.
  13424.     * buffer.c (Fbuffer_disable_undo): the symbol object for this
  13425.     subroutine was still named Sbuffer_flush_undo, and the symbol's
  13426.     lisp name was similarly out of date.  Renamed both, and added an
  13427.     alias in lisp/subr.el .
  13428.  
  13429.     * keyboard.c (Fset_input_mode): a `meta_flag' had escaped being
  13430.     renamed to `meta_key'.
  13431.  
  13432. Mon Oct 29 16:56:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13433.  
  13434.     * process.c (Fprocess_send_region, Fprocess_send_string):
  13435.     Break data into bunches less than 500 bytes.
  13436.     Accept process output between bunches.
  13437.     ??? Must update manual.
  13438.  
  13439. Mon Oct 29 16:25:40 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13440.  
  13441.     * window.c (Fset_window_start, window_scroll): renamed stray
  13442.     references to `redo_mode_line' to `update_mode_line'.
  13443.  
  13444.     * xdisp.c (decode_mode_spec): renamed stray references to `bf_cur'
  13445.     and `bf_modified' to `current_buffer' and `MODIFF'.
  13446.  
  13447. Thu Oct 25 16:55:07 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13448.  
  13449.     * environ.h: file created - contains declarations for users of the
  13450.     environment variable list.
  13451.     * callproc.c (environ): removed extern declaration of environ, and
  13452.     included environ.h.
  13453.  
  13454. Wed Oct 24 22:00:45 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13455.  
  13456.     * callproc.c (init_callproc): removed extern declaration of
  13457.     environ - it's already taken care of at the top of the file.
  13458.  
  13459.     * mocklisp.h: file created - externally declares certain
  13460.     functions defined in mocklisp.c.
  13461.     * lisp.h (Fread_buffer, Fread_key_sequence): added extern
  13462.     declarations for these functions.
  13463.     * callint.c (ml_apply, Fread_buffer, Fread_key_sequence): removed
  13464.     extern declarations for these functions, included mocklisp.h.
  13465.     Moved external declaration of index to top of file.
  13466.  
  13467. Wed Oct 24 15:18:14 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13468.  
  13469.     * ymakefile (GNULIB_VAR): New make variable.
  13470.     (LIBES): Use that, not GNULIB directly.
  13471.     (GNULIB): Don't define if already defined.
  13472.  
  13473. Tue Oct 23 15:29:26 1990  Jim Blandy  (jimb at geech.ai.mit.edu)
  13474.  
  13475.     * indent.h (last_known_column_point): added extern declaration for
  13476.     this variable.
  13477.     buffer.c (last_known_column_point): removed extern declaration for
  13478.     this variable, included indent.h.
  13479.     (Vprin1_to_string_buffer): removed extern declaration - it's
  13480.     already in lisp.h.
  13481.  
  13482.     * lisp.h (catchlist, backtrace_list, stack_bottom,
  13483.     current_global_map): added extern declarations for these
  13484.     variables.
  13485.     * alloc.c: removed external declarations for catchlist,
  13486.     backtrace_list, and stack_bottom, since this file includes
  13487.     lisp.h.
  13488.     * callint.c: (current_global_map): removed extern declaration.
  13489.  
  13490.     * search.h: new file - declares searchbuf.
  13491.     * dired.c (Fdirectory_files): removed extern declaration of
  13492.     searchbuf, included search.h.
  13493.  
  13494.     * Globally renamed `CHAR_AT_POSITION' to `FETCH_CHAR'.
  13495.  
  13496. Mon Oct 22 14:07:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13497.  
  13498.     * keyboard.c (quit_char): New variable.
  13499.     (init_keyboard): Initialize it.
  13500.     (Fset_input_mode): New optional arg to set quit_char.
  13501.     (command_loop_1, read_char, kbd_buffer_store_char):
  13502.     (read_avail_input): Use quit_char, not C-g.
  13503.     * sysdep.c (init_sys_modes): Use quit_char to set special chars.
  13504.     * xterm.c (x_term_init): Pass new arg to Fset_input_mode.
  13505.  
  13506. Mon Oct 22 00:48:27 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13507.  
  13508.     * xdisp.c: added `extern' declaration for command_loop_level.
  13509.  
  13510.     * term.c (term_init): Internal cleanups.
  13511.     (write_glyphs): renamed argument `start' to `string'.
  13512.  
  13513. Sun Oct 21 15:21:39 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13514.  
  13515.     * xterm.c (FIONREAD): Undefine if BROKEN_FIONREAD.
  13516.     (SIGIO): Undefine if no FIONREAD.
  13517.     (ioctl.h, termio.h, strings.h, string.h): Include them before those.
  13518.  
  13519.     * alloc.c (make_vector_from_string, Fvector_from_string):
  13520.     Functions deleted.
  13521.  
  13522.     * sysdep.c (select): Handle timeout == 0.  Add var local_timeout.
  13523.  
  13524.     * alloc.c (make_uninit_string, make_float): Use VALIDATE_LISP_STORAGE.
  13525.     (Fcons, Fmake_vector, Fmake_symbol, Fmake_marker): Likewise.
  13526.     (Fmake_vector_from_list): Likewise.
  13527.     (VALIDATE_LISP_STORAGE): New macro.
  13528.  
  13529. Sat Oct 20 00:59:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13530.  
  13531.     * dispnew.c (scrolling): Give up if some new lines not enabled.
  13532.     (update_screen): Rework outq logic.
  13533.  
  13534.     * xdisp.c (message, message1): Clear noninteractive_need_newline.
  13535.  
  13536. Fri Oct 19 18:14:10 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13537.  
  13538.     * scroll.c (do_scrolling): allocate queue using alloca instead
  13539.     of variable-sized arrays.
  13540.  
  13541. Fri Oct 19 17:25:34 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13542.  
  13543.     * buffer.c: Doc fix.
  13544.  
  13545. Thu Oct 18 14:40:04 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13546.  
  13547.     * print.c (internal_with_output_to_temp_buffer): install an
  13548.     unwind_protect to make sure the current buffer is restored.
  13549.  
  13550.     * minibuf.c (read_minibuf): call recursive_edit_1 instead of
  13551.     Frecursive_edit, to support the new command_loop_level
  13552.     arrangement.
  13553.  
  13554.     * malloc.c (calloc): Added this function, in case something linked
  13555.     with emacs calls it.
  13556.  
  13557.     * lread.c (openp): Since access returns 0 on success, change that
  13558.     into a 1 before returning it.
  13559.  
  13560.     * lisp.h: deleted DEFSIMPLE and DEFPRED, since they're no
  13561.     longer used.
  13562.  
  13563. Thu Oct 18 13:43:50 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13564.  
  13565.     * m-intel386.h (alloca): Define as builtin, if using GCC.
  13566.  
  13567.     * m-att3b.h (NEED_PTEM_H): Define this for 3b2.
  13568.  
  13569.     * s-aix3-1.h (SYSV_SYSTEM_DIR): Define it.
  13570.  
  13571.     * print.c (print): Improve error message for bad data type.
  13572.  
  13573. Thu Oct 18 13:02:54 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13574.  
  13575.     * keymap.c (Flookup_key): rearranged to use an index into the key
  13576.     sequence instead of a pointer and a level counter.
  13577.  
  13578. Thu Oct 18 12:53:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13579.  
  13580.     * floatfns.c (sinh, cosh): On VMS, define to use exp.
  13581.     (IN_FLOAT): Detect errors reported using errno.
  13582.     (float_error): Define function unconditionally.
  13583.     Reestablish handler when called, if not BSD.
  13584.  
  13585. Wed Oct 17 12:04:18 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13586.  
  13587.     * m-delta.h (C_DEBUG_SWITCH): Don't define this.
  13588.  
  13589. Wed Oct 17 00:05:44 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13590.  
  13591.     * keyboard.c (command_loop): made call to command_loop_2
  13592.     conditional on minibuf_level too (it used to be only conditional
  13593.     on command_loop_level), since this is what 18.56 and all the other
  13594.     functions in Emacs 19 keyboard.c do.
  13595.  
  13596. Tue Oct 16 23:55:24 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13597.  
  13598.     * keyboard.c (read_char): Don't echo dash if there is already
  13599.     something else being displayed in the echo area.
  13600.  
  13601. Tue Oct 16 13:23:37 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13602.  
  13603.     * process.c (status_convert): If killed by signal, use WTERMSIG.
  13604.  
  13605.     * data.c (arith_error): Reestablish handler on VMS.
  13606.  
  13607.     * keyboard.c (start_polling, stop_polling): New functions.
  13608.     (input_poll_signal): New function, handles periodic alarms.
  13609.     (read_command_char): Turn off polling temporarily.
  13610.     * xdisp.c (redisplay): Likewise.
  13611.     * process.c (wait_reading_process_input, create_process): Likewise.
  13612.  
  13613. Tue Oct 16 01:22:09 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13614.  
  13615.     * indent.c (position_indentation): instead of using CharAt, use a
  13616.     pointer to scan the buffer - this is faster.
  13617.  
  13618.     * emacs.c (Fdump_emacs): The conditional expression which passes
  13619.     symname to unexec was missing a `: 0'.
  13620.  
  13621.     * dispnew.c (rotate_vector): Was rotating backwards.
  13622.  
  13623. Mon Oct 15 23:37:57 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13624.  
  13625.     * dired.c (file_name_completion): Use scmp to compare names.
  13626.  
  13627. Mon Oct 15 00:27:43 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13628.  
  13629.     * process.c (create_process): Don't turn off handling of SIGCHLD.
  13630.     Just set a flag if a signal comes in when not wanted.
  13631.     (create_process_sigchld): New signal handler.
  13632.  
  13633. Sun Oct 14 18:22:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13634.  
  13635.     * bytecode.c: De-implement Bmark, Bset_mark, Bscan_buffer.
  13636.     Mark Bsymbol_function, Bfset, Bread_char as obsolete.
  13637.     Implement codes Bmult, Bforward_char...Bwiden,
  13638.     and Bstringeqlsign...Bintegerp.
  13639.  
  13640. Fri Oct 12 00:28:00 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13641.  
  13642.     * buffer.c (list_buffers_1): Select the buffer given in
  13643.     Vstandard_output using Fset_buffer instead of set_buffer_internal.
  13644.  
  13645.     * buffer.c (set_buffer_internal): deleted variable swb - it's
  13646.     never used.
  13647.  
  13648.     * buffer.c (count_modified_buffers): function deleted - it's
  13649.     not used anymore.
  13650.  
  13651. Thu Oct 11 23:30:01 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13652.  
  13653.     * buffer.c (reset_buffer_local_variables, buffer_local_variables):
  13654.     added support for default values for buffer local variables which
  13655.     do not have a DEFVAR_PER_BUFFER, as described in the comments
  13656.     above buffer_local_flags.
  13657.  
  13658.     * buffer.c (Fget_buffer_create): move initialization of
  13659.     b->save_length and b->last_window_start to reset_buffer.
  13660.  
  13661. Thu Oct 11 11:58:40 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13662.  
  13663.     * m-ibmps2-aix.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Define them.
  13664.     (C_DEBUG_SWITCH): Delete -fstrength-reduce.
  13665.  
  13666.     * unexmips.c (unexec): Add conditional for MIPS2.
  13667.  
  13668. Wed Oct 10 16:36:23 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13669.  
  13670.     * m-iris4d.h (LIBS_MACHINE): Use -lsun, don't use -lPW.
  13671.  
  13672.     * unexelf.c: New file.
  13673.     * s-usg5-4.h: New file.
  13674.     * unexec.c [USG_SHARED_LIBARARIES]: Numerous changes under this cond.
  13675.     (copy_text_and_data): New second argument.
  13676.  
  13677. Wed Oct 10 12:00:00 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13678.  
  13679.         * alloc.c (gc_sweep): only unchain markers that are in a buffer.
  13680.  
  13681. Wed Oct 10 11:16:40 1990  Mike Rowan  (mtr at apple-gunkies)
  13682.  
  13683.     * process.c: Merged in more changes from 18.56: update_status,
  13684.     FD_SET changes (define all the FD_ macros).  Other small changes.
  13685.  
  13686. Tue Oct  9 17:30:26 1990  Jim Blandy  (jimb at churchy.ai.mit.edu)
  13687.  
  13688.     * xdist.c: (decode_mode_spec): reworked code to handle %* - it now
  13689.     goes like `if return else if return else ... return' instead of
  13690.     using a conditional operator.
  13691.  
  13692.     * xdist.c: (fmodetrunc): function deleted - no longer used.
  13693.  
  13694. Tue Oct  9 16:29:11 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13695.  
  13696.     * xdisp.c (decode_mode_spec): Handle dashes in wide windows.
  13697.  
  13698. Mon Oct  8 18:55:20 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13699.  
  13700.     * sysdep.c (sys_open, sys_close, sys_read, sys_write):
  13701.     Don't handle EAGAIN.
  13702.  
  13703.     * process.c (wait_reading_process_input): Handle nread==-1
  13704.     for O_NDELAY like O_NONBLOCK.
  13705.  
  13706.     * s-vms.h (LINK_CTRL_SHARE): Turn on again.
  13707.     tranle@intellicorp.com found it needed in VMS 5.3.
  13708.  
  13709.     * emacs.c (main): Move VMS declaration of environ outside function.
  13710.  
  13711.     * vmsfns.c (Fdefault_subproc_input_handler): InsCstr -> insert.
  13712.  
  13713. Sun Oct  7 22:48:33 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13714.  
  13715.     * m-pmax.h (START_FILES): Handle crt0.o in different dir in Ultrix 4.0.
  13716.  
  13717.     * s-sunos4.h (O_NDELAY): Define only if not defined.
  13718.  
  13719. Sat Oct  6 17:06:42 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13720.  
  13721.     * sysdep.c (tabs_safe_p, get_screen_size): renamed `sg' to `tty'.
  13722.  
  13723.     * sysdep.c (init_baud_rate): rearranged code for calculating
  13724.     baud_rate.
  13725.  
  13726. Fri Oct  5 14:44:40 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13727.  
  13728.     * search.c (Freplace_match): used Finsert_buffer_substring instead
  13729.     of place and deleted place.
  13730.  
  13731.     * search.c (place): function removed
  13732.  
  13733.     * process.c (count_active_processes): Deleted; not used.
  13734.  
  13735.     * minibuf.c (read_minibuf): renamed `prefix' argument to `initial'.
  13736.  
  13737. Mon Oct  1 15:52:35 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13738.  
  13739.     * lread.c (Fload): renamed `MISSING-OK' to `NOERROR'.
  13740.  
  13741.     * keyboard.c (describe_map): renamed `keys' to `string'.
  13742.  
  13743.     * keyboard.c `Vauto_save_interval' unrenamed back to
  13744.     `auto-save-interval'. 
  13745.  
  13746.     * keymap.c (Fdefine_key, Flookup_key): renamed arguments called
  13747.     `keys' to `key'.
  13748.  
  13749. Mon Oct  1 13:51:03 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13750.  
  13751.     * sysdep.c (sys_open, sys_close, sys_read, sys_write):
  13752.     Handle EAGAIN like EINTR.
  13753.  
  13754. Sun Sep 30 16:37:26 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13755.  
  13756.     * insdel.c (gap_left, gap_right): Use bcopy if requested.
  13757.     New config parameters GAP_USE_BCOPY, BCOPY_SAFE_UPWARD,
  13758.     and BCOPY_SAFE_DOWNWARD.
  13759.  
  13760.     * eval.c (find_handler_clause): Bind debug-on-error to nil.
  13761.     (Qdebug_on_error): New variable.
  13762.     (syms_of_eval): Initialize that.
  13763.  
  13764.     * sysdep.c: Include various headers for ptys, for hpux, aix, and sysv.
  13765.  
  13766.     * dispnew.c (preserve_other_columns): Fix args to second bcopy.
  13767.  
  13768. Sun Sep 30 16:08:16 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13769.  
  13770.     * keyboard.c: `auto_save_interval' renamed to
  13771.     `Vauto_save_interval', since it *is* a lisp-accessible variable.
  13772.  
  13773.     * fileio.c (Fdo_auto_save): call record_auto_save so that
  13774.     read_char knows when we've auto-saved.
  13775.  
  13776.     * keyboard.c (record_auto_save): added function to support the new
  13777.     auto-save conditions.
  13778.  
  13779.     * keyboard.c (read_char): use num_input_chars and last_auto_save
  13780.     instead of keystrokes to decide when to autosave.
  13781.  
  13782.     * keyboard.c (keystrokes): variable deleted.
  13783.  
  13784. Sun Sep 30 10:22:40 1990  Mike Rowan  (mtr at spike.ai.mit.edu)
  13785.  
  13786.         * keyboard.c and alloc.c:  added malloc warning code from
  13787.     18.56.
  13788.  
  13789.     * dispnew.c, xdisp.c: (un)hold_window_change no longer exists;
  13790.     added do_pending_window_change from 18.56.
  13791.  
  13792.     * process.[ch]:  added the raw_status_low and raw_status_high
  13793.     code from 18.56.
  13794.  
  13795. Sat Sep 29 00:04:31 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13796.  
  13797.     * alloca.s: Handle ns32000 like ns16000.
  13798.  
  13799.     * m-ns32000.h: New file.
  13800.  
  13801.     * lread.c (Fload): Warn if elc file older than source file.
  13802.  
  13803.     * ymakefile (LIB_X11_LIB): New parameter,default -lX11.
  13804.     (LIBX): Use that.
  13805.  
  13806.     * Makefile (xmakefile): Delete junk.c at the beginning.
  13807.  
  13808.     * hftctl.c: Include termios.h before termio.h.
  13809.     Define TCGETS and TCSETS if nec.
  13810.     Give some forward declarations for the static functions.
  13811.     Reformat in usual GNU style.
  13812.  
  13813.     * m-orion105.h (LOAD_AVE_TYPE, FSCALE): Changed from double and 1.0.
  13814.  
  13815.     * m-delta.h: New file.
  13816.  
  13817. Fri Sep 28 17:57:46 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13818.  
  13819.     * fns.c (Frequire): Undo certain things on failure, like autoload.
  13820.  
  13821. Fri Sep 28 12:39:11 1990  Jim Blandy  (jimb at pogo.ai.mit.edu)
  13822.  
  13823.     * fileio.c (Fwrite_region): renamed variable `fd' to `desc' and
  13824.     changed argument to open from `1' to `O_WRONLY'.
  13825.  
  13826.     * fileio.c (O_WRONLY): added clause to define this if not already
  13827.     defined.
  13828.  
  13829.     * emacs.c (Fdump_emacs): removed a_name variable.
  13830.  
  13831.     * emacs.c (Fkill_emacs): removed code which asked about modified
  13832.     buffers and running subprocesses.
  13833.  
  13834.     * editfns.c (Fcurrent_time_string): renamed variable `now' to
  13835.     `current_time'.
  13836.  
  13837.     * dispnew.c (update_line): renamed variables `m1' and `m2' to
  13838.     `begmatch' and `endmatch'.
  13839.  
  13840.     * dispnew.c (update_screen): use preempt_count as a limit instead
  13841.     of a counter; count with i instead.
  13842.  
  13843.     * dispnew.c (visible_bell, inverse_video, baud_rate,
  13844.     Vwindow_system): rearranged comments.
  13845.  
  13846. Thu Sep 27 20:59:54 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13847.  
  13848.     * emacs.c (main) : Set the DISPLAY environment value when both of
  13849.     MAINTAIN_ENVIRONMENT and HAVE_X_WINDOW are defined.
  13850.  
  13851.     * m-convex.h (LIB_STANDARD, LIBS_MACHINE): remove these, they
  13852.     cause an unnecessary C1/C2 dependency.
  13853.  
  13854.     * m-convex.h (LD_SWITCH_MACHINE): use -e__start to specify
  13855.     where crt0.c begins.
  13856.  
  13857.     * m-convex.h (HAVE_SETSID): define; must call setsid
  13858.     when creating an inferior with a different controlling tty.
  13859.     * process.c (create_process): rearrange so that HAVE_SETSID
  13860.     will be seen when not under USG.
  13861.  
  13862.     * m-convex.h (S_IFMT etc): define in case of posix compilation.
  13863.  
  13864.     * m-convex.h (FIRST_PTY_LETTER): do it at runtime.
  13865.     * unexconvex.c (first_pty_letter): routine to locate lowest pty.
  13866.  
  13867.     * unexconvex.c: Rewrite so it can cope with thread-local sections.
  13868.  
  13869.     * sysdep.c (select): Use process_tick and update_tick,
  13870.     not child_changed.
  13871.  
  13872. Sun Sep 23 14:25:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13873.  
  13874.     * keyboard.c (Fsuspend_emacs): Check screen size after resume.
  13875.  
  13876. Wed Sep 19 18:21:10 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13877.  
  13878.     * editfns.c: Doc fix.
  13879.  
  13880. Tue Sep 18 09:21:44 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13881.  
  13882.     * window.c (Fsplit_window): Minor cleanup.
  13883.  
  13884. Mon Sep 17 11:22:45 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13885.  
  13886.     * emacs.c (main) [USG_SHARED_LIBRARIES]: Call brk.
  13887.  
  13888. Thu Sep 13 15:40:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13889.  
  13890.     * floatfns.c (float_error_arg): New variable.
  13891.     (IN_FLOAT): New arg; sets float_error_arg.  All uses changed.
  13892.     (float_error): Use that value when signaling error.
  13893.  
  13894. Tue Sep 11 16:25:53 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13895.  
  13896.     * unexaix.c, m-ibmr2.h, s-aix3-1.h: New files.
  13897.  
  13898.     * ymakefile (allocaobj): New variable.  Used in otherobjs.
  13899.     Eliminates assignment of mallocobj using itself.
  13900.     (mallocobj): Handle SYSTEM_MALLOC without HAVE_ALLOCA.
  13901.     (xemacs): Use -nl option if HAVE_SHM.
  13902.  
  13903.     * sysdep.c: Change IBMRTAIX conditionals to AIX.
  13904.     Move hft.h to the top.
  13905.     [IBMR2AIX]: Use termios.h and change macros accordingly.
  13906.     (child_setup_tty): Change IBMRTAIX to AIX.
  13907.     (setpgrp_of_tty): Handle IBMR2AIX.
  13908.     (init_sys_modes): Handle IBMR2AIX.  Output special things for AIX.
  13909.     (reset_sys_modes): Output special things for AIX.
  13910.     (hft_init, hft_reset): Conditionals for IBMR2AIX.
  13911.  
  13912.     * process.c: Change IBMRTAIX to AIX controlling time.h.
  13913.     [AIX]: Include sys/pty.h and unistd.h.
  13914.     (wait_reading_process_input): If AIX, handle EBADF differently.
  13915.     (create_process): Handle HAVE_SETSID.  Change conditional to AIX.
  13916.  
  13917.     * lisp.h (XPNTR): New definition if HAVE_SHM.
  13918.     (NULL): Undef before defining.
  13919.  
  13920.     * emacs.c (main): If HAVE_SHM, call map_in_data.
  13921.     Use AIX, not IBMRTAIX, for signal conditional.
  13922.     (Fdump_emacs_data): New function if HAVE_SHM.
  13923.     (Fdump_emacs): Don't define if HAVE_SHM.
  13924.  
  13925.     * alloc.c (pure, PUREBEG): If HAVE_SHM, define place for a segment.
  13926.  
  13927. Mon Sep  3 19:13:05 1990  Mike Rowan  (mtr at apple-gunkies)
  13928.  
  13929.     * sysdep.c: added setup_pty from 18.56
  13930.  
  13931.     * process.c:  merged in 18.55->6 changes.  Same for process.h
  13932.  
  13933.     * globally replaced:
  13934.            redisplay_preserving_echo_area -> redisplay_preserve_echo_area
  13935.            SetBfp -> set_buffer_internal 
  13936.            buffer_flush_undo -> buffer_disable_undo 
  13937.            redo_mode_line -> update_mode_line  (window.h)
  13938.  
  13939. Fri Aug 31 14:17:12 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13940.  
  13941.     * data.c (Fmake_local_variable): If var is local when set, make it
  13942.     local now in this buffer.
  13943.  
  13944.     * data.c (Fstring_to_int): Finish eliminating second arg.
  13945.  
  13946.     * data.c (Faset): Require integer as third arg for string.
  13947.  
  13948. Tue Aug 28 15:10:28 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13949.  
  13950.     * search.c: Doc fix.
  13951.  
  13952.     * screen.h (SCREEN_SCROLL_BOTTOM_VPOS): New macro.
  13953.     * xdisp.c (screen_bottom_vpos): Variable used if just one screen.
  13954.     (redisplay, try_window_id): Set that field in screen.
  13955.     * dispnew.c (scrolling, update_screen): New arg scroll_bottom_vpos.
  13956.  
  13957.     * dispnew.c (scroll_screen_lines): Mark newly empty lines as empty.
  13958.     (scrolling): Give up if any line in current_screen not enabled.
  13959.  
  13960. Mon Aug 27 21:40:31 1990  Roland McGrath  (roland at churchy.ai.mit.edu)
  13961.  
  13962.     * dired.c (Ffile_attributes): Return the device number too (elt 11
  13963.     of the returned list).
  13964.  
  13965. Mon Aug 27 12:42:22 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13966.  
  13967.     * sysdep.c (wait_for_kbd_input): Frob waiting_for_input here.
  13968.     * keyboard.c (kbd_buffer_read_command_char): Not here.
  13969.  
  13970.     * sysdep.c (wait_for_kbd_input): Clear process_ef before snarfing
  13971.     process input.
  13972.  
  13973.     * fileio.c (Fdirectory_file_name): On VMS, leave space for log name.
  13974.  
  13975.     * sysdep.c (init_sys_modes): Clear process_ef only the first time.
  13976.  
  13977.     * vmsfns.c (process_exit): Logic of deletion was wrong.
  13978.     (Fspawn_subprocess): Correctly reuse existing struct process_list.
  13979.  
  13980. Wed Aug 22 12:40:29 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  13981.  
  13982.     * m-plexus.h (LD_SWITCH_MACHINE): New macro.
  13983.  
  13984. Wed Aug 22 11:23:39 1990  Joseph Arceneaux  (jla at geech)
  13985.  
  13986.     * xterm.c (XTread_socket): Cleaned up #ifdefs prior to event
  13987.     reading loop.  Also handle FIOSNBIO.
  13988.  
  13989. Sun Aug 19 14:04:15 1990  Joseph Arceneaux  (jla at geech)
  13990.  
  13991.     * xterm.c (dumplyphs): Last vestige of MScreenWidth removed.
  13992.     * config.h: MScreenWidth, MScreenHeight definitions removed.
  13993.  
  13994. Sat Aug 18 21:23:49 1990  Joseph Arceneaux  (jla at geech)
  13995.  
  13996.     * scroll.c (do_scrolling): Pass the correct sizes to bcopy.
  13997.     * dispnew.c (make_screen_glyphs): Likewise.
  13998.  
  13999. Thu Aug 16 11:35:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14000.  
  14001.     * dispnew.c (scroll_screen_lines, free_screen_glyphs): Only deal
  14002.     with the X components of screen_glyphs if SCREEN_IS_X.
  14003.     free_screen_glyphs now takes screen argument.
  14004.  
  14005.     * window.c (Fnext_window, Fprevious_window): Fixed typo.  New
  14006.     behaviour:  mini non-nil implies all_screens if global mini screen
  14007.     exists, implies current screen only if not.
  14008.     (Fdisplay_buffer): Simplification of multi-screen code.
  14009.  
  14010. Wed Aug 15 17:24:51 1990  Richard Stallman  (rms at mole.ai.mit.edu)
  14011.  
  14012.     * buffer.c: Doc fix.
  14013.  
  14014. Wed Aug 15 16:59:46 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14015.  
  14016.     * dispnew.c (update_line): Simplification of pixel size code, only
  14017.     done if screen is X.
  14018.     (update_screen): Only set pixel stuff if screen is X.
  14019.  
  14020. Tue Aug 14 23:35:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14021.  
  14022.     * m-targon31.h (NO_REMAP): Definition removed.
  14023.     (SEGMENT_MASK): New macro.
  14024.  
  14025. Tue Aug 14 12:13:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14026.  
  14027.     * lread.c (eval-region): Don't set opoint to point, etc.
  14028.     Fnarrow_to_region from BEGV, not b.
  14029.     (eval-buffer): New subr, generalization of eval-current-buffer.
  14030.     (eval-current-buffer): Moved to elisp, in simple.el.
  14031.  
  14032.     * xfns.c (x_y_pos): Nuked.  Replaced by pixel_to_char_translation
  14033.     and notice_mouse_movment (dispnew.c, xterm.c).
  14034.     (Fx_point_coordinates): Also nuked.
  14035.     mouse_buffer_offset:  New lisp variable.
  14036.  
  14037.     * xterm.c (notice_mouse_movement): Use it in call to
  14038.     pixel_to_char_translation.
  14039.  
  14040.     * screen.h: For non-multiscreen, XSCREEN returns selected_screen,
  14041.     as does WINDOW_SCREEN.
  14042.  
  14043.     * xdisp.c (display_mode_line): Set desired_glyphs->bufp to 0 for
  14044.     mode line.
  14045.     All occurences of struct screen * replaced with SCREEN_PTR.
  14046.  
  14047. Mon Aug 13 19:09:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14048.  
  14049.     * xmenu.c (list_of_items, list_of_panes): Fixed wrong params to
  14050.     wrong_type_argument.
  14051.  
  14052. Sun Aug 12 12:32:27 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14053.  
  14054.     * dispnew.c (pixel_to_char_translation):  New algorithm for
  14055.     finding y.
  14056.  
  14057.     * xfns.c (install_*_scrollbar): No more height, width parameters.
  14058.     Don't block input here.
  14059.     (x_set_*_scrollbar): Block input here.
  14060.  
  14061.     * xterm.c (notice_mouse_motion): Check if the mouse is still in
  14062.     the window.
  14063.     (encode_mouse_button): Don't bother about motion types.
  14064.  
  14065. Sat Aug 11 19:00:49 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14066.  
  14067.     * m-convex.h (C_SWITCH_MACHINE, LIB_STANDARD, LIBS_MACHINE):
  14068.     (LD_SWITCH_MACHINE): Add definitions for Convex V 4.0.
  14069.  
  14070. Sat Aug 11 13:09:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14071.  
  14072.     * xfns.c (Fx_grab_pointer): Call XCreateFontCursor on shape,
  14073.     setting new variable grabbed_cursor.  Return Qt if successful,
  14074.     Qnil otherwise.
  14075.     (Fx_ungrab_pointer): free grabbed_cursor if non zero.  Return Qnil.
  14076.  
  14077. Fri Aug 10 09:27:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14078.  
  14079.     * xfns.c (x_figure_window_size): Don't set pixel sizes until
  14080.     height and width are determined.
  14081.  
  14082. Wed Aug  8 12:48:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14083.  
  14084.     * xfns.c (Fx_grab_pointer): New parameter to explicitly ignore
  14085.     keyboard events.
  14086.  
  14087.     * xterm.c (notice_mouse_movement): Use pixel_to_char_translation
  14088.     to get char position and buffer offset.
  14089.  
  14090. Tue Aug  7 21:35:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14091.  
  14092.     * sysdep.c [NEED_PTEM_H]: New flag macro says include ptem.h.
  14093.  
  14094. Tue Aug  7 11:22:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14095.  
  14096.     * dispextern.h: element bufp of screen_glyphs no longer dependent
  14097.     on X windows.
  14098.     * xdisp.c (display_text_line): Likewise.
  14099.  
  14100.     * xfns.c (Fx_grab_pointer, Fx_ungrab_pointer): New subrs.
  14101.     (x_figure_window_size): Set pixel_width and pixel_height of
  14102.     screen, using font height and width.
  14103.  
  14104.     * xfns.c: Vmouse_grabbed renamed Vmouse_depressed.
  14105.     * xterm.c: Likewise.
  14106.     (construct_mouse_event): Don't check mouse coordinates;  this is
  14107.     done by the notice_mouse_motion.  Don't grab the mouse here.
  14108.  
  14109.     * dispnew.c (update_line): Set the pix_width and pix_height of the
  14110.     line.  This fashion of doing so is temporary.
  14111.  
  14112. Mon Aug  6 13:57:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14113.  
  14114.     * dispextern.h: screen_glyphs struct elements bottom_right_x,
  14115.     bottom_right_y changed to pix_width and pix_height.
  14116.     * scroll.c: Likewise.
  14117.     * dispnew.c: Likewise.
  14118.     (update_screen): Set top_left_x, top_left_y for X windows.
  14119.  
  14120.     * xterm.h: Macros PIXEL_{WIDTH,HEIGHT} now use the display
  14121.     structure elements.
  14122.  
  14123. Sun Aug  5 12:07:16 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14124.  
  14125.     * xfns.c (x_window_to_scrollbar): Return Lisp symbol in parameter
  14126.     PART_PTR, rather than string.
  14127.     Declare these symbols.
  14128.     New variable Vscreen_part, indicates which part of the screen the
  14129.     mouse is in.
  14130.  
  14131.     * xterm.c (notice_mouse_motion): Do XQueryPointer first thing.
  14132.     Set Vmouse_event to Qnil.
  14133.     (construct_mouse_event): Don't check if mouse has moved or not.
  14134.     When returning cons, part is now already lisp symbol.
  14135.     (XTread_socket): Set Vmouse_window = Vscreen_part = Qnil when
  14136.     leaving screen, as well as setting x_mouse_x = x_mouse_y = -1.
  14137.  
  14138.     * keyboard.c: Vmouse_window, Vmouse_event declared extern and no
  14139.     longer DEFVARed:  they are already delclared in window.c
  14140.  
  14141.     * screen.c (window_from_coordinates): Use Fnext_window, even if
  14142.     MULTI_SCREEN, to obtain the next window.  This is an test.
  14143.     Also, new paramater part returns text or modeline symbol.
  14144.     (Flocate_window_from_coordinates): Pass &part to
  14145.     window_from_coordinates.
  14146.     (coordinates_in_window): Don't say modeline if window_height is 1,
  14147.     as this is likely to be the minibuffer.
  14148.  
  14149. Sat Aug  4 13:43:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14150.  
  14151.     * screen.c (Fcoordinates_in_window_p): Doc fix.  Simplified.
  14152.     (window_from_coordinates):  New function.
  14153.     (Flocate_window_from_coordinates):  Use it.
  14154.  
  14155.     * keyboard.c (classify_object):  New function for dealing with the
  14156.     input object.  New symbol, mouse-motion, called here.
  14157.     Call to mouse-motion-handler now takes no parameters.
  14158.     (read_key_sequence):  Use the new function.  Don't set keybuf[0]
  14159.     to 0.
  14160.  
  14161.     * xterm.c (init_input_symbols):  Create all the Lisp symbols
  14162.     returned in the input stream.
  14163.     func_key_syms:  New array to hold all symbols for function keys.
  14164.     (x_func_key_to_sym): Use this array.
  14165.     (notice_mouse_movement): New function for dealing with motion
  14166.     events.
  14167.     (XTread_socket): Use it here.
  14168.  
  14169. Thu Aug  2 22:26:45 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14170.  
  14171.     * callproc.c (child_setup): Report error in chdir.
  14172.  
  14173. Wed Aug  1 12:01:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14174.  
  14175.     * lisp.h: New macro XFLOATINT.  extract_float declared.
  14176.     * floatfns.c (Ffloor): Call floor, not ceil.
  14177.     (extract_float): No longer static.
  14178.     * bytecode.c (Fbyte_code): Correctly handle floats in case Beqlsign.
  14179.  
  14180. Tue Jul 31 23:25:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14181.  
  14182.     * keyboard.c (read_key_sequence): When downcasing letters,
  14183.     don't change the value returned in keybuf.
  14184.     (This is an experiment; it might be unpleasant in
  14185.     things such as C-h c, but it is an improvement
  14186.     for M-x global-set-key.)
  14187.  
  14188. Mon Jul 30 13:46:01 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14189.  
  14190.     * eval.c: Doc fix.
  14191.  
  14192. Sat Jul 28 22:19:32 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14193.  
  14194.     * s-iris*.h (SYSTEM_TYPE): Change silicon-graphics-unix to irix.
  14195.  
  14196. Thu Jul 26 21:49:47 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14197.  
  14198.     * indent.c (Fmove_to_column): End-test was off by 1.
  14199.  
  14200.     * abbrev.c (Fexpand_abbrev): Return nil if alloca arg would be neg.
  14201.  
  14202. Thu Jul 26 14:26:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14203.  
  14204.     * xdisp.c (display_text_line):  String to rope copy for inserting
  14205.     arrow text.
  14206.  
  14207. Wed Jul 25 15:21:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14208.  
  14209.     * xdisp.c (display_mode_line): Check that the name has actually
  14210.     changed before calling x_set_name.
  14211.  
  14212.     * ralloc.c (check_memory_limits):  New function.
  14213.     Also check if new memory will be larger than elisp pointer.
  14214.     (r_alloc_sbrk): Call this function.
  14215.     (relocate_blocs_upward, relocate_blocs_downward): Eliminated.
  14216.     (r_alloc_sbrk): Use relocate_some_blocs instead of the eliminated
  14217.     functions.
  14218.  
  14219.     * vm-limit.c (morecore_with_warning): Check if new memory larger
  14220.     than elisp pointer size.
  14221.  
  14222. Tue Jul 24 21:14:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14223.  
  14224.     * keyboard.c (save_getcjmp, restore_getcjmp): New functions.
  14225.     (read_char): Use them around Fdo_auto_save.
  14226.     * process.c (read_process_output, exec_sentinel): Use them.
  14227.     * fileio.c (Fdo_auto_save): Run auto-save-hook.
  14228.  
  14229. Tue Jul 24 11:35:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14230.  
  14231.     * dispnew.c (safe_bcopy): No longer static.
  14232.  
  14233.     * ralloc.c (relocate_blocs_upward, relocate_blocs_downward):  Use
  14234.     safe_bcopy.
  14235.  
  14236.     * mem_limits.c:  typedef SIZE.
  14237.  
  14238. Thu Jul 19 10:18:32 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14239.  
  14240.     * fileio.c (Finsert_file_contents): Initialize how_much when exiting
  14241.     main loop.
  14242.  
  14243.     * m/m-mips.h: Added stuff from the 18.56 version.
  14244.  
  14245. Wed Jul 18 15:00:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14246.  
  14247.     * indent.c (Fmove_to_column):  Set end to ZV.
  14248.  
  14249. Tue Jul 17 21:31:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14250.  
  14251.     * editfns.c (init_editfns): Let envvar NAME override full name.
  14252.  
  14253.     * buffer.c (list_buffers_1): Avoid error with list-buffers-directory.
  14254.  
  14255. Tue Jul 17 14:32:03 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14256.  
  14257.     * buffer.c (list_buffers_1):  Don't check list-buffers-directory.
  14258.  
  14259. Mon Jul 16 10:03:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14260.  
  14261.     * xdisp.c (display_text_line):  Don't print ellipsis if they're
  14262.     off the left edge.
  14263.  
  14264. Tue Jul 10 16:01:04 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14265.  
  14266.     * s-386-ix.h: Define BROKEN_TIOCGETC.
  14267.  
  14268. Mon Jul  9 14:33:07 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14269.  
  14270.     * m-pmax.h: Undef LD_SWITCH_MACHINE, change DATA_START
  14271.     and DATA_SEG_BITS.
  14272.  
  14273. Thu Jul  5 13:38:24 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14274.  
  14275.     * s-iris3-6.h (HAVE_GETWD): Define this.
  14276.     (KERNEL_FILE): Change to /unix.
  14277.     (sigsetmask, sigblock, NEED_ERRNO, C_SWITCH_MACHINE): Turn off.
  14278.     (SIGIO): Don't undefine it.
  14279.     (LIBS_MACHINE): Remove -lbsd.
  14280.  
  14281.     * minibuf.c (Fall_completions, do_completion): Treat nil as alist.
  14282.     (Ftry_completion): Likewise.
  14283.  
  14284. Sun Jul  1 17:21:40 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14285.  
  14286.     * sysdep.c: Undefine TIOCGETC if BROKEN_TIOCGETC defined.
  14287.     * s-usg5-3.h, s-xenix.h: Define BROKEN_TIOCGETC.
  14288.  
  14289. Tue Jun 26 17:15:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14290.  
  14291.     * process.c (Fopen_network_connection): Minor cleanup.
  14292.  
  14293. Wed Jun 20 12:45:36 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14294.  
  14295.     * m-sun3.h: Add comments for dealing with 68881.
  14296.  
  14297. Tue Jun 19 16:58:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14298.  
  14299.     * m-ibmps2-aix.h [__GNUC__]: Define LIB_STANDARD and C_DEBUG_SWITCH,
  14300.     and don't define LIBS_MACHINE.
  14301.     (HAVE_WAIT_HEADER): Define this.
  14302.     Also reordered definitions so recently added ones are together.
  14303.  
  14304. Sun Jun 17 17:56:27 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14305.  
  14306.     * insdel.c (insert): Error if buffer would get too long.
  14307.     * fileio.c (Finsert_file_contents): Likewise.
  14308.  
  14309. Sat Jun 16 23:33:20 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14310.  
  14311.     * syntax.c (scan_sexps_forward): Allow Squote inside symbols.
  14312.  
  14313. Sat Jun 16 17:03:45 1990  Joseph Arceneaux  (jla at geech)
  14314.  
  14315.     * window.c (Fscroll_other_window): Don't unbind_to.  Keep track of
  14316.     current_buffer and point explicitly.
  14317.  
  14318. Fri Jun 15 11:32:42 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14319.  
  14320.     * term.c: (cursor_to): Only add chars_wasted if not calling hook.
  14321.     (clear_end_of_line_raw): Likewise.
  14322.     (clear_end_of_line): Check that screen is termcap before using
  14323.     chars_wasted.
  14324.     (ins_del_lines): Eliminated local copybuf[].
  14325.     (calculate_ins_del_char_costs): Now has screen parameter.
  14326.     DCICcost: Change to char_ins_del_costs and defined with
  14327.     SCREEN_WIDTH (screen).
  14328.     DC_ICcost: Changed to char_ins_del_vector.
  14329.     * term.h: DCICcost no longer defined here.  DC_ICcost no longer
  14330.     declared here.
  14331.     * dispnew.c: char_ins_del_cost defined here.  char_ins_del_vector
  14332.     declared extern here.
  14333.  
  14334. Thu Jun 14 19:11:11 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14335.  
  14336.     * Globally replaced screen_width with macro
  14337.     SCREEN_WIDTH (selected_screen).
  14338.     * dispnew.c (init_display): Don't set SCREEN_WIDTH, etc. from
  14339.     screen_width.
  14340.     (change_window_size):  No longer check output_type and set
  14341.     ScreenRows.
  14342.  
  14343. Mon Jun 11 22:55:37 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14344.  
  14345.     * indent.c (Findent_to): Don't fail to return value.
  14346.     (Fmove_to_column, Fcurrent_column): Doc fixes.
  14347.  
  14348. Wed Jun  6 12:13:30 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14349.  
  14350.     * keyboard.c (echo_prompt):  Now uses glyphs.
  14351.     echobuf, echobuf_ptr:  These variables now glyphs.
  14352.  
  14353. Tue Jun  5 20:02:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14354.  
  14355.     * fileio.c (Fdo_auto_save): Use glyphs_to_str_copy to set
  14356.     omessage.
  14357.     * alloc.c (Fgarbage_collect): Ditto.
  14358.  
  14359.     * xdisp.c (message):  message_buf set here, realloced if smaller
  14360.     than screen width.
  14361.     message_buf now type GLYF *.  New variable message_buf_size holds
  14362.     its size.
  14363.     Use temp_buf for call to doprnt, then use str_to_glyph_cpy to set
  14364.     echo_area_glyphs.
  14365.  
  14366.     * print.c (printchar, strout):  Use message_buf_size.  Convert to
  14367.     glyfs before assigning chars.
  14368.     (str_to_glyph_cpy, str_to_glyph_ncpy, 
  14369.     glyph_to_str_cpy, glyph_to_str_ncpy):  New functions.
  14370.  
  14371. Sun Jun  3 14:00:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14372.  
  14373.     * keyboard.c (command_loop_1): Clear this_command_key_count here.
  14374.     (Fread_key_sequence): And here.
  14375.     (read_key_sequence): Not here.
  14376.  
  14377.     * dispnew.c (update_screen):
  14378.     Add missing else in handling cursor_in_echo_area.
  14379.     * xdisp.c (redisplay_window): Eliminate lpoint.  Alter opoint 
  14380.     if point should be changed permanently in the selected window.
  14381.  
  14382.     * window.c (unshow_buffer): Don't set pt in selected window's buffer.
  14383.  
  14384.     * xdisp.c (decode_mode_spec): Don't truncate buffer or file name.
  14385.  
  14386.     * editfns.c (Finsert_buffer_substring): Don't fail to set beg, end.
  14387.  
  14388.     * keyboard.c (command_loop_level): New variable.
  14389.     Used in place of RecurseDepth, but different meaning.
  14390.     (recursive_edit_1): New function.
  14391.     (Frecursive_edit): Call it.
  14392.     * minibuf.c (read_minibuf): Call recursive_edit_1.
  14393.     * xdisp.c (RecurseDepth): Variable deleted.
  14394.     display_minibuffer_message renamed echo_area_display.
  14395.  
  14396.     * print.c: Include dispextern.h.
  14397.     (printchar, strout): Use message_buf.
  14398.  
  14399.     * scroll.c (CalcIDCosts): Dynamically allocate ILcost, etc.
  14400.     (ILcost, DLcost, ILncost, DLncost): Now pointers.
  14401.     (do_scrolling): Use alloca for queue.
  14402.  
  14403.     * term.c (term_init):  selected_screen as arg to calculate_costs.
  14404.     (calculate_costs):
  14405.     Dynamically allocate chars_wasted, copybuf, DC_ICcost.
  14406.     Set RPov based on actual width.
  14407.     (chars_wasted, copybuf, DC_ICcost): Now pointers.
  14408.  
  14409.     * xterm.c (x_term_init): Don't set dont_calculate_costs anymore.
  14410.  
  14411. Sat Jun  2 21:28:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14412.  
  14413.         * term.c (calculate_ins_del_char_costs, string_cost_one_line):
  14414.     Made static.
  14415.  
  14416.     * dispnew.c: Declare scrolling_1;
  14417.  
  14418.     * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID):  Renamed
  14419.     calculate_ins_del_char_costs, ins_del_costs, and line_ins_del.
  14420.     CalcIDCosts1 and CalcLID also renamed.
  14421.     (calculate_scrolling):  Now void.
  14422.  
  14423.     * Global renaming:  bf_modified -> MODIFF.  CharAt -> CHAR_AT_POSITION.
  14424.     BufferSafe{Floor,Ceiling} -> BUFFER_{FLOOR,CEILING}_OF.
  14425.     SetPoint -> SET_PT.
  14426.  
  14427.     * xterm.c (x_term_init): Don't CalcIDCosts here anymore.
  14428.  
  14429. Fri Jun  1 16:11:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14430.  
  14431.     * print.c: Include dispextern.h.
  14432.     (printchar, strout): Use message_buf.
  14433.  
  14434.         * sysdep.c (get_screen_size): Don't use MscreenWidth, MscreenLenght.
  14435.     * term.c:  Likewise.
  14436.  
  14437.         * scroll.c (CalcIDCosts, CalcIDCosts1, CalcLID):  These now take a
  14438.     screen argument.
  14439.     (CalcIDCosts): Dynamically allocate ILcost, etc.
  14440.     (ILcost, DLcost, ILncost, DLncost): Now pointers.
  14441.     (do_scrolling): Use alloca for queue.
  14442.  
  14443.     * dispnew.c (remake_screen_structures): Allocate message_buf.
  14444.     Don't use MscreenWidth, MscreenLenght.
  14445.  
  14446.     * xdisp.c: bf_cur replaced with current_buffer.
  14447.     Calls to SetBfx deleted.
  14448.     message_buf is now char *.
  14449.     (message): Use SCREEN_WIDTH macro as limit for doprnt.
  14450.  
  14451.     * indent.c (current_column): Detect special case when point == BEGV.
  14452.  
  14453.     * buffer.h (struct buffer_text): Component modified renamed to
  14454.     modiff. All refs changed to macros below.
  14455.     (MODIFF, BUF_MODIFF): New macros.
  14456.     Macro SetBfx removed.
  14457.     Macro SetPoint renamed SET_PT.
  14458.  
  14459.     * fileio.c (Fexpand_file_name):  Simplified.
  14460.  
  14461. Fri Jun  1 14:00:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14462.  
  14463.     * dired.c: Doc fix.
  14464.  
  14465. Thu May 31 19:48:25 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14466.  
  14467.     * search.c (Fsearch_forward): Docstring fix.
  14468.  
  14469. Thu May 31 16:43:33 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14470.  
  14471.     * dired.c: Comment added.
  14472.  
  14473. Thu May 31 14:42:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14474.  
  14475.     * process.c (Fprocess_connection):  Return the type of a process
  14476.     object. 
  14477.     (syms_of_process):  Initialize pty_process and stream_process.
  14478.     Declare Fprocess_type.
  14479.     * process.h  New element type to struct Lisp_Process.
  14480.  
  14481.     * syntax.c (scan_sexps_forward): Initialize curlevel->last to -1.
  14482.  
  14483. Mon May 28 20:06:52 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14484.  
  14485.     * fileio.c (Finsert_file_contents):  Use new variable how_much to
  14486.     hold read result.
  14487.  
  14488. Thu May 24 18:47:21 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14489.  
  14490.     * lread.c (read_char_exclusive):  New subr.
  14491.  
  14492. Thu May 24 15:56:40 1990  David Lawrence  (tale at pogo.ai.mit.edu)
  14493.  
  14494.     * fileio.c (file_executable_p):  New function.
  14495.  
  14496. Wed May 23 01:49:49 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14497.  
  14498.     * insdel.c (make_gap): Only set BEG_ADDR if BUFFER_REALLOC was
  14499.     successful.
  14500.  
  14501.     * editfns.c (syms_of_editfns):  DEFVAR the new variables.
  14502.  
  14503.     * eval.c (Finteractive_p): Don't skip the first frame if the
  14504.     function was compiled.
  14505.  
  14506.     * print.c (print): Use ... only for conses, and instead of normal
  14507.     print.
  14508.  
  14509. Tue May 22 17:18:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14510.  
  14511.     * Renamed meta_flag meta_key.
  14512.  
  14513.     * termopts.h:  Comment changes.
  14514.  
  14515. Sun May 20 01:16:07 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14516.  
  14517.     * buffer.h: upcase_table and downcase_table are now Lisp_Objects.
  14518.     * alloc.c (mark_object, gc_sweep):  Related changes.
  14519.     * casetab.c: Ditto.
  14520.  
  14521. Thu May 17 15:02:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14522.  
  14523.     * minibuf.c (Fall_completions): Protect STRING from gc.
  14524.     Copy ALIST to TAIL to protect it.
  14525.  
  14526.     * paths.h-dist: Doc fix.
  14527.  
  14528. Thu May 17 12:30:18 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14529.  
  14530.     * search.c (Flooking_at, search_buffer): Use new accessors.
  14531.     * indent.c (Fcurrent_column): Likewise.
  14532.     * minibuf.c (read_minibuf): Likewise.
  14533.     * regex.c (re_match_2): Use PTR_CHAR_POS.
  14534.     * editfns.c (Fbuffer_size, Fnarrow_to_region, Fbuffer_substring):
  14535.     (Fbuffer_string, Finsert_buffer_substring): Likewise.
  14536.     (save_restriction_restore): Likewise.
  14537.     * dispnew.c (direct_output_for_insert): Likewise.
  14538.     * fileio.c (Fwrite_region, Finsert_file_contents): Likewise.
  14539.     (Fdo_auto_save): Likewise.
  14540.     * insdel.c (move_gap, gap_left, gap_right, make_gap): Likewise.
  14541.     (InsCStr, del_range, modify_region): Likewise.
  14542.     * process.c (Fprocess_send_region): Likewise.
  14543.     * xdisp.c (try_window, try_window_id, display_text_line): Likewise.
  14544.     (redisplay): Likewise.
  14545.     * buffer.c (list_buffers_1): Likewise.
  14546.     * marker.c (marker_position, Fset_marker, set_marker_restricted): 
  14547.     (Fmarker_position): Likewise.
  14548.     * window.c (unshow_buffer, Fset_window_configuration): Likewise.
  14549.     (Fset_window_buffer): Likewise.
  14550.  
  14551.     * editfns.c (save_restriction_restore): Use a macro to alter point.
  14552.  
  14553.     * lread.c (readchar): Use new accessors, and avoid knowing about
  14554.     the text field of a buffer.
  14555.     * window.c (Fpos_visible_in_window_p): Likewise.
  14556.  
  14557.     * buffer.h (struct buffer): Make the syntax table a Lisp object.
  14558.     * alloc.c (mark_buffer): No need to treat it specially.
  14559.     * syntax.c (Fsyntax_table, Fset_syntax_table, Fdescribe_syntax):
  14560.     (Fmodify_syntax_entry): Adjust for this change.
  14561.     * buffer.c (reset_buffer_local_variables): Need not be special.
  14562.     (init_buffer_once): Make this slot a defaulted local variable.
  14563.     * syntax.h: Adjust macros for this change.
  14564.     (Vstandard_syntax_table): Define as macro, in buffer_defaults.
  14565.     * syntax.c (syms_of_syntax): Don't staticpro it here.
  14566.     (Fset_syntax_table): Set the flag in local_var_flags.
  14567.  
  14568.     * buffer.h (struct text): Represent the buffer dimensions
  14569.     with new slots, memory, begv, pt, gpt, zv, z and gap_size.
  14570.     (BEGV, etc.): Use new slots.
  14571.     (CharAt): Likewise.
  14572.     (BufferSafeCeiling, BufferSafeFloor): Use new slots; fix old bugs.
  14573.     (bf_p1, bf_s1, etc.): Old macros deleted.
  14574.  
  14575.     * buffer.c (Fget_buffer_create): Set up memory and new slots.
  14576.     (Fkill_buffer): Likewise.
  14577.  
  14578.     * insdel.c (move_gap, gap_left, gap_right, make_gap): Update new slots.
  14579.     (del_range, InsCStr): Likewise.
  14580.     * fileio.c (Finsert_file_contents): Likewise.
  14581.     * window.c (temp_output_buffer_show): Likewise.
  14582.     * xdisp.c (decode_mode_spec, try_window_id): Likewise.
  14583.  
  14584.     * insdel.c (make_gap): Complete rewrite.  Arg is amount of new gap
  14585.     to create.  All calls changed.
  14586.     (gap_left): New argument NEWGAP.
  14587.  
  14588.     * buffer.c (Fset_buffer): Check for deleted buffer.
  14589.     (SetBfp): Don't check.
  14590.     (SetBfp, Frename_buffer): Local cleanups.
  14591.     * print.c (PRINTPREPARE): Use Fset_buffer.
  14592.  
  14593.     * buffer.c (SetBfp): Don't bother with selected window or its point.
  14594.     * window.c (Fselect_window): Always set pointm of old window. 
  14595.  
  14596.     * editfns.c: Eliminate all use of DEFSIMPLE and DEFPRED.
  14597.     * indent.c, keyboard.c: Ditto.
  14598.  
  14599.     * search.c (skip_chars): Eliminate PointLeft and PointRight.
  14600.     * cmds.c (SelfInsert): Likewise.
  14601.  
  14602. Wed May 16 20:07:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14603.  
  14604.     * xdisp.c (try_window):  No return value.
  14605.     Fix calls to try_window.
  14606.     * Global variable RedoModes is now redraw_mode_line.
  14607.  
  14608. Sun May 13 19:28:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14609.  
  14610.     * keymap.c (Fdefine_key, Flookup_key): Local cleanups.
  14611.  
  14612.     * sysdep.c (sys_suspend): Use save_signal_handlers and 
  14613.     restore_signal_handlers to save and restore signal state.
  14614.  
  14615.     * indent.c (Findent_to): Merge guts of indentation into here.
  14616.     (position_indentation): Scan with a pointer, for speed.
  14617.  
  14618.     * casefiddle.c (operate_on_word): Just return the other end.
  14619.     (Fupcase_word, Fdowncase_word, Fcapitalize_word):
  14620.     Pass that value to casify_region.
  14621.  
  14622.     * editfns.c (init_editfns): Store system and user names as
  14623.     strings to avoid arbitrary limits.
  14624.  
  14625.     * keymap.c (describe_vector, describe_alist): Make elt_prefix
  14626.     and elt_describer responsible for indentation and newlines.
  14627.     Local cleanups.
  14628.     (describe_command): Do indentation and newline.
  14629.     (describe_map): Add space to end of prefix.
  14630.     * syntax.c (describe_syntax): Do indentation and newline.
  14631.  
  14632. Sat May 12 18:09:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14633.  
  14634.     * process.c (create_process) [not USG]: Put subproc in pgrp 0.
  14635.  
  14636. Thu May 10 19:39:08 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14637.  
  14638.     * dispextern.h: new struct screen_glyfs replaces struct
  14639.     display_line.
  14640.     * screen.c: new screen elements current_glyfs, desired_glyfs, and
  14641.     temp_glyfs.
  14642.     * dispnew.c: (make_screen_glyfs, free_screen_glyfs,
  14643.     remake_screen_glyfs):  New functions.
  14644.     (make_display_lines, new_display_line, return_display_line):
  14645.     Functions deleted.
  14646.     (change_screen_size, init_display): Use the new functions.
  14647.     (cancel_line, clear_screen_records, get_display_line):
  14648.     Rewritten for new data structures.  get_display_line no longer
  14649.     returns anything.
  14650.     (preserve_other_columns, preserve_my_columns): Likewise.
  14651.     (cancel_my_columns, direct_output*): Likewise.
  14652.     (update_screen, update_line, quit_error_check, scrolling): Likewise.
  14653.     (scroll_screen_lines): Likewise.
  14654.     (rotate_vector, safe_bcopy): New subroutines.
  14655.     (line_hash_code, line_draw_cost): Cleaned up.
  14656.     Args are different, and hash computation too.
  14657.     (update_screen): Rearrange buffer-emptying code.
  14658.     * xdisp.c: (display_minibuf_message, redisplay): Rewritten for new
  14659.     structures. 
  14660.     (display_text_line, display_mode_line): Likewise.
  14661.     (display_mode_element, display_string): Likewise.
  14662.     (decode_mode_spec): Local cleanups.
  14663.     * scroll.c (do_scrolling): Rewritten for new data structures.
  14664.     * xterm.c (XTflash): Use this new structure.
  14665.  
  14666.     * editfns.c (in_accessible_range): New function.
  14667.     (Fgoto_char, save_restriction_restore): Use it.
  14668.     (save_excursion_save, Fcurrent_time_string): Local cleanups.
  14669.  
  14670.     * process.c (Fprocess_kill_without_query): New arg; new return value.
  14671.     (count_active_processes): Function deleted.
  14672.  
  14673.     * fileio.c (Finsert_file, Fwrite_region): Local cleanups.
  14674.  
  14675.     * fns.c (Fsubstring): Local cleanup.
  14676.  
  14677.     * keyboard.c (echo_prompt, echo_char, echo_dash, echo): New functions.
  14678.     (cancel_echoing): Likewise.
  14679.     (immediate_echo, echoptr): New variables.
  14680.     (command_loop_1, request_echo, get_char, read_key_sequence): 
  14681.     (set_waiting_for_input, interrupt_signal): Related changes.
  14682.     (get_char): No more declaration of request_echo. Local cleanups.
  14683.  
  14684.     (this_command_key...): New variables.
  14685.     (Fexecute_extended_command, Fthis_command_keys): Related changes.
  14686.     (init_keyboard, get_char): Likewise.
  14687.  
  14688.     * macros.c (Fstart_kbd_macro): Local cleanup.
  14689.  
  14690.     * minibuf.c (read_minibuf): No more delcaration of
  14691.     Frestore_screen_configuration.
  14692.  
  14693.     * search.c (Fregexp_quote): Simplified.
  14694.  
  14695. Tue May  8 17:11:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14696.  
  14697.     * process.c (Fopen_network_stream):  Also handle numeric inet
  14698.     addresses.
  14699.  
  14700. Sun May  6 22:46:36 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14701.  
  14702.     * alloca.c: #ifdef __STDC__ rather than X3J11/
  14703.  
  14704. Thu May  3 17:07:12 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14705.  
  14706.     * fileio.c (Fmake_symbolic_link): Delete old file if permitted.
  14707.  
  14708. Wed May  2 19:07:40 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14709.  
  14710.     * data.c (Fstring_to_int): Delete disabled feature
  14711.     of accepting `yes' and `no'.
  14712.  
  14713.     * xdisp.c (redisplay, redisplay_preserving_echo_area):
  14714.     Two functions replace DoDsp.  All callers changed.
  14715.     (redisplay, redisplay_window): Eliminate `inhibit_hairy_id'.
  14716.     (redisplay_window): No return value.  Local cleanups.
  14717.  
  14718.     * alloc.c (Fmake_marker): Delete `modified' field.
  14719.     * insdel.c (adjust_markers): Likewise.
  14720.  
  14721.     * abbrev.c (Fdefine_mode_abbrev): Clean up error message.
  14722.  
  14723. Tue May  1 12:13:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14724.  
  14725.     * xfns.c (Fx_draw_rectangle, Fx_erase_rectangle): Simplified.
  14726.  
  14727.     * xterm.c (x_display_cursor): Don't check s->phys_x when drawing
  14728.     cursor.
  14729.  
  14730.     * undo.c:  New version.
  14731.     * undo.h:  No longer exists.
  14732.     * alloc.c (Fgarbage_collect): Call truncate_undo_list.
  14733.     (syms_of_alloc): Define vars undo-threshold and undo-high-threshold.
  14734.     * buffer.c (Fget_buffer_create): Set undo_list to t or nil.
  14735.     (Fbuffer_disable_undo, Fbuffer_enable_undo): Likewise.
  14736.     (Fkill_buffer): Likewise.
  14737.     (init_buffer_once): Set up local variable buffer-undo-list.
  14738.     (syms_of_buffer): Likewise.
  14739.     * buffer.h: New element undo_list in struct buffer.
  14740.     * fileio.c (Finsert_file_contents): Store nil in undo_list.
  14741.  
  14742.     * buffer.c:  Variable bf_text deleted.
  14743.     (Fkill_buffer, SetBfp): Delete code that worked with it.
  14744.     (SetBfx):  Now a macro in buffer.h
  14745.     * editfns.c (Fwiden, Fnarrow_to_region): Related changes.
  14746.     (save_restriction_save, save_restriction_restore): Likewise.
  14747.     (Finsert_buffer_substring): Likewise.
  14748.     * fileio.c (Fdo_auto_save): Likewise.
  14749.     * insdel.c (make_gap): Likewise.
  14750.     * lread.c (readchar): Likewise.
  14751.     * marker.c (Fmarker_position, marker_position): Likewise.
  14752.     (Fset_marker): Likewise.
  14753.     * xdisp.c (DoDsp): Likewise.
  14754.  
  14755. Mon Apr 30 16:37:19 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14756.  
  14757.         * buffer.h:  New macro R_ALLOC_SET_BUFFER for declaring all the
  14758.     text pointers of a buffer to the relocating allocator.
  14759.     * buffer.c (Fbury_buffer, SetBfx, SetBfp): Use the macro.
  14760.     * editfns.c (Finsert_buffer_substring):  ditto.
  14761.     * fileio.c (Fdo_auto_save): ditto.
  14762.     * insdel.c (make_gap): ditto.
  14763.     * xfns.c (adjust_scrollbars): Don't set bf_cur->text.
  14764.  
  14765. Thu Apr 26 15:23:23 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14766.  
  14767.     * minibuf.c: Declare active_screen struct screen *, not
  14768.     Lisp_Screen *.
  14769.  
  14770. Thu Apr 19 19:14:31 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14771.  
  14772.     * xterm.c (XTupdate_end): Only x_display_cursor if s is x_input_screen.
  14773.  
  14774. Thu Apr 19 13:07:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14775.  
  14776.     * fns.c (Fy_or_n_p): If a C-g comes in and does not quit, quit by hand.
  14777.  
  14778.     * buffer.c (Frename_buffer): Allow renaming to same name it has.
  14779.  
  14780. Thu Apr 19 02:38:13 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14781.  
  14782.     * xfns.c (Fx_open_connection):  Attach xrdb to x_current_display.
  14783.  
  14784. Tue Apr 17 22:40:25 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14785.  
  14786.     * xterm.c (dumpborder):  Now only used for X10.
  14787.     (highlight, unhighlight):  New functions for X11.
  14788.  
  14789. Tue Apr 17 14:55:22 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14790.  
  14791.     * cm.c (Wcm_init): Return -2 if screen size not specified.
  14792.     * term.c (term_init): Special error message for that case.
  14793.  
  14794. Mon Apr 16 13:14:17 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14795.  
  14796.     * s-sunos4.h, s-sunos4shr.h (SYSTEM_MALLOC): Define it.
  14797.  
  14798. Sun Apr 15 03:14:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14799.  
  14800.     * xfns.c (Fx_get_resource):  Concatenate invocation_name before
  14801.     the resource tag.
  14802.     (Fx_create_screen):  Use the latest resource id's.
  14803.  
  14804. Fri Apr 13 14:22:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14805.  
  14806.     * xfns.c (Fx_get_resource):  New subr.
  14807.     (Fx_open_connection):  Call x_load_resources.  New parameter
  14808.     xrm_string.
  14809.     * xrdb.c:  New file for doing resource manager stuff.
  14810.  
  14811.     * xscrollbar.h:  New file for scrollbar bitmaps.
  14812.  
  14813.     * xselect.h:  New file for the X selection stuff.
  14814.  
  14815.     * ymakefile: Take note of these new files.
  14816.  
  14817. Tue Apr 10 15:17:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14818.  
  14819.     * xterm.c (x_term_init):  Use MAXPATHLEN.
  14820.  
  14821. Mon Apr  9 18:42:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14822.  
  14823.     * buffer.c (list_buffers_1): Get filename from list-buffers-directory.
  14824.  
  14825. Fri Apr  6 21:10:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14826.  
  14827.     * screen.c (coordinates_in_window):  Return -1 if in modeline of
  14828.     window.
  14829.     (Fcoordinates_in_window_p):  Return Qt if in modeline of window.
  14830.     (Flocate_window_from_coordinates):  Use next_screen_window if
  14831.     MULTI_WINDOW is defined.
  14832.  
  14833. Thu Apr  5 16:49:02 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14834.  
  14835.     * xterm.c (construct_mouse_event):  Deal with the motion events
  14836.     first.  Only grab the mouse when in the scrollbar.
  14837.  
  14838. Wed Apr  4 16:51:07 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14839.  
  14840.     * screen.c (coordinates_in_window): Include mode line as part of
  14841.     window.
  14842.  
  14843.     * xterm.c (XTread_socket):  Initialize nbytes to 0.
  14844.     (x_display_cursor):  Don't draw if screen not selected.
  14845.  
  14846.     * xdisp.c (DoDsp):  Additional checks for screen being visible.
  14847.  
  14848. Tue Apr  3 19:43:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14849.  
  14850.     * editfns.c (Fmessage):  If there is a global minbuffer screen,
  14851.     raise it before displaying the message.
  14852.  
  14853.     * window.c (window_loop):  Parameter SCREENS now affects which
  14854.     screen is scanned for windows.  All subrs calling window_loop must
  14855.     pass a Lisp_Object here now.
  14856.  
  14857. Sun Apr  1 19:55:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14858.  
  14859.     * window.c (window_loop):  Additional parameter mini to control
  14860.     minibuffer selection or not.
  14861.     (Fget_lru_window):
  14862.     (Fget_largest_window):
  14863.     (Fget_buffer_window):
  14864.     (Fdelete_other_windows):
  14865.     (Fdelete_windows_on):
  14866.     (Freplace_buffer_in_windows):  Use that parameter.
  14867.  
  14868. Thu Mar 29 18:58:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14869.  
  14870.         * screen.c (Fselect_screen):  Raise the selected screen.
  14871.  
  14872.     * window.c (Fget_buffer_window):
  14873.     (Fget_largest_window):
  14874.     (Fget_lru_window):  New parameter all_screens.
  14875.     (Fdisplay_buffer):  Use the new param in Fget_lru_window,
  14876.     Fget_buffer_window, and    Fget_largest_window.
  14877.     (Fscroll_other_window):  Use new param in Fget_buffer_window.
  14878.     * buffer.c (Fother_buffer): ditto.
  14879.  
  14880.     * xterm.c (x_display_cursor):  Always draw the cursor if ON is
  14881.     true.  Don't check if the screen S is selected or equal to
  14882.     mouse-screen.
  14883.  
  14884.     * xfns.c (Fx_track_pointer):  Don't turn off cursor, just call
  14885.     x_display_cursor.
  14886.  
  14887. Wed Mar 28 10:55:04 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14888.  
  14889.         * data.c (Fmake_local_variable):  Give the variable value nil if
  14890.     unbound.
  14891.  
  14892.     * window.c (Fnext_window, Fprevious_window):  For MULTI_SCREEN,
  14893.     check if Vglobal_minibuffer_screen is non-nil and maybe call
  14894.     next_screen.
  14895.  
  14896.     * screen.c (Fscreen_selected_window):
  14897.     (Fscreen_root_window):  If screen is nil, use selected-screen.
  14898.  
  14899. Tue Mar 27 15:43:40 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14900.  
  14901.     * xterm.c (XTread_socket):  SET_SCREEN_GARBAGED which returning
  14902.     symbol which causes DoDsp to be invoked.
  14903.     * keyboard.c (read_key_sequence):  Don't SET_SCREEN_GARBAGED here.
  14904.  
  14905.     * screen.h:  New macro SET_SCREEN_GARBAGED.
  14906.  
  14907.     * xfns.c:
  14908.     * window.c:
  14909.     * sysdep.c:
  14910.     * keyboard.c:
  14911.     * dispnew.c:  Use the new macro.
  14912.  
  14913. Sun Mar 25 17:04:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14914.  
  14915.     * xfns.c (Fx_own_selection):  Only take one argument, string.
  14916.  
  14917. Sat Mar 24 14:42:31 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14918.  
  14919.     * xfns.c (select_visual):  Catch bullshit machines whose hardware
  14920.     doesn't support the X server pixel depth by looking at colormap_size.
  14921.     (x_decode_color):  Use x_screen_planes to check for color.
  14922.  
  14923. Fri Mar 23 13:28:33 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14924.  
  14925.     * xterm.c (x_display_cursor):  Try using vertical bar cursor.
  14926.     (clear_cursor):  Call x_display_cursor for X11.
  14927.  
  14928.     * xfns.c: Zotzed Vx_pointer_mask.
  14929.     (Fx_track_pointer):  Call x_display_cursor if we just
  14930.     wasted the cursor.  Break out of loop if no display line.
  14931.     Use mode line cursor if we're there.
  14932.     (x_y_pos):  New function.
  14933.     (x_set_font):  Dont' set x_font_{width,height}, they are gone.
  14934.  
  14935. Thu Mar 22 18:42:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14936.  
  14937.     * xfns.c (Fx_track_pointer):  Check that s == selected_screen each
  14938.     time through loop.  If event is nil, read mouse position.
  14939.  
  14940.     * keyboard.c (get_char):  DoDsp only if selected_screen visible.
  14941.  
  14942.     * xterm.c (XTread_socket):  Mark screen as visible only on expose
  14943.     event.
  14944.  
  14945.     * emacs.c (main):  Check here for "-d" option and set display_arg.
  14946.     * dispnew.c (init_display):  Set Vwindow_system, etc. if display_arg.
  14947.  
  14948. Wed Mar 21 10:50:47 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14949.  
  14950.     * keyboard.c (read_key_sequence):  Don't DoDsp if the screen was
  14951.     just unmapped.
  14952.     (command_loop_1):  Call the mouse motion handler before calling
  14953.     read_key_sequence.
  14954.     (interrupt_signal):  Fixed typo checking screen type.
  14955.  
  14956.     * xfns.c (Fx_track_mouse):  Don't crash because of null display
  14957.     line.  Don't set obj til call to get_char.
  14958.  
  14959.     * xterm.c (x_term_init):  Disable SIGWINCH here.
  14960.  
  14961.     * fns.c (Fmember):  New subr.
  14962.  
  14963.     * dispnew.c (init_display):  Don't check env variable DISPLAY to
  14964.     set Vwindow_system.  Now done in startup.el.
  14965.  
  14966.     * emacs.c:  Removed variables xargc, xargv.
  14967.  
  14968. Tue Mar 20 15:48:17 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14969.  
  14970.     * xfns.c (Fx_track_pointer):  Go faster.
  14971.  
  14972.     * screen.h:  New macro SCREENP.
  14973.  
  14974.     * window.c: (Fminibuffer_window):  Rewritten.
  14975.  
  14976. Mon Mar 19 20:27:04 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  14977.  
  14978.     * sysdep.c (perror): Control with HAVE_PERROR as well as HPUX.
  14979.     * s-hpux.h (HAVE_PERROR): Define it.
  14980.  
  14981. Mon Mar 19 12:31:55 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14982.  
  14983.     * keyboard.c (command_loop_1):  Restructured handling of X event
  14984.     things.
  14985.     (read_key_sequence):  Handle new `unmapped-screen' symbol with new
  14986.     Vunmap_screen_hook.
  14987.  
  14988.     * xterm.c (XTread_socket):  Return unmapped-screen symbol if the
  14989.     window for UnmapNotify events.
  14990.  
  14991.     * lread.c  (Feval_region):  GCPRO opoint.
  14992.  
  14993. Fri Mar 16 14:28:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  14994.  
  14995.     * keyboard.c (command_loop_1):  Call mouse-motion handler with
  14996.     argument.  Also, don't call undo-boundary.
  14997.  
  14998.     * process.c (create_process):  Set the process group for BSD at
  14999.     the same time as for USG.
  15000.  
  15001. Wed Mar 14 15:40:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15002.  
  15003.     * xterm.c (x_new_selected_screen):  Set x_input_screen here.
  15004.  
  15005. Sun Mar 11 15:48:24 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15006.  
  15007.     * xterm.c:  Vx_mouse_grabbed now Vmouse_grabbed.
  15008.     (XTread_socket):  Generate exited-window symbols on LeaveNotify
  15009.     even if screen is focused.
  15010.  
  15011.     * xfns.c:  Vx_mouse_grabbed now Vmouse_grabbed.
  15012.     (outline_region):  Now static.
  15013.     (Fx_track_pointer):  Check x_mouse_screen == s in loop.
  15014.  
  15015. Sat Mar 10 17:19:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15016.  
  15017.     * xterm.c (encode_mouse_button): Correctly get the button from
  15018.     Motion events.
  15019.  
  15020.     * xfns.c (x11_encode_mouse_button):  Nuked.
  15021.     (encode_mouse_button, Fx_mouse_events, Fx_get_mouse_event): #if 0'd.
  15022.  
  15023.     * keyboard.c (get_char):  Re-set obj if we've keyboard-translated
  15024.     c.
  15025.  
  15026. Thu Mar  8 11:47:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15027.  
  15028.     * xterm.c  x_focus_screen no longer static.
  15029.     (x_error_handler):  Use XDefaultIOError.
  15030.  
  15031.     * screen.c (Ffocus_screen):  New subr, removed Fscreen_has_focus.
  15032.     (Fselect_screen):  New, optional parameter no_enter.
  15033.     (Frestore_screen_configuration):
  15034.     (Fdelete_screen):  Pass second parm Qnil to Fselect_screen.
  15035.  
  15036.     * window.c (Fdisplay_buffer, Fset_window_configuration):  Pass
  15037.     second parm Qnil to Fselect_screen.
  15038.  
  15039. Wed Mar  7 15:45:21 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15040.  
  15041.     * screen.c (Fscreen_has_focus):  New subr.
  15042.     (Fselect_screen):  Use x_focus_on_screen to physically select the
  15043.     screen.
  15044.  
  15045. Tue Mar  6 11:37:41 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15046.  
  15047.     * xfns.c (x_set_mouse_position):  Moved to xterm.c.
  15048.  
  15049.     * fileio.c (Fremove_directory):  New subr.
  15050.  
  15051.     * screen.c (Frelease_focused_screen):  Just call x_unfocus_screen.
  15052.  
  15053.     * xterm.c (XTread_socket):  On FocusOut, if s isn't mouse screen,
  15054.     return exited-window.  On LeaveNotify, simplify if expression for
  15055.     dumpborder.  Reworked FocusIn/FocusOut events.
  15056.     (x_unfocus_screen):  Check that screen is x_focus_screen.
  15057.     (x_set_mouse_position):  Moved from xfns.c.  Use new macro
  15058.     XWarpPointer.
  15059.     * xterm.h:  New macro XWarpPointer.
  15060.  
  15061.     * buffer.c:  Replaced Fbuffer_flush_undo with
  15062.     Fbuffer_disable_undo.
  15063.     * process.c:  Ditto.
  15064.  
  15065. Mon Mar  5 11:40:33 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15066.  
  15067.     * xterm.c (XTupdate_end):  Use parameter s rather than
  15068.     updating_screen.
  15069.     (XTread_socket):  On EnterNotify, don't check s != focus_screen
  15070.     before selecting.  On Focus In/Out don't set/reset mouse_screen.
  15071.  
  15072. Sun Mar  4 12:08:00 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15073.  
  15074.     * eval.c  If using X windows, include xterm.h.
  15075.     (error):  TOTALLY_UNBLOCK_INPUT if using X.
  15076.  
  15077.     * xterm.h: BLOCK_INPUT, UNBLOCK_INPUT:  No signal stuff, just inc
  15078.     and decrement x_input_blocked.
  15079.  
  15080.     * xfns.c (adjust_scrollbars):  Don't BLOCK_INPUT.
  15081.     (x_set_font):  Check result of x_new_font.  Call error if nonzero.
  15082.     (x_set_icon_type): Check result of x_*_icon, maybe call error.
  15083.  
  15084.     * screen.c (Fdeiconify_screen): Use x_make_screen_visible rather
  15085.     than x_deiconify_screen.  Return screen.
  15086.     (Fmake_screen_visible):  Don't raise it here.  Return screen.
  15087.  
  15088.     * xterm.c (XTwrite_glyfs):  Don't show cursor if screen is
  15089.     global-minibuffer-screen.
  15090.     (x_new_selected_screen): Do dumpborder and check auto-raise here,
  15091.     rather than XEvent switch.
  15092.     (x_deiconify_screen): No longer exists.
  15093.     (x_do_pending_expose, x_clear_cursor):
  15094.     (x_invert_screen, scraplines, stufflines, x_bitmap_icon):
  15095.     (x_text_icon,  x_new_font): Don't BLOCK_INPUT.
  15096.     (XTins_del_lines):  BLOCK_INPUT here.
  15097.     (XTupdate_end):  Don't turn on cursor if minibuffer-screen.
  15098.     (XTread_socket): On MotionNotify, just that screen is selected before
  15099.     processing.
  15100.     (XTtopos):  If updating_screen, just set x and y, don't flush.
  15101.     (x_bitmap_icon):
  15102.     (x_text_icon):
  15103.     (x_new_font):  Return 1 if failed, don't call error.
  15104.     (x_make_screen_visible):  Raise the screen as well.
  15105.  
  15106. Fri Mar  2 16:03:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15107.  
  15108.     * screen.c (Frelease_focused_screen):  Just check that screen is
  15109.     selected.
  15110.  
  15111. Wed Feb 28 18:27:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15112.  
  15113.     * screen.c (Fselect_screen_focused, Frelease_focused_screen):  New
  15114.     subrs.
  15115.     * xterm.c (x_focus_on_screen, x_unfocus_screen):  New procedures
  15116.     to implement focusing.
  15117.  
  15118. Wed Feb 28 12:31:30 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15119.  
  15120.     * casefiddle.c: Doc fix.
  15121.  
  15122. Wed Feb 28 11:39:38 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15123.  
  15124.     * xterm.h:  Redefined BLOCK_INPUT and UNBLOCK_INPUT to use sigblock
  15125.     and sigsetmask if available.
  15126.     * xterm.c:  Declare BLOCK_INPUT_mask if have SIGIO and FIONREAD.
  15127.  
  15128. Tue Feb 27 16:59:57 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15129.  
  15130.     * minibuf.c (Fread_from_minibuffer): Initialize pos to 0.
  15131.  
  15132. Sun Feb 25 00:04:44 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15133.  
  15134.     * keyboard.c (read_key_sequence): Handle mapped-screen event
  15135.     symbol by calling new hook Vmap_screen_hook.
  15136.  
  15137.     * xterm.c (x_make_screen_invisible):  Use the new Xlib function
  15138.     XWidthdrawWindow.
  15139.     (x_iconify_screen):  Use the new Xlib function XIconifyWindow.
  15140.     (XTread_socket): Return mapped-screen symbol to signal
  15141.     mapped-screen events.
  15142.  
  15143. Fri Feb 23 15:10:16 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15144.  
  15145.     * keyboard.c (command_loop_1):  Check the character for width 1
  15146.     before doing direct_output_forward, as well as the cursor position
  15147.     on the screen.
  15148.  
  15149.     * xdisp.c (DoDsp):  Use redisplay_windows rather than
  15150.     redisplay_all_windows, which was removed.
  15151.  
  15152. Thu Feb 22 16:33:14 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15153.  
  15154.     * unexencap.c: New file, waiting for papers.
  15155.  
  15156. Thu Feb 22 11:40:06 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15157.  
  15158.     * keyboard.c: Removed much debugging stuff.
  15159.     * xterm.c: Removed much debugging stuff.
  15160.     (x_error_handler): For X11, if caught BadAlloc error while
  15161.     converting selection (note new variable x_converting_selection),
  15162.     just set new variable x_selection_alloc_error.
  15163.  
  15164.     * xfns.c:  Massive changes for crufty selection processing details.
  15165.     New X atoms:  Xatom_clipboard, Xatom_delete, Xatom_insert_selection,
  15166.     Xatom_insert_property, Xatom_pair.
  15167.  
  15168. Wed Feb 21 15:04:51 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15169.  
  15170.     * keyboard.c (kbd_buffer_store_char): Check NULL objects.
  15171.  
  15172.     * xterm.c (XTread_socket): Correctly advance bufp for all KeyPress
  15173.     events.
  15174.  
  15175. Tue Feb 20 15:04:54 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15176.  
  15177.     * keyboard.c (kbd_buffer_get_char):  Use KBD_BUFFER_SIZE rather
  15178.     than sizeof kbd_buffer.
  15179.     (read_key_sequence): Upon redraw-display symbol, set
  15180.     screen_garbaged.
  15181.  
  15182.     * xterm.c (XTread_socket): On EnterNotify events, make sure to
  15183.     return mouse event for both scrollbars and windows.
  15184.  
  15185. Mon Feb 19 18:34:03 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15186.  
  15187.     * casefiddle.c (casify_region): Move the new statement.
  15188.  
  15189. Mon Feb 19 14:42:58 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15190.  
  15191.     * casefiddle.c (casify_region): Return if beginning and end same.
  15192.  
  15193. Sun Feb 18 15:04:53 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15194.  
  15195.     * keyboard.c (kbd_buffer_store_char): Use KBD_BUFFER_SIZE rather
  15196.     than sizeof kbd_buffer.
  15197.  
  15198.     * fns.c (Fy_or_n_p): Only accept ints from get_char.
  15199.  
  15200. Sun Feb 18 12:48:26 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15201.  
  15202.     * minibuf.c (Fread_from_minibuffer): New arg POSITION.
  15203.  
  15204.     * unexsunos4.c: New file.  Waiting for papers.
  15205.     * s-sunos4shr.h: New file.
  15206.  
  15207.     * emacs.c (main) [RUN_TIME_REMAP]: Call run_time_remap.
  15208.  
  15209.     * ymakefile (LD): Let config file override with LD_CMD.
  15210.  
  15211. Wed Feb 14 14:57:50 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15212.  
  15213.     * keyboard.c (read_avail_input): pass read_socket_hook
  15214.     KBD_BUFFER_SIZE rather than doing sizeof (buf).
  15215.  
  15216.     * xterm.c (XTread_socket): Set event.type = MotionNotify when
  15217.     entering screen or scrollbar to fake motion event.
  15218.  
  15219. Tue Feb 13 13:13:29 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15220.  
  15221.     * window.c (next_screen, prev_screen): moved to screen.c
  15222.     (Fnext_window): If mini non-nil, count the separate minibuffer
  15223.     screen.
  15224.     * screen.c (Fnext_screen): new subr.
  15225.  
  15226. Mon Feb 12 21:58:06 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15227.  
  15228.     * xdisp.c (display_text_line, try_window, try_window_id, DoDsp):
  15229.     Don't display overlay arrow on more than one line in a window.
  15230.  
  15231. Mon Feb 12 11:19:48 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15232.  
  15233.     * doprnt.c (doprnt): Expand size of tembuf to 512.
  15234.  
  15235. Sat Feb 10 19:26:25 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15236.  
  15237.     * minibuf.c (Fread_no_blanks_input): Make second arg optional.
  15238.  
  15239. Fri Feb  9 13:00:56 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15240.  
  15241.     * keyboard.c (get_char): Remember to set obj when executing macro.
  15242.     (read_key_sequence): Handle the exited-scrollbar symbol.
  15243.     Compare obj, not read_key_sequence_cmd.
  15244.  
  15245.     * xterm.c (x_make_screen_visible, x_deiconify_screen): Check
  15246.     window-manager variable.
  15247.     (x_make_screen_invisible, x_iconify_screen): Don't use new R4
  15248.     calls (they crash), do it ourselves.
  15249.     (XTread_socket): Return exited-scrollbar symbol when doing so.
  15250.  
  15251. Thu Feb  8 17:56:12 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15252.  
  15253.     * xterm.c (construct_mouse_event): Rewritten to do mouse-motion
  15254.     compression.  All mouse processing now done here.
  15255.     Also, just use nil and t for x-mouse-grabbed.  Record buttons
  15256.     pressed in new variable x_mouse_grabbed.  XGrabPointer on button
  15257.     depression. 
  15258.     * xfns.c (Fx_horizontal_line): use x_mouse_grabbed.
  15259.  
  15260. Wed Feb  7 15:42:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15261.  
  15262.     * xdisp.c (DoDsp): If only updating selected screen, but there is
  15263.     a minibuffer screen, update it as well.
  15264.  
  15265. Tue Feb  6 12:35:12 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15266.  
  15267.     * xfns.c (Fx_pixel_width, Fx_pixel_height): New subrs.
  15268.     * xterm.h New components pixel_width, pixel_height, to x_display.
  15269.     * xterm.c (XTread_socket): On configure notify, set these components.
  15270.  
  15271.     * window.c (Fset_window_configuration): Select the screen of the
  15272.     root window if it's not the selected_screen.
  15273.     * minibuf.c (read_minibuf): Remove all the screen selection stuff,
  15274.     now that this is integrated in Fset_window_configuration.
  15275.  
  15276. Mon Feb  5 10:18:03 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15277.  
  15278.     * screen.h: Declare Vglobal_minibuffer_screen.
  15279.     * xdisp.c (DoDsp): Set all_windows if using global-minibuffer-screen.
  15280.  
  15281. Sat Feb  3 13:00:42 1990  Joseph Arceneaux  (jla at geech)
  15282.  
  15283.     * window.c (Fset_window_configuration): Make sure to set
  15284.     window->next to nil for a minibuffer-only screen.
  15285.  
  15286.     * screen.c (make_minibuffer_screen): Set mini_window->next nil.
  15287.  
  15288. Thu Feb  1 19:00:38 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15289.  
  15290.     * screen.c (make_screen): Set wants_modeline elt to 1.
  15291.  
  15292.     * window.c (Fset_window_configuration): Use screen->root_window
  15293.     as arg to delete_all_subwindows rather than minibuf_window->prev.
  15294.  
  15295.     * minibuf.c (read_minibuf): Don't unwind with
  15296.     Frestore_screen_configuration.  Save selected_screen if different
  15297.     than minibuf screen, and re-select it after reading minibuf.
  15298.     * screen.c: #if 0 Fscreen_configuration,
  15299.     Frestore_screen_configuration.
  15300.  
  15301. Thu Feb  1 02:11:41 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15302.  
  15303.     * m-ibmps2-aix.h: Undef NEED_SIOCTL.
  15304.     (SIGN_EXTEND_CHAR): Cast to `signed char'.
  15305.  
  15306. Sun Jan 28 15:15:20 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15307.  
  15308.     * xfns.c (Fx_track_pointer): rewrote this to loop while there are
  15309.     mouse events.
  15310.  
  15311.     * xterm.c (XTread_socket): Return left-window-event symbol upon
  15312.     LeaveNotify.
  15313.     * keyboard.c (read_key_sequence): Handle this symbol.
  15314.  
  15315. Sat Jan 27 09:57:10 1990  Joseph Arceneaux  (jla at churchy.ai.mit.edu)
  15316.  
  15317.     * xterm.c (x_display_cursor): Use dumpglyfs with SPACEGLYF for
  15318.     cursor, as `XFillRectaogle's kill HP-BSD server.
  15319.  
  15320.     * xterm.h: Added nontext_cursor, modeline_cursor to x_display
  15321.     structure.
  15322.     * xfns.c (x_set_mouse_color, Fx_track_pointer): Changes to use
  15323.     nontext_cursor.
  15324.  
  15325. Thu Jan 25 13:09:27 1990  Joseph Arceneaux  (jla at albert.ai.mit.edu)
  15326.  
  15327.     * xterm.h: Changed the face structure for X11 to handle GCs and
  15328.     pixmaps.
  15329.  
  15330.     * xterm.c (XTread_socket): Return a motion event when mouse enters
  15331.     scrollbar or window.
  15332.     (x_make_screen_invisible): Use the new X11R4 function XWithdrawWindow.
  15333.     (x_iconify_screen): Use the X11R4 function XIconfifyWindow.
  15334.     (dumpglyfs): Use the new face structure.
  15335.  
  15336.     * xfns.c (install_vertical_scrollbar, install_horizontal_scrollbar):
  15337.     Accept EnterNotify events.  Use XMapSubwindows rather than mapping
  15338.     each one.
  15339.     (Fx_set_face_font): New subr for X11 to set face GC.
  15340.  
  15341. Thu Jan 25 00:58:19 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15342.  
  15343.     * dispnew.c (direct_output_for_insert): Give up if buf in 2 windows.
  15344.  
  15345.     * keyboard.c (command_loop_1):
  15346.     Dumb bugs disabled special fast display for character motion.
  15347.  
  15348.     * xdisp.c (DoDsp): For cursor motion within line,
  15349.     hpos result from compute_motion is relative to window.
  15350.  
  15351. Wed Jan 24 20:08:08 1990  Richard Stallman  (rms at albert.ai.mit.edu)
  15352.  
  15353.     * eval.c (Fmacroexpand): Handle explicit macros ((macro ...) ...).
  15354.  
  15355. Thu Jan 18 10:27:09 1990  Joseph Arceneaux  (jla at spiff)
  15356.  
  15357.     * undo.c (Fundo_more): Fixed typo.
  15358.  
  15359. Tue Jan 16 20:20:48 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15360.  
  15361.     * xdisp.c (display_text_line): When checking HPOS for continuation
  15362.     line, compensate for w->left.
  15363.  
  15364. Mon Jan 15 19:46:59 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15365.  
  15366.     * dispnew.c [no FIONREAD]: Undefine SIGIO.
  15367.  
  15368.     * buffer.c (SetBfp): Use XTYPE to test for no selected window yet.
  15369.  
  15370.     * editfns.c, dispnew.c, fileio.c, process.c, sysdep.c, xterm.c:
  15371.     Uniformly let NEED_TIME_H control use of time.h instead of sys/time.h.
  15372.  
  15373.     * xterm.h (TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT): Don't use
  15374.     SIGIO if no FIONREAD.
  15375.  
  15376. Mon Jan 15 18:08:16 1990  Joseph Arceneaux  (jla at spiff)
  15377.  
  15378.     * xfns.c (x_set_mouse_color): Set non-text pointer shape with new
  15379.     variable Vx_nontext_pointer_shape.
  15380.  
  15381.     * keyboard.c: More checks for evil bug which trashes kbd_*_ptr.
  15382.  
  15383.     * m/hp300bsd.h: Try using BSD load average stuff.
  15384.  
  15385. Thu Jan 11 15:52:11 1990  Joseph Arceneaux  (jla at spiff)
  15386.  
  15387.     * xfns.c (x_draw_pixmap): New routine.
  15388.  
  15389. Wed Jan 10 21:55:25 1990  Jim Kingdon  (kingdon at pogo)
  15390.  
  15391.     * m/hp300bsd.h: New file
  15392.  
  15393. Mon Jan  8 13:12:37 1990  Joseph Arceneaux  (jla at spiff)
  15394.  
  15395.     * xfns.c (Fx_window_id): New subr.
  15396.  
  15397.     * screen.c (make_screen): Set wants_modeline elt to mini_p.
  15398.     If mini_p 0, then set root_window->next to nil.
  15399.  
  15400. Mon Jan  8 10:56:42 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15401.  
  15402.     * editfns.c (Fchar_after): Set N after coercing marker.
  15403.  
  15404. Sat Jan  6 16:18:50 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15405.  
  15406.     * buffer.c (Fkill_all_local_variables): Force mode line update.
  15407.  
  15408. Fri Jan  5 16:50:35 1990  Joseph Arceneaux  (jla at spiff)
  15409.  
  15410.     * insdel.c: Declare Vfirst_change_function.
  15411.  
  15412.     * keyboard.c (read_key_sequence): Function keys are now lisp symbols.
  15413.     (kbd_buffer_store_char): Abort if store pointer past
  15414.     buffer.  Temproarry; This shouldn't be able to happen.
  15415.     (read_key_sequence):  #ifdef HAVE_X_WINDOWS code
  15416.     which handles complex objects.
  15417.     (command_loop_1): Check not termcap screen before 
  15418.     processing non-char input.
  15419.     (kbd_{store,fetch}_char): More debugging checks.
  15420.  
  15421.     * screen.c (make_screen): Set root_window height to 9 if mini_p.
  15422.     (make_minibuffer_screen): Set the mini window's next,
  15423.     prev, and screen elements.
  15424.  
  15425.     * xterm.c (x_func_key_to_sym): New function, uses new variable
  15426.     func_key_syms.
  15427.     (XTread_socket): Use this in KeyPress event for function keys.
  15428.     (XTflash): Draw solid rectangle in middle of screen.
  15429.     (x_set_offset): Set the size hints as well when doing
  15430.     this.
  15431.     (XTflash): Just dumpglyfs instead of redrawing the
  15432.     screen after flashing the rectangle.
  15433.  
  15434.     * lread.c: (syms_of_lread): defsubr Fread_event.
  15435.  
  15436. Thu Jan  4 18:42:08 1990  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15437.  
  15438.     * buffer.h, buffer.c (Vfirst_change_function): New Lisp variable. 
  15439.     * insdel.c (signal_before_change): Call that function.
  15440.  
  15441.     * keyboard.c (cmd_error): Don't crash if TAIL is nil.
  15442.  
  15443. Sun Dec 31 17:17:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15444.  
  15445.     * minibuf.c: Doc fixes.
  15446.  
  15447. Thu Dec 28 18:12:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15448.  
  15449.     * process.c (create_process): Unhold SIGCHLD in the child.
  15450.  
  15451. Wed Dec 27 19:12:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15452.  
  15453.     * process.c (create_process): Treat HPUX like BSD for sigsetmask.
  15454.  
  15455. Mon Dec 25 00:10:57 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15456.  
  15457.     * fns.c (Fmapconcat): Gcpro SEP around mapcar1.
  15458.  
  15459. Sat Dec 23 13:45:19 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15460.  
  15461.     * dispnew.c (get_display_line): Don't touch X data if not using X.
  15462.  
  15463.     * syntax.c (Fscan_sexps): Fix fatal documentation typo.
  15464.  
  15465.     * lread.c: Include commands.h.
  15466.  
  15467.     * xterm.c (construct_mouse_event): Delete unreached return at end.
  15468.     (x_wm_set_size_hint): #if 0 some broken code.
  15469.  
  15470.     * cmds.c (SelfInsert): Set HAIRY if have before or after change hooks.
  15471.     * editfns.c (Fsubst_char_in_region, Ftranslate_region):
  15472.     Call signal_after_change for chars changed.
  15473.     * undo.c (Fundo_more): When undoing Uchange, do signal_after_change.
  15474.     * casefiddle.c (casify_region): Do modify_region before the change,
  15475.     signal_after_change afterward.
  15476.  
  15477.     * insdel.c (prepare_to_modify_buffer): Call signal_before_change.
  15478.     (del_range, InsCStr): Call signal_after_change.
  15479.     (signal_after_change, signal_before_change): New functions.
  15480.  
  15481. Wed Dec 20 06:50:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15482.  
  15483.     * dispnew.c (init_display) [VMS]: Downcase terminal type.
  15484.  
  15485. Sun Dec 17 19:31:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15486.  
  15487.     * sysdep.c: Use NEED_SIOCTL to control use of sioctl.h.
  15488.     * m/m-mips.h, m/m-iris4d.h: Define that.
  15489.  
  15490.     * m/m-ibmps2-aix.h (NEED_SIOCTL, HAVE_UNION_WAIT, HAVE_PTYS): Define.
  15491.     (HAVE_SYSVIPC, HAVE_SOCKETS, X_DEFAULT_FONT): Define.
  15492.     (sigsetmask): #undef this.
  15493.  
  15494. Fri Dec 15 13:13:36 1989  Joseph Arceoeaux  (jla at spiff)
  15495.  
  15496.     * lread.c (Fread_char): Catch error if read non-char.
  15497.     (Fread_event): New subr.  Return any input object.
  15498.  
  15499. Thu Dec 14 12:53:30 1989  Joseph Arceneaux  (jla at spiff)
  15500.  
  15501.     * xfns.c: New variable Vx_no_window_manager.
  15502.      (Fx_track_pointer):  If bufp < 0, abort.
  15503.  
  15504.     * xterm.c (XTread_socket):  When leaving window, set x_mouse_x and
  15505.     x_mouse_y to -1.
  15506.  
  15507. Wed Dec 13 10:48:36 1989  Joseph Arceneaux  (jla at spiff)
  15508.  
  15509.     * xterm.c (XTread_socket): On ConfigureNotify events, return
  15510.     "redraw-screen" symbol.
  15511.     (dumpborder): Only do border stuff if x-no-window-manager non nil.
  15512.     Also check if there is a tracking rectangle.
  15513.     (XTupdate_begin): If there is a mouse tracking rectangle, erase
  15514.     it.
  15515.     * keyboard.c (read_key_sequence): Return -2 for symbols.
  15516.     (command_loop_1): DoDsp when 'redraw-screen arrives as input.
  15517.     For mouse events, call Fexecute_mouse_event with
  15518.     read_key_sequence_cmd instead of Vmouse_event.
  15519.  
  15520. Fri Dec  8 08:34:22 1989  Joseph Arceneaux  (jla at spiff)
  15521.  
  15522.     * process.c (create_process):  For not USG, properly set the
  15523.     process group.
  15524.  
  15525. Thu Dec  7 15:02:44 1989  Joseph Arceneaux  (jla at spiff)
  15526.  
  15527.     * term.c (topos):  Under X Windows, abort if topos_hook not
  15528.     correct.  Temporary.
  15529.  
  15530.     * xfns.c (Fx_horizontal_line): New subr.
  15531.  
  15532. Tue Dec  5 11:35:21 1989  Joseph Arceneaux  (jla at spiff)
  15533.  
  15534.     * keyboard.c (Fexecute_mouse_event): Don't set Vmouse_window here
  15535.     for X11.
  15536.  
  15537.     * xterm.c (construct_mouse_event): Vx_mouse_grabbed now indicates
  15538.     which keys are depressed.
  15539.     (construct_mouse_event): Set Vmouse_window here.
  15540.  
  15541. Mon Dec  4 13:43:12 1989  Joseph Arceneaux  (jla at spiff)
  15542.  
  15543.     * screen.c (coordinates_in_window): New function.
  15544.     (Fcoordinates_in_window_p):  Rewritten to use above.
  15545.  
  15546.     * dispextern.h: New element bufp for display_line structure when
  15547.     using X windows.
  15548.     * xdisp.c (redisplay_window): Set this to the position in the
  15549.     buffer of the first char in this display line.
  15550.     * dispnew.c (get_display_line): Set this to -1 here.
  15551.  
  15552. Sun Dec  3 14:05:47 1989  Joseph Arceneaux  (jla at spiff)
  15553.  
  15554.     * alloc: Upped NSTATICS from 200 to 256.
  15555.  
  15556.     * xterm.c (XTread_socket):  Report MotionNotify events only if
  15557.     mouse has changed character position.  Call x_read_mouse_position.
  15558.     Set Vmouse_event here.
  15559.     * xfns.c (x_read_mouse_position): Set new global variables
  15560.     x_mouse_x and x_mouse_y.
  15561.  
  15562.     * keyboard.c: Vignore_mouse_events:  New variable.
  15563.  
  15564.     * syntax.c (Fscan_sexps): Doc change.
  15565.  
  15566.     * lread.c (Fread_char): Return only chars.  If new variable
  15567.     Vignore_mouse_events non nil, execute any mouse events which
  15568.     appear.
  15569.  
  15570. Fri Dec  1 09:28:23 1989  Joseph Arceneaux  (jla at spiff)
  15571.  
  15572.     * xfns.c (Fx_track_pointer): Draw half-sized rectangles for '\n'.
  15573.     (x_rectangle): Draw half-size if negative argument.
  15574.  
  15575.     * xterm.c (XTread_socket): abort if garbage collecting when doing
  15576.     mouse events.
  15577.  
  15578.     * ymakefile: #define FLOATSUP if LISP_FLOAT_TYPE defined.
  15579.  
  15580.     * emacs.c (main): If BSD, set pgrp to pid.
  15581.  
  15582. Thu Nov 30 10:02:54 1989  Joseph Arceneaux  (jla at spiff)
  15583.  
  15584.     * callint.c (Fcall_interactively): For case 'e', set varies[i] to
  15585.     avoid entering in the command history.
  15586.  
  15587.     * xterm.c: Removed the function x_indicate_pointer_char.
  15588.     (XTread_socket): When leaving window, erase mouse tracking box if
  15589.     it exists.
  15590.     * xfns.c (Fx_track_pointer): New function, does what
  15591.     x_indicate_pointer_char used to.
  15592.     (x_read_mouse_position): Subtract internal_border_width.
  15593.  
  15594.     * screen.c: No rubber-banding function for X11.
  15595.  
  15596.     * window.c (Fmove_to_window_line): Document string fix.
  15597.  
  15598. Wed Nov 29 17:17:04 1989  Joseph Arceneaux  (jla at spiff)
  15599.  
  15600.     * lread.c (Fread_char):  Return a Lisp_Object (directly from
  15601.     get_char).
  15602.  
  15603.     * keyboard.c:
  15604.     * xterm.c: Function keys now arrive as cons cells.
  15605.  
  15606. Mon Nov 27 13:21:39 1989  Joseph Arceneaux  (jla at spiff)
  15607.  
  15608.     * keyboard.c (read_key_sequence): Handle Lisp_Symbols on input
  15609.     (function keys).  Also, handle these and mouse events with
  15610.     prefixes (by ignoring the prefixes for now).
  15611.  
  15612.     * xfns.c New variable Vx_mouse_grabbed.
  15613.     * xterm.c (construct_mouse_event): Use it.
  15614.     (XTread_socket): Return Lisp_Symbol for function key.
  15615.  
  15616.     * buffer.c (reset_buffer_local_variables): Set function_key_map to
  15617.     Qnil.
  15618.  
  15619. Fri Nov 24 17:45:38 1989  Joseph Arceneaux  (jla at spiff)
  15620.  
  15621.     * buffer.h: Per-buffer function key maps.
  15622.  
  15623.     * keyboard.c (read_avail_input): Convert chars to Lisp_Objects in
  15624.     case of stdin.
  15625.  
  15626. Wed Nov 22 13:39:14 1989  Joseph Arceneaux  (jla at spiff)
  15627.  
  15628.     * keyboard.c (read_key_sequence): Check type of object returned
  15629.     from get_char.  Handle mouse events (set Vmouse_event) and
  15630.     function keys.
  15631.     (get_char_menu_prompt): Return a Lisp_Object.
  15632.     (Fexecute_mouse_event): No longer set Vmouse_event.
  15633.     Vmouse_window set here.
  15634.  
  15635.     * xterm.c (XTread_socket): KeyPress events now return
  15636.     Lisp_Objects, as do ButtonPress events.
  15637.     (construct_mouse_event): New function.
  15638.     (encode_mouse_button): New function.
  15639.  
  15640. Tue Nov 21 14:49:14 1989  Joseph Arceneaux  (jla at spiff)
  15641.  
  15642.     * keyboard.c (kbd_buffer_store_char, kbd_buffer_get_char):
  15643.     Store and get Lisp_Objects.
  15644.     (get_char): Use those Lisp_Objects.
  15645.  
  15646.     * fileio.c (Fread_filename_internal): If exactly complete, but
  15647.     string was modified, return string.
  15648.  
  15649.     * minibuf.c (temp_minibuf_message): Pass correct arguments to Fsit_for.
  15650.  
  15651. Sat Nov 18 23:07:32 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15652.  
  15653.     * s-386-ix.h: New file.
  15654.  
  15655. Fri Nov 17 12:11:11 1989  Joseph Arceneaux  (jla at spiff)
  15656.  
  15657.     * xterm.c (dump_rectangle): Flush the X queue.
  15658.  
  15659. Thu Nov 16 16:35:47 1989  Joseph Arceneaux  (jla at spiff)
  15660.  
  15661.     * xmenu.c (xmenu_show): Use ButtonReleaseMask instead of
  15662.     ButtonRelease.
  15663.  
  15664.     * fileio.c (Fmake_directory): New subr.
  15665.  
  15666. Thu Nov 16 00:53:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15667.  
  15668.     * config.h-dist (C_SWITCH_SITE, LD_SWITCH_SITE): Mention these.
  15669.     (HAVE_X11): Renamed from X11 and defined by default.
  15670.     It shoukld have no effect when not using X.
  15671.  
  15672. Tue Nov 14 09:44:29 1989  Joseph Arceneaux  (jla at spiff)
  15673.  
  15674.     * xfns.c (Fx_get_selection, x_selection_arrival): use &event
  15675.     instead of event.
  15676.     (x_selection_arrival): For incremental selections, loop on
  15677.     XGetWindowProperty if one is not enough.
  15678.  
  15679. Mon Nov 13 12:07:16 1989  Joseph Arceneaux  (jla at spiff)
  15680.  
  15681.     * ymakefile: Just link if ../oldXMenu/libXMenu11.a already exists.
  15682.  
  15683. Thu Nov  9 11:10:32 1989  Joseph Arceneaux  (jla at spiff)
  15684.  
  15685.     * m/m-sparc.h: If __GNUC__ use "-O", else "-O2"
  15686.  
  15687. Wed Nov  8 15:49:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15688.  
  15689.     * search.c (Fstore_match_data): A marker pointing nowhere, treat as 0.
  15690.  
  15691. Wed Nov  8 14:50:43 1989  Joseph Arceneaux  (jla at spiff)
  15692.  
  15693.     * search.c (Fmatch_data): fixed typo.
  15694.  
  15695.     * insdel.c (make_gap): Use BUFFER_REALLOC instead of realloc.
  15696.     * buffer.c (Fget_buffer_create): Use new define BUFFER_ALLOC in
  15697.     place of malloc, and set b->data.
  15698.     (Fkill_buffer): Use BUFFER_FREE on b->data, rather than malloc on
  15699.     b->p1 + 1.
  15700.     * buffer.h: New element data in buffer_text structure.
  15701.     New define for it, bf_data.
  15702.  
  15703. Wed Nov  8 14:28:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15704.  
  15705.     * marker.c (Fset_marker): Don't force POS into visible range.
  15706.     * window.c (set_marker_restricted): New function does what
  15707.     Fset_marker did.  All calls in this file now use the new function.
  15708.  
  15709. Tue Nov  7 09:08:26 1989  Joseph Arceneaux  (jla at spiff)
  15710.  
  15711.     * buffer.h: Defines for allocating buffer variables.
  15712.  
  15713.     * ralloc.c: Completely rewritten.
  15714.  
  15715.     * alloc.c (xmalloc, xrealloc): Return 0 immediately for requests
  15716.     of 0 size.
  15717.  
  15718. Mon Nov  6 02:00:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15719.  
  15720.     * search.c (Flooking_at, Fstring_match, search_buffer):
  15721.     Record in search_regs_from_string whether matching against a string.
  15722.     (Fmatch_data): Save data as integers if from a string.
  15723.  
  15724.     * s-umips.h: Now include either s-usg5-2-2.h or s-bsd4-3.h
  15725.     and then override as needed.
  15726.     * m-mips.h: System dependence deleted.
  15727.     LD_SWITCH_MACHINE remains w/ options needed on all systems.
  15728.     * m-pmax.h: A little of that (LIBS_DEBUG) moved here.
  15729.     No need to undef LIBS_MACHINE.
  15730.  
  15731.     * fns.c (Fload_average): FIXUP_KERNEL_SYMBOL_ADDR is now general hook.
  15732.     * s-umips.h: Define it.
  15733.  
  15734.     * sysdep.c: Handle BROKEN_FIONREAD.
  15735.  
  15736. Fri Nov  3 10:52:16 1989  Joseph Arceneaux  (jla at spiff)
  15737.  
  15738.     * config.h-dist: Mention LISP_FLOAT_TYPE, GNU_MALLOC, and REL_ALLOC.
  15739.  
  15740.     * s/s-umips.h: New file.
  15741.  
  15742. Fri Nov  3 02:17:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15743.  
  15744.     * process.c (Fopen_network_stream): Handle EINTR in connect.
  15745.     Describe errno in err msg if connect fails.
  15746.  
  15747. Thu Nov  2 15:35:44 1989  Joseph Arceneaux  (jla at spiff)
  15748.  
  15749.     * vm-limit.c: New file.
  15750.     * ralloc.c: New file.
  15751.     * ymakefile: Take vm-limit.o into account.
  15752.  
  15753. Thu Nov  2 12:27:41 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15754.  
  15755.     * alloc.c (staticvec): Make this a simple vector of pointers
  15756.     rather than an alias for a vector of chars.
  15757.  
  15758. Wed Nov  1 11:44:30 1989  Joseph Arceneaux  (jla at spiff)
  15759.  
  15760.     * window.c: Moved some functions (save_window_save,
  15761.     replace_window, unshow_buffer) around.
  15762.     * search.c: Moved function place.
  15763.     * lread.c: Moved function read_escape.
  15764.     * unexec.c: Declarations for make_hdr, copy_text_and_data,
  15765.     copy_sym.  Declare mark_x as static void.
  15766.     * dispextern.h: removed declaration of new_display_line.
  15767.  
  15768.     * emacs.c: Do malloc_init if GNU_MALLOC.
  15769.     * gmalloc.c: (malloc_init): New function.
  15770.  
  15771.     * xfns.c (x_rectangle, Fx_draw_rectangle, Fx_erase_rectangle,
  15772.     outline_region, Fx_countour_region, Fx_uncontour_region): New
  15773.     subroutines for drawing rectangles and things.
  15774.     (Fx_point_coordinates): New subr.
  15775.  
  15776. Tue Oct 31 11:43:36 1989  Joseph Arceneaux  (jla at spiff)
  15777.  
  15778.         * All .c and .h files: New copyright header.
  15779.  
  15780. Mon Oct 30 17:55:32 1989  Joseph Arceneaux  (jla at spiff)
  15781.  
  15782.     * gmalloc.c: New GNU malloc.
  15783.  
  15784.     * emacs.c (main, Fdump_emacs): No malloc init if GNU_MALLOC.
  15785.  
  15786.     * ymakefile: Check if GNU_MALLOC defined.
  15787.  
  15788. Fri Oct 27 10:25:22 1989  Joseph Arceneaux  (jla at spiff)
  15789.  
  15790.     * xfns.c (Fx_pointer_char): New subr.
  15791.     * xterm.c (x_indicate_pointer): New procedure.
  15792.  
  15793.     * alloc.c (Fmake_vector_from_list, make_vector_from_list): New subrs.
  15794.  
  15795. Thu Oct 26 20:24:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15796.  
  15797.     * xterm.c (x_term_init):
  15798.     Negate arg to fcntl F_SETOWN if F_SETOWN_SOCK_NEG.
  15799.     * keyboard.c (Fset_input_mode) [NO_SOCK_SIGIO]:
  15800.     No interrupt input if using a socket.
  15801.     * m-sequent.h: Define NO_SOCK_SIGIO, F_SETOWN_SOCK_NEG, MAIL_USE_FLOCK.
  15802.  
  15803. Thu Oct 26 11:00:01 1989  Joseph Arceneaux  (jla at spiff)
  15804.  
  15805.     * xterm.c (x_handle_error_gracefully): Make sure to completely
  15806.     release input before returning, using:
  15807.     * xterm.h New macro TOTALLY_UNBLOCK_INPUT.
  15808.  
  15809.     * xmenu.c (xmenu_quit): No longer use this error_handler; use
  15810.     default one.
  15811.  
  15812. Wed Oct 25 10:17:05 1989  Joseph Arceneaux  (jla at spiff)
  15813.  
  15814.     * config.h-dist: Comment fix.
  15815.  
  15816. Tue Oct 24 10:25:42 1989  Joseph Arceneaux  (jla at spiff)
  15817.  
  15818.     * xfns.c (Fx_draw_lines, translate_vectors): New functions.
  15819.  
  15820. Sat Oct 21 02:31:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15821.  
  15822.     * search.c (search_buffer): Always find null string.
  15823.  
  15824.     * window.c (window_loop): For UNSHOW_BUFFER, don't Fset_buffer
  15825.     unless window is the selected one.
  15826.  
  15827. Fri Oct 20 19:00:42 1989  Joseph Arceneaux  (jla at spiff)
  15828.  
  15829.     * xdisp.c (display_minibuf_message): Choose minibuf screen first
  15830.     of all.  Return if not visible.
  15831.  
  15832. Thu Oct 19 16:27:55 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15833.  
  15834.     * xterm.c (x_handle_error_gracefully): New procedure to handle
  15835.     non-fatal X errors.
  15836.     (x_error_handler): Use it.
  15837.     (acceptable_x_error_p): New macro.
  15838.  
  15839.     * xfns.c (Fx_own_selection): Use second parameter SCREEN.
  15840.  
  15841.     * xdisp.c: (message, message1): No longer displays messages
  15842.     when using X but not yet mapped. 
  15843.  
  15844. Wed Oct 18 17:55:37 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15845.  
  15846.     * m-pyramid.h (NO_ARG_ARRAY): Define if using GCC.
  15847.  
  15848. Tue Oct 17 03:08:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15849.  
  15850.     * vmsfns.c (process_command_input): Call clear_waiting_for_input.
  15851.  
  15852. Sat Oct 14 00:09:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15853.  
  15854.     * syntax.c (scan_words): If words_include_escapes not 0,
  15855.     treat Sescape and Scharquote like Sword.
  15856.     (syms_of_syntax): Define Lisp variable.
  15857.  
  15858.     * process.c (wait_reading_process_input): Get rid of kbd_count.
  15859.     Use detect_input_pending.
  15860.     * sysdep.c (select, read_input_waiting): Likewise.
  15861.     (read_input_waiting): Don't read directly into kbd_buffer;
  15862.     use kbd_buffer_store_char.
  15863.     * keyboard.c: Don't define kbd_count.
  15864.  
  15865.     * keyboard.c (read_key_sequence): Reject the prefix char generated
  15866.     for a Meta char, if it finds a non-prefix definition.
  15867.  
  15868. Fri Oct 13 20:05:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15869.  
  15870.     * process.c (wait_reading_process_input): READ_KBD==2 means
  15871.     wait until have mouse input.
  15872.     * xfns.c (Fx_get_mouse_event): Use that.
  15873.     * xterm.c (mouse_event_pending_p): New subroutine.
  15874.  
  15875. Fri Oct 13 19:23:51 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15876.  
  15877.     * xfns.c (x_selection_arrival):
  15878.     (x_send_incremental):
  15879.     (x_answer_selection_request): New procedures for incremental
  15880.     selection transfer.
  15881.  
  15882. Thu Oct 12 20:06:54 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15883.  
  15884.     * lread.c (complete_filename_p): New function which replaces
  15885.     absolute_filename_p.   This one doesn't consider "~" valid.
  15886.  
  15887. Thu Oct 12 02:41:15 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15888.  
  15889.     * buffer.c: Comment fix.
  15890.  
  15891. Wed Oct 11 15:37:04 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15892.  
  15893.     * xfns.c: (Fx_open_connection) New X atoms Xatom_incremental and
  15894.     Xatom_multiple.
  15895.  
  15896.     * xterm.h: New macros MAX_SELECTION and SELECTION_LENGTH.
  15897.  
  15898.     * process.c (child_sig):  Check pid <= 0 in case WNOHANG not defined.
  15899.  
  15900. Wed Oct 11 14:55:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15901.  
  15902.     * termcap.c (tgetent, gobble_line): Always store null at end of bfr.
  15903.     Allocate one extra byte at end to ensure space.
  15904.     Clean up order of arithmetic when updating ptrs into buffer
  15905.     after xrealloc.
  15906.  
  15907. Tue Oct 10 15:10:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15908.  
  15909.     * xfns.c (Fx_open_connection): Make all X Atoms here.
  15910.  
  15911.     * xterm.c: (x_iconify_screen):
  15912.     (x_iconify_screen): Cleaned up this code.
  15913.     (x_term_init): Removed warpmouseondeiconify stuff.
  15914.  
  15915. Mon Oct  9 09:52:06 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15916.  
  15917.     * xdisp.c (DoDsp): Make sure to call unhold_window_change after
  15918.     before all returns. 
  15919.  
  15920.     * minibuf.c (read_minibuf): Changed set_mouse_position to
  15921.     Fset_mouse_position.
  15922.  
  15923.     * xterm.c (XTread_socket): dumprectangle (whole screen) instead of
  15924.     DoDsp in ConfigureNotify event.
  15925.     (x_wm_set_size_hint): New calculations for size_hints.
  15926.  
  15927.     * screen.c (Fset_mouse_position): No more function
  15928.     set_mouse_position; use x_set_mouse_position directly.
  15929.  
  15930.     * xfns.c (x_set_cursor_color): Really decode Vx_cusor_fore_pixel
  15931.     if set.  Define new cursor before freeing old.  This may eliminate
  15932.     a server bug on the Sony.
  15933.     Also check for invisible cursors.
  15934.     (x_set_mouse_color): Check for invisible pointers.
  15935.     (x_resize_scrollbars): BLOCK_INPUT whilst doing operations.
  15936.     (adjust_scrollbars): Likewise.
  15937.  
  15938. Tue Oct  3 12:30:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15939.  
  15940.     * m/m-hp9000s800.h (XUNMARK): Delete definition.
  15941.     (S_IFLNK): Do not undef it.
  15942.  
  15943. Tue Oct  3 10:38:42 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15944.  
  15945.     * dispnew.c (get_display_line): If screen not visible, abort.
  15946.  
  15947. Mon Oct  2 23:48:12 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15948.  
  15949.     * xterm.c (x_make_screen_visible): Set s->visible, unset
  15950.     s->iconified for HAVE_X11.
  15951.  
  15952. Fri Sep 29 15:53:39 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15953.  
  15954.     * xterm.c (XTread_socket): Check screen s before proceeding for
  15955.     MapNotify event.
  15956.  
  15957.     * xterm.c: No longer sets the variable mouse_down_timestamp.
  15958.     * xfns.c: (Fx_get_mouse_event) mouse_timestamp
  15959.      (formerly mouse_down_timestamp) set here.  Also, mask out upper 9
  15960.      bits before doing XSET.
  15961.  
  15962. Thu Sep 28 10:59:29 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15963.  
  15964.     * xfns.c (Fx_geometry): Kludge for the case of position `-0'.
  15965.     (Fx_get_mouse_event): Also return the time stamp as last list elt.
  15966.     (Fx_color_display_p):
  15967.     (Fx_defined_color):
  15968.     (x_decode_color):
  15969.     (defined_color): Eliminate screen argument.
  15970.     (Fx_create_screen): No more ColorMap component to display.x.
  15971.     * xterm.h: Likewise.
  15972.  
  15973. Wed Sep 27 17:51:40 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15974.  
  15975.     * xfns.c (Fx_own_selection):
  15976.      (Fx_get_selection):
  15977.      (x_disown_selection): new funcs, which use new variables
  15978.      Vx_selection_value, x_begin_selection_own, mouse_down_timestamp,
  15979.      requestor_time, requestor_window, property_name, and
  15980.      x_begin_selection_own.
  15981.  
  15982.     * xterm.c (XTread_socket): Only do stuff if s for FocusOut under X11.
  15983.     SelectionClear:
  15984.     SelectionRequest:
  15985.     SelectionNotify:  New events to handle the selection inter-client
  15986.     communication mechanism.
  15987.     ButtonPress: Set mouse_down_timestamp.
  15988.  
  15989. Tue Sep 26 17:21:12 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  15990.  
  15991.     * xfns.c: New variable Vx_cursor_fore_pixel.
  15992.  
  15993. Sat Sep 23 03:59:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15994.  
  15995.     * lread.c (openp): Don't ! the result of `access'.
  15996.  
  15997. Fri Sep 22 00:29:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  15998.  
  15999.     * fileio.c (Fread_file_name_internal): Try to work properly
  16000.     if dirs are specified using environment vars.  Preserve use of vars.
  16001.  
  16002. Thu Sep 21 02:55:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16003.  
  16004.     * fileio.c: Comment fix.
  16005.  
  16006. Mon Sep 18 11:26:55 1989  Joseph Arceneaux  (jla at spiff)
  16007.  
  16008.     * xfns.c (Fx_get_cut_buffer): XFree the data returned by
  16009.     XFetchBytes.
  16010.  
  16011. Sat Sep 16 01:49:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16012.  
  16013.     * fileio.c (Fwrite_region): Reinstall #if 0 around fstat.
  16014.  
  16015. Tue Sep 12 14:28:43 1989  Joseph Arceneaux  (jla at spiff)
  16016.  
  16017.     * xfns.c (defined_color): New function to test if a color is
  16018.     currently defined.
  16019.     (x_decode_color): Use defined_color.
  16020.     (Fx_defined_color): New subr.
  16021.     (select_visual): Select the appropriate X11 Visual.
  16022.     (Fx_open_connection): Use select_visual.  screen_visual now
  16023.     global and used when making emacs windows.
  16024.     (Fx_color_display_p): New subr.
  16025.  
  16026. Mon Sep 11 16:03:04 1989  Joseph Arceneaux  (jla at spiff)
  16027.  
  16028.     * fileio.c (Fwrite_region): fixed typo.
  16029.  
  16030.     * keyboard.c (Fdiscard_input): fixed typo.
  16031.  
  16032.     * window.c (Fnext_window): fixed typos.
  16033.  
  16034.     * alloc.c (xmalloc, xrealloc): hold_window_changes whilst doing
  16035.     the associated operations.
  16036.  
  16037.     * dispnew.c (init_display): 
  16038.     (Fsleep_for, Fsit_for): 
  16039.     * process.c (Faccept_process_output): 
  16040.     * keyboard.c ({clear,set}_waiting_for_input):
  16041.     (quit_throw_to_get_char, get_char): 
  16042.     * xdisp.c (DoDsp, message, message1): Undid changes of Aug. 23
  16043.     (see below);  accept window changes most of the time.
  16044.  
  16045. Thu Sep  7 02:52:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16046.  
  16047.     * keyboard.c: Eliminate kbd_count, and use two pointers,
  16048.     kbd_fetch_ptr and kbd_store_ptr.  Assume buffer is empty when
  16049.     they are equal.  This should eliminate timing error.
  16050.     (kbd_buffer_store_char): Update kbd_store_ptr when storing.
  16051.     Don't ever fill the entire buffer.
  16052.     (kbd_buffer_get_char): Update kbd_fetch_ptr when fetching.
  16053.     (stuff_buffered_input): Likewise.
  16054.     (get_input_pending): Compare the two pointers.
  16055.  
  16056.     * fileio.c (Fwrite_region): Reenable using fstat rather than stat
  16057.     to get the modtime of the file just written, except on VMS and APOLLO.
  16058.  
  16059. Tue Sep  5 19:01:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16060.  
  16061.     * emacs.c, doc.c, filelock.c: Move Emacs header includes after
  16062.     system header includes, and #undef NULL in between.
  16063.  
  16064. Wed Aug 30 17:12:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16065.  
  16066.     * process.c [SYSV_PTYS]: If `titan', include some other files.
  16067.  
  16068. Tue Aug 29 15:48:22 1989  Joseph Arceneaux  (jla at spiff)
  16069.  
  16070.     * fileio.c: read-file-name replaced with new version, formerly
  16071.     called new-read-file-name.
  16072.  
  16073. Sat Aug 26 01:03:03 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16074.  
  16075.     * window.c (Fscroll_other_window): Use save-excursion (in effect)
  16076.     to save and restore current buffer and point.
  16077.     (window_scroll): If selected window's buffer isn't current,
  16078.     make it current, using save-excursion to go back.
  16079.  
  16080. Thu Aug 24 20:20:55 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16081.  
  16082.     * Use two variables to convey reason for synch process death,
  16083.     to avoid consing in signal handler.
  16084.     They are synch_process_death and synch_process_retcode.
  16085.     * callproc.c (Fcall_process): Use both variables.
  16086.     * process.c (child_sig): Set both variables.
  16087.  
  16088. Thu Aug 24 17:27:53 1989  Joseph Arceneaux  (jla at spiff)
  16089.  
  16090.     * xterm.c (x_wm_set_size_hint): Use new ICCCM values for size_hints.
  16091.  
  16092. Thu Aug 24 16:49:11 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16093.  
  16094.     * buffer.c: Doc fix.
  16095.  
  16096. Thu Aug 24 12:12:09 1989  Joseph Arceneaux  (jla at spiff)
  16097.  
  16098.     * xfns.c (Fx_create_screen): X11 part.  Set height and width to 0
  16099.     before calling change_screen_size.
  16100.  
  16101.     * buffer.c (kill-all-local-variables): Changed doc string.
  16102.  
  16103. Wed Aug 23 17:35:48 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16104.  
  16105.     * dispnew.c (init_display): Call hold_window_change.
  16106.     (Fsleep_for, Fsit_for): Temporarily unhold, while waiting.
  16107.     * process.c (Faccept_process_output): Likewise.
  16108.     * keyboard.c ({clear,set}_waiting_for_input): Temporarily unhold.
  16109.     (quit_throw_to_get_char, get_char): Rehold.
  16110.     * xdisp.c (DoDsp, message, message1):
  16111.     Unhold and rehold momentarily before any real work.
  16112.  
  16113.     * Makefile (CPP): Use $(CC).
  16114.  
  16115. Tue Aug 22 12:05:09 1989  Joseph Arceneaux  (jla at spiff)
  16116.  
  16117.     * xfns.c (x_set_mouse_color): Use new variables Vx_pointer_mask,
  16118.     Vx_pointer_shape.
  16119.  
  16120. Mon Aug 21 23:47:00 1989  Richard Stallman  (rms at apple-gunkies.ai.mit.edu)
  16121.  
  16122.     * alloc.c (malloc_warning): Do nothing if ignore_warnings.
  16123.     (init_alloc_once): Set ignore_warnings while initializing allocation.
  16124.  
  16125.     * buffer.c: Doc fix.
  16126.  
  16127. Mon Aug 21 17:47:56 1989  Joseph Arceneaux  (jla at spiff)
  16128.  
  16129.     * xterm.c (x_calc_absolute_position): New function to calculate
  16130.     positive screen position.
  16131.     (x_set_position): Use it.
  16132.     (x_reset_cursor): No longer exists.
  16133.  
  16134.     * xfns.c (x_set_mouse_color): Reset the cursor even if there's no
  16135.     X window.
  16136.     (x_figure_window_size): Use x_calc_absolute_position.
  16137.     (x_set_mouse_color): Rewrote this function.  Always set cursor and
  16138.     its color.  If the window exists, then attach the cursor to it.
  16139.     No longer uses x_reset_cursor.
  16140.     (x_create_window):
  16141.     (x_set_background):
  16142.     (x_set_foreground): Use x_set_mouse_color instead of x_reset_cursor.
  16143.  
  16144. Fri Aug 18 17:00:47 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16145.  
  16146.     * vmsfns.c: Define PRV$V_... syms if prvdef.h does not.
  16147.  
  16148. Fri Aug 18 15:32:13 1989  Joseph Arceneaux  (jla at spiff)
  16149.  
  16150.     * xfns.c (Fx_geometry): New subr.
  16151.     (x_figure_window_size): Don't worry about "geometry" here anymore;
  16152.     now done in x-win.el.
  16153.     (x_icon): Look in parms for iconic-startup rather than in variable.
  16154.  
  16155. Wed Aug 16 16:27:40 1989  Joseph Arceneaux  (jla at spiff)
  16156.  
  16157.     * xfns.c (x_set_*_scrollbar): Don't destroy a scrollbar if it
  16158.     doesn't exist.  Also set scrollbar size only if actually creating
  16159.     one.
  16160.     (x_set_name): Don't do anything if the X window doesn't exist.
  16161.     Set the icon name as well.
  16162.     (x_window): Set the class hints for the window.
  16163.  
  16164. Wed Aug 16 14:47:10 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16165.  
  16166.     * lread.c (Fload): Fix unterminated comment.
  16167.  
  16168.     * scroll.c (scrolling_max_lines_saved): Replace fixed threshold of 20
  16169.     with 1/4 of average length of lines.
  16170.  
  16171. Sun Aug 13 18:27:40 1989  Joseph Arceneaux  (jla at spiff)
  16172.  
  16173.     * ymakefile: Do ${make} for oldXMenu.
  16174.  
  16175. Sun Aug 13 17:24:12 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16176.  
  16177.     * eval.c: Doc fix.
  16178.  
  16179. Sat Aug 12 13:18:00 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16180.  
  16181.     * emacs.c (main): Check for failure opening -t device.
  16182.     Fatal error if terminal isn't a real terminal.
  16183.  
  16184.     * window.c (Fscroll_other_window): Let Vother_window_scroll_buffer
  16185.     specify a buffer to scroll.
  16186.  
  16187. Fri Aug 11 21:24:19 1989  Richard Stallman  (rms at hobbes.ai.mit.edu)
  16188.  
  16189.     * dispnew.c: Handle BROKEN_FIONREAD as in other files.
  16190.  
  16191. Wed Aug  9 12:55:15 1989  Joseph Arceneaux  (jla at spiff)
  16192.  
  16193.     * ../oldXMenu/Makefile: Removed all the unneccessary X stuff.
  16194.  
  16195. Mon Aug  7 22:08:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16196.  
  16197.     * fileio.c (barf_or_query_if_file_exists): When signalling,
  16198.     provide the expected args for a file-error.
  16199.  
  16200. Sun Aug  6 18:04:15 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16201.  
  16202.     * process.c: Let NEED_BSDTTY control include of bsdtty.h.
  16203.  
  16204.     * process.c [BSD or STRIDE]: If ioctl.h fails to define O_NDELAY,
  16205.     and we need it, try fcntl.h.
  16206.  
  16207.     * s-bsd*.h, s-rtu.h, s-umax.h, s-unipl*.h: Define HAVE_UNION_WAIT.
  16208.     * m-stride.h: Likewise.
  16209.     * process.c: Decide which type to use with `wait'
  16210.     according to HAVE_UNION_WAIT.  If WAITTYPE already defined,
  16211.     assume everything all set up for this.
  16212.  
  16213.     * m-hp9000s300.h: Unless NOT_C_CODE or NO_SHORTNAMES,
  16214.     define WAITTYPE and WRETCODE, and include sys/wait.h.
  16215.  
  16216. Sat Aug  5 17:20:09 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16217.  
  16218.     * callproc.c (child_setup): Get rid of junk in #if 0.
  16219.  
  16220. Thu Aug  3 02:20:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16221.  
  16222.     * abbrev.c (Fdefine_abbrev): Allow nil spec'd as expansion.
  16223.     (Fexpand_abbrev): Eliminate abbrev length limit; use alloca.
  16224.     Eliminate redundant tests, always true.
  16225.     Record positions of both start and end of abbrev.
  16226.     Handle whitespace following the abbrev, before point.
  16227.  
  16228.     * callproc.c (Fcall_process_region): Use unwind-protect to delete
  16229.     temp file.
  16230.  
  16231.     * lread.c (load_unwind): Free the pointer-word malloc'd in Fload.
  16232.  
  16233. Wed Aug  2 23:24:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16234.  
  16235.     * emacs.c (Fdump_emacs): Doc fix.
  16236.  
  16237. Wed Aug  2 11:24:08 1989  Joseph Arceneaux  (jla at spiff)
  16238.  
  16239.     * xfns.c: Reorganized several functions to be in same order as the
  16240.     enum list.
  16241.     (x_set_border_color): For X11, don't set pix to -1 for
  16242.     gray values.
  16243.     (Fx_create_screen): Simplified this function even more.
  16244.  
  16245. Mon Jul 31 15:01:50 1989  Joseph Arceneaux  (jla at spiff)
  16246.  
  16247.     * keymap.c: New subrs Fuse_local_mouse_map, Fcurrent_local_mouse_map.
  16248.  
  16249.     * xfns.c (x_set_mouse_color):
  16250.     (x_set_cur): No need to redraw display after doing these.
  16251.  
  16252.     (Fx_get_mouse_event): Accept motion events.
  16253.     (x11_encode_mouse_button): Encoding a la X11, except for one
  16254.     kludge.  This is used only for motion events.
  16255.  
  16256.     * xterm.c (XTread_socket): Handle motion eveots.
  16257.     
  16258. Wed Jul 26 09:12:23 1989  Joseph Arceneaux  (jla at spiff)
  16259.  
  16260.     * xfns.c (Fx_create_screen): I couldn't take it any more, the
  16261.     ugliness of this routine offended me too deeply.  It is now
  16262.     completely rewritten for X11 and uses subroutines:
  16263.     (x_figure_window_size)
  16264.     (x_create_window)
  16265.     (x_icon)
  16266.     (x_make_gc)
  16267.  
  16268.     (Fx_draw_rectangle):
  16269.     (Fx_erase_rectangle): New subrs.
  16270.  
  16271.     * m/m-intel386.h: Changes in LOAD_AVE_TYPE, LOAD_AVE_CVT, and
  16272.     FSCALE to make loadst work correctly.
  16273.  
  16274. Mon Jul 24 10:53:13 1989  Joseph Arceneaux  (jla at spiff)
  16275.  
  16276.     * xfns.c (Fmodify_screen_parameters): Check s->output_method
  16277.     before looping through alist.
  16278.  
  16279.     (Fx_create_screen): Call x_default_parameter for font.
  16280.     Don't add the scrollbar widths when making the main window:  this
  16281.     is done when the scrollbar is actually made.
  16282.  
  16283.     (x_set_vertical_scrollbar): Set v_scrollbar_width here instead of
  16284.     in install_vertical_scrollbar.  Also, pass that function macros
  16285.     PIXEL_WIDTH, PIXEL_HEIGHT as args.
  16286.  
  16287.     (x_set_horizontal_scrollbar): Likewise.
  16288.  
  16289.     * xterm.c: (x_set_window_size): Don't call the things called
  16290.     anyway upon the ConfigureNotify event.
  16291.     (x_set_offset): Use the screen-size lisp variables for these
  16292.     calculations.
  16293.  
  16294.     * xterm.h: Added the screen parameter declarations from xfns.c for
  16295.     X11.
  16296.  
  16297. Fri Jul 21 12:43:46 1989  Joseph Arceneaux  (jla at spiff)
  16298.  
  16299.     * sysdep.c: Don't include sioctl.h on mips.
  16300.  
  16301.     * buffer.c  (Flist_buffers): Pass prefix as arg.
  16302.  
  16303.     * editfns.c (Finsert_char): Insert at most 256 chars at a whack.
  16304.  
  16305.     * xterm.c (x_draw_box): Moved cursor box right by one pixel.
  16306.  
  16307. Thu Jul 20 10:17:12 1989  Joseph Arceneaux  (jla at spiff)
  16308.  
  16309.     * xfns.c: New variable x_screen_visuals, set if Fx_open_display,
  16310.     to be used in screen-color-p.
  16311.  
  16312.     * process.c (create_process): Don't call setpgrp_of_tty here.
  16313.     Also, do setpgrp for USG regardless of HAVE_PTYS.
  16314.  
  16315.     * callproc.c (child_setup): Ignore argument set_pgrp and always do
  16316.     setpgrp_of_tty.
  16317.     (Fcall_process): Don't call setpgrp_of_tty here.
  16318.  
  16319.     * keyboard.c (command_loop_1): Make sure Vprefix_arg is NULL
  16320.     before finalizing_kbd_macro_chars;
  16321.  
  16322. Wed Jul 19 11:45:34 1989  Joseph Arceneaux  (jla at spiff)
  16323.  
  16324.     * xfns.c (Fx_rebind_key): Completely rewrote this function for
  16325.     X11.
  16326.  
  16327. Thu Jul 13 10:56:24 1989  Joseph Arceneaux  (jla at spiff)
  16328.  
  16329.     * emacs.c:
  16330.     * process.c:
  16331.     * unexec.c:
  16332.     * m/m-ibmrt-aix.h: Changed IBMRTAIX to IBMAIX.
  16333.     * sysdep.c: Likewise.  Also, don't define our closedir if IBMAIX.
  16334.     * m/m-ibmps2-aix.h: New file.
  16335.  
  16336. Wed Jul 12 17:16:43 1989  Joseph Arceneaux  (jla at spiff)
  16337.  
  16338.     * xdisp.c (message, message1): If using x, but haven't mapped the
  16339.     window yet, use noninteractive output.
  16340.  
  16341.     * dispnew.c (Fredraw_display): Don't redraw a screen which is not
  16342.     visible.
  16343.  
  16344.     * xterm.c (x_set_window_size): Don't DoDsp if screen isn't visible.
  16345.  
  16346.     * xfns.c (x_set_mouse_color)
  16347.     (x_set_border_color)
  16348.     (x_set_cursor_color)
  16349.     (x_set_background_color)
  16350.     (x_set_foreground_color): Don't redraw when screen isn't visible.
  16351.  
  16352. Tue Jul 11 09:47:59 1989  Joseph Arceneaux  (jla at gluteus)
  16353.  
  16354.     * xterm.c (x_term_init, XTread_socket):  Use ConnectionNumber for
  16355.     both X10 and X11.  This is #defined for X10.
  16356.  
  16357.     * screen.c (Fset_screen_width, Fset_screen_height): These now take
  16358.     a SCREEN argument.
  16359.  
  16360. Mon Jul 10 20:36:58 1989  Joseph Arceneaux  (jla at gluteus)
  16361.  
  16362.     * xterm.c (x_set_window_size): Call x_wm_set_size_hint.
  16363.     (x_new_font): Don't call x_wm_set_size_hint.
  16364.  
  16365.     * xfns.c (x_set_internal_border_width): Don't call
  16366.     x_set_resize_hint, and call x_set_window_size after BLOCK_INPUT.
  16367.  
  16368.     * screen.c, dispnew.c (Fset_screen_width, Fset_screen_height):
  16369.     These functions have moved to screen.c.
  16370.  
  16371. Fri Jul  7 12:05:26 1989  Joseph Arceneaux  (jla at sugar-bombs.ai.mit.edu)
  16372.  
  16373.     * eval.c (Ffuncall): Handle 6 arguments.  Also, print a nice error
  16374.     message if there are more than 6 args.
  16375.  
  16376.     * fns.c: (Fyes-or-no-p):
  16377.     * minibuf.c: (read_minibuf_unwind):
  16378.     (Fread_minibuffer):
  16379.     (Fread_no_blanks_input):
  16380.     (Fcompleting_read): Extra arg to read_minibuf.
  16381.  
  16382.     * callint.c (Fcall_interactively):
  16383.     * keyboard.c (Fexecute_extended_command):
  16384.     * minibuf.c: (Fread_command):
  16385.     (Fread_function):
  16386.     (Fread_variable):
  16387.     (Fread_buffer): Extra arg to Fcompleting_read.
  16388.  
  16389. Wed Jul  5 10:22:12 1989  Joseph Arceneaux  (jla at spiff)
  16390.  
  16391.     * minibuf.c (read_minibuf): New argument back_n is number of
  16392.     characters to back-up point by.
  16393.     (Fcompleting_read): Same.
  16394.     * fileio.c: (Fnew_read_file_name): New version of Fread_file_name
  16395.     using the above features.
  16396.     (Finsert_file_contents): Check for negative file length.
  16397.  
  16398. Mon Jul  3 14:57:22 1989  Joseph Arceneaux  (jla at spiff)
  16399.  
  16400.     * xfns.c: (x_pixel_width, x_pixel_height) New functions.
  16401.     * screen.c: (Fscreen_pixel_size): New subr.
  16402.  
  16403. Fri Jun 30 16:05:43 1989  Joseph Arceneaux  (jla at spiff)
  16404.  
  16405.     * xterm.c: Use invocation_name as argument to XGetDefaults.
  16406.  
  16407. Thu Jun 29 10:29:23 1989  Joseph Arceneaux  (jla at spiff)
  16408.  
  16409.     * xterm.c (x_error_handler) #ifdef sony_news use XDefaultError
  16410.     instead of XPrintDefaultError due to weirdness in Sony library.
  16411.     * xterm.c: Avoid infinite raise/lower, enter/leave cycle when both
  16412.     auto_raise and auto_lower are set by checking times between
  16413.     consecutive Enter events.
  16414.  
  16415. Tue Jun 27 17:15:16 1989  Joseph Arceneaux  (jla at sugar-bombs.ai.mit.edu)
  16416.  
  16417.     * screen.c: (Fselect_screen)
  16418.     * window.c: (Fselect_window) The previous strategy was bugging the
  16419.     lisp stuff, so these are now rewritten.
  16420.  
  16421. Mon Jun 26 15:36:00 1989  Joseph Arceneaux  (jla at galapas.ai.mit.edu)
  16422.  
  16423.     * cm.c (Wcm_init): Don't check for Wcm.cm_ds, since this has been
  16424.     removed.
  16425.     (losecursor):  This function now a #define in cm.h.
  16426.  
  16427.     * xterm.c (x_iconify_screen): Send message to root window to do
  16428.     this, as per latest Inter-Client Communications Conventions.  This
  16429.     is commented out until it's implemented by X.  For now, do it with
  16430.     the iconic_state hint.
  16431.     (x_deiconify_screen): For X11, just Map the window, as per the new
  16432.     ICCC.
  16433.     (x_make_screen_visible): Only handle visible and iconified screen
  16434.     elements for X10;  these variables are handled in event processing
  16435.     for X11.
  16436.     (x_make_screen_invisible): Send an UnmapNotify event to the root
  16437.     window to aprise the window manager of the change.
  16438.     (XTread_socket): Catch VisibilityNotify events.
  16439.  
  16440. Sun Jun 25 12:30:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16441.  
  16442.     * window.c (Fsplit_window): If horizontal, round left window size up.
  16443.  
  16444. Sat Jun 24 13:31:27 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16445.  
  16446.     * cm.h (cmplus): Improve formatting.
  16447.     Use losecursor when reach end of line, if losewrap.
  16448.  
  16449.     * cm.h: New fields to handle multi-line and multi-char motion,
  16450.     and both max and min cost for certain operations.
  16451.     * term.c (term_init): Init those fields.
  16452.  
  16453.     * term.c (clear_end_of_line_raw): Don't clear last char of last line
  16454.     if autowrap.
  16455.  
  16456.     * abbrev.c (Finsert_abbrev_table_description): Make 2nd arg optional.
  16457.  
  16458. Fri Jun 23 14:56:01 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16459.  
  16460.     * xfns.c, lisp/term/x-win.el: C routine Fscreen_color_p now lisp
  16461.     function x-color-screen-p in x-win.el.
  16462.     (x_set_cursor_color): New method:  first disallow same cursor as
  16463.     background, then if cursor not foreground, use it as cursor
  16464.     foreground.
  16465.  
  16466. Thu Jun 22 23:23:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16467.  
  16468.     * lisp.h (XPNTR): Don't define if already defined.
  16469.  
  16470. Thu Jun 22 18:08:11 1989  Joseph Arceneaux  (jla at cream-of-wheat.ai.mit.edu)
  16471.  
  16472.     * screen.c: New subrs Ficonify_screen, Fdeiconify_screen,
  16473.     Fread_mouse_position, Fset_mouse_position.
  16474.  
  16475.     * xterm.c: New functions x_deiconify_screen, x_iconify_screen.
  16476.  
  16477. Thu Jun 22 17:41:11 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16478.  
  16479.     * window.c (Fsplit_window, change_window_height):
  16480.     Enforce minimum of 2 for window_min_width and window_min_height.
  16481.  
  16482. Thu Jun 22 15:45:03 1989  Joseph Arceneaux  (jla at galapas.ai.mit.edu)
  16483.  
  16484.     * dispnew.c (unhold_window_change): Don't set and unset in_display
  16485.     before and after calling change_screen_size.
  16486.  
  16487. Wed Jun 21 00:35:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16488.  
  16489.     * buffer.c (Fkill_buffer): Ignore errors deleting auto-save file.
  16490.     Delete only if delete-auto-save-files.
  16491.  
  16492.     * data.c (Fmake_local_variable): Don't change value if unbound.
  16493.  
  16494. Tue Jun 20 15:29:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16495.  
  16496.     * screen.c (Fselect_screen): Use x_set_mouse_position instead of
  16497.     x_enter_screen.
  16498.  
  16499.     * xterm.c (x_enter_screen): Deleted, now merged with
  16500.     * xfns.c (x_set_mouse_position): If the position is negative, use
  16501.     the center screen position.
  16502.  
  16503.     * data.c (swap_in_symval_forwarding): Declared tem1.
  16504.     (Fset): Changed variable name void to voide.  Also, set it to a C
  16505.     true/false, rather than Qt or Qnil.
  16506.  
  16507. Sat Jun 17 15:45:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16508.  
  16509.     * eval.c (Fdefvar): Operate on default value if sym is buffer-local.
  16510.     (Fdefconst): Likewise.
  16511.  
  16512.     * Allow buffer-local variables to be void in one buffer
  16513.     or in the default value.
  16514.     * data.c (swap_in_symval_forwarding): New function.
  16515.     (Fboundp, Fsymbol_value): Use that.
  16516.     (default_value): New function.
  16517.     (Fdefault_value): Use that.
  16518.     (Fdefault_boundp): New function, uses that.
  16519.  
  16520. Fri Jun 16 22:21:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16521.  
  16522.     * ymakefile: New variable OLDXMENU has filename of libXMenu.a
  16523.     as a target.  Make temacs depend on it.
  16524.  
  16525. Thu Jun 15 18:47:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16526.  
  16527.     * ymakefile [HAVE_X11, HAVE_X_MENU]: Build oldXMenu.
  16528.     * xmenu.c: Get XMenu.h from sibling dir.
  16529.  
  16530.     * buffer.c (Fkill_buffer): Return t if buffer is killed.
  16531.     Delete auto-save file if any.
  16532.  
  16533. Fri Jun  9 15:42:44 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16534.  
  16535.     * window.c: initialize auto_new_screen to 0 (nil).
  16536.  
  16537.     * screen.c (make_screen): added auto_lower to the list of screen
  16538.     elements initialized.
  16539.     (make_minibuffer_screen): likewise.
  16540.  
  16541. Thu Jun  8 16:53:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16542.  
  16543.     * window.c (Fset_window_point): Don't lose if window's buffer is
  16544.     not current.
  16545.  
  16546. Thu Jun  8 15:18:30 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16547.  
  16548.     * xfns.c (Fx_open_connection): Added 9  Lisp variables
  16549.     defined    by the screen and server.
  16550.  
  16551. Thu Jun  8 12:51:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16552.  
  16553.     * m-pmax.h: New file.
  16554.  
  16555. Thu Jun  8 12:39:51 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16556.  
  16557.     * xfns.c: removed superfluous definition of gray_bits.
  16558.  
  16559. Wed Jun  7 21:57:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16560.  
  16561.     * m-hp9000s300.h: Define NEED_BSDTTY unless NOMULTIPLEJOBS.
  16562.  
  16563. Wed Jun  7 16:14:41 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16564.  
  16565.     * emacs.c (Fkill_emacs): If under X, call
  16566.     Fx_close_current_connection.  This has fixed the "bad file" bug.
  16567.     * xfns.c (Fx_close_current_connection): Added this subr which for
  16568.     the moment serves only to close the X-connection when killing emacs.
  16569.  
  16570. Wed Jun  7 13:56:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16571.  
  16572.     * m-hp9000s800.h: Define NEED_BSDTTY here.
  16573.     * s-hpux.h: Not here.
  16574.  
  16575. Tue Jun  6 19:25:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16576.  
  16577.     * s/s-hpux.h: Define NEED_BSDTTY.
  16578.  
  16579. Tue Jun  6 13:11:58 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16580.  
  16581.     * xterm.c (x_new_selected_screen): Make the new selected_screen
  16582.     and it's selected_window's screen be the same.
  16583.     (x_enter_screen): Calculate the middle of the screen, and warp the
  16584.     mouse there.  Also, raise the screen before doing so.
  16585.  
  16586. Mon Jun  5 14:54:28 1989  Joseph Arceneaux  (jla at cream-of-wheat.ai.mit.edu)
  16587.  
  16588.     * xterm.c (x_set_window_size):  If not already in DoDsp (checked
  16589.     with variable in_display) then DoDsp here.  Handles redisplay
  16590.     after screen configuration.
  16591.     (x_error_handler): Print out stuff about the error if we're in
  16592.     debug mode.
  16593.  
  16594.     * dispnew.c (change_screen_size):  No longer call DoDsp here.
  16595.  
  16596. Mon Jun  5 11:22:58 1989  Chris Hanson  (cph at kleph)
  16597.  
  16598.     * syntax.c (Fmodify_syntax_entry): Change documentation string to
  16599.     reflect earlier change to action of `p' syntax bit.
  16600.  
  16601. Sun Jun  4 17:30:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16602.  
  16603.     * lread.c (read1): Don't accept "" in middle of string.
  16604.  
  16605. Tue May 30 14:24:41 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16606.  
  16607.     * search.c (Freplace_match): If \N has nothing to insert,
  16608.     insert nothing.
  16609.  
  16610. Mon May 29 21:41:38 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
  16611.  
  16612.     * xfns.c: (Fx_create_screen): If parms is nil and
  16613.     Vx_screen_defaults isn't, then use them.
  16614.     (Fdisplay_buffer): Call Fx_create_screen with Qnil.
  16615.  
  16616. Thu May 25 16:32:10 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16617.  
  16618.     * syntax.c (scan_lists): Once within a word, treat Squote like Sword.
  16619.  
  16620. Wed May 24 16:06:27 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16621.  
  16622.     * dispnew.c (change_screen_size): DoDsp if not pretend.
  16623.  
  16624. Tue May 23 22:18:05 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16625.  
  16626.     * search.c (skip_chars): Dumb error checking for \.
  16627.  
  16628. Mon May 22 16:30:08 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16629.  
  16630.     * screen.c (Fselect_screen): Under X, basically just warp the
  16631.     cursor into the desired screen.  The event handler will then do
  16632.     the right thing.
  16633.     (Frestore_screen_configuration): Don't set the mouse position.
  16634.  
  16635.     * window.c (Fselect_window):  If window's screen is not selected,
  16636.     call Fselecte_screen.
  16637.     (Fdisplay_buffer): Call Fx_create_screen with x-screen-parameters
  16638.     as argument instead of nil.
  16639.  
  16640.     * keyboard.c (clear_waiting_for_input): Don't call
  16641.     x_new_selected_screen here.
  16642.  
  16643.     * xterm.c (XTread_socket): Add case slots for CirculateNotify and
  16644.     CirculateRequest events.
  16645.  
  16646. Sun May 21 15:51:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16647.  
  16648.     * doc.c (Fsubstitute_command_keys): Evaluate \\<...> keymap 
  16649.     in proper buffer.
  16650.  
  16651.     * keymap.c (Fapropos_internal): New Lisp function, old apropos
  16652.     but only returns a list.
  16653.  
  16654. Sat May 20 22:05:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16655.  
  16656.     * process.c (Fopen_network_stream): Don't set kill-without-query.
  16657.  
  16658. Fri May 19 16:54:04 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16659.  
  16660.     * xterm.c (x_new_selected_screen):  This now takes a struct screen
  16661.     pointer as paramter.
  16662.     * (XTread_socket): call x_new_selected_screen *before* dumpborder.
  16663.  
  16664. Tue May 16 17:01:02 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16665.  
  16666.     * xfns.c: (x_window_to_scrollbar): If the caller's not interested
  16667.     in the names--passing 0 for last two parameters--just return the
  16668.     screen pointer.
  16669.  
  16670.     * xterm.c (x_enter_screen):  Added this function for warping the
  16671.     pointer into a screen.
  16672.  
  16673. Tue May 16 16:23:22 1989  Chris Hanson  (cph at kleph)
  16674.  
  16675.     * syntax.c (scan_lists, scan_sexps_forward): Treat characters
  16676.     whose "prefix" bit is on as whitespace when they are encountered
  16677.     between expressions.  When they occur within expressions they are
  16678.     treated according to their syntax code.
  16679.  
  16680. Tue May 16 15:20:03 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16681.  
  16682.     * xterm.c: (x_new_selected_screen): Don't call Fselect_screen.
  16683.     Just do everything here.
  16684.  
  16685.     * window.c (Fselect_window): If the screen associated with the
  16686.     window is not selected, warp the mouse, cause an EnterNotify event
  16687.     which then causes the proper screen to become selected.  This does
  16688.     *not* call Fselect_screen.
  16689.  
  16690.     * screen.c (Fselect_screen):  Now this is *only* a lisp subr.  It
  16691.     just calls Fselect_window on the selected window of the screen.
  16692.  
  16693. Mon May 15 21:42:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16694.  
  16695.     * editfns.c (Fsubst_char_in_region): If NOUNDO, do increment tick,
  16696.     but maybe also increment save-tick.
  16697.  
  16698. Mon May 15 14:59:31 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16699.  
  16700.     * xterm.c (x_set_window_size): Only one #ifdef HAVE_X11 due to new
  16701.     macro in:
  16702.     * xterm.h: New macro XChangeWindowSize for both X10 and X11.
  16703.  
  16704.     * xfns.c (Fx_create_screen):  Use XCreateWindow instead of
  16705.     XCreateSimpleWindow to directly set some extra attributes.
  16706.  
  16707. Sun May 14 18:31:18 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16708.  
  16709.     * syntax.h (SYNTAX_PREFIX): New macro.
  16710.     * syntax.c (Fmodify_syntax_table): Handle `p'; set new flag.
  16711.     (describe_syntax): Describe new flag.
  16712.     (Fbackward_prefix_chars): Move back over such chars.
  16713.  
  16714.     * lread.c (read1): Dumb errors in last change.
  16715.  
  16716. Sat May 13 14:19:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16717.  
  16718.     * lread.c (read1): Error if EOF after `?' or in string.
  16719.  
  16720.     * sysdep.c (init_sys_modes) [IBMRTAIX]: Typo; had s for sg.
  16721.  
  16722. Fri May 12 17:56:48 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16723.  
  16724.     * s/s-usg5-3.h: Define HAVE_SYSVIPC?
  16725.  
  16726.     * alloc.c (Fmake_byte_code): If purifying, purecopy all elements.
  16727.  
  16728.     * ymakefile (LIBXMENU): Use -loldX.
  16729.     Find libXMenu11.a in special place.
  16730.  
  16731. Fri May 12 11:43:16 1989  Joseph Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16732.  
  16733.     * xfns.c (Fx_create_screen):  If user has specified
  16734.     `x-iconic-startup' then start emacs in iconic form.
  16735.     Look for icon position in `icon-left' and `icon-top', or use
  16736.     window postion.
  16737.  
  16738.     * xterm.c (x_term_init):  If server doesn't respond, use fatal
  16739.     instead of error.  Also tell user about -d option.
  16740.  
  16741. Wed May 10 16:37:45 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16742.  
  16743.     * sysdep.c (init_sys_modes, reset_sys_modes):
  16744.     Handle TIOCGLTC even if HAVE_TERMIO.
  16745.  
  16746.     * print.c (Qprint_escape_newlines): New variable.
  16747.     * minibuf.c (read_minibuf): Make it t locally in minibuffers.
  16748.  
  16749.     * fileio.c (Fcopy_file): Check for error on close.
  16750.  
  16751. Wed May 10 14:33:53 1989  Joseph Arceneaux  (jla at corn-chex.ai.mit.edu)
  16752.  
  16753.     * xfns.c (adjust_scrollbars):  Don't subtract 2 from
  16754.     h_scrollbar_height when calculating `length'.
  16755.  
  16756. Mon May  8 17:48:21 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16757.  
  16758.     * eval.c (call_debugger): Set entering_debugger.
  16759.     (find_handler_cause): Don't enter debugger if that's set.
  16760.     (Fbacktrace): Clear it; we are presumably in the debugger.
  16761.  
  16762.     * m/m-sps7.h: New file.
  16763.  
  16764. Mon May  8 17:37:55 1989  Joseph Arceneaux  (jla at rice-chex.ai.mit.edu)
  16765.  
  16766.     * xterm.c (XTread_socket_hook): For X11, on map and unmap events
  16767.     check the window manager hints for iconification status.
  16768.  
  16769.     * xterm.c (x_make_widow_icon):  For X11, just request
  16770.     iconification of the window manager.
  16771.  
  16772. Mon May  8 16:09:54 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16773.  
  16774.     * m/m-clipper.h: New file.
  16775.  
  16776. Sun May  7 16:35:33 1989  Joseph Arceneaux  (jla at corn-chex.ai.mit.edu)
  16777.  
  16778.     * xfns.c (adjust_scrollbars):  Don't subtract 2 from
  16779.     v_scrollbar_width when calculating `height'.
  16780.  
  16781.     * xfns.c (x_set_foreground, x_set_border_pixel):  Finished color
  16782.     coordination.  Scrollbar border, thump-arrows, and slider pixmap
  16783.     linked with foreground color;  slider border with window border.
  16784.  
  16785. Sun May  7 14:41:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16786.  
  16787.     * lread.c (read1): Handle octal integers.
  16788.  
  16789.     * macros.c: Doc fix.
  16790.  
  16791.     * search.c (Fstore_match_data): Allow ints instead of markers.
  16792.  
  16793.     * keyboard.c (get_char_menu_prompt): New function; does menu prompting
  16794.     based on current keymaps.
  16795.  
  16796. Fri May  5 23:50:39 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
  16797.  
  16798.     * xfns.c (Fx_set_face):  Rewrote the doc-string and renamed the
  16799.     parameters.
  16800.  
  16801. Fri May  5 17:13:20 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16802.  
  16803.     * unexec.c: New control parameters COFF_BSD_SYMBOLS, KEEP_OLD_PADDR,
  16804.     KEEP_OLD_TEXT_SCNPTR, ADJUST_TEXT_SCNHDR_SIZE, ADJUST_TEXTBASE,
  16805.     HEADER_INCL_IN_TEXT.
  16806.  
  16807.     * unexec.c: Define IN_UNEXEC as flag for config.h.
  16808.  
  16809.     * keymap.c: Fapropos, etc., deleted.  (Now in Lisp code.)
  16810.  
  16811.     * eval.c (Fcommandp): Byte code object is command if interactive slot
  16812.     exists at all.
  16813.  
  16814. Fri May  5 15:46:50 1989  Chris Hanson  (cph at kleph)
  16815.  
  16816.     * process.c [HPUX && !NOMULTIPLEJOBS]: Include <bsdtty.h>, which
  16817.     defines TIOCGPGRP.
  16818.  
  16819. Fri May  5 00:36:33 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16820.  
  16821.     * data.c (Faref, Farray_length): Handle byte-code objects.
  16822.     * fns.c (Flength, concat): Likewise.
  16823.  
  16824.     * data.c (Faref, Faset, Farray_length): Rename arg VECTOR to ARRAY.
  16825.  
  16826.     * m/m-hp9000s300.h: Undefine NOMULTIPLEJOBS.
  16827.  
  16828.     * keyboard.c (Fcommand_execute): Treat bytecode object as function.
  16829.  
  16830.     * callint.c (Fcall_interactively): Separate decoding of fcn
  16831.     from handling of it.
  16832.  
  16833.     * alloc.c (Fmake_byte_code): Renamed from Fmake_compiled_code.
  16834.     Make it pure if Vpurify_flag is non-nil.
  16835.     (Fpurecopy): Handle byte-code objects.
  16836.  
  16837.     * keyboard.c (get_char): Use Fsit_for for echoing timeout, not alarm.
  16838.     Do this before timeout for auto-save since the latter is longer.
  16839.     (request_echo): Function deleted.
  16840.     ({set,clear}_waiting_for_input): No need for echo_now, echo_flag.
  16841.  
  16842. Thu May  4 10:44:12 1989  Joseph Arceneaux  (jla at gracilis.ai.mit.edu)
  16843.  
  16844.     * xterm.c (x_lower_window, x_raise_window): Don't do anything if
  16845.     the window isn't visible.
  16846.  
  16847.     * xfns.c (x_set_foreground_color): Recolor the scrollbar windows
  16848.     appropriately, compatible with xterm.
  16849.  
  16850.     * xterm.c (x_reset_cursor): Do cursor recoloring.
  16851.  
  16852. Thu May  4 02:07:55 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16853.  
  16854.     * fns.c (Frandom): With number as arg, return value < that number.
  16855.  
  16856.     * sysdep.c [USG, BSD4_1] (random): Call `rand' twice, to get
  16857.     30 bits of significance.
  16858.  
  16859. Wed May  3 19:51:46 1989  Joe Arceneaux  (jla at gracilis.ai.mit.edu)
  16860.  
  16861.     * xterm.c (x_draw_box):  Use the cursor_gc.
  16862.     * xfns.c: (x_set_cursor_color, x_create_screen): Do a better job
  16863.     with cursor colors, and use 0 line width for the cursor_gc.
  16864.  
  16865. Tue May  2 16:34:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16866.  
  16867.     * Begin changing representation of compiled functions.
  16868.     * lisp.h (enum Lisp_Type): New type code Lisp_Compiled, like a vector.
  16869.     (COMPILED_*): Names for slots in those vectors.
  16870.     * alloc.c (Fmake_compiled_code): New function.
  16871.     * eval.c (Fcommandp, Feval, Ffuncall, funcall_lambda):
  16872.     Handle fcns of type Lisp_Compiled.
  16873.     (Fcommandp, Fapply): Avoid directly nested ifs.
  16874.     * print.c (print): Handle Lisp_Compiled objects.
  16875.     * callint.c (Fcall_interactively): likewise.
  16876.     * doc.c (Fdocumentation): likewise.
  16877.  
  16878.     * keyboard.c (Fopen_dribble_file): nil as arg means close it.
  16879.  
  16880.     * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c:
  16881.     * casefiddle.c, cmds.c, data.c, dired.c, dispnew.c, doc.c, editfns.c:
  16882.     * eval.c, fileio.c, filelock.c, floatfns.c, fns.c, keyboard.c:
  16883.     * keymap.c, lread.c, minibuf.c, mocklisp.c, print.c, process.c:
  16884.     * screen.c, search.c, syntax.c, undo.c, vmsfns.c:
  16885.     Many doc fixes.
  16886.  
  16887. Sun Apr 30 14:07:11 1989  Joseph Arceneaux  (jla at hobbes)
  16888.  
  16889.     * xterm.c (XTring_bell): Wasn't passing selected_screen to XTflash.
  16890.     Fixed this.
  16891.  
  16892.     * xterm.c (XTread_socket): Don't check if server died under
  16893.     X11.  Temporary.
  16894.  
  16895. Sun Apr 30 14:22:01 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16896.  
  16897.     * window.c (Fdelete_other_windows): Bug getting top edge.
  16898.  
  16899. Sat Apr 29 17:18:44 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16900.  
  16901.     * keyboard.c (get_char): Auto save if enough time elapses.
  16902.     (auto_save_timeout): New Lisp variable.
  16903.  
  16904.     * xdisp.c (try_window, try_window_id): Set w->redo_mode_line
  16905.     if should show percentage instead of `Bot'.
  16906.  
  16907. Sat Apr 29 16:32:03 1989  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  16908.  
  16909.     * xterm.c (x_term_init): Don't set visible bell, as it pre-empts
  16910.     .emacs control.
  16911.  
  16912. Wed Apr 26 22:50:22 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16913.  
  16914.     * doc.c (syms_of_doc): Make Vdoc_file_name a Lisp variable
  16915.     named internal-doc-file-name.
  16916.  
  16917. Tue Apr 25 22:04:02 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16918.  
  16919.     * m-news.h: m-news800.h renamed.
  16920.     Removed EXPLICIT_SIGN_EXTEND and COMPILER_REGISTER_BUG.
  16921.     Removed SEGMENT_MASK and sigmask.
  16922.     LOAD_AVE_TYPE is now `double'; LOAD_AVE_CVT changed too.
  16923.     Define m68000 if not defined.
  16924.  
  16925. Mon Apr 24 01:48:07 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16926.  
  16927.     * ymakefile: If COFF_ENCAPSULATE, define LD as gcc -nostdlib.
  16928.  
  16929.     * sysdep.c: Unconditionally include sys/ioctl.h.
  16930.  
  16931.     * m/m-mips.h [USG]: Define LIBS_TERMCAP.
  16932.     If HAVE_X11, define HAVE_VFORK.
  16933.  
  16934. Sun Apr 23 00:47:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16935.  
  16936.     * m/m-altos.h: Use termcap, not terminfo.
  16937.     Define COFF_ENCAPSULATE if using gcc.
  16938.     Use built-in alloca if using gcc.
  16939.     Define PURESIZE.
  16940.  
  16941.     * lread.c (absolute_filename_p): On ALTOS, @ means absolute.
  16942.  
  16943.     * process.c: Missing #endif.
  16944.     * fileio.c (Finsert_file_contents): Define `p' for last change.
  16945.     * buffer.c, floatfns.c: Typos in DEFUN doc strings.
  16946.     * keyboard.c: Typo in DEFVAR_LISP doc string.
  16947.  
  16948.     * window.c (Fdelete_other_windows): Fix confusion about type of W.
  16949.  
  16950. Sat Apr 22 19:35:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  16951.  
  16952.     * ymakefile (LDFLAGS): Forgot to use LD_SWITCH_SITE.
  16953.  
  16954.     * xterm.c (XTflash): Draw the bars here.
  16955.     (x_invert_screen): Change to invert entire window.
  16956.     (stufflines): Changed args to XClearArea.
  16957.     (XTread_socket): Clean up handling of KeyPress events.
  16958.     For LeaveWindow, ignore uninteresting ones and handle autolower.
  16959.     For FocusIn, ignore if unknown window, and handle autoraise.
  16960.     For MotionNotify, add real handling for X11.
  16961.     For ConfigureNotify, count width of scroll bars.
  16962.     Don't call change_screen_size redundantly; ignore linked expose events.
  16963.     Update left and top pos if nec.
  16964.     For button events, ignore if not in known window or scrollbar.
  16965.     (x_new_selected_screen): Takes screen as arg.
  16966.     (x_error_handler): Arg type different for X11.
  16967.     (x_set_window_size) [HAVE_X11]: Call change_screen_size
  16968.     before x_wm_set_size_hint.
  16969.     (x_make_window_visible): Make scroll bars visible too, if any.
  16970.     (x_lower_window): New fn.
  16971.     (x_wm_set_size_hint): Take account of width of scroll bars.
  16972.     Ior specified hint flags with those already set.
  16973.  
  16974.     * xterm.h (HSCROLL_HEIGHT): HSCROLL_WIDTH is renamed.
  16975.     (MAXWIDTH): Increased to 300.
  16976.     (MAXHEIGHT): Increased to 100.
  16977.     (DISPLAY_SCREEN_ARG): Remove parentheses.
  16978.     (ButtonReleased, WhichMouseButton): Delete definitions.
  16979.  
  16980.     * xmenu.c: Adapted to new X interface.  X11ONLY replaced with xDISPLAY.
  16981.     Many X11 conditionals removed.
  16982.  
  16983.     * xfns.c (x_set_cursor_color): Special case if matches foreground.
  16984.     (Fx_create_screen): Typo for HSCROLL_HEIGHT.
  16985.     Use BLACK_PIX_DEFAULT, WHITE_PIX_DEFAULT.
  16986.     Set PRETEND arg to change_screen_size.
  16987.     Delete gray_bits; this value made global.
  16988.     Don't call install_*_scrollbar here.
  16989.     (x_set_horizontal_scrollbar): Define this for real.
  16990.     (x_set_vertical_scrollbar): Corrent args to install_vertical_scrollbar.
  16991.     (install_vertical_scrollbar): New local slider_pixmap, and set it.
  16992.     Delete locals GC_values, temp_gc.
  16993.     Change arrow_width, arrow_height (appears to be undefined) to 16.
  16994.     Un-if-0 this code.
  16995.     Use border_pixel, not foreground_pixel, for scrollbar.
  16996.     (install_horizontal_scrollbar): Define this for real.
  16997.     (adjust_scrollbars): Handle horizontal scrollbar.
  16998.     Define XMoveResizeWindow as XConfigureWindow if X10 to simplify.
  16999.     (x_resize_scrollbars): Remove #if 0 from quick-exit case.
  17000.     Really handle horizontal scrollbar.
  17001.     Simplify using new macro.
  17002.     (Fx_get_mouse_event): Mostly ignore events other than buttons.
  17003.     Use many new macros to handle X10 and X11.
  17004.     (encode_mouse_button): New fn: encoding of which button, broken out.
  17005.  
  17006.     * xfns.c (left_arror_cursor, etc.): New vars.
  17007.     (x_screen_parm, init_x_parm_symbols, x_set_screen_param):
  17008.     Define X_PARM_AUTOLOWER.
  17009.  
  17010.     * xdisp.c (display_string, redisplay-window, DoDsp):
  17011.     Use SCREEN_WIDTH, SCREEN_HEIGHT.
  17012.  
  17013. Fri Apr 21 00:50:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17014.  
  17015.     * indent.c (compute_motion): Use SCREEN_WIDTH.
  17016.     * dispnew.c (update_line): Use SCREEN_WIDTH.
  17017.     (update_screen): Use SCREEN_HEIGHT.
  17018.  
  17019. Thu Apr 20 15:48:07 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17020.  
  17021.     * window.c: rename Vauto_new_screen_hook, Vdisplay_buffer_hook, and
  17022.     Vtemp_buffer_show_hook to ..._function.
  17023.  
  17024.     * keyboard.c: rename mouse_hook to mouse_event_function.
  17025.  
  17026.     * buffer.c, buffer.h, cmds.c: blink-paren-hook and auto-fill-hook
  17027.     renamed to -function.
  17028.  
  17029.     * fileio.c (Finsert_file_contents): Allow quit in read.
  17030.     (Fwrite_region): Allow quit in write.
  17031.  
  17032. Wed Apr 19 13:07:25 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17033.  
  17034.     * doprnt.c (doprnt): Comment out %b since sprintf can't do it.
  17035.  
  17036.     * Change X11 to HAVE_X11 everywhere.
  17037.  
  17038.     * m-sun3.h: Define C_SWITCH_MACHINE as -fsoft.
  17039.  
  17040. Tue Apr 18 00:18:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17041.  
  17042.     * process.c: Don't define wstopsig, wtersig if already defined.
  17043.  
  17044.     * sysdep.c [VMS] (sys_getenv): Copy the string before returning it.
  17045.  
  17046.     * m-alliant.h: Define `vector'.
  17047.  
  17048. Thu Apr 13 12:55:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17049.  
  17050.     * process.c (wait_reading_process_input) [sun]: If SIGIO failed
  17051.     to be sent, send it by hand.
  17052.  
  17053. Wed Apr 12 01:42:23 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17054.  
  17055.     * window.c (Fdelete_other_windows): recenter window to avoid scrolling.
  17056.  
  17057. Tue Apr 11 00:18:10 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17058.  
  17059.     * indent.c: Include screen.h.
  17060.  
  17061.     * indent.c (pos_tab_offset, Fvertical_motion): Compute internal width
  17062.     correctly and uniformly.
  17063.  
  17064.     * xdisp.c (try_window, try_window_id): Use exact internal width
  17065.     to update tab_offset.
  17066.     (try_window_id): pos_tab_offset value needs adjustment only if
  17067.     starting a line in middle of a character.
  17068.  
  17069. Sat Apr  8 16:38:40 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17070.  
  17071.     * sysdep.c [USG]: If TIOCGWINSZ defined, include sioctl.h.
  17072.  
  17073. Thu Apr  6 11:52:43 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17074.  
  17075.     * eval.c (Fbacktrace): Set Vprint_level to 3 throughout.
  17076.  
  17077.     * fns.c (Fload_average): nlist data structure is funny on convex.
  17078.  
  17079.     * window.c (scroll_command): scroll at least 1 line in specd direction.
  17080.  
  17081.     * cm.c (calccost): NTABS was off by 1 sometimes; take account of
  17082.     the starting position modulo 8.
  17083.  
  17084.     * fileio.c (Fexpand_file_name): Don't simplify /../ at start of name.
  17085.  
  17086.     * callint.c: doc fixes.
  17087.  
  17088.     * process.c (create_process):
  17089.     On all USG systems, not just IRIS and AIX, don't pre-open pty's tty.
  17090.     Move the setpgrp done for USG (no real change).
  17091.     Tell child_setup to do a setpgrp.
  17092.     * callproc.c (child_setup): New arg says whether to setpgrp.
  17093.     Never setpgrp on USG.
  17094.     (Fcall_process): Tell child_setup not to setpgrp.
  17095.  
  17096.     * sysdep.c (init_sys_modes, reset_sys_modes): Don't try to hack
  17097.     TIOCGLTC, TIOCGETC, etc. if HAVE_TERMIO.
  17098.     Don't bother to undef these for XENIX.
  17099.  
  17100. Mon Apr  3 17:43:28 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17101.  
  17102.     * ymakefile (LIBES): Put LIBX first; it may depend on LIBS_MACHINE.
  17103.  
  17104.     * m-sequent.h: Define HAVE_ALLOCA.
  17105.  
  17106. Sun Apr  2 12:03:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17107.  
  17108.     * term.c (term_init): Can't use scroll region if no abs positioning.
  17109.  
  17110. Sat Apr  1 00:51:52 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17111.  
  17112.     * process.c (Fopen_network_stream): close desc. if connect fails.
  17113.  
  17114. Fri Mar 31 17:49:53 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17115.  
  17116.     * minibuf.c (Fall_completions): gcprotect ALLMATCHES and TAIL,
  17117.     not STRING.
  17118.  
  17119.     * keyboard.c (read_avail_input): Handle EBADSLT like EAGAIN.
  17120.  
  17121. Wed Mar 29 09:13:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17122.  
  17123.     * term.c (term_init): Either ic or ip or im or IC => can insert chars.
  17124.  
  17125.     * minibuf.c (read_minibuf_unwind): Ensure minibuf writable for erasure.
  17126.  
  17127. Thu Feb 23 07:03:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17128.  
  17129.     * m-convex.h: Undefine NO_ARG_ARRAY.
  17130.     Changed defns of DATA_SEG_BITS and XINT.
  17131.     Define alloca for GCC compilation.
  17132.  
  17133. Fri Feb 17 01:47:30 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17134.  
  17135.     * m-ibmrt-aix.h: Define BROKEN_FIONREAD.
  17136.  
  17137. Thu Feb 16 03:23:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17138.  
  17139.     * keymap.c (Fdefine_prefix_command): Set both value and fn defn,
  17140.     with separate syms specified for each purpose.
  17141.  
  17142. Wed Feb 15 22:34:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17143.  
  17144.     * callproc.c (Fcall_process): Open /dev/null with O_WRONLY.
  17145.  
  17146. Tue Feb 14 11:48:44 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17147.  
  17148.     * window.c (window_scroll): Allow scrolling to very end (empty screen)
  17149.     if that's exactly where we wanted to scroll to.
  17150.  
  17151. Sat Feb 11 01:14:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17152.  
  17153.     * data.c (Fkill_local_variable): New local to simplify big stmt.
  17154.  
  17155. Thu Feb  9 06:37:24 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17156.  
  17157.     * xdisp.c (display_text_line): cvt chars to glyfs for overlay arrow.
  17158.  
  17159.     * sysdep.c (init_sys_modes, child_setup_tty) [IBMRTAIX]:
  17160.     Don't ignore BRK, and don't signal it.
  17161.  
  17162.     * process.c (pty): An IBMRTAIX conditional.
  17163.     (create_process): Another here.
  17164.  
  17165. Wed Feb  8 13:24:39 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17166.  
  17167.     * keymap.c (Fdefine_prefix_command): Use Ffset, not Fset.
  17168.  
  17169. Mon Feb  6 12:58:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17170.  
  17171.     * fileio.c (Fset_visited_file_modtime): New fn.
  17172.  
  17173.     * xfns.c (Fx_create_screen) [X10]: XCreateWindow wants pixmaps as args.
  17174.  
  17175. Fri Feb  3 01:16:49 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17176.  
  17177.     * dispnew.c (Fsit_for): It accepts 3 args.
  17178.  
  17179. Thu Feb  2 23:07:43 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17180.  
  17181.     * xterm.c (XTread_socket): For X10, make EVENT an XKeyPressedEvent.
  17182.     (x_set_resize_hint): Call XSetResizeHint.
  17183.  
  17184.     * process.c: Declare interrupt_input.
  17185.  
  17186.     * sysdep.c (init_sys_modes): TIOCSTART, not TCSTART.
  17187.  
  17188. Sat Jan 28 15:39:03 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17189.  
  17190.     * xterm.h (struct x_display): `GC' renamed `gc' in all field names.
  17191.     Field `ColorMap' renamed to `color_map'.
  17192.     (face_gc_values): face_GC_values renamed.
  17193.  
  17194. Sat Jan 28 15:39:03 1989  Joe Arceneaux  (rms at sugar-bombs.ai.mit.edu)
  17195.  
  17196.     * xterm.h (face_GC): Var deleted.
  17197.     (struct x_display): New field face_GC.
  17198.     (VSCROLL_WIDTH, HSCROLL_WIDTH): Moved here.
  17199.     (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): New vars.  Eliminate them!
  17200.     (BLACK_PIX_DEFAULT): Typo in definition.
  17201.     (WHITE_PIX_DEFAULT): Typos in definitions; was the black default.
  17202.  
  17203.     * xterm.c: Include ioctl.h only if BSD.
  17204.     Include termio.h otherwise.
  17205.     (XMapWindow) [X11]: Typo in definition.
  17206.     (METABIT): New definition; maybe not needed.
  17207.     (hostname, id_name, invocation_name, Vcommand_line_args): New vars
  17208.     declared for main icon title.
  17209.     (x_debug): Init to 1 if XDEBUG defined.
  17210.     (dumpglyfs) [X11]: Changed args to XDrawImageString.
  17211.     If debugging, do XFlushQueue.
  17212.     Use screen's face_gc rather than old global one.
  17213.     (XTflash) [not BSD]: avoid `struct itimerval'; use `alarm'.
  17214.     (events): New table of event type names.
  17215.     (XTread_socket): EVENT is now an XEvent even on x10.
  17216.     Translate modifier key 1 into meta-bit.
  17217.     For EnterNotify event, don't dumpborder or x_new_selected_screen
  17218.     if there is an x_focus_screen.
  17219.     For LeaveNotify event, don't ignore due to nonzero subwindow.
  17220.     For ConfigureNotify, change screen size.
  17221.     Do `select' check for SIGHUP only if HAVE_SELECT.
  17222.     (x_new_selected_screen): An arg, SCREEN.
  17223.     (x_display_cursor): dumpglyfs args changed.
  17224.     (x_draw_box): Add GC arg to XDrawRectangle; change other args.
  17225.     (clear_cursor): Change args to XClearArea.
  17226.     (dumpborder): check x_input_screen, not selected_screen.
  17227.     (x_text_icon): For X11, new arg to XGetDefault.
  17228.     Cast values stored in icon_label.
  17229.     (x_term_init): Hair to calculate name for icon.
  17230.     Don't init_sigio unless SIGIO defined.
  17231.     Call Fset_input_mode.
  17232.     For X11, new arg to XGetDefault.
  17233.     Set _Xdebug if debugging.
  17234.     (x_new_font) Use XGetFont.
  17235.     Get GC values from the screen structure.
  17236.     (x_reset_cursor): Don't call XRecolorCursor.
  17237.     (x_set_window_size): Call x_wm_set_size_hint, not x_set_size_hint.
  17238.     (x_set_resize_hint): For X11, call x_wm_set_size_hint.
  17239.     (x_wm_set_size_hint, x_wm_set_window_state, x_wm_set_icon_pixmap):
  17240.     (x_wm_set_icon_position): New fns for X11.
  17241.  
  17242.     * xfns.c: For X11, include Xutil.h
  17243.     (VSCROLL_WIDTH): Moved to xterm.h.
  17244.     (face_GC): Don't declare it.
  17245.     (id_name): Declare this.
  17246.     (x_decode_color): Check `white' and `black' first of all.
  17247.     (x_set_foreground_color) [X11]: Reset foreground and background.
  17248.     (x_set_background_color) [X11]: Missing arg to XSetWindowBackground.
  17249.     (x_set_cursor_color) [X11]: Reset foreground and background.
  17250.     (x_read_mouse_position) [X11]: Changed call to XQueryPointer.
  17251.     (x_set_mouse_position) [X11]: Add args to XWarpPointer.
  17252.     (Fx_create_screen): Set some temporary geometry parms at the beginning.
  17253.     For X11, changed setup of iconidentity, and implement rubber-banding.
  17254.     For X11, implement merging individual geometry parms.
  17255.     For X11, changed args to XCreateSimpleWindow.
  17256.     For X11, call x_wm_set_size_hint.
  17257.     Specify name when creating icon.
  17258.     Don't call XSetForeground, XSetBackground before making border tile.
  17259.     New var `cursor_bits'.  Init the screen's GC's.
  17260.  
  17261.     * screen.c (Frubber_band_rectangle): For X11, just return nil.
  17262.  
  17263. Tue Jan 24 01:59:31 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17264.  
  17265.     * buffer.c (Fbuffer_modified_tick): New fn.
  17266.  
  17267.     * window.c (Fnext_window): Accept 3 args from Lisp.
  17268.  
  17269. Mon Jan 23 16:39:36 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17270.  
  17271.     * sysdep.c (sys_suspend): Handle case of SIGTSTP but not BSD.
  17272.  
  17273. Fri Jan 20 14:26:12 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17274.  
  17275.     * sysdep.c (init_sys_modes): Do TIOCSTART if def, like TCXONC.
  17276.  
  17277. Thu Jan 19 03:04:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17278.  
  17279.     * process.c (wait_reading_process_input): New 2nd arg is extra usecs.
  17280.     All callers changed.
  17281.     * dispnew.c (Fsit_for, Fsleep_for): New 2nd arg says 1st arg
  17282.     counts in milliseconds.
  17283.  
  17284.     * buffer.c (Fkill_all_local_variables): Implement permanent locals.
  17285.  
  17286. Wed Jan 18 14:08:35 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17287.  
  17288.     * keymap.c (get_keyelt): Allow indirection within (STRING . DEFN).
  17289.  
  17290. Mon Jan 16 17:26:08 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17291.  
  17292.     * process.c (wait_reading_process_input): If select returns there
  17293.     is kbd input, but detect_input_pending can't find it, signal SIGIO.
  17294.     This may avoid the X loop-on-logout bug.
  17295.  
  17296.     * process.c (wait_reading_process_input): Flush fix_screen_hook.
  17297.     * termhooks.h, term.c: likewise.
  17298.  
  17299.     * xdisp.c (Fredraw_display): Don't do set_terminal_modes.
  17300.     * dispnew.c (Fredraw_screen): likewise.
  17301.  
  17302.     * eval.c (Fcond): If no args, return nil.
  17303.  
  17304. Sun Jan 15 15:41:13 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17305.  
  17306.     * eval.c (Fbacktrace_frame): Require one arg.  Return nil if too high.
  17307.  
  17308. Sat Jan 14 17:50:56 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17309.  
  17310.     * minibuf.c (read_minibuf): Set Vminibuf_scroll_window before
  17311.     switching windows.
  17312.  
  17313.     * xterm.c (XTread_socket): If no HAVE_SELECT, wait for input
  17314.     if new arg WAITP is non0.  Do this by not bothering to test for
  17315.     presence of input before reading some.
  17316.     Check for dead connection only if new arg EXPECTED is nonzero.
  17317.     All callers changed (keyboard and sysdep).
  17318.  
  17319.     * Simplify keyboard input.
  17320.     * keyboard.c (read_avail_input): Don't assume buffer is empty.
  17321.     Don't call get_input_pending; do FIONREAD here.
  17322.     Don't do FIONREAD if read_socket_hook, just tell it don't wait.
  17323.     Arg EXPECTED is passed to read_socket_hook.
  17324.     (input_available_signal): Use read_avail_input.
  17325.     (gobble_input): Use read_avail_input; arg EXPECTED passed along.
  17326.     (get_input_pending): let gobble_input do the work.
  17327.  
  17328.     * VMS keyboard input should have interrupt_input nonzero.
  17329.     * keyboard.c (Fset_input_mode, init_keyboard): [VMS] Always set
  17330.     interrupt_input to 1.
  17331.     (get_input_pending): Special case deleted.
  17332.  
  17333. Fri Jan 13 01:21:00 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17334.  
  17335.     * fileio.c (auto_save_1): Always make auto-save file owner-writable.
  17336.  
  17337.     * eval.c (Fbacktrace_frame): New fn.
  17338.  
  17339.     * buffer.h: Define `fieldlist' field in a buffer.
  17340.     * buffer.c (Fregion_fields): Return list of fields overlapping
  17341.     specified region.
  17342.     (syms_of_buffer): New variable buffer-field-list.
  17343.     (reset_buffer): Clear the fieldlist.
  17344.     (init_buffer_once): Set up default and flag for buffer-field-list.
  17345.     * insdel.c (prepare_to_modify_buffer): If check_protected_fields,
  17346.     call Fregion_fields to detect error.
  17347.     Delete buffer_modify_hook.
  17348.  
  17349.     * callint.c (Fcall_interactively): Bind `command-debug-status'
  17350.     for each interactive command.
  17351.  
  17352.     * keyboard.c (command_loop_1): Count # commands read.
  17353.     (num_input_keys): New Lisp variable.
  17354.  
  17355.     * m/m-gould.h, m/m-ibmrt-aix.h, m/m-sequent.h, m/m-sparc.h,
  17356.     m/m-sun3.h, m/m-symmetry.h: Define A_TEXT_SEEK.
  17357.     * unexec.c (copy_text_and_data): Don't check A_TEXT_OFFSET,
  17358.     just A_TEXT_SEEK.
  17359.     * unexconvex.c: Likewise.
  17360.  
  17361.     * unexconvex.c: machine/*.h unconditionally.
  17362.  
  17363.     * process.c (pty): Delete RTU, HPUX, IRIS alternatives to
  17364.     PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF.
  17365.     * s/s-hpux.h: Define PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF.
  17366.     * s/s-rtu.h: Likewise.
  17367.     * s/s-iris*.h: Define PTY_TTY_NAME_SPRINTF.
  17368.  
  17369.     * sunfns.c (Fsun_change_cursor_icon): Avoid ambiguity in eval order.
  17370.  
  17371. Thu Jan 12 18:28:29 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17372.  
  17373.     * data.c (Fdefault_value): If var set up with default value as current,
  17374.     take the current value slot, more up to date than the default slot.
  17375.  
  17376. Wed Jan 11 15:22:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17377.  
  17378.     * dispnew.c (init_display): don't handle SIGWINCH if using X.
  17379.  
  17380.     * fileio.c (Fdo_auto_save): If file has shrunk, turn off auto-save.
  17381.     This avoids duplicate messages and allows M-x auto-save to turn it on.
  17382.  
  17383.     * lread.c (Fload): Look in Vafter_load_alist.
  17384.     (syms_of_load): Define after-load-alist.
  17385.  
  17386. Sat Jan  7 01:43:47 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17387.  
  17388.     * dired.c (Fdirectory_files): 4th arg NOSORT non-nil means don't sort.
  17389.  
  17390.     * syntax.c (scan_lists): Change Sendcomment case so that
  17391.     ignoring comments works even for newline-terminated comments.
  17392.  
  17393.     * minibuf.c (read_minibuf): Default Vminibuf_scroll_window
  17394.     to the window that was selected.
  17395.  
  17396. Fri Jan  6 02:51:46 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17397.  
  17398.     * fns.c (do_yes_or_no_p): Typo, call2 => call1.
  17399.  
  17400.     * eval.c (Fbacktrace): Each frame item should have a newline.
  17401.  
  17402.     * emacs.c (Fkill_emacs): Don't run hook if noninteractive.
  17403.  
  17404.     * eval.c: Define Vrun_hooks.
  17405.     (syms_of_eval): Initialize Vrun_hooks.
  17406.  
  17407.     * indent.c (Fmove_to_column): Use del_range; Fdelete_backward non ex.
  17408.  
  17409.     * ymakefile (objs, floatfns.o): Re-add this file.
  17410.     (LIBX): Install X11 case.
  17411.  
  17412.     * ymakefile (LIB_GCC): Now a cpp macro, like all other LIB_...
  17413.     Define null if not using GCC.
  17414.  
  17415.     * lread.c (unreadchar): New function to unread a char
  17416.     by stuffing it back into its stream.  Now unread chars
  17417.     work properly between multiple reads.
  17418.     (UNREAD): Now calls that function.
  17419.     (readchar): Don't us `unrch'; variable deleted.
  17420.     (various): Don't initialize `unrch'.
  17421.     (readevalloop): No need to save and restore `unrch'.
  17422.     (read1): Don't unread a -1.
  17423.  
  17424.     * keymap.c (get_keyelt): If keymap defn is (STRING . FOO),
  17425.     remove just FOO.  Will help HierarKey.
  17426.  
  17427. Thu Jan  5 14:49:14 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17428.  
  17429.     * unexmips.c [IRIS_4D]: Don't include fcntl.h.
  17430.     (unexec): Look for LIT8, LIT4 sections iff they are defined.
  17431.  
  17432.     * buffer.c (Fkill_all_local_variables): Force redisplay of mode lines.
  17433.  
  17434. Mon Jan  2 13:52:58 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17435.  
  17436.     * emacs.c (main): Do the setpgrp before handling -t.
  17437.  
  17438.     * keyboard.c (Fsuspend_emacs): Use run-hooks to run suspend-hook
  17439.     and suspend-resume-hook.
  17440.  
  17441.     * buffer.c (Fkill_buffer): Execute kill-buffer-hooks
  17442.     with buffer to be killed as current buffer.
  17443.  
  17444.     * buffer.c (count_modified_buffers): ModExist renamed.
  17445.  
  17446.     * emacs.c (Fkill-emacs): Execute kill-emacs-hook.
  17447.  
  17448.     * fileio.c (auto_save_1): Set auto_save_mode_bits from visited file.
  17449.     (Fwrite_region) [not VMS]: If auto-saving, write file with that mode.
  17450.  
  17451.     * fileio.c (Fwrite_region): If START is a string, write that string.
  17452.  
  17453. Sun Jan  1 14:00:50 1989  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17454.  
  17455.     * lisp.h (XMARKBIT, XSETMARKBIT): If mark bit is sign bit,
  17456.     use sign-test for XMARKBIT; value is then 1 or 0.
  17457.     Make XSETMARKBIT test 2nd arg for nonzeroness only.
  17458.  
  17459.     * m/m-mips.h: Last batch of changes are only for USG.
  17460.     (XMARKBIT, XSETMARKBIT): Deleted; the new default ones are good.
  17461.  
  17462.     * editfns.c (Fformat): Use princ for %s.
  17463.     New format %S converts everything (even strings) with prin1.
  17464.     * doprnt.c (doprnt): Treat %s like %S.
  17465.  
  17466.     * print.c (Fprin1_to_string): Opt 3nd arg non-nil does princ.
  17467.  
  17468. Sat Dec 31 14:18:31 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17469.  
  17470.     * data.c (Fstring_to_int): Correct max # args.
  17471.  
  17472. Fri Dec 30 02:14:11 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17473.  
  17474.     * ymakefile (LIBES, LIB_GCC): If using GCC, link with gnulib.
  17475.  
  17476. Thu Dec 29 18:50:10 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17477.  
  17478.     * editfns.c: Many doc improvements.
  17479.  
  17480. Wed Dec 28 02:34:04 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17481.  
  17482.     * lisp.h (CHECK_NATNUM): New macro.
  17483.  
  17484.     * indent.c (Fmove_to_column): 2nd arg t means indent till spec'd column
  17485.     or change tab to spaces if necessary.
  17486.  
  17487.     * m/m-iris4d.h: (conditionally) delete DEFAULT_ENTRY_ADDRESS
  17488.     and change START_FILES and LIB_STANDARD.
  17489.  
  17490.     * s/s-iris3-6.h: Define sigblock as no-op.
  17491.  
  17492.     * m/m-mips.h: Cancel defn of VIRT_ADDR_VARIES, `static'.
  17493.     Undef SIGIO.  Define BROKEN_FIONREAD.
  17494.     Define various HAVE_... flags a la BSD.
  17495.     Add options, libraries for linking and compilation.
  17496.  
  17497.     * unexmips.c (unexec): Handle additional optional sections now likely.
  17498.     New scheme for recording what sections there are.
  17499.     Make handling of the LIT8,LIT4 sections conditional (not on IRIS).
  17500.  
  17501.     * fns.c (do_yes_or_no_p): New interface to Lisp function yes-or-no-p.
  17502.     Allows the user to redefine that function.
  17503.     All callers of Fyes_or_no_p changed.
  17504.  
  17505.     * data.c (Fmakunbound): Don't allow nil or t as arg.
  17506.  
  17507.     * m/m-orion105.h (LOAD_AVE_TYPE): Now `long'.
  17508.  
  17509. Tue Dec 27 23:44:41 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17510.  
  17511.     * dispnew.c (unhold_window_change):
  17512.     Don't signal SIGWINCH.  Instead, do pending size-changes here,
  17513.     while holding any new size-changes that arrive, so they become
  17514.     pending.  Loop around to get the new pending ones.
  17515.     (change_screen_size): Clear any previous pending size-change.
  17516.  
  17517.     * search.c (place): Was clipping to (1- (point-max)) by mistake.
  17518.  
  17519. Sat Dec 24 17:45:38 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17520.  
  17521.     * window.c (Fdelete_window): Give all this window's space
  17522.     to one adjacent sibling.
  17523.  
  17524. Fri Dec 23 01:16:18 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17525.  
  17526.     * keymap.c (describe_alist): Don't lose on non-cons-cell alist elts.
  17527.     (Fwhere_is_internal): Don't fail to step down the alist.
  17528.     (Faccessible_keymaps): Considerable confusion in alist case.
  17529.  
  17530.     * lread.c (Feval_current_buffer, Feval_region):
  17531.     Save and restore point as a marker, not a number.
  17532.     Don't restore it at all if printflag is t.
  17533.  
  17534.     * print.c (float_to_string): Mostly rewritten; output format
  17535.     is now a printf %-spec.
  17536.     (Qfloat_output_format): Doc changed to match.
  17537.  
  17538. Thu Dec 22 12:22:24 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17539.  
  17540.     * ymakefile (obj): Include floatfns.o.
  17541.     * data.c (syms_of_data): Fix typo Snumberp_or_marker_p.
  17542.  
  17543.     * Allow keymaps to have other keymaps as tails.
  17544.     Thus, one keymap can inherit from another.
  17545.     * keymap.c (Fwhere_is_internal): Ignore non-cons elements of alist.
  17546.     (Faccessible_keymaps): Support symbols as alist indices.
  17547.     Ignore alist elements that aren't conses.
  17548.  
  17549.     * m/m-sun386.h (LDAV_SYMBOL): Define as "avenrun" with no underscore.
  17550.  
  17551.     * lread.c (read_escape): Support ANSI C `\x...' hex escapes.
  17552.  
  17553.     * bytecode.c (Fbyte_code): fix jump operators for change in `pc'.
  17554.  
  17555. Wed Dec 21 19:39:27 1988  Joe Arceneaux  (jla at gracilis.ai.mit.edu)
  17556.  
  17557.     * ymakefile: Commented #endif LISP_FLOAT_TYPE.  Also changed
  17558.     the code pertaining to X11 to use the same files as X10.
  17559.  
  17560.     * bytecode.c (Fbyte_code): Declared unsigned char *pc.
  17561.  
  17562. Mon Dec 19 17:27:14 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17563.  
  17564.     * xterm.c: Finished a first cut of the X11 version.
  17565.  
  17566. Sun Dec 18 13:08:17 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17567.  
  17568.     * sysdep.c (select): `buf' is now unsigned char.
  17569.  
  17570. Fri Dec 16 18:00:36 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17571.  
  17572.     * m/m-elxsi.h: Don't define WORD_MACHINE or CANNOT_DUMP.
  17573.     Do define symbols for load average.
  17574.     Define COFF and ADJUST_EXEC_HEADER.
  17575.  
  17576. Fri Dec 16 13:56:51 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17577.  
  17578.     * sink.h,sinkmask.h: Same file now works for both X10 and X11.
  17579.     * xterm.c,xfns.c (x_text_icon) Can now take new name as parameter.
  17580.  
  17581. Fri Dec 16 11:07:20 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17582.  
  17583.     * m/m-is386.h: No need to undef HAVE_PTYS, HAVE_SOCKETS, SYSV_PTYS
  17584.     since s-usg5-3.h no longer defines them.
  17585.  
  17586. Wed Dec 14 17:52:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17587.  
  17588.     * bytecode.el (Fbyte_code): Cache the pointer in the string
  17589.     to avoid recalculating it at each fetch.
  17590.     Also turn off the error check for stack overflow/underflow.
  17591.  
  17592. Wed Dec 14 14:51:24 1988  Joe Arceneaux  (jla at apple-gunkies.ai.mit.edu)
  17593.  
  17594.     * xfns.c: Made the first cut for X11 version.
  17595.     * xterm.c: (x_reset_cursor) Did the X11 version.
  17596.  
  17597. Wed Dec 14 13:02:30 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17598.  
  17599.     * keyboard.c (Fexecute_mouse_event): Set Vmouse_event.  Doc fix.
  17600.     Run Vmouse_hook at the end.
  17601.     (syms_of_keyboard): Define var `mouse-hook'.
  17602.  
  17603. Tue Dec 13 10:55:27 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17604.  
  17605.     * term.c (insert_glyfs): Typo, was fetching G twice.
  17606.  
  17607. Sat Dec 10 17:37:28 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17608.  
  17609.     * keymap.c (describe_buffer_bindings): Print mouse bindings too.
  17610.     (describe_map): If have a chartab, use mouse-describe-key for prefixes.
  17611.     * keymap.c (describe_{map,map_tree,alist}, describe_vector):
  17612.     Extra arg mapping chars to their names.  Calls changed.
  17613.     * syntax.c (describe_syntax_1): Call changed.
  17614.  
  17615.     * keymap.c (Vglobal_mouse_map): Make it exist unconditionally.
  17616.  
  17617.     * keymap.c (apropos1): Clean up.
  17618.     Do where-is-internal only if there is a function definition.
  17619.     Use mouse-describe-key to turn mouse key sequences into strings.
  17620.     (Fwhere_is): Check the mouse map too;
  17621.     (Fwhere_is_internal): New arg is global map to use.
  17622.     All callers changed in keypad.c and doc.c.
  17623.     (where_is_string): New fn cvts result of Fwhere_is_internal to string.
  17624.  
  17625. Fri Dec  9 23:40:16 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17626.  
  17627.     * emacs.c (stack_bottom): New variable, set in main.
  17628.     * alloc.c (Fgarbage_collect): Save a copy of the entire stack contents.
  17629.  
  17630. Wed Dec  7 17:07:47 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17631.  
  17632.     * editfns.c (Funix_umask, Funix_sync): New functions.
  17633.  
  17634.     * process.c (Fsignal_process): New function.
  17635.  
  17636. Tue Dec  6 21:03:22 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17637.  
  17638.     * editfns.c (Fsubst_char_in_region): Fix typo in when to un-modify buf.
  17639.  
  17640. Mon Dec  5 14:42:23 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17641.  
  17642.     * process.c (create_process): Take the usg's setpgrp and the close-and
  17643.     -open of the tty outside the TIOCNOTTY conditional, since TIOCNOTTY
  17644.     is always missing outside BSD.  Now the TIOCNOTTY conditional controls
  17645.     only the TIOCNOTTY.
  17646.  
  17647. Sun Dec  4 11:15:15 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17648.  
  17649.     * lread.c (Feval_current_buffer, Feval_region):
  17650.     If there is an error, don't restore original point.
  17651.  
  17652.     * s-hpux.h (SHORT_CAST_BUG): Define this, for HPUX version 6.2.
  17653.  
  17654.     * ymakefile (THIS_IS_YMAKEFILE): Define macro to tell m- files
  17655.     to do special things.
  17656.  
  17657.     * m/m-ns16000.h: (LOAD_AVE_TYPE, etc.): Don't define them if USG.
  17658.     * m/m-ns16000.h [USG]: Define various macros differently.
  17659.     (munnari!sibyl.eleceng.ua.oz.au!ian@uunet.uu.net).
  17660.  
  17661.     * sysdep.c (reset_sys_modes): Don't output a CR here.
  17662.     * term.c (reset_terminal_modes): Do it here, but first
  17663.     do a newline if it's a magic cookie terminal.
  17664.  
  17665.     * sysdep.c (sys_suspend) [USG]: Use `nice' to set subshell pri. to 0.
  17666.  
  17667.     * sysdep.c (TIOCSETN) [USG]: Use TCSETAW, not TCSETA.
  17668.  
  17669.     * sysdep.c (setpriority) [USG]: No longer a no-op; use `nice'.
  17670.  
  17671.     * keymap.c (Fwhere_is_internal): New 4th arg inhibits looking thru
  17672.     indirect definitions--so you can search for one.    
  17673.  
  17674.     * alloc.c, fns.c, search.c: Doc fix.
  17675.  
  17676. Thu Dec  1 16:46:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17677.  
  17678.     * process.c (read_process_output): Insert with insert_before_markers.
  17679.  
  17680.     * filelock.c (lock_file_1, lock_superlock):
  17681.     If USG, use chmod instead of fchmod.
  17682.  
  17683.     * environ.c (Fsetenv): Doc fix.
  17684.  
  17685. Fri Nov 25 13:41:15 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17686.  
  17687.     * eval.c (do_autoload): Verify FUNNAME is a symbol.
  17688.  
  17689. Thu Nov 17 23:26:03 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17690.  
  17691.     * fileio.c (Fread_file_name): New arg specifies initial minibuf cntnts.
  17692.     * callint.c (Fcall_interactively): Calls changed.
  17693.  
  17694. Sat Oct  8 03:20:07 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17695.  
  17696.     * insdel.c (make_gap): Error if buffer size exceeds range of Lisp int.
  17697.  
  17698. Thu Oct  6 05:34:48 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17699.  
  17700.     * window.c (Fsplit_window): Prevent error in Fset_window_buffer.
  17701.  
  17702.     * sysdep.c (gettimeofday): Store -1 thru tzp so caller knows invalid.
  17703.  
  17704.     * xdisp.c (message): Pass 0 as new arg to doprnt.
  17705.     * callint.c (Fcall_interactively): Likewise.
  17706.     * editfns.c (format1):
  17707.     * doprnt.c (doprnt): Allow 0 as FORMAT_END arg meaning null-terminated.
  17708.  
  17709. Wed Oct  5 18:43:53 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17710.  
  17711.     * keyboard.c: If UNIPLUS, include ioctl.h.
  17712.  
  17713.     * sysdep.c (utime): Use new flag IRIS_UTIME, not IRIS.
  17714.     * s-iris*.h: Define that flag.
  17715.  
  17716. Tue Oct  4 21:04:42 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17717.  
  17718.     * term.c (term_init): If have `im' capability, permit ins/del char
  17719.     even without `ic'.
  17720.  
  17721. Mon Oct  3 00:32:34 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  17722.  
  17723.     * m/m-hp9000s300.h: Conditionals for BSD vs HPUX.
  17724.  
  17725.     * ymakefile: Look for C_SWITCH_SITE, LD_SWITCH_SITE.
  17726.  
  17727. Fri Sep 30 15:48:51 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17728.  
  17729.     * editfns.c (Fformat): Allow nulls in the format.
  17730.     * doprnt.c (doprnt): likewise.  End of format string is new arg.
  17731.  
  17732. Wed Sep 28 15:25:37 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17733.  
  17734.     * m/m-7300.h: Undefine SHORTNAMES.  Supposedly newer Unix now.
  17735.  
  17736.     * print.c (print): Support new var print_length.
  17737.     (syms_of_print): Define Lisp var print-length.
  17738.     * eval.c (Fbacktrace): Print unevalled form with print_length = 3.
  17739.  
  17740.     * Makefile (tags): Add TAGS as alternate target.
  17741.     Process the files in ../lisp/term.
  17742.  
  17743. Tue Sep 27 00:55:47 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  17744.  
  17745.     * doprnt.c (doprnt): Handle %-20s.
  17746.     * editfns.c (Fformat): Likewise (make enough space for it).
  17747.  
  17748.     * minibuf.c (do_completion): If get "Complete but not unique" twice
  17749.     in a row, display all completions.  New var last_exact_completion.
  17750.  
  17751. Mon Sep 26 19:19:23 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17752.  
  17753. *    * dispnew.c (baud_rate): Now a Lisp variable, not a function.
  17754.     * termcap.c (tputs) [emacs]: Use baud_rate as the speed.
  17755.  
  17756. Mon Sep 19 00:06:16 1988  Richard Stallman  (rms at gluteus.ai.mit.edu)
  17757.  
  17758.     * window.c (Fset_window_configuration): Set deleted windows' buffer
  17759.     to nil, via new function delete_all_subwindows.
  17760.     * window.c (Fset_window_buffer): Reject deleted windows.
  17761.     * window.c (init_window_once): Init the ->buffer fields
  17762.     to satisfy error check in Fset_window_buffer.
  17763.  
  17764. *    * xmenu.c (Fx_popup_menu): 1st arg is now ((X Y) WINDOW).
  17765.  
  17766.     * process.c (child_sig): If synch process terminates, clear
  17767.     synch_process_pid and record synch_process_death.
  17768. *    * callproc.c (Fcall_process): return synch_process_death.
  17769.     Always set synch_process_pid and do it with SIGCHLD masked off.
  17770.     * sysdep.c (wait_for_termination) [subprocesses and not VMS]:
  17771.     Use alarms to check every second whether synch_process_pid is 0.
  17772.  
  17773. Sat Sep 17 17:14:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17774.  
  17775.     * xdisp.c (redisplay_window): If window-point is outside restriction
  17776.     then correct it in the window.
  17777.     * window.c (Fdelete_buffer): Don't change buffer's point to a value
  17778.     outside its restriction.
  17779.  
  17780.     * sysdep.c (init_sys_modes) [MULTI_SCREEN]: Set Vterminal_screen's
  17781.     garbaged bit.
  17782.  
  17783. Fri Sep 16 01:13:09 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  17784.  
  17785.     * keyboard.c (kbd_buffer_get_char): VMS now uses same code as Unix.
  17786.  
  17787.     * vmsproc.c: New file for VMS only.
  17788.     * callproc.c [VMS]: Omit Fcall_process and child_setup_tty.
  17789.     * emacs.c (main) [VMS]: Call init_vmsproc and syms_of_vmsproc.
  17790.  
  17791.     * lread.c (OBARRAY_SIZE): Change slightly to 509 (prime).
  17792.  
  17793. *    * keyboard.c, dispnew.c, term.c, xterm.c (meta_flag): MetaFlag renamed.
  17794.     * keyboard.c (Fset_input_mode): 3rd arg sets meta_flag.
  17795.     (syms_of_keyboard): Variable meta-flag deleted.
  17796.     * sysdep.c (init_sys_modes): Don't override parity settings
  17797.     if meta_flag is 0.
  17798.  
  17799. Thu Sep 15 23:29:12 1988  Richard Stallman  (rms at corn-chex.ai.mit.edu)
  17800.  
  17801. *    * search.c (Fsearch_forward, etc.): All buffer-search functions
  17802.     return new the value of point if they succeed.
  17803.  
  17804. Tue Sep 13 12:00:22 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17805.  
  17806.     * cmds.c (Fnewline): Correct test of ARG1 to inhibit auto-fill.
  17807.  
  17808. Mon Sep 12 16:39:32 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17809.  
  17810.     * window.c (Fdelete_window): Put nil as buffer of the deleted window.
  17811.     This makes select-window get an error earlier.
  17812.  
  17813. Tue Sep  6 20:43:10 1988  Richard Stallman  (rms at sugar-bombs.ai.mit.edu)
  17814.  
  17815.     * search.c (search_buffer, string_match, looking_at):    
  17816.     Report matcher stack overflow as error, not just failure to match.
  17817.  
  17818.     * data.c (Fmake_local_variable): Add local variable to simplify
  17819.     too-complex expression.
  17820.  
  17821.     * fileio.c (Fdo_auto_save): No "file has shrunk" msg if < 5000 chars.
  17822.