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

1261 commits

Author SHA1 Message Date
Jim Blandy
12a07afc12 *** empty log message *** 1993-05-20 02:05:02 +00:00
Jim Blandy
566e35870b Initial revision 1993-05-20 02:04:15 +00:00
Jim Blandy
00eaaa321c Some changes from Michael K. Johnson for Linux.
* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
	#defined.  That lets the system provide it, if it has it.
	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
	given us a definition already.
	* syssignal.h (sys_sigpause): Fix argument in prototype.
	* sysdep.c (init_signals): The masks are called empty_mask and
	full_mask, not signal_empty_mask and signal_full_mask.
	(signal_handler_t): Moved ....
	* syssignal.h: ... to here.
	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.
1993-05-19 22:01:35 +00:00
Jim Blandy
0674a1f946 Some changes from Michael K. Johnson for Linux.
* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
	#defined.  That lets the system provide it, if it has it.
	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
	given us a definition already.
	* syssignal.h (sys_sigpause): Fix argument in prototype.
	* sysdep.c (init_signals): The masks are called empty_mask and
	full_mask, not signal_empty_mask and signal_full_mask.
	(signal_handler_t): Moved ....
	* syssignal.h: ... to here.
	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.

	* systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.
1993-05-19 22:01:21 +00:00
Jim Blandy
6887f62301 * xdisp.c (redisplay_window): Compute the scrollbar start and end
properly.
1993-05-19 19:13:31 +00:00
Richard M. Stallman
8a1f153784 (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var.
Set up Qcurrent_load_list.
(readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving.
(build_load_history): Do nothing when loading pure files.
1993-05-19 16:50:17 +00:00
Richard M. Stallman
a8ee7ef928 (Fcurrent_input_mode): Return META as 3-way flag. 1993-05-19 14:26:34 +00:00
Jim Blandy
4554406a81 Braino. 1993-05-19 06:13:00 +00:00
Jim Blandy
e443209533 * fileio.c (Ffind_file_name_handler): Check that FILENAME is a
string.
1993-05-19 06:01:21 +00:00
Jim Blandy
90ab1a81b9 * process.c (wait_reading_process_input): Undo change of April
29th, since that re-introduces the race condition the comments are
	warning about.  Call clear_waiting_for_input before calling
	status_notify, though.
1993-05-19 05:41:37 +00:00
Jim Blandy
9aa2a7f43e * process.c (wait_reading_process_input): Don't forget to call
clear_waiting_for_input when we exit the loop because process
	input has arrived.
1993-05-19 05:05:46 +00:00
Richard M. Stallman
bb1ef42187 (follow_key): Check char in range before UPPERCASEP. 1993-05-19 04:58:19 +00:00
Jim Blandy
7260e3398a Changes for Silicon Graphics Iris 5D.
* unexelfsgi.c: New file; like unexelf.c, but tolerates program
	segments above BSS.
	* m/iris5d.h: New file.
	* s/irix5-0.h: New file.
	* process.c [__sgi] (allocate_pty): Give up immediately if pty is
	inaccessible.
1993-05-19 04:56:06 +00:00
Jim Blandy
4ef37be461 Initial revision 1993-05-19 04:52:06 +00:00
Jim Blandy
fad97cbed6 * process.c [__sgi] (allocate_pty): Give up immediately if pty is
inaccessible.
1993-05-19 04:38:28 +00:00
Jim Blandy
3d24868836 Doc fix. 1993-05-19 04:27:16 +00:00
Richard M. Stallman
519066d2e0 (x_set_menu_bar_lines): Fix typo in last change. 1993-05-19 03:51:26 +00:00
Jim Blandy
3c5c35c53d * xdisp.c (display_text_line): If the newline (or C-m, in
selective-display) has a non-default face, apply that face to the
	remainder of the line, so that the fill occupies the entire line.
1993-05-19 03:27:53 +00:00
Jim Blandy
68a973351f Make sure that all the display faces use fonts of the
same dimensions as the default face, so as not to confuse the rest
	of the redisplay code.
	* xfaces.c (same_size_fonts): New function.
	(merge_faces): Only merge in a new font from the FROM face if it
	is the same size as the font in the TO face.
1993-05-19 03:07:10 +00:00
Jim Blandy
decb54c690 * xterm.c (x_new_font): Tell the frame display faces about the
newly chosen font.
1993-05-19 03:06:38 +00:00
Jim Blandy
752a043ffa * xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
* keyboard.c (make_lispy_event): Controlify here.
1993-05-19 00:33:58 +00:00
Jim Blandy
f64ba6ea42 * xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
menu bars.
1993-05-19 00:19:16 +00:00
Jim Blandy
714e064b52 Initial revision 1993-05-18 22:59:49 +00:00
Jim Blandy
a785758151 * xfaces.c (free_frame_faces): Don't free the resources from the
first two faces.
1993-05-18 22:46:17 +00:00
Jim Blandy
3505ea7012 * xdisp.c (redisplay_window): Make the scrollbar reflect the
extent of the visible region, not the whole buffer.
1993-05-18 22:45:53 +00:00
Jim Blandy
1334b321d6 * sysdep.c (reset_sys_modes): Test the return value of
EMACS_SET_TTY properly.
	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
	values.
1993-05-18 22:45:29 +00:00
Jim Blandy
339747e438 * lisp.h (malloc, realloc): Declare these to return void *, to
avoid conflicts with ANSI header files.
1993-05-18 22:44:27 +00:00
Jim Blandy
d685741312 * config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME,
CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these,
	since otherwise the autoconf tests in configure.in won't do us
	much good.
1993-05-18 22:44:08 +00:00
Jim Blandy
db9e92962d * keyboard.c (read_key_sequence): Don't lay down an unwind_protect
to restore the original buffer until we actually get a mouse click.
1993-05-18 22:30:21 +00:00
Jim Blandy
5a1c6df8cd * xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
* keyboard.c (make_lispy_event): Controlify here.
1993-05-18 22:24:14 +00:00
Jim Blandy
1f18c48f3a * window.c (window-dedicated-p): Doc fix. 1993-05-18 22:07:14 +00:00
Richard M. Stallman
096855a66a (struct window): New slot region_showing. 1993-05-18 04:49:52 +00:00
Richard M. Stallman
bd66d1baeb (mark_window_display_accurate): Set region_showing fields.
(redisplay_window): Update region_showing field.
(display_text_line): Set region_showing to t if will show one.

(mark_window_display_accurate): Set region_showing fields.
(redisplay_window): Update region_showing field.
(display_text_line): Set region_showing to t if will show one.

(redisplay, redisplay_window): Don't use the cursor-motion
special-case code if the region is or was highlighted.

(display_text_line): Pass those args,
describing the region if the mark is transient and active.

(display_menu_bar): Update FRAME_MENU_BAR_ITEMS here.
1993-05-17 04:47:53 +00:00
Richard M. Stallman
c49cbce2eb (x_set_cursor_color): Set cursor_foreground_pixel. 1993-05-16 22:35:23 +00:00
Richard M. Stallman
67710a6327 (x_display): New field cursor_fore_pixel. 1993-05-16 22:34:42 +00:00
Richard M. Stallman
b73b6aaf28 (dumpglyphs): Create a temporary merged gc
when cursor falls on char with non-default face.
1993-05-16 22:32:36 +00:00
Richard M. Stallman
61d54cd540 (overlays_at): New arg EXTEND.
(Foverlays_at, Fnext_overlay_change): Pass 1.
1993-05-16 22:31:48 +00:00
Richard M. Stallman
9516fe943a (compute_char_face): Pass 0 as EXTEND arg to overlays_at.
Try first with small overlay_vec, then use a big enough one.
1993-05-16 22:31:04 +00:00
Jim Blandy
e01091534d Document sun change. 1993-05-16 18:12:57 +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
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
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
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
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
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
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