1. 11 Sep, 1992 2 commits
  2. 10 Sep, 1992 2 commits
  3. 09 Sep, 1992 1 commit
    • Jim Blandy's avatar
      * ralloc.c (r_re_alloc): Instead of allocating a new bloc at the · 16a5c729
      Jim Blandy authored
      	end of the heap, copying the data to it, and then freeing the
      	original bloc, just expand the original block.  This saves a copy
      	and a call to sbrk, and also removes the large spike in memory
      	allocation that would occur when resizing large buffers.  And it's
      	less code.
      16a5c729
  4. 05 Sep, 1992 5 commits
    • Richard M. Stallman's avatar
      *** empty log message *** · 6cf42072
      Richard M. Stallman authored
      6cf42072
    • Richard M. Stallman's avatar
      (scan_lists): Improve smarts for backwards scan of comments. · e5d4f4dc
      Richard M. Stallman authored
      Don't modify comstyle inside that loop.
      If string quotes don't match up, don't take value from OFROM;
      instead, parse forward using scan_sexps_forward.
      (scan_sexps_forward): Return value via a pointer passed in.
      New element in state contains char addr of last comment-starter seen.
      (Fparse_partial_sexp): Change call to scan_sexps_forward.
      e5d4f4dc
    • Richard M. Stallman's avatar
      (Fcall_interactively): For `K', use last_nonmenu_event. · a4d4c819
      Richard M. Stallman authored
       Make `e' alias for `K'.
      a4d4c819
    • Richard M. Stallman's avatar
      (last_nonmenu_event): New var. · 7d6de002
      Richard M. Stallman authored
      (syms_of_keyboard): New Lisp var.
      (read_key_sequence): Use that instead of prev_event.
      
      (read_char): Call read_char_menu_prompt here.
      Accept 4 new args to pass to it.  Include them in recursive call.
      Don't delay before starting echo if prev_event was a mouse event.
      Test for eof in batch mode now understands C is a Lisp_Object.
      (read_key_sequence): Don't call it here; always call read_char.
      Don't change last_event_buffer after a mouse menu input.
      (read_char_menu_prompt): Arg PROMPT deleted.
      Return nil if nothing to do.
      
      (read_key_sequence): Keep track of prev_event.
      Pass new proper args to read_char_menu_prompt.
      (read_char_menu_prompt): New arg prev_event.  Use Fx_popup_menu.
      Handle any number of keymaps, not just LOCAL and GLOBAL.
      Invert meaning of arg PROMPT.  Test of menu_prompting was backwards.
      
      (keymap_table): No longer static.
      7d6de002
    • Richard M. Stallman's avatar
      (xmenu_show): If no panes, just return. · 088831f6
      Richard M. Stallman authored
      (Fx_popup_menu): Treat coords relative to spec'd window.
      (single_keymap_panes): New function; contains guts of keymap_panes.
      If a command binding for submenu has a prompt string starting with @,
      make a separate pane for it at this level.
      
      (keymap_panes): New function.
      (Fx_popup_menu): Accept keymap or list of keymaps as MENU argument.
      Accept mouse button event as POSITION argument.
      088831f6
  5. 04 Sep, 1992 7 commits
  6. 03 Sep, 1992 1 commit
  7. 02 Sep, 1992 5 commits
  8. 01 Sep, 1992 3 commits
  9. 31 Aug, 1992 10 commits
  10. 30 Aug, 1992 1 commit
  11. 29 Aug, 1992 3 commits
    • Richard M. Stallman's avatar
      *** empty log message *** · 1635fcdd
      Richard M. Stallman authored
      1635fcdd
    • Jim Blandy's avatar
      fcb9ffc8
    • Jim Blandy's avatar
      * xterm.c (x_make_frame_invisible): Don't forget to check the · c118dd06
      Jim Blandy authored
      	return value of XWithdrawWindow; it could indicate that the window
      	wasn't successfully redrawn.
      
              * xterm.c (x_make_frame_invisible): Use XWithdrawWindow when
      	available [HAVE_X11R4]; send the UnmapNotify event when
      	appropriate [HAVE_X11]; just unmap the window if that's all that's
      	needed [not HAVE_X11].
      
      	* xterm.c (x_set_text_property): Removed; it's only called from
      	one place.  Who wants *another* layer of indirection?
      
      	* xterm.c: Use the FRAME_X_WINDOW macro, for readability.
      
      	* xterm.c (x_death_handler): Renamed to x_connection_closed.
      	(x_term_init): Use x_connection_closed as the SIGPIPE handler.
      
      	* xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
      	x_error_handler): Removed; you can't catch X errors this way,
      	since you can't perform X operations from within an X error
      	handler, and even though we call error, we're still within an X
      	error handler.
      	(x_error_quitter, x_error_catcher): New functions, for panicking
      	on and catching X protocol errors.
      	(x_caught_error_message): Buffer for caught X errors.
      	(x_catch_errors, x_check_errors, x_uncatch_errors): New functions
      	for catching errors.
      	(x_term_init): Set the error handler to x_error_quitter, rather
      	than x_error_handler.
      
      	* xterm.c (x_death_handler): Renamed to x_connection_closed.
      	(x_term_init): Use x_connection_closed as the SIGPIPE handler.
      
      	* xterm.c (acceptable_x_error_p, x_handler_error_gracefully,
      	x_error_handler): Removed; you can't catch X errors this way,
      	since you can't perform X operations from within an X error
      	handler, and even though we call error, we're still within an X
      	error handler.
      	(x_error_quitter, x_error_catcher): New functions, for panicking
      	on and catching X protocol errors.
      	(x_caught_error_message): Buffer for caught X errors.
      	(x_catch_errors, x_check_errors, x_uncatch_errors): New functions
      	for catching errors.
      	(x_term_init): Set the error handler to x_error_quitter, rather
      	than x_error_handler.
      c118dd06