1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 07:20:35 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Richard M. Stallman
0ba911156b (mark-sexp, mark-defun): Activate the mark. 1993-05-16 15:28:52 +00:00
Richard M. Stallman
a1929ae348 (casify_region): Remove mistaken arg to record_change. 1993-05-16 13:42:36 +00:00
Jim Blandy
584d063432 * xfaces.c (Fset_face_attribute_internal): Jolt redisplay, so it
knows something has changed.
1993-05-16 01:32:11 +00:00
Jim Blandy
9b5283804a * timer.c (notify): Don't call sighold or sigrelse; they're USG
only.  We should really fix this later, but let's just make it
	compile for now.
1993-05-16 00:53:57 +00:00
Jim Blandy
f241976e9b * Makefile.in (oldXMenu/Makefile): Make this depend on
${srcdir}/oldXMenu/Makefile.in, not itself.
1993-05-16 00:44:32 +00:00
Jim Blandy
32dc08666b * xfaces.c (unload_color): Don't try to unload the standard black
or white pixel.
1993-05-16 00:23:33 +00:00
Jim Blandy
3dbc7e3236 More changes from David J. Mackenzie.
* Makefile.in (install.sysv, install.xenix, install.aix): Targets
	removed; autoconf and config.h should specify all these
	differences.
	(buildlisppath): Make this path depend on ${srcdir}.
	(INSTALLFLAGS): Removed.
	(INSTALL): Include the -c flag.
	(install): Change the way we invoke install accordingly.
1993-05-15 23:57:11 +00:00
Jim Blandy
3ce7a076e6 Install David Mackenzie's patches to make ${srcdir} work.
* Makefile.in (srcdir, VPATH): Get this value from the top-level
	Makefile.
	(xmakefile): Use ${srcdir} to find the files from which we produce
	xmakefile.  Edit the values for srcdir and VPATH into xmakefile.
	* ymakefile (srcdir, VPATH): New definitions for the Makefile
	to edit.
	(ALL_CFLAGS): Remove `-Is' and `-Im'; add `-I${srcdir}', and
	`-I.'.
	(emacs): Adjust dumping commands to deal with a separate source
	directory.
	(${etc}DOC): Pass `-d ${srcdir}' to make-docfile, to tell it where
	to find the source files.
	(prefix-args): Find the source code in ${srcdir}.
1993-05-15 23:21:35 +00:00
Jim Blandy
26ec91de25 * process.c (wait_reading_process_input): If we're running
Solaris, it's not necessary to check if we should redeliver SIGIO,
	according to David Mackenzie.
	* s/sol2.h: #include "usg5-4.h", and #define const.
1993-05-15 23:20:33 +00:00
Jim Blandy
d2d92f7a66 Install patches from David J. Mackenzie to make the srcdir option
work.
	* Makefile.in (srcdir, VPATH): Get this value from the top-level
	Makefile.
	(INSTALLABLES): Split this into two lists - INSTALLABLES and
	INSTALLABLE_SCRIPTS.
	(INSTALLABLE_SCRIPTS): New list.
	(EXECUTABLES): Include INSTALLABLE_SCRIPTS.
	(${archlibdir}): The scripts to be installed live in the source
	tree, not in the object tree.
	(test-distrib): Note that the data file lives in the source tree,
	not the object tree.
	(GETOPTDEPS): Note that getopt.h lives in the source tree.
	(all other targets): Change references to source files to use
	${srcdir}, except for config.h, which lives in the object dir.
	(timer.o): Note that this depends on ../src/config.h.
	* make-docfile.c (main): Add a -d option, to tell it where to find
	the source files.
	* test-distrib.c (main): Take the name of the distribution file to
	test from the command line.
1993-05-15 23:06:16 +00:00
Jim Blandy
ad2e78fb7c * timer.c: Fix mispellings of get_date function's name. 1993-05-15 23:05:46 +00:00
Jim Blandy
ddb7302160 Install ${srcdir} changes from DJM.
* Makefile.in (SUBDIR_MAKEFILES): Add oldXMenu/Makefile to this
	list.
	(COPYDIR, COPYDESTS): Install files from both the etc directory in
	the source tree and the etc directory in the object tree.
	(${SUBDIR}): Pass the prefix variable down to submakes.
	(everywhere): Use `sed', not `/bin/sed'.  Not all systems have sed
	in /bin.
	(lib-src/Makefile, src/Makefile, oldXMenu/Makefile): Edit in
	values for srcdir and VPATH.
	(install): Add `v' flag to tar command.  Make sure that `dir'
	exists in ${srcdir}/info before copying it.  Remember that the man
	pages come from the source tree, not the object tree.
	* configure.in: Remove remarks saying that the --srcdir option
	doesn't work.
	Create the etc directory in the object tree.
	Recognize configuration names of the form *-sun-solaris*.
	Recognize sunos5 and solaris as operating system names.
1993-05-15 22:57:27 +00:00
Jim Blandy
c38a040d4a The GNU coding standards specify that CFLAGS should be left for
users to set.
	* Makefile.in (CFLAGS): Put this in the "things configure might
	edit" section, and have it default to -g.
	(ALL_CFLAGS): New variable, set to all the flags which should be
	passed to compilations.  Replace all other uses of CFLAGS with
	ALL_CFLAGS.
	(.c.o): New rule, to pass ALL_CFLAGS to compilations.

	* Makefile.in (DEFS): Remove this; it's always just going to be
	"-DHAVE_CONFIG_H -Demacs".

	* Makefile.in (ALLOCA): New variable, whose value we should
	inherit from the top-level makefile.
	(etags, ctags): Include ALLOCA in the list of object files that
	these executables depend on and link.
1993-05-15 22:25:51 +00:00
Jim Blandy
0d73e8e39c Install patches from David J. Mackenzie to make the srcdir option
work.
	* Makefile.in (srcdir): Get this value from the top-level
	Makefile.
	(INSTALLABLES): Split this into two lists - INSTALLABLES and
	INSTALLABLE_SCRIPTS.
	(INSTALLABLE_SCRIPTS): New list.
	(EXECUTABLES): Include INSTALLABLE_SCRIPTS.
	(${archlibdir}): The scripts to be installed live in the source
	tree, not in the object tree.
	(test-distrib): Note that the data file lives in the source tree,
	not the object tree.
	(GETOPTDEPS): Note that getopt.h lives in the source tree.
	(all other targets): Change references to source files to use
	${srcdir}, except for config.h, which lives in the object dir.
	(timer.o): Note that this depends on ../src/config.h.
1993-05-15 22:20:34 +00:00
Jim Blandy
6d8856bd6b original log message lost to overeager RCS user -JimB 1993-05-15 21:38:29 +00:00
Richard M. Stallman
290cb602d3 Require menu-bar.el. 1993-05-15 21:19:18 +00:00
Richard M. Stallman
578d09a642 Rename primary-selection' to region'. 1993-05-15 21:17:55 +00:00
Richard M. Stallman
369747519d Preload mouse, scroll-bar and select if have multi-frames. 1993-05-15 21:17:06 +00:00
Richard M. Stallman
9a1277dd3b (push-mark): Don't activate the mark.
(set-mark-command): Explicitly do so here.
When popping, don't mind if mark is inactive.
(pop-mark): Deactivate mark.  Don't mind if it's inactive.
(yank-pop): Don't mind if mark is inactive.
(keyboard-quit): Deactivate the mark.
(kill-ring-save): When bouncing cursor,
bounce the mark too, so highlighted area does not change.
1993-05-15 20:55:02 +00:00
Jim Blandy
9397d45650 * configure.in: Use the AC_TIME_WITH_SYS_TIME macro, for
lib-src/getdate.y and src/systime.h.
1993-05-15 20:48:34 +00:00
Jim Blandy
d712c26dd5 * systime.h: Borrow CPP sequence from getdate.y to include the
proper combination of <time.h> and <sys/time.h>.
1993-05-15 20:47:28 +00:00
Richard M. Stallman
1cc8a3f41a (mouse-set-region): Call set-mark to activate mark. 1993-05-15 20:32:23 +00:00
Richard M. Stallman
20f3a745bb (isearch-done): Don't activate mark. 1993-05-15 20:05:36 +00:00
Richard M. Stallman
8494bbf1a7 (face-initialize): Don't create the `modeline' face.
Set region-face.
(invert-face): Really do use the default colors.
(x-initialize-frame-faces): Always try "gray" color for
primary-selection; always invert if that fails.
Similar changes for highlight, secondary-selection.

(make-face): Add interactive spec.
(set-default-font): Deleted.
1993-05-15 19:53:44 +00:00
Richard M. Stallman
fcfc3c6379 (mouse-drag-region): New command, on down-mouse-1. 1993-05-15 19:52:01 +00:00
Richard M. Stallman
6e8d0db7e2 (byte-compile-track-mouse): New function.
This is a kludge; track-mouse must be compiled better.
1993-05-15 19:47:15 +00:00
Richard M. Stallman
356ba514a3 (Fx_selection_exists_p): Handle nil, t as SELECTION arg.
Don't die if SELECTION is not recognized.
1993-05-15 19:00:34 +00:00
Richard M. Stallman
e23c2c217e (transient-mark-mode): New command. 1993-05-15 18:47:18 +00:00
Richard M. Stallman
bc0db68d47 (compute_char_face): New args REGION_BEG, REGION_END.
Don't sort if noverlays is 0 or 1.
1993-05-15 18:45:14 +00:00
Richard M. Stallman
de83c3149e (direct_output_forward_char): Just give up
if region is being highlighted.

(direct_output_for_insert): Pass those args.
1993-05-15 18:44:46 +00:00
Richard M. Stallman
31ba9d398e (map-y-or-n-p): Show the answers in the echo area. 1993-05-15 18:05:42 +00:00
Richard M. Stallman
66afa119d0 Make links in info subdir. 1993-05-15 04:13:27 +00:00
Jim Blandy
3ece337ad9 * buffer.c (Fmove_overlay): If the overlay is in no buffer and the
BUFFER argument has been omitted, put it in the current buffer,
	for symmetry with move-marker.

	* buffer.c (Fdelete_overlay): Make the overlay's markers point
	nowhere, not at 1.  Do this after calling redisplay_region, so
	that code knows what section has changed.
1993-05-14 22:57:10 +00:00
Richard M. Stallman
926a64aa20 (access_keymap): Handle any length vector.
(store_in_keymap): Likewise.
(Fcopy_keymap): Likewise.
1993-05-14 22:11:17 +00:00
Richard M. Stallman
0e9d6dd34b (command_loop_1): Don't do it here. 1993-05-14 19:43:05 +00:00
Richard M. Stallman
8d7e4e80d8 (isearch-mode-map): Handle any length vector in keymap.
(isearch-char-to-string): Handle non-character events properly.
1993-05-14 18:02:55 +00:00
Jim Blandy
8ebafa8d4d * buffer.c (Foverlay_start, Foverlay_end, Foverlay_buffer,
Foverlay_properties): Functions moved here from subr.el.
1993-05-14 15:35:17 +00:00
Jim Blandy
24f1977f70 * vc.el (vc-version-diff): Match parens. 1993-05-14 15:21:50 +00:00
Jim Blandy
4a4dc352d5 * xterm.c (dumpglyphs): Give the cursor higher priority than the
face specified by the glyph under it.

	* xterm.c (dumpglyphs): Move the underline up a row.  I dislike
	the way X addresses pixels.  Quickdraw is much nicer.

	* xterm.c (dumpglyphs): Pass the proper arguments to intern_face.

	* xterm.c (dumpglyphs): Don't increment left twice.
1993-05-14 14:44:26 +00:00
Jim Blandy
f6b98e0be9 * xfaces.c (compute_char_face): When merging the overlays,
traverse sortvec, not overlay_vec; the latter isn't the one we
	sorted.

	* xfaces.c (intern_face): If the face has a GC, but it's not the
	default or modeline face, abort.  Nothing but those two faces
	should have a GC *and* be passed to intern_face.
	(compute_char_face, compute_glyph_face): After copying
	the frame's default face into face, to use as a base case for
	calculation, set the `gc' member to zero; that way we don't have
	things lying around that look like display faces but aren't.

	* xfaces.c (intern_frame_face): When copying the new face into the
	frame's face array, remember that the number of bytes to copy is
	sizeof (*new_face), not sizeof (new_face).

	* xfaces.c (compute_char_face): Assume that W is displaying the
	current buffer.  Abort if it isn't.
1993-05-14 14:44:01 +00:00
Jim Blandy
04a759c81b The text property routines can now modify buffers other
than the current one.
	* insdel.c (modify_region): New argument BUFFER.  Select that
	buffer while we prepare for the modification, and switch back when
	we're done.
	* textprop.c (add_properties, remove_properties): Pass
	the buffer being modified as the first argument to modify_region.
	* editfns.c (Fsubst_char_in_region, Ftranslate_region): Pass the
	current_buffer as the first argument to modify_region.
	* casefiddle.c (casify_region): Same.
1993-05-14 14:43:30 +00:00
Jim Blandy
6c523803b3 * lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
	Use CHECK_OVERLAY instead of signalling a special error.
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
	signalling a special error.
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.
1993-05-14 14:43:00 +00:00
Jim Blandy
93b9120871 * lread.c, data.c: If STDC_HEADERS is #defined, include <stdlib.h>
to get the extern declarations for atof.  That's where it is in
	POSIX.
1993-05-14 14:42:01 +00:00
Jim Blandy
20280af7ca * lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
	Use CHECK_OVERLAY instead of signalling a special error.
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
	signalling a special error.
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.

	* lisp.h (FLOATP): Define this appropriately when LISP_FLOAT_TYPE
	is not defined.
1993-05-14 14:41:36 +00:00
Jim Blandy
620567645f * intervals.c (set_point): Check for point out of bounds before
checking for an empty interval tree.
1993-05-14 14:40:56 +00:00
Jim Blandy
517b2e01b3 * dispnew.c (direct_output_for_insert): Compute the face of the
character we're inserting properly.
1993-05-14 14:39:15 +00:00
Jim Blandy
7b502dc326 * cmds.c (Fforward_char): Check proposed new position, and then
set point, instead of setting point to a potentially invalid
	position.
1993-05-14 14:37:53 +00:00
Jim Blandy
52f8ec734e * lisp.h (Lisp_Overlay): New tag.
(OVERLAYP): New predicate.
	(CHECK_OVERLAY): New type-checker.
	(Qoverlayp): New extern declaration.
	* buffer.c (Foverlayp): New function.
	(Qoverlayp): New atom.
	(overlays_at, recenter_overlay_lists): Abort if we encounter an
	invalid overlay.
	(syms_of_buffer): defsubr Soverlayp; initialize Qoverlayp.
	(Fdelete_overlay): Set the overlay's markers to point nowhere.
	Use CHECK_OVERLAY instead of signalling a special error.
	(Fmove_overlay, Foverlay_put): Use CHECK_OVERLAY instead of
	signalling a special error.
	(Foverlay_get): Use CHECK_OVERLAY.
	* fns.c (internal_equal): Define this for overlays.
	* buffer.h (OVERLAY_VALID): Define in terms of OVERLAYP.
	* print.c (print): Give overlays their own print syntax.
	* alloc.c (mark_object): Treat overlays like conses.

	* buffer.c (Foverlay_get): Return Qnil if the requested property
	is missing from the property list.
1993-05-14 14:36:01 +00:00
Jim Blandy
d855a60363 * configure.in: Call AC_STDC_HEADERS. 1993-05-14 14:27:17 +00:00
Richard M. Stallman
6fb6ab11e1 (vc-revert-buffer1): Don't assume that compilation-error-list
is a list; it might be t.
1993-05-14 03:57:45 +00:00