1. 06 May, 1993 4 commits
  2. 05 May, 1993 2 commits
  3. 04 May, 1993 28 commits
    • Richard M. Stallman's avatar
      6648f23a
    • Richard M. Stallman's avatar
      (vc-backend-diff): Use diff-switches, not vc-diff-options. · e8ee1ccf
      Richard M. Stallman authored
      (vc-diff-options): Variable deleted.
      e8ee1ccf
    • Richard M. Stallman's avatar
      Doc fix. · cdd8203f
      Richard M. Stallman authored
      cdd8203f
    • Richard M. Stallman's avatar
      1434b7aa
    • Richard M. Stallman's avatar
      (vc-dired-prefix-map): New keymap. · ee7e9c88
      Richard M. Stallman authored
      Use it in minor-mode-map-alist for vc-dired-mode.
      ee7e9c88
    • Jim Blandy's avatar
      * configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and · a6eb6797
      Jim Blandy authored
      	call AC_STRUCT_TM to see what's in time.h.
      
      	* configure.in: Employ quoting stupidity to get the value of CPP
      	to expand properly.
      a6eb6797
    • Jim Blandy's avatar
      * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL, · d03f79ef
      Jim Blandy authored
      	CHAR_META): Shift these all up one bit, back to where they were.
      d03f79ef
    • Jim Blandy's avatar
      Implement extra_keyboard_modifiers properly. · dfeccd2d
      Jim Blandy authored
      	* keyboard.c (syms_of_keyboard): Doc fix for
      	extra-keyboard-modifiers; use the same modifier bits as we do for
      	characters.
      	(read_char): Apply all the modifiers in extra_keyboard_modifiers
      	to the input characters, so you can get hyper, super, and the rest
      	of the gang.
      	* xterm.c (x_emacs_to_x_modifiers): New function.
      	(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
      	consistency.  Callers changed.
      	(XTread_socket): Apply x_emacs_to_x_modifiers to
      	extra_keyboard_modifiers before setting the state member of the
      	event; this will get all the modifiers on ASCII characters.
      
      	* xterm.c (x_text_icon): Don't call XSetIconName; it should be
      	unnecessary, and perhaps it's killing the icon pixmap.
      dfeccd2d
    • Jim Blandy's avatar
      Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>: · f80dc888
      Jim Blandy authored
      	* s/mach2.h: copied from the Emacs 18.59 distribution.
      	Don't define NO_REMAP, define START_FILES as
      	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
      	default `-lm -lc' (there is no libc on the NeXT).
      	* ymakefile (STARTFILES): Allow config.h to set this value even if
      	ORDINARY_LINK is defined.
      	* unexnext.c: Fix subdirectories for the machine dependent include
      	files for NeXTStep 3.0; #include <mach/mach.h> and
      	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
      	(getsectbyname): Remove prototype for this; the system #include
      	files take care of that.
      	(malloc_cookie): New variable.
      	(unexec_doit): Set malloc_cookie to the result returned by
      	malloc_freezedry.
      	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
      	get the value set when we dumped and pass it to malloc_jumpstart.
      	* systime.h: The NeXT has a timezone function.
      f80dc888
    • Jim Blandy's avatar
      * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in · d82222e1
      Jim Blandy authored
      	case we need them.
      	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
      	shift_modifier, ctrl_modifier, meta_modifier): Define these in
      	terms of the CHAR_mumble macros, to avoid having the same thing
      	defined in two places.
      
      	Make the modifier manipulation functions more robust.  The old way
      	caused a bug once, and probably would again.
      	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
      	shift_modifier, ctrl_modifier, meta_modifier): Shift these all
      	down one bit in value, to avoid sign extension problems.
      	* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
      	* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
      	what our table of modifier names can handle.
      	(apply_modifiers): Don't abort if you see extra modifier bits,
      	just remove them.
      d82222e1
    • Jim Blandy's avatar
      * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into · c2e4f49a
      Jim Blandy authored
      	functions in sysdep.c.
      	* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
      c2e4f49a
    • Jim Blandy's avatar
      * systime.h: Doc fix. · 7f86bdac
      Jim Blandy authored
      	(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
      	millisecond.  What's three orders of magnitude between friends?
      	* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
      	`milliseconds' argument by 1000 to get microseconds.
      
      	Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
      	* s/mach2.h: copied from the Emacs 18.59 distribution.
      	Don't define NO_REMAP, define START_FILES as
      	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
      	default `-lm -lc' (there is no libc on the NeXT).
      	* ymakefile (STARTFILES): Allow config.h to set this value even if
      	ORDINARY_LINK is defined.
      	* unexnext.c: Fix subdirectories for the machine dependent include
      	files for NeXTStep 3.0; #include <mach/mach.h> and
      	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
      	(getsectbyname): Remove prototype for this; the system #include
      	files take care of that.
      	(malloc_cookie): New variable.
      	(unexec_doit): Set malloc_cookie to the result returned by
      	malloc_freezedry.
      	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
      	get the value set when we dumped and pass it to malloc_jumpstart.
      	* systime.h: The NeXT has a timezone function.
      7f86bdac
    • Jim Blandy's avatar
      * systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into · 68936329
      Jim Blandy authored
      	functions in sysdep.c.
      	* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
      
      	* sysdep.c (emacs_set_tty): Call tcsetattr over and over again
      	until it does all of what we ask it to, or returns an error.
      68936329
    • Jim Blandy's avatar
      * search.c (Freplace_match): Arrange for markers sitting at the · 9a76659d
      Jim Blandy authored
      	beginning or end of the original text to float to the
      	corresponding position in the replacement text.
      9a76659d
    • Jim Blandy's avatar
      Arrange for Fy_or_n_p to put off switch-frame events. · f42be754
      Jim Blandy authored
      	* lread.c (read_filtered_char): New function, which contains the
      	code which used to be in Fread_char, Fread_event, and
      	Fread_char_exclusive; there was a lot of common code.
      	(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
      	of read_filtered_char.
      	* lisp.h (read_filtered_char): Declare this extern here.
      	* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
      	switch-frame events.
      f42be754
    • Jim Blandy's avatar
      * lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in · 59b4254d
      Jim Blandy authored
      	case we need them.
      	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
      	shift_modifier, ctrl_modifier, meta_modifier): Define these in
      	terms of the CHAR_mumble macros, to avoid having the same thing
      	defined in two places.
      
      	Arrange for Fy_or_n_p to put off switch-frame events.
      	* lread.c (read_filtered_char): New function, which contains the
      	code which used to be in Fread_char, Fread_event, and
      	Fread_char_exclusive; there was a lot of common code.
      	(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
      	of read_filtered_char.
      	* lisp.h (read_filtered_char): Declare this extern here.
      	* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
      	switch-frame events.
      
      	Make the modifier manipulation functions more robust.  The old way
      	caused a bug once, and probably would again.
      	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
      	shift_modifier, ctrl_modifier, meta_modifier): Shift these all
      	down one bit in value, to avoid sign extension problems.
      	* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
      	* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
      	what our table of modifier names can handle.
      	(apply_modifiers): Don't abort if you see extra modifier bits,
      	just remove them.
      
      	* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
      	Qoverflow_error, Qunderflow_error): Add extern to these declarations.
      59b4254d
    • Jim Blandy's avatar
      * keymap.c (Fdefine_prefix_command): Doc fix. · cd8520b9
      Jim Blandy authored
      cd8520b9
    • Jim Blandy's avatar
      Implement extra_keyboard_modifiers properly. · 80645119
      Jim Blandy authored
      	* keyboard.c (syms_of_keyboard): Doc fix for
      	extra-keyboard-modifiers; use the same modifier bits as we do for
      	characters.
      	(read_char): Apply all the modifiers in extra_keyboard_modifiers
      	to the input characters, so you can get hyper, super, and the rest
      	of the gang.
      	* xterm.c (x_emacs_to_x_modifiers): New function.
      	(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
      	consistency.  Callers changed.
      	(XTread_socket): Apply x_emacs_to_x_modifiers to
      	extra_keyboard_modifiers before setting the state member of the
      	event; this will get all the modifiers on ASCII characters.
      
      	* keyboard.c (kbd_buffer_get_event): Don't generate switch-frame
      	events if they'd only switch to the frame already selected.  This
      	avoids lots of extra switch-frame events when using a separate
      	minibuffer.
      
      	* keyboard.c (Fcurrent_input_mode): New function.
      
      	* keyboard.c (read_key_sequence): Let the `modifiers' variable in
      	the code which deals with KEY being unbound be an int, not a
      	Lisp_Object.
      
      	Make the modifier manipulation functions more robust.  The old way
      	caused a bug once, and probably would again.
      	* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
      	shift_modifier, ctrl_modifier, meta_modifier): Shift these all
      	down one bit in value, to avoid sign extension problems.
      	* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
      	* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
      	what our table of modifier names can handle.
      	(apply_modifiers): Don't abort if you see extra modifier bits,
      	just remove them.
      80645119
    • Jim Blandy's avatar
      * fileio.c (Fmake_symbolic_link): If a file already exists under · 9083124b
      Jim Blandy authored
      	the link's filename, delete the file which the link
      	would replace, not the file the link would point at.
      9083124b
    • Jim Blandy's avatar
      * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and · 4b163808
      Jim Blandy authored
      	':' elsewhere, just have it default to ':' if not #defined, and
      	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
      	* s/vms.h (SEPCHAR): #define this to be ','.
      	* s/template.h (SEPCHAR): Mention this.
      
      	Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
      	* s/mach2.h: copied from the Emacs 18.59 distribution.
      	Don't define NO_REMAP, define START_FILES as
      	`pre-crt0.o' instead.  Define LIB_MATH as `-lm', to override the
      	default `-lm -lc' (there is no libc on the NeXT).
      	* ymakefile (STARTFILES): Allow config.h to set this value even if
      	ORDINARY_LINK is defined.
      	* unexnext.c: Fix subdirectories for the machine dependent include
      	files for NeXTStep 3.0; #include <mach/mach.h> and
      	<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
      	(getsectbyname): Remove prototype for this; the system #include
      	files take care of that.
      	(malloc_cookie): New variable.
      	(unexec_doit): Set malloc_cookie to the result returned by
      	malloc_freezedry.
      	* emacs.c (main): Declare malloc_cookie to be extern, so that we can
      	get the value set when we dumped and pass it to malloc_jumpstart.
      	* systime.h: The NeXT has a timezone function.
      4b163808
    • Jim Blandy's avatar
      * systime.h: Doc fix. · b07646f5
      Jim Blandy authored
      	(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
      	millisecond.  What's three orders of magnitude between friends?
      	* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
      	`milliseconds' argument by 1000 to get microseconds.
      
      	* dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a
      	floating point value.
      
      	* dispnew.c (getenv): Extern declaration deleted; this is done in
      	config.h.
      b07646f5
    • Jim Blandy's avatar
    • Jim Blandy's avatar
      * config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we · 8b0c35d9
      Jim Blandy authored
      	should exclude the getenv declaration; instead, test NOT_C_CODE.
      	Per suggestion from Francesco Potorti`.
      	* ymakefile (NOT_C_CODE): Define this; it's true, and useful.
      
      	* config.h.in (volatile): Don't define this to be the empty string
      	if some file has #defined HAVE_VOLATILE.
      8b0c35d9
    • Jim Blandy's avatar
      * buffer.c (syms_of_buffer): Doc fix for buffer-display-table. · 6158b3b0
      Jim Blandy authored
      	* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
      	arguments.
      	(recenter_overlay_lists): New argument BUF, to use instead of the
      	current buffer.
      	(Foverlay_recenter): Pass the appropriate arguments to
      	recenter_overlay_lists.
      
      	* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
      	current buffer.  Don't forget to declare the argument a Lisp_Object.
      6158b3b0
    • Jim Blandy's avatar
      * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and · d620fb0c
      Jim Blandy authored
      	':' elsewhere, just have it default to ':' if not #defined, and
      	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
      	* s/vms.h (SEPCHAR): #define this to be ','.
      	* s/template.h (SEPCHAR): Mention this.
      
      	* s/vms.h (xfree): #define this to emacs_xfree, to avoid case
      	conflict with XFree; on VMS, external symbols are case-insensitive.
      d620fb0c
    • Jim Blandy's avatar
      * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h, · 4e4726bc
      Jim Blandy authored
      	m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
      	configure script.
      	* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
      	derived by configure script.
      
      	* s/usg5-4.h (HAVE_GETTIMEOFDAY): Deleted; ../configure figures
      	that out now.
      4e4726bc
    • Jim Blandy's avatar
      * emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and · d4198db9
      Jim Blandy authored
      	':' elsewhere, just have it default to ':' if not #defined, and
      	#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
      	* s/vms.h (SEPCHAR): #define this to be ','.
      	* s/template.h (SEPCHAR): Mention this.
      d4198db9
    • Jim Blandy's avatar
      * m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/mips.h, · 0efd16a9
      Jim Blandy authored
      	m/sps7.h, s/hpux.h, s/usg5-4.h (HAVE_DUP2): Removed; derived by
      	configure script.
      	* s/hpux.h, s/irix3-3.h, s/aix3-1.h (HAVE_GETHOSTNAME): Removed;
      	derived by configure script.
      0efd16a9
  4. 03 May, 1993 6 commits