1. 11 Oct, 1992 11 commits
    • Richard M. Stallman's avatar
      (check_memory_limits): Reduce warnlevel when usage drops far enough. · 2c46d29f
      Richard M. Stallman authored
      (memory_warnings): New function; just set warning data.
      Use start_of_data if start is 0.
      
      [!emacs]: Don't include config.h or lisp.h;
      instead, use stddef.h.  Define POINTER, SIZE, EXCEEDS_LISP_PTR.
      
      [!emacs] (safe_bcopy): Define as macro using memmove.
      (r_alloc_free): Clear *ptr.
      (r_alloc_init): Renamed from malloc_init.  Take no args.
      Make it static; declare at top of file.
      (r_alloc): Call r_alloc_init, if not initialized yet.
      (r_alloc_initialized): Renamed from malloc_initialized; moved to top.
      (ROUNDUP): Subtract 1, in case arg is already aligned.
      
      (check_memory_limits): EXCEEDS_LISP_PTR renamed from EXCEEDS_ELISP_PTR.
      2c46d29f
    • Jim Blandy's avatar
      * xterm.c, xrdb.c: #include <stdio.h> before "xterm.h", to avoid · 54c908b5
      Jim Blandy authored
      	warnings about redefining NULL under GCC 2.2.2.
      54c908b5
    • Jim Blandy's avatar
      * keymap.c (initial_define_lispy_key): New function, for defining · e25c4e44
      Jim Blandy authored
      	non-ascii keys.
      
      	* keymap.c (access_keymap): Treat bindings for Qt as default
      	bindings, when new argument T_OK is non-zero.
      	(get_keyelt, Fdefine_key, Flookup_key): Call access_keymap with
      	T_OK false.
      e25c4e44
    • Jim Blandy's avatar
      * keyboard.h (Qswitch_frame): Declare this extern. · 6084b314
      Jim Blandy authored
      	* keyboard.h (this_command_keys, this_command_key_count): Added
      	external declarations.
      6084b314
    • Jim Blandy's avatar
      * keyboard.c (Vlast_event_frame): Make this variable exist even · cd21b839
      Jim Blandy authored
      	when MULTI_FRAME isn't #defined.  People might find it
      	necessary for writing correct programs, even when the programs
      	don't explicitly use multiple frames.
      	(read_char, kbd_buffer_store_event, kbd_buffer_get_event): No need
      	to test MULTI_FRAME before setting Vlast_event_frame.
      	(syms_of_keyboard): DEFVAR Vlast_event_frame whether or not
      	MULTI_FRAME is defined.
      
              * keyboard.c: Add switch-frame events.
      	(Qswitch_frame): New event header symbol.
      	(head_table): Include Qswitch_frame in the table of event heads.
      	(kbd_buffer_get_event): Detect when a frame switch has occurred,
      	and return a frame switch event before the enqueued event.
      	(make_lispy_switch_frame): New function.
      	(unread_switch_frame): New variable.
      	(read_key_sequence): Don't throw away the key sequence if the user
      	switches frames in the middle of the sequence.  Instead, when we
      	receive a switch-frame event in the middle of a key sequence, save
      	it, and stuff it into unread_switch_frame when the sequence
      	is complete.
      	(read_char): If unread_switch_frame is set, return that value.
      	(command_loop_1): No need to check Vlast_event_frame and select
      	new frames here; that's taken care of by switch-frame events now.
      	(syms_of_keyboard): Initialize and staticpro unread_switch_frame.
      
      	* keyboard.c (follow_key, read_key_sequence): Call access_keymap
      	with T_OK true.
      
      	* keyboard.c (apply_modifiers): Copy the value of BASE's
      	Qevent_kind property to the new symbol.
      
      	* keyboard.c (syms_of_keyboard): Qevent_kind should be initialized
      	to intern ("event-kind"), not intern ("event-type").
      cd21b839
    • Jim Blandy's avatar
      * frame.c: #include "commands.h" and "keyboard.h". · 2f0b07e0
      Jim Blandy authored
      	(Fselect_frame): Make this interactive, and accept
      	switch-frame events as arguments, so we can bind this function to
      	switch-frame events.
      	(keys_of_frame): New function; bind switch-frame to Fselect_frame.
      2f0b07e0
    • Jim Blandy's avatar
      * emacs.c (main): Call keys_of_frame. · 5e67fbc2
      Jim Blandy authored
      5e67fbc2
    • Jim Blandy's avatar
      * callint.c (Fcall_interactively): Allow multiple 'e' specs. · bc78232c
      Jim Blandy authored
      	(Finteractive): Doc fix.
      bc78232c
    • Jim Blandy's avatar
      * rmail.el (rmail-mode): Make this autoload; we might find a file · 9712b0bd
      Jim Blandy authored
      	whose first line local variables want to put it in RMAIL mode;
      	that ought to work.
      9712b0bd
    • Jim Blandy's avatar
      * dired-aux.el (dired-compress-file): Change references to · abe14431
      Jim Blandy authored
      	`from-file' to use `file'; the former only works because
      	dired-compress-file is only called by dired-compress, which binds
      	from-file.
      abe14431
    • Richard M. Stallman's avatar
      49c13105
  2. 10 Oct, 1992 5 commits
  3. 09 Oct, 1992 5 commits
  4. 08 Oct, 1992 5 commits
  5. 07 Oct, 1992 6 commits
  6. 06 Oct, 1992 8 commits