1. 05 Sep, 1992 4 commits
    • 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
  2. 04 Sep, 1992 7 commits
  3. 03 Sep, 1992 1 commit
  4. 02 Sep, 1992 5 commits
  5. 01 Sep, 1992 3 commits
  6. 31 Aug, 1992 10 commits
  7. 30 Aug, 1992 1 commit
  8. 29 Aug, 1992 9 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
    • Jim Blandy's avatar
      * xrdb.c (get_user_db): Use XResourceManagerString when available · b631f177
      Jim Blandy authored
      	[HAVE_X11R4].
      b631f177
    • Jim Blandy's avatar
      * xfns.c (x_icon): Don't call x_wm_set_icon_positions if the user · fe24a618
      Jim Blandy authored
      	hasn't specified the icon position.  Let the window manager put
      	the icon where it likes.
      
      	* xfns.c (x_set_name): Use XSetWM{Name,IconName} when available
      	[HAVE_X11R4], or XSetIconName and XStoreName otherwise.
      
      	* xfns.c: Use the FRAME_X_WINDOW for readability.
      
      	* xfns.c (x_set_mouse_color): Use x_catch_errors, x_check_errors,
      	and x_uncatch errors to avoid crashing if the user selects an
      	odd cursor.
      
      	* xfns.c (select_visual): Use XVisualIDFromVisual when available
      	[HAVE_X11R4].
      fe24a618
    • Jim Blandy's avatar
      * window.c (coordinates_in_window): Do not assume that all · 05c2896a
      Jim Blandy authored
      	one-line windows are the minibuffer, or that all minibuffers are
      	one line high.  Use MINI_WINDOW_P.
      
      	* window.c (change_window_height): If the size of the window will
      	shrink below the minimum, this code would only try to delete it if
      	it had a parent.  Well, even if the window doesn't have a parent,
      	you want Fdelete_window to signal an error, since you're trying to
      	resize one of the undeleteable windows into nothingness.  So call
      	Fdelete_window even if the window doesn't have a parent.
      
      	* window.c (MINSIZE): Add kludge so that the minibuffer is always
      	allowed to shrink to one line in height.
      	(MINSIZE, CURBEG, CURSIZE): Change these so that their argument
      	are always Lisp_Objects, not struct window *'s.
      	(change_window_height): Changed accordingly.
      05c2896a
    • Jim Blandy's avatar
      * sysdep.c (init_baud_rate): Re-arranged order of conditionals - · e04a4e0d
      Jim Blandy authored
      	test TERMIOS before TERMIO; when two options might both be
      	defined, test the most recent first, so that the most recent
      	functions get used.
      
      	* sysdep.c [HAVE_TERMIO] (init_baud_rate): Don't use tcgetattr
      	unless HAVE_TCATTR is defined.  Only very rarely do termio systems
      	have the tc{get,set}attr macros.
      
      	* sysdep.c: #include "systty.h", not "systerm.h".
      e04a4e0d
    • Jim Blandy's avatar
      36ebaafa
    • Jim Blandy's avatar
      6ef5b54f