1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 17:10:51 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Eli Zaretskii
740e985fb0 (SYSTEM_PURESIZE_EXTRA): Reduce to 40000. 1999-12-06 17:09:21 +00:00
Eli Zaretskii
809f3d5188 (adjust_markers_for_delete): Fix last change. 1999-12-06 17:04:33 +00:00
Eli Zaretskii
89774ec398 (INTERNAL_TERMINAL): Add entries for color support. 1999-12-06 16:55:26 +00:00
Eli Zaretskii
2d764c783d Changes for automatic remapping of X colors on terminal frames:
* xfaces.c (XColor) [!HAVE_X_WINDOWS]: Provide a typedef for non-X
	frames.
	(Vface_tty_color_alist): Remove.
	(tty_defined_color): New function.
	(defined_color): Rewrite to support any type of frame.
	(tty_color_name): New function.
	(face_color_supported_p, Fface_color_gray_p,
	Fface_color_supported_p): Support non-X frames.
	(load_color): Enclose the color name in quotes, in the log
	messages.  Remove DOS-specific version of load_color.
	(realize_tty_face): Take the supported colors from
	tty-color-alist.  Support translation of X colors to the closest
	tty color, for both MSDOS and tty frames.
	[MSDOS]: Don't invert face colors if they were taken from the
	frame colors.
	(Fface_register_tty_color, Fface_clear_tty_colors): Remove.

	* frame.h (struct x_output) [!MSDOS, !WINDOWSNT, !HAVE_X_WINDOWS]:
	Define a mostly empty surrogate.
	(tty_display): Declare.

	* frame.c (make_terminal_frame) [!macintosh]: Don't use
	tty_display.
	(Fframe_parameters): Don't invert colors of non-FRAME_WINDOW_P
	frames when the frame's param_alist includes 'reverse.
	(tty_display): Define.
	(make_terminal_frame) [!MSDOS]: Assign &tty_display to the
	output_data.x member.
	(Fframe_parameters): Return foreground and background color names
	on tty frames as well, in addition to MSDOS frames.

	* msdos.h (DisplayWidth, DisplayHeight): Changes for Lisp_Object
	selected_frame.
	(struct x_output): Remove unused members; document who uses each
	member.
	(FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE,
	FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES,
	FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES,
	FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove
	unused macro definintions.

	* msdos.c (IT_set_frame_parameters): Don't call
	recompute_basic_faces, the next redisplay will, anyway.
	(x_current_display): Remove unused variable.
	Many functions: changes for Lisp_object selected_frame.
	(IT_set_face): If the tty_reverse_p flag is set for the face,
	reverse the foreground and background colors.
	(Fmsdos_remember_default_colors): New function.
	(syms_of_msdos): Defsubr it.
	(IT_set_frame_parameters): Use initial_screen_colors[] when
	creating a new frame.  If the frame parameters include 'reverse,
	swap the foreground and background colors.
	(internal_terminal_init): Initialize initial_screen_colors to -1.
	(syms_of_msdos): Add DEFVAR_BOOL for x-stretch-cursor, to shut up
	cus-start.el.

	* Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc.

	* xfns.c (x_defined_color): Rename from defined_color.  All
	callers changed.
	(Fxw_color_defined_p): Renamed from Fx_color_defined_p;
	all callers changed.
	(Fxw_color_values): Renamed from Fx_color_values; all callers
	changed.
	(Fxw_display_color_p): Renamed from Fx_display_color_p; all
	callers changed.
	(x_window_to_frame, x_any_window_to_frame,
	x_non_menubar_window_to_frame, x_menubar_window_to_frame,
	x_top_window_to_frame): Use !FRAME_X_P instead of
	f->output_data.nothing.
	* xterm.h (x_defined_color): Rename from defined_color.

	* w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of
	f->output_data.nothing.
	(Fxw_color_defined_p): Renamed from Fx_color_defined_p;
	all callers changed.
	(Fxw_color_values): Renamed from Fx_color_values; all callers
	changed.
	(Fxw_display_color_p): Renamed from Fx_display_color_p; all
	callers changed.

	* dispextern.h (tty_color_name): Add prototype.

	* xmenu.c (menubar_id_to_frame): Use FRAME_WINDOW_P instead of
	f->output_data.nothing.
	* w32menu.c (menubar_id_to_frame): Likewise.
	* w32term.h (w32_output): Declare.

	* dosfns.c (Qmsdos_color_translate): Remove.
	(msdos_stdcolor_name): Now returns a Lisp_Object.
	* dosfns.h (Qmsdos_color_translate): Remove.

	* s/msdos.h (INTERNAL_TERMINAL): Add entries for color support.
1999-12-06 16:54:09 +00:00
Kenichi Handa
b3e5232e68 *** empty log message *** 1999-12-06 04:53:51 +00:00
Kenichi Handa
94ef31ccad (adjust_markers_for_delete): Make it non-static. 1999-12-06 04:47:25 +00:00
Kenichi Handa
98a7d2683c (decide_coding_unwind): Renamed from
set_auto_coding_unwind.
(Finsert_file_contents): Make single unwind protect to call both
Vset_auto_coding_function and Ffind_operation_coding_system.
1999-12-06 04:46:51 +00:00
Stefan Monnier
db0e466c89 * regex.c (regex_compile): Recognize *?, +? and ?? as non-greedy
operators and handle them properly.
* regex.h (RE_ALL_GREEDY): New option.
(RE_UNMATCHED_RIGHT_PAREN_ORD): Moved to the end where alphabetic
sorting would put it.
(RE_SYNTAX_AWK, RE_SYNTAX_GREP, RE_SYNTAX_EGREP)
(_RE_SYNTAX_POSIX_COMMON): Use the new option to keep old behavior.
1999-12-05 04:05:42 +00:00
Dave Love
22afa6e864 *** empty log message *** 1999-12-04 19:59:54 +00:00
Dave Love
a356f64372 Derived from acorn.h by deletions. 1999-12-04 19:46:10 +00:00
Dave Love
40afb9673d Comments only. 1999-12-03 20:56:14 +00:00
Dave Love
5920df330c (Fmessage_or_box): Use use_dialog_box. 1999-12-03 20:48:13 +00:00
Gerd Moellmann
ddf8eff5f6 *** empty log message *** 1999-12-02 08:04:03 +00:00
Gerd Moellmann
d5aa923ef4 (UNEXEC): Use unexsgi.o instead of unexelf.o. 1999-12-02 07:59:24 +00:00
Gerd Moellmann
967e161297 (UNEXEC) [USG5_4]: Use unexsgi.o instead of
unexelf.o.
1999-12-02 07:59:06 +00:00
Gerd Moellmann
c42b4fab89 (LIBS_SYSTEM): Add -lgen because that's needed
for building with Motif.
1999-12-02 07:58:22 +00:00
Dave Love
fa09a82db6 (main): Set LANG=C iff AX3_2 defined. 1999-12-01 12:13:13 +00:00
Gerd Moellmann
27a9e9b3fa Correct typo. 1999-11-28 20:14:03 +00:00
Gerd Moellmann
27413d9924 (HAVE_SETITIMER, HAVE_UALARM): New. 1999-11-28 20:12:41 +00:00
Gerd Moellmann
c53a6701c3 (EMACS_TIME_CMP, EMACS_TIME_EQ, EMACS_TIME_NE)
(EMACS_TIME_GT, EMACS_TIME_GE, EMACS_TIME_LT,EMACS_TIME_LE): New
macros.
1999-11-28 20:11:56 +00:00
Richard M. Stallman
dfe35e7b88 Comment change. 1999-11-28 17:29:57 +00:00
Gerd Moellmann
717d0121dd *** empty log message *** 1999-11-28 12:49:29 +00:00
Gerd Moellmann
2d6d9df0f4 (Fwindow_end): Don't call temp_set_pt_both with
out of range position.
1999-11-28 12:48:29 +00:00
Gerd Moellmann
f9632fc8a4 (XTread_socket) <ClientMessage, Xatom_Scrollbar>:
Switch off busy-cursor by setting inhibit_busy_cursor to 2.
1999-11-28 12:37:33 +00:00
Eli Zaretskii
613a83462a (Fmake_char_internal): Print the charset ID when
signalling an error.
1999-11-28 10:20:12 +00:00
Eli Zaretskii
59c65f1e9f (synchronize_locale): Avoid compiler warnings about
pointer type mismatch.
1999-11-28 10:16:33 +00:00
Richard M. Stallman
d01f357041 (Fdelete_field): Make it noninteractive. Return nil. 1999-11-26 23:08:26 +00:00
Gerd Moellmann
65a3ccf741 (BASE_PURESIZE): Increase to 550000. 1999-11-26 15:17:52 +00:00
Gerd Moellmann
b3b9859282 *** empty log message *** 1999-11-26 12:31:42 +00:00
Gerd Moellmann
0087ade67a (set_text_properties): New function. Like
Fset_text_properties, but with additional parameter
SIGNAL_AFTER_CHANGE_P.  If that is nil, don't signal after
changes.
(Fset_text_properties): Use it.
1999-11-26 12:07:31 +00:00
Gerd Moellmann
f2cab2ea4a (insert_1_both): Call set_text_properties with last
parameter nil so that no after changes will be signaled.
1999-11-26 12:07:04 +00:00
Gerd Moellmann
48778e46da Add prototype for set_text_properties. 1999-11-26 12:06:29 +00:00
Gerd Moellmann
18df93696d (set_lface_from_font_name): Fix previous change.
(recompute_basic_faces): Change assert to abort.
1999-11-26 10:17:53 +00:00
Dave Love
71a8e74b6e (Fnthcdr, Fnreverse): Inline cdr.
(Fmember, Fdelq, Fdelete): Inline car.
(Fy_or_n_p): Doc fix.
1999-11-25 15:26:37 +00:00
Gerd Moellmann
3221576ba2 (set_lface_from_font_name): New parameter may_fail_p.
Callers changed.  If specified font name is bogus, and mail_fail_p
is set, try to use a reasonable default.
1999-11-25 15:01:15 +00:00
Gerd Moellmann
bc6a57829a *** empty log message *** 1999-11-25 10:20:13 +00:00
Gerd Moellmann
975c62260a (direct_output_for_insert): Set glyph row's
displays_text_p flag.  Correct window's window_end_vpos if
necessary.
1999-11-25 10:14:15 +00:00
Paul Eggert
0c8559bbd1 * emacs.c (fixup_locale): Don't bother to record initial locale.
(synchronize_locale): If the desired locale is nil,
treat it as if it were the empty string,
so that we set the locale from the environment.
1999-11-25 05:33:31 +00:00
Kenichi Handa
22d92d6b53 (Finsert_file_contents): Set buffer-file-coding-system
of the current buffer via Fset.
1999-11-25 04:41:52 +00:00
Kenichi Handa
3573735116 *** empty log message *** 1999-11-25 04:41:00 +00:00
Dave Love
fb4927c45d Don't duplicate Qmode_line definition done elsewhere. 1999-11-24 14:38:09 +00:00
Dave Love
5562b47fcd *** empty log message *** 1999-11-24 14:36:36 +00:00
Dave Love
0cafb359c7 Don't duplicate Qdisplay definition done elsewhere. 1999-11-24 14:28:33 +00:00
Dave Love
a7e27ef736 Don't duplicate Qheight, Qwidth definitions done elsewhere. 1999-11-24 14:06:26 +00:00
Gerd Moellmann
cee971adcc Fix typo in previous change. 1999-11-24 14:01:54 +00:00
Gerd Moellmann
00da0e4ab4 (PVEC_FLAG): New variable. 1999-11-24 13:56:09 +00:00
Gerd Moellmann
f1b14279ae (enum pvec_type): Put PVEC_FLAG in #if 0. 1999-11-24 13:53:39 +00:00
Dave Love
851cab134c Include sys/stat.h. Declare filemodestring. 1999-11-24 12:56:02 +00:00
Gerd Moellmann
b1775dc141 *** empty log message *** 1999-11-23 17:27:52 +00:00
Gerd Moellmann
c31d7cc9f3 (unexec): Use unsigned instead of uintptr_t because
that fails on IBM PowerPC, AIX 4.2.
1999-11-23 17:22:03 +00:00