1. 18 Jul, 1993 22 commits
    • Jim Blandy's avatar
      * termhooks.h: In order to avoid declaring struct input_event · 23c6349c
      Jim Blandy authored
      	(which contains Lisp_Objects) in those .c files which need access
      	to the terminal hooks but don't #include lisp.h (like cm.c), test
      	to see if the macro CONSP is #defined.  We used to test XINT, but
      	config.h will #define that everywhere on systems that use tailored
      	tagging schemes.
      23c6349c
    • Jim Blandy's avatar
      * xterm.c, sysdep.c (F_SETOWN_BUG): Defined. · 46f2fdac
      Jim Blandy authored
      	* m/dpx2.h: New file.
      46f2fdac
    • Jim Blandy's avatar
      * syntax.c (Fmodify_syntax_entry): Doc fix. · 2fcea188
      Jim Blandy authored
      2fcea188
    • Jim Blandy's avatar
      * print.c (float_to_string): Distinguish between a precision of · c7b14277
      Jim Blandy authored
      	zero and an omitted precision.  Do allow %.0f to produce strings
      	containing no decimal point or exponent.
      	(syms_of_print): Doc fix for float-output-format.
      c7b14277
    • Jim Blandy's avatar
      Consistently use the mark bit of the root interval's parent field · e8720644
      Jim Blandy authored
      	to say whether or not the interval tree has been visited (and skip
      	it when revisited), and the mark bit of the plist field to say
      	whether or not that interval has been visited (and abort if
      	revisited); don't try to use the plist mark bit for both
      	meanings.
      	* alloc.c (mark_interval_tree): Don't test if the interval tree
      	has already been visited here; let the MARK_INTERVAL_TREE macro do
      	that; avoid function call overhead.  Mark the interval tree as
      	having been visited by setting TREE->parent's mark bit.
      	(MARK_INTERVAL_TREE): If the tree has been visited (according to
      	I->parent's mark bit), don't call mark_interval_tree.
      	(gc_sweep): Rebalance the interval trees of those large strings
      	which are still alive.  This also clears the mark bits of those
      	trees' root intervals' parent fields.
      	(compact_strings): Rebalance the interval tree of each small
      	strings which is still alive.  This also clears the mark bits of
      	that tree's root interval's parent field.  Since the string has
      	moved, update the root interval's parent pointer to contain the
      	new address.
      	* lisp.h (struct interval): Doc fix; explain the roles of the mark
      	bits of the parent and plist members.
      e8720644
    • Jim Blandy's avatar
      * keyboard.c (read_key_sequence): Accept both strings and vectors · 718ca51e
      Jim Blandy authored
      	as bindings in function-key-map.
          	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.
      
      	* keymap.c (syms_of_keymap): Doc fix.
      718ca51e
    • Jim Blandy's avatar
      * keyboard.c (read_key_sequence): Accept both strings and vectors · f5ea6163
      Jim Blandy authored
      	as bindings in function-key-map.
          	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.
      
      	* keyboard.c (Fsuspend_emacs): Pass selected_frame as the first
      	argument to change_frame_size, not 0.  This function may be called
      	in an Emacs compiled with multi-frame support.
      f5ea6163
    • Jim Blandy's avatar
      * textprop.c (Ftext_property_any, Ftext_property_all): New · 5256403c
      Jim Blandy authored
      	functions, from David Gillespie.
      	* intervals.h (Ftext_property_any, Ftext_property_all): Declare them.
      5256403c
    • Jim Blandy's avatar
      * intervals.c (split_interval_left, split_interval_right): Change · 2bc7a79b
      Jim Blandy authored
      	OFFSET argument of these functions to be origin 0, not origin 1.
      	This is what all the callers currently want.
      	* intervals.c, textprop.c: All callers changed.
      
      	* intervals.c (graft_intervals_into_buffer): Properly compute
      	length of buffer.
      2bc7a79b
    • Jim Blandy's avatar
      * dispnew.c (direct_output_for_insert): By the time this function · c02e3004
      Jim Blandy authored
      	is called, we have already inserted the character into the buffer;
      	the proper buffer position to pass to compute_char_face is point
      	- 1, not point.
      c02e3004
    • Jim Blandy's avatar
      * Makefile.in (C_SWITCH_SYSTEM): New variable, set by top-level · 331636c4
      Jim Blandy authored
      	Makefile.
      	(xmakefile): Pass it to the C preprocessor.
      331636c4
    • Jim Blandy's avatar
      * term/x-win.el: Include (invocation-name) in the error messages · 800642d2
      Jim Blandy authored
      	which might occur during startup.
      
      	* term/x-win.el: Make the `-rn NAME' option specify a resource
      	name, as documented, and not a resource database string.  Make
      	`-name NAME' act like `-rn NAME' and also set the name of the
      	initial frame.
      	(command-switch-alist): Process the `-rn' and `-name' options
      	using the x-handle-name-rn-switch function.
      	(x-handle-name-rn-switch): New function, which sets the
      	x-resource-name variable.
      	(opening connection): Make sure x-resource-name is valid.  If it's
      	not a string, set it to (invocation-name), with any periods or
      	asterisks changed to hyphens.
      
      	* term/x-win.el: Make the `-xrm STRING' option specify a resource
      	database string.  `-rn' used to behave this way.
      	(command-switch-alist): Process the `-xrm' switch using
      	x-handle-xrm-switch.
      	(x-handle-xrm-switch): Renamed from x-handle-rn-switch; this
      	function does the right thing for `-xrm', not for `-rn'.
      
      	* term/x-win.el: Recognize affirmative values for reverseVideo
      	properly.  Include "on" in the list of recognized values.
      800642d2
    • Jim Blandy's avatar
      * shell.el (shell-process-pushd): Fix syntax error in · ac75ef20
      Jim Blandy authored
      	condition-case.
      
      	* shell.el (shell-prompt-pattern): Don't match more than one line.
      	Doc fix.
      ac75ef20
    • Jim Blandy's avatar
      * hippie-exp.el: Renamed from hippie.el. · 8c6677ed
      Jim Blandy authored
      	Changes from Anders Holst, to bring hippie-expand up to version 1.2:
      	* hippie-exp.el (hippie-expand-max-buffers): New variable.
      	(try-expand-line-all-buffers, try-expand-list-all-buffers,
      	try-expand-dabbrev-all-buffers): Use it.
      	(try-expand-list, try-expand-list-all-buffers): New functions.
      	(he-string-beg, he-string-end, he-search-loc): These values are
      	now markers, not integers.  Uses changed.
      	(he-reset-string, he-substitute-string): Use a marker to preserve
      	the old position of point.
      	(try-expand-all-abbrevs): handle case the same way as the
              usual expand-abbrev (which is not a very good way, but for
              consistency...).
      	(he-dabbrev-beg): Use `skip-syntax' instead of `skip-chars', to
              adjust its behavior to different modes.
      	(hippie-expand): Don't messages which try function it is using,
              when the expansion itself is done in the minibuffer (it was very
              annoying to have the message obscuring the expansion).
      	(try-complete-file-name, try-complete-file-name-partially,
      	try-complete-lisp-symbol, try-complete-lisp-symbol-partially,
      	try-expand-line, try-expand-line-all-buffers,
      	try-expand-all-abbrevs, try-expand-dabbrev,
      	try-expand-dabbrev-all-buffers): No unnecessary "resetting" of the
      	epansion, when no expansion is done (caused the buffer to be
      	marked as changed, although nothing was done, among other things).
      	(he-reset-string): Undoing of last expansion at a later occasion, now
              undoes correctly (before, it garbled things up).
      	(make-hippie-expand-function): now uses "(function ...)"
              instead of "'" (matters for compilation).
      	(try-expand-line, try-expand-line-all-buffers,
      	he-line-search-regexp): uses `comint-prompt-regexp' instead of
      	`shell-prompt-pattern', to strip off prompt in process buffers.
      8c6677ed
    • Jim Blandy's avatar
      * bytecomp.el (byte-compile-from-buffer): Bind float-output-format · 42106ea5
      Jim Blandy authored
      	to "%.20e", not "%20e"; the latter is always ignored, since it
      	doesn't have a decimal point after the percent sign.
      42106ea5
    • Jim Blandy's avatar
      * ange-ftp.el: Install the correct regexp in · 8a30241d
      Jim Blandy authored
      	file-name-handler-alist.
      8a30241d
    • Jim Blandy's avatar
      * wakeup.c: Use CPP tangle from autoconf manual to #include the · af40bbfa
      Jim Blandy authored
      	correct combination of <time.h> and <sys/time.h>.
      af40bbfa
    • Jim Blandy's avatar
      * etags.c (print_help): Break up the very long strings containing · 52cc7c59
      Jim Blandy authored
      	the help message into shorter strings, to placate chintzy C
      	compilers which can't handle strings that long.
      52cc7c59
    • Jim Blandy's avatar
      * configure.in (m68k-bull-sysv3): new config. · 6ec1f458
      Jim Blandy authored
      6ec1f458
    • Jim Blandy's avatar
      * Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src · 174be3e7
      Jim Blandy authored
      	directory's makefile.  This allows the invocation of CPP which
      	builds xmakefile to receive these switches.  The SunSoft C
      	preprocessor inserts spaces between tokens if it doesn't get the
      	-Xs flag requested in src/s/sol2.h.
      174be3e7
    • Richard M. Stallman's avatar
      Enable the hook only if window-system. · eb0d9f08
      Richard M. Stallman authored
      Clear blink-paren-function at the same time.
      (show-paren-command-hook): If after a closeparen,
      highlight that closeparen as well as matching open.
      Use a different color for a mismatch, if color screen.
      eb0d9f08
    • Richard M. Stallman's avatar
  2. 17 Jul, 1993 9 commits
  3. 16 Jul, 1993 6 commits
  4. 15 Jul, 1993 3 commits