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
Eli Zaretskii 08de620019 (syms_of_buffer): Add %z, %Z, %m and %& to the doc
string of mode-line-format.  Remove the obsolete %t.
1999-11-23 13:17:01 +00:00
Gerd Moellmann f2fa858fe4 (direct_output_for_insert): Increment glyph positions
for glyphs from buffer text only.
1999-11-22 17:38:21 +00:00
Gerd Moellmann 02fda8fffb *** empty log message *** 1999-11-22 13:22:55 +00:00
Gerd Moellmann 30aa3f192c (gdb_valbits, gdb_gctypebits, gdb_emacs_intbits)
(gdb_data_seg_bits): New variables.
1999-11-22 13:19:41 +00:00
Gerd Moellmann d0ee1a95da (enum gdb_lisp_params): Put in #if 0, since it doesn't
work on systems not allowing enumerators > INT_MAX, and it
won't work if EMACS_INT is long long.
1999-11-22 13:17:23 +00:00
Paul Eggert 1b0d24e7f6 *** empty log message *** 1999-11-22 08:21:28 +00:00
Paul Eggert 493c3eed38 (ABORT_RETURN_TYPE, FREE_RETURN_TYPE):
New macros.
1999-11-22 08:20:53 +00:00
Paul Eggert 08e3087b62 (malloc, realloc, calloc): Remove decls;
stdlib.h now does this.
1999-11-22 08:20:40 +00:00
Paul Eggert ca9c056758 * callproc.c (strerror): Remove decl.
* fileio.c (strerror): Likewise.
* process.c (strerror): Likewise.
* emacs.c (strerror): Likewise.
(Vsystem_messages_locale): Renamed from Vmessages_locale.
All uses changed.
(Vprevious_system_messages_locale): Likewise, from
Vprevious_messages_locale.
(Vsystem_time_locale): Likewise, from Vtime_locale.
(Vprevious_system_time_locale): Likewise, from Vprevious_time_locale.
(ABORT_RETURN_TYPE): New macro.
(abort): Return type is now ABORT_RETURN_TYPE.
(main): Always invoke init_signals, even if POSIX_SIGNALS is not
defined.
(syms_of_emacs): messages-locale -> system-messages-locale,
previous-messages-locale -> previous-system-messages-locale,
time-locale -> system-time-locale,
previous-time-locale -> previous-system-time-locale.

* gmalloc.c (PP, __ptr_t): Assume ANSI C if STDC_HEADERS is defined.
(const): Do not define; that's config.h's job.
(<limits.h>): Include if HAVE_LIMITS_H is defined.
(CHAR_BIT): Move test for definedness outside of limits.h condition.
(<stddef.h>): Include if STDC_HEADERS is defined.
(FREE_RETURN_TYPE): New macro.
(free): Return type is now FREE_RETURN_TYPE.

* lisp.h (synchronize_system_time_locale): Renamed from
synchronize_time_locale.  All uses changed.
(synchronize_system_messages_locale): Likewise, from
synchronize_messages_locale.

* process.c (sys_siglist): Remove.

* syntax.c (scan_sexps_forward): Use abort, not assert.

* sysdep.c (my_sys_siglist): New var.
(sys_siglist): New macro.  Remove old initialized vars of same name.
(init_signals): Initialize sys_siglist.

* xfns.c (abort): Remove decl; stdlib.h now does this.
1999-11-22 08:19:51 +00:00
Paul Eggert 719f38ac95 (my_strftime): Some old compilers object to '\a', so don't bother
optimizing for it.
1999-11-18 23:22:16 +00:00
Dave Love 946173adb4 *** empty log message *** 1999-11-18 18:28:59 +00:00
Dave Love 2f2500efff Add forward declaration for get_boot_time_1. 1999-11-18 18:20:28 +00:00
Dave Love 0dcd5b54e2 *** empty log message *** 1999-11-18 18:14:29 +00:00
Dave Love a1051b732b (Finternal_show_cursor_p): Fix doc string. 1999-11-18 18:03:57 +00:00
Gerd Moellmann 71447e8f88 *** empty log message *** 1999-11-18 13:34:19 +00:00
Gerd Moellmann 0afdfe3895 (struct buffer_text): Add comment about moving
buffer text if REL_ALLOC is defined.
1999-11-18 13:31:04 +00:00
Kenichi Handa d2d9586a77 (Fsingle_key_description): Use KEY_DESCRIPTION_SIZE to
allocate memory for push_key_description.
(describe_buffer_bindings): Likewise.
1999-11-18 05:10:13 +00:00
Kenichi Handa 2d0ffc9aa8 (echo_char): Use KEY_DESCRIPTION_SIZE to check free
memory for push_key_description.
1999-11-18 05:09:18 +00:00
Kenichi Handa b0ca4f56d5 (KEY_DESCRIPTION_SIZE): New macro. 1999-11-18 05:08:25 +00:00
Kenichi Handa eeedff6357 *** empty log message *** 1999-11-18 05:07:40 +00:00
Gerd Moellmann a67fb17515 *** empty log message *** 1999-11-17 21:12:32 +00:00
Gerd Moellmann 5d7e4a2c3c *** empty log message *** 1999-11-17 21:08:37 +00:00
Gerd Moellmann dc6f74cf0e (Fx_show_busy_cursor): Doc-fix.
(Fx_hide_busy_cursor): Ditto.
1999-11-17 21:03:12 +00:00
Gerd Moellmann b6f8e8063f (unexec): Handle .rel.dyn section. 1999-11-17 20:58:06 +00:00
Dave Love b5b41e0276 *** empty log message *** 1999-11-16 19:51:07 +00:00
Dave Love 441d75e5ce (Fdocumentation): Remove gcpro here too. 1999-11-16 18:24:17 +00:00
Gerd Moellmann e35b612304 (command_loop_1): Remove no_redisplay. 1999-11-16 15:55:07 +00:00
Gerd Moellmann 0a14b9bb34 *** empty log message *** 1999-11-16 11:44:02 +00:00
Gerd Moellmann 5494b50f0c (PRINTPREPARE): Don't call setup_echo_area_for_printing
in noninteractive.
1999-11-16 11:36:01 +00:00
Gerd Moellmann 5bcfeb490e (ensure_echo_area_buffers): New.
(with_echo_area_buffer): Use it.
(setup_echo_area_for_printing): Ditto.
1999-11-14 16:37:23 +00:00
Gerd Moellmann b05d3bee50 *** empty log message *** 1999-11-13 23:42:59 +00:00
Gerd Moellmann 9d1ee97679 (indicate-empty-lines): Doc-fix. 1999-11-13 23:30:57 +00:00
Gerd Moellmann e7f90eab7e (term_init): If "op" isn't available, don't support color
because we can't switch back to the default foreground and
background.
1999-11-12 14:35:43 +00:00
Gerd Moellmann 9b2e6e4cd6 *** empty log message *** 1999-11-12 13:10:20 +00:00
Gerd Moellmann bbd7d5d3ed (Fdocumentation_property): Remove GCPRO because
Fsubstitute_command_keys gcpro's the string.
1999-11-12 12:50:54 +00:00
Kenichi Handa e8cce5afa5 (Ftranslate_region): Check the buffer multibyteness. 1999-11-12 00:09:03 +00:00
Kenichi Handa 1bf21027fc *** empty log message *** 1999-11-12 00:08:09 +00:00
Gerd Moellmann 3bc6df5389 *** empty log message *** 1999-11-11 11:57:47 +00:00
Gerd Moellmann 339ee9797d Remove USE_TEXT_PROPERTIES. 1999-11-11 11:45:06 +00:00
Gerd Moellmann 35a5514b96 *** empty log message *** 1999-11-10 22:53:16 +00:00
Gerd Moellmann bfd2209f52 (QCuser_data): Removed.
(syms_of_xfns): Initialization of QCuser_data removed.
(parse_image_spec): Don't handle :user-data specially.  Allow
unknown keys.  Remove parameter ALLOW_OTHER_KEYS.
(xbm_image_p, xbm_load, xpm_image_p, pbm_image_p, png_image_p)
(tiff_image_p, jpeg_image_p, gif_image_p, gs_image_p): Call
parse_image_spec accordingly.
1999-11-10 22:05:36 +00:00
Richard M. Stallman 4ea68fcc0e *** empty log message *** 1999-11-09 19:08:51 +00:00
Richard M. Stallman 2c6ea900ee (Fforward_word): Handle fields even if would have hit
an edge of the buffer.  Return nil if affected by fields.
1999-11-09 19:00:59 +00:00
Richard M. Stallman c252ce7653 (Fbeginning_of_line): Doc fix.
(Fend_of_line): Doc fix.
1999-11-09 18:46:09 +00:00
Richard M. Stallman a3caef99ae (Fline_beginning_position): If N is not 1,
pass t to Fconstrain_to_field for ESCAPE-FROM-EDGE.

(preceding_pos): Function deleted.
(text_property_stickiness): Decrement POS directly.
Fix a confusion that used PT instead of POS.

(find_field): Properly handle the case
of a field boundary where `field' inherits from neither side.

(Ffield_beginning, Ffield_end): Doc fixes.
(Ferase_field, Ffield_string, Ffield_string_no_properties): Doc fixes.
1999-11-09 18:42:28 +00:00
Gerd Moellmann fa9aabf634 * bytecode.c (Fbyte_code) <BinsertN, Bcall>: Do the
BEFORE_POTENTIAL_GC before DISCARD.
1999-11-08 00:06:50 +00:00
Gerd Moellmann 033a5fa309 (Fgarbage_collect): Call unmark_byte_stack. 1999-11-07 22:45:14 +00:00
Gerd Moellmann 8e6e83b3ea Add prototype for unmark_byte_stack. 1999-11-07 22:44:23 +00:00
Gerd Moellmann a719d13ed3 (mark_byte_stack): Use XMARKBIT and XMARK.
(unmark_byte_stack): Renamed from relocate_byte_pcs.  Use
XUNMARK.
1999-11-07 22:44:06 +00:00
Gerd Moellmann 55b064bdb7 Remove conditional computation on USE_TEXT_PROPERTIES.
(resize_mini_window): Fix computation of needed
mini-window height.
1999-11-07 22:36:55 +00:00
Gerd Moellmann 01e9b9dfb9 Remove conditional compilation on USE_TEXT_PROPERTIES. 1999-11-07 15:53:30 +00:00
Gerd Moellmann 4015b3c0ca Use block statements in cases and declare v1 and v2
locally there.  Rearrange case statements so that thos most
frequently executed come first.  Avoid goto's in frequently
executed cases.
1999-11-07 13:07:56 +00:00
Gerd Moellmann dd59e217f0 *** empty log message *** 1999-11-05 22:08:22 +00:00
Gerd Moellmann 74e9500823 (Fbyte_code): Use BEFORE_POTENTIAL_GC and
AFTER_POTENTIAL_GC around internal_catch.
1999-11-05 21:55:27 +00:00
Gerd Moellmann 35c7a97438 Add prototypes for new functions in bytecode.c.
Add extern declaration for byte_stack_list.
1999-11-05 21:30:57 +00:00
Gerd Moellmann bcf2808066 (struct catchtag): Add member byte_stack.
(internal_catch, Fcondition_case, internal_condition_case)
(internal_condition_case_1: Save value of byte_stack_list in
catchtag.
(unwind_to_catch): Restore byte_stack_list from catchtag.
1999-11-05 21:30:08 +00:00
Gerd Moellmann 630686c871 (Fgarbage_collect): Call mark_byte_stack and
relocate_byte_pcs.
(init_alloc_once, init_alloc): Set byte_stack_list to null.
1999-11-05 21:26:42 +00:00
Gerd Moellmann 7ca1e8b752 (struct byte_stack): New.
(byte_stack_list, mark_byte_stack, relocate_byte_pcs): New
(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): New.
(FETCH, PUSH, POP, DISCARD, TOP, MAYBE_GC): Rewritten.
(HANDLE_RELOCATION): Removed.
(Fbyte_code): Use byte_stack structures.
1999-11-05 21:26:15 +00:00
Gerd Moellmann 4d59c34cd8 *** empty log message *** 1999-11-05 14:05:21 +00:00
Gerd Moellmann 8105cbf751 (Ffile_locked_p): Make FILENAME a required argument. 1999-11-05 14:04:40 +00:00
Gerd Moellmann fe512f27c0 * buffer.c (syms_of_buffer): Extend documentation of
mode-line-format.
1999-11-05 13:46:32 +00:00
Gerd Moellmann 60b64cd673 *** empty log message *** 1999-11-04 21:07:47 +00:00
Gerd Moellmann 98cbb9a3dd (do_completion, Fminibuffer_complete_word): Use
Ferase_field instead of Fdelete_field.
1999-11-04 20:30:49 +00:00
Gerd Moellmann 8bf64fe8ef (Fdelete_field): Renamed from Ferase_field. 1999-11-04 20:30:05 +00:00
Jason Rumney e5619f6b11 *** empty log message *** 1999-11-04 18:29:46 +00:00
Dave Love 789fddb7d7 *** empty log message *** 1999-11-04 16:32:03 +00:00
Gerd Moellmann b51b619b17 *** empty log message *** 1999-11-03 16:27:34 +00:00
Gerd Moellmann 5d7791b36a (Finternal_show_cursor): Change it to set the
cursor on/off, not toggle its state.
(Finternal_show_cursor_p): New.
(syms_of_display): Defsubr Sinternal_show_cursor_p.
1999-11-03 15:57:55 +00:00
Dave Love 5865af0db1 (split_non_ascii_string): Define return value. 1999-11-03 14:30:11 +00:00
Gerd Moellmann cb3a6c483b *** empty log message *** 1999-11-03 13:47:00 +00:00
Gerd Moellmann edfef19957 (string_to_object): New.
(read_minibuf_noninteractive): New.
(read_minibuf): Call read_minibuf_noninteractive if
noninteractive.  Use string_to_object.
1999-11-03 12:41:38 +00:00
Gerd Moellmann 82a700f3f2 *** empty log message *** 1999-11-02 23:23:08 +00:00
Gerd Moellmann 9e56fc95cc (Fdocumentation_property): Fix bug bypassing UNGCPRO. 1999-11-02 23:18:05 +00:00
Dave Love e69dcd60c5 Use SIGCHLD, not SIGCLD (not in glibc 2.1). 1999-11-02 23:10:56 +00:00
Dave Love 827a1788e0 Undo last change and define _GNU_SOURCE before config.h. 1999-11-02 22:44:28 +00:00
Dave Love b5540f0dc6 Use string.h for strsignal. 1999-11-02 14:23:20 +00:00
Gerd Moellmann a69a6e61d4 (QUIT): Give it statement form. 1999-11-02 13:25:16 +00:00
Dave Love 87e21fbd58 (init_eval): Conditionalize declaration of gcpro_level. 1999-11-02 12:58:32 +00:00
Gerd Moellmann 9fb5e03d38 (QCuser_data): New.
(syms_of_xfns): Initialize QCuser_data.
(parse_image_spec): Ignore :user-data DATA properties.
1999-11-02 12:51:55 +00:00
Gerd Moellmann 1b335865a4 (display_line): Set charpos of first glyph in blank
lines not corresponding to any text to -1, even if no glyphs are
filled in in that line.
1999-11-02 12:22:54 +00:00
Richard M. Stallman d21bd3fbdb (w16select.o, sound.o): Don't depend on lisp.h. 1999-11-01 23:26:54 +00:00
Richard M. Stallman 7b0cb8a0e7 (strout): Consider `noninteractive' and use stdout
only when PRINTCHARFUN is t.
1999-11-01 23:25:14 +00:00
Richard M. Stallman 15934ffa0e [DEBUG_GCPRO] (gcpro_level): New variable.
(init_eval) [DEBUG_GCPRO]: Initialize it.
(unwind_to_catch) [DEBUG_GCPRO]: Set gcpro_level
from remaining gcprolist.
1999-11-01 23:19:20 +00:00
Richard M. Stallman 4742f5240c (struct gcpro) [DEBUG_GCPRO]: New field `level'.
(gcpro_level): Declare it extern.
[DEBUG_GCPRO] (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5):
Alternate definitions that set `level' and increment `gcpro_level'.
[DEBUG_GCPRO] (UNGCPRO): Alternate definition that checks gcpro_level.
1999-11-01 23:16:22 +00:00
Gerd Moellmann 36fcd3d902 *** empty log message *** 1999-11-01 21:11:14 +00:00
Gerd Moellmann 6c1aa34da0 (png_load) [PNG_READ_sRGB_SUPPORTED]: Put code using
png_get_sRGB in #ifdef.
1999-11-01 21:05:14 +00:00
Gerd Moellmann 111259b445 *** empty log message *** 1999-11-01 15:42:30 +00:00
Gerd Moellmann dd5c96e8a6 *** empty log message *** 1999-11-01 14:54:58 +00:00
Gerd Moellmann c3f135409c (Finternal_show_cursor): Renamed from Fshow_cursor.
(syms_of_display): Use the new name.
1999-11-01 14:43:24 +00:00
Gerd Moellmann db8878fb45 *** empty log message *** 1999-11-01 14:42:21 +00:00
Gerd Moellmann e28c666e3c (verify_interval_modification): Signal text-read-only
instead of calling error.
1999-11-01 14:14:52 +00:00
Gerd Moellmann 6c8583110b Add extern declaration for Qtext_read_only. 1999-11-01 14:14:31 +00:00
Gerd Moellmann 8f9f49d733 (Qtext_read_only): New built-in error.
(syms_of_data): Initialize it.
1999-11-01 14:14:04 +00:00
Gerd Moellmann e76f1c446d Remove whitespace after open or in front of closing parentheses. 1999-11-01 13:56:47 +00:00
Gerd Moellmann 575ed80579 *** empty log message *** 1999-10-31 14:01:04 +00:00
Gerd Moellmann e82bd92274 (resize_mini_window): Compute needed height differently. 1999-10-31 13:04:20 +00:00
Gerd Moellmann 7843e09cdc (Flength): Unroll loop over lists. 1999-10-31 02:04:50 +00:00
Gerd Moellmann 80c6cb1ff0 (append_space): Return non-zero if space was appended.
(display_line): Set charpos of first glyph to -1 only if that
glyph is the space added by append_glyph.
1999-10-31 02:01:25 +00:00
Gerd Moellmann 65113618fc Extend comment for optional_new_start. 1999-10-30 20:43:26 +00:00
Kenichi Handa 3636f7a323 (code_convert_region): Update `dst' correctly. 1999-10-29 00:46:20 +00:00
Gerd Moellmann d9e455fbec (POP_FAILURE_POINT): Use failure_id.integer
as arg to DEBUG_POP and DEBUG_PRINT.
1999-10-28 21:17:43 +00:00
Gerd Moellmann a2ad7096ec *** empty log message *** 1999-10-28 12:13:45 +00:00
Gerd Moellmann f2be367171 (Fmemq, Fassq, Frassq, assq_no_quit, Fassoc)
(Frassoc): Rewritten.
1999-10-28 12:12:47 +00:00
Gerd Moellmann 1e3196e81b *** empty log message *** 1999-10-27 10:24:42 +00:00
Gerd Moellmann ffe2d21f78 Add undef for HAVE_DEV_PTMX. 1999-10-27 10:22:45 +00:00
Gerd Moellmann fdc5e0fcf4 [HAVE_DEV_PTMX]: Redefine FIRST_PTY_LETTER to 'z'.
Define PTY_NAME_SPRINTF.
Redefine PTY_TTY_NAME_SPRINTF.
1999-10-27 10:22:21 +00:00
Gerd Moellmann 17dbfaad0e *** empty log message *** 1999-10-26 23:28:36 +00:00
Gerd Moellmann c1307a2360 (Qad_activate_internal): Renamed from Qad_activate.
(Ffset): Call Qad_activate_internal.
(syms_of_data): Initialize Qad_activate_internal.
1999-10-26 23:25:22 +00:00
Gerd Moellmann 26922151e2 *** empty log message *** 1999-10-26 22:22:57 +00:00
Gerd Moellmann 622e3754f4 * xdisp.c (echo_area_display) [HAVE_X_WINDOWS]: Do nothing if
Vterminal_frame is selected and Vwindow_system is non-nil.
1999-10-26 22:21:58 +00:00
Gerd Moellmann 79dcc28bc3 (echo_area_display): Put previous change in #if 0. 1999-10-26 14:51:55 +00:00
Gerd Moellmann 2bea706b5d *** empty log message *** 1999-10-26 14:50:52 +00:00
Gerd Moellmann 67a5596fa3 (standard_args): Add file' as synonym for visit',
`execute' as synonym for `eval'.
(main): Add new options to usage message.
1999-10-26 14:34:42 +00:00
Gerd Moellmann 81dc5de57a (Qhash_table): New.
(Ftype_of): Return it for hash tables.
(syms_of_data): Initialize Qhash_table.
1999-10-25 20:51:13 +00:00
Gerd Moellmann bd3c545deb *** empty log message *** 1999-10-25 13:32:00 +00:00
Gerd Moellmann 7d0ff46626 (POP_FAILURE_POINT): Extract failure_id as an integer. 1999-10-25 12:31:55 +00:00
Ken Raeburn 7539e11fca more XCAR/XCDR/XFLOAT_DATA uses, to help isolete lisp engine 1999-10-25 04:58:18 +00:00
Ken Raeburn 3a7093d84f netbsd-elf fixes 1999-10-25 04:50:39 +00:00
Gerd Moellmann 2a3d714616 (Fnext_window): Add a QUIT in the loop. 1999-10-23 22:44:26 +00:00
Gerd Moellmann 8ac52782cd *** empty log message *** 1999-10-23 13:24:13 +00:00
Gerd Moellmann 2d2e4a9f05 (bootstrap, bootstrap-emacs, bootstrap-temacs): New targets. 1999-10-23 13:23:33 +00:00
Dave Love 05f0d15a1b *** empty log message *** 1999-10-22 12:55:03 +00:00
Dave Love 6a97197e0c (main): Enable profiling conditional on __linux also. 1999-10-22 12:52:09 +00:00
Gerd Moellmann 882fb0e653 *** empty log message *** 1999-10-20 19:34:52 +00:00
Gerd Moellmann 66f4dd6974 *** empty log message *** 1999-10-19 19:57:29 +00:00
Gerd Moellmann 487b10dd18 (HAVE_GETLOADAVG): Define as 1 because config.h defines it that way. 1999-10-19 19:52:13 +00:00
Stefan Monnier 863476d170 *** empty log message *** 1999-10-19 18:08:23 +00:00
Gerd Moellmann b5f5bc317a (echo_area_display) [HAVE_X_WINDOWS]: Do nothing
if selected_frame is equal to Vterminal_frame.
1999-10-19 16:45:45 +00:00
Paul Eggert bb7b436870 s/usg5-4.h:
(NSIG): Remove.
(NSIG_MINIMUM): New macro.
s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h,
s/umips.h, s/usg5-4.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.

* s/gnu-linux.h:
(SIGPOLL, SIGURG): Do not undef.
(BROKEN_SIGPOLL, BROKEN_SIGURG): New macros.

* s/ptx4.h:
(SIGINFO): Do not undef.
(BROKEN_SIGINFO): New macros.

* s/ptx.h, s/template.h: Doc fix.

* s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h,
s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h,
s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h,
s/usg5-2.h, s/usg5-3.h, s/xenix.h:
(open, close, read, write, INTERRUPTIBLE_OPEN,
INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove.

* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
1999-10-19 07:28:36 +00:00
Paul Eggert 332d98c75d * m/alpha.h: Do not include <stdlib.h>, as <config.h> does this now.
(NSIG): Remove.
(NSIG_MINIMUM): New macro.
* m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h,
m/ustation.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.

* m/ustation.h:
(SIGTSTP): Do not undef.
(BROKEN_SIGTSTP): New macro.
* m/delta.h: Doc fix.
1999-10-19 07:27:16 +00:00
Paul Eggert 68c45bf065 Add support for large files, 64-bit Solaris, system locale codings.
* Makefile.in (emacs): Set the LC_ALL environment variable to "C"
when dumping, so that the dumped Emacs doesn't have stray locale info.
(dired.o): Depend on systime.h.
(editfns.o): Depend on coding.h.

* alloc.c, buffer.c, callproc.c, ccl.c, charset.c, coding.c, data.c,
dispnew.c, editfns.c, emacs.c, filelock.c, floatfns.c, hftctl.c,
keyboard.c, process.c, sysdep.c, unexelf.c, unexhp9k800.c,
unexsunos4.c, vmsfns.c, vmsgmalloc.c, w32faces.c, w32menu.c, w32term.c,
w32xfns.c, xfaces.c, xfns.c, xmenu.c, xterm.c:
Include <config.h> before any system include files.

* alloc.c, buffer.c, ccl.c, data.c, editfns.c, emacs.c, eval.c,
fileio.c, filelock.c, frame.c, insdel.c, keymap.c, lread.c,
m/alpha.h, print.c, search.c, sysdep.c, xdisp.c, xfaces.c, xfns.c,
xmenu.c, xterm.c:
Do not include <stdlib.h>, as <config.h> does this now.

* callproc.c (Fcall_process):
Synchronize messages locale before invoking strerror.
Decode resulting string with locale-coding-system.

* coding.c (Vlocale_coding_system): New var.
(syms_of_coding): Adjust to above change.
(emacs_strerror): New function.

* coding.h (emacs_strerror, Vlocale_coding_system): New decls.

* config.in (HAVE_STDIO_EXT_H, HAVE_TM_GMTOFF, HAVE___FPENDING,
HAVE_FTELLO, HAVE_GETLOADAVG, HAVE_MBLEN, HAVE_MBRLEN,
HAVE_STRSIGNAL): New macros.
(BITS_PER_LONG): Default to 64 if _LP64 is defined.
<stdlib.h>: Include if HAVE_STDLIB_H is defined and NOT_C_CODE isn't.

* dired.c: Include "systime.h".
(Ffile_attributes): Do not cast s.st_size to int; this loses
information if int is 32 bits but st_size and EMACS_INT are larger.
Treat large device numbers like large inode numbers.

* dispnew.c (PENDING_OUTPUT_COUNT): Use __fpending if available.

* editfns.c: Include coding.h.
(emacs_strftime): Remove decl.
(emacs_strftimeu): New decl.
(emacs_memftimeu): Renamed from emacs_memftime; new arg UT.
Use emacs_strftimeu instead of emacs_strftime.
(Fformat_time_string): Convert format string using
Vlocale_coding_system, and convert result back.  Synchronize time
locale before invoking lower level function.  Invoke
emacs_memftimeu, passing ut, instead of emacs_memftime.

* emacs.c: Include <locale.h> if HAVE_SETLOCALE is defined.
(Vmessages_locale, Vprevious_messages_locale, Vtime_locale,
Vprevious_time_locale): New variables.
(main): Invoke setlocale early, so that initial error messages are
localized properly.  But skip locale-setting if LC_ALL is "C".
Fix up locale when it's safe to do so.
(fixup_locale): Moved here from xterm.c.
(synchronize_locale, synchronize_time_locale,
synchronize_messages_locale): New functions.
(syms_of_emacs): Accommodate above changes.

* fileio.c (report_file_error): Convert strerror output according
to Vlocale_coding_system.
(Finsert_file_contents): Check for arithmetic overflow in
computations that depend on file size.  Report IO errors
with emacs_strerror, not strerror.

* fns.c (Fgethash): Declare dflt parameter.

* gmalloc.c: Do not define const to nothing if HAVE_CONFIG_H
is defined; that's config.h's job.

* lisp.h (EMACS_INT, BITS_PER_EMACS_INT, EMACS_UINT): If _LP64,
default these values to long, BITS_PER_LONG, and unsigned long.
(VALBITS, MARKBIT, XINT): Do not assume 32-bit EMACS_INT.
(PNTR_COMPARISON_TYPE): Default to EMACS_UINT, not to unsigned int.
(code_convert_string_norecord, fixup_locale,
synchronize_messages_locale, synchronize_time_locale,
emacs_open, emacs_close, emacs_read, emacs_write): New decls.
All Emacs callers of open, close, read, write changed to use
emacs_open, emacs_close, emacs_read, emacs_write.

* lread.c (file_offset, file_tell): New macros.  All uses of ftell
changed to file_tell.
(saved_doc_string_position, prev_saved_doc_string_position): Now
of type file_offset.
(init_lread): Do not fix locale here; fixup_locale now does this.

* m/amdahl.h, s/usg5-4.h:
(NSIG): Remove.
(NSIG_MINIMUM): New macro.

* m/cydra5.h, m/dpx2.h, m/mips.h, m/pfa50.h, m/sps7.h, m/stride.h,
m/ustation.h, s/gnu-linux.h, s/hpux.h, s/iris3-5.h, s/iris3-6.h,
s/umips.h, s/usg5-4.h:
(SIGIO): Do not undef.
(BROKEN_SIGIO): New macro.

* m/ustation.h:
(SIGTSTP): Do not undef.
(BROKEN_SIGTSTP): New macro.

* s/gnu-linux.h:
(SIGPOLL, SIGURG): Do not undef.
(BROKEN_SIGPOLL, BROKEN_SIGURG): New macros.

* s/ptx4.h:
(SIGINFO): Do not undef.
(BROKEN_SIGINFO): New macros.

* m/delta.h, s/ptx.h, s/template.h: Doc fix.

* mktime.c, strftime.c: Update to glibc 2.1.2 version, with
some Emacs-related changes merged.

* print.c (float_to_string): Prepend "-" to representation of a
NaN if the NaN is negative.

* process.c (sys_siglist): Omit if HAVE_STRSIGNAL.
(wait_reading_process_input): Use emacs_strerror, not strerror.

* process.c (status_message, sigchld_handler): Synchronize locale,
then use strsignal istead of sys_siglist.
* w32proc.c (sys_wait): Likewise.

* s/aix3-1.h, s/bsd4-1.h, s/dgux.h, s/gnu-linux.h, s/hiuxmpp.h,
s/hpux.h, s/iris3-5.h, s/iris3-6.h, s/irix3-3.h, s/osf1.h, s/rtu.h,
s/sunos4-1.h, s/unipl5-0.h, s/unipl5-2.h, s/usg5-0.h, s/usg5-2-2.h,
s/usg5-2.h, s/usg5-3.h, s/xenix.h:
(open, close, read, write, INTERRUPTIBLE_OPEN,
INTERRUPTIBLE_CLOSE, INTERRUPTIBLE_IO): Remove.

* s/sol2-5.h (_LARGEFILE_SOURCE, _FILE_OFFSET_BITS): New macros.
* sysdep.c (sys_read, sys_write, read, write, sys_close, close,
sys_open, open): Remove.
(emacs_open, emacs_close, emacs_read, emacs_write): Always define;
the old INTERRUPTIBLE_OPEN, INTERRUPTIBLE_CLOSE, and INTERRUPTIBLE_IO
macros are no longer used.
(emacs_open): Renamed from sys_open.  Merge BSD4_1 version.
(emacs_close): Renamed from sys_close.
(emacs_read): Renamed from sys_read.
(emacs_write): Renamed from sys_write.
(sys_siglist): Do not declare if HAVE_STRSIGNAL.
(dup2): Do not print error on failure; the real dup2 doesn't.
(strsignal): New function, defined if !HAVE_STRSIGNAL.

* syssignal.h (SIGINFO): Undef if defined and if BROKEN_SIGINFO
is defined.
(SIGIO, SIGPOLL, SIGTSTP, SIGURG): Likewise.
(NSIG): If less than NSIG_MINIMUM, define to NSIG_MINIMUM.
(strsignal): Declare if !HAVE_STRSIGNAL.

* unexelf.c (ElfBitsW, ELFSIZE, ElfExpandBitsW): New macros.
(ElfW): Define in terms of ElfExpandBitsW.

* w32proc.c (sys_siglist): Remove decl.

* xdisp.c (decode_mode_spec): 3rd arg is int, not char, to comply
with ANSI C.
(display_string): Declare face_string_pos arg.

* xfns.c (Fx_show_tip): Declare timeout param.

* xterm.c: No need to include locale.h.
(x_alloc_lighter_color, x_setup_relief_color):
Pass arg as double, not float, for compatibility with ANSI C.
(fixup_locale): Move to emacs.c.
(x_term_init): Do not setlocale or fixup locale; the main program
does this now.
1999-10-19 07:25:11 +00:00
Dave Love 2f0b74ea0c (Fdocumentation_property): Remove register declaration for `tem'. 1999-10-18 18:15:25 +00:00
Dave Love 54f696ea5e (Fdocumentation_property): Gcpro `tem'. 1999-10-18 14:00:19 +00:00
Kenichi Handa 471aa4a0de (Fload): Calculate bytes of filename correctly.
(openp): Likewise.
1999-10-18 02:12:21 +00:00
Kenichi Handa 1f5fe39244 *** empty log message *** 1999-10-18 02:09:19 +00:00
Kenichi Handa aca2020bdb (print_preprocess): In case print-circle is nil,
add OBJ to Vprint_number_table only when OBJ is a symbol.
1999-10-18 02:01:56 +00:00
Kenichi Handa b843d1aed4 (code_convert_string): Add record_unwind_protect to
assure setting inhibit_pre_post_conversion back to zero.  Take
care of the multibyteness of the working buffer.

(inhibit_pre_post_conversion): New variable.
(setup_coding_system): If inhibit_pre_post_conversion is nonzero,
ignore post-read-conversion and pre-write-conversion property of
the coding system.
(code_convert_region_unwind): New function.
(code_convert_region): Set inhibit_pre_post_conversion to 1 while
running pre-write-conversion and post-read-conversion.
(code_convert_string): Likewise.
1999-10-18 01:36:35 +00:00
Gerd Moellmann cd876a9126 *** empty log message *** 1999-10-17 12:57:38 +00:00
Gerd Moellmann b8855607a0 (Fforward_word): Supply new ESCAPE_FROM_EDGE parameter
to Fconstrain_to_field.
(Fforward_word): Likewise.
Constrain to any field.
1999-10-17 12:56:25 +00:00
Gerd Moellmann 8e9968c634 (Fminibuffer_complete_and_exit): Supply value for new
ESCAPE_FROM_EDGE parameter to Ffield_beginning.
(Fminibuffer_complete_word): Use
Ffield_beginning to find the prompt end.
(Fminibuffer_complete_and_exit): Test for an empty
input string by seeing where the field begins, instead of
looking at text-properties.
(read_minibuf): Don't save minibuffer prompt length on
minibuf_save_list.
Don't initialize minibuffer prompt length.
Wrap prompt text-properties around the entire prompt.
Add 'prompt text-property to prompt.
Get final value with Ffield_string instead of make_buffer_string.
(read_minibuf_unwind): Don't restore minibuffer prompt length from
minibuf_save_list.
(do_completion): Get minibuffer input with Ffield_string
instead of Fbuffer_string.
Erase minibuffer input with Ferase_field instead of erase_buffer.
(Fminibuffer_complete_and_exit): Likewise.
Test whether buffer is empty by looking for the 'prompt text
property at the end.
Set prompt length by looking for the end of the prompt text property,
and save prompt length for later use (since there is no longer a
buffer variable to get it from).
(Fminibuffer_prompt_width, Fminibuffer_prompt_end): Functions removed.
(syms_of_minibuf): Remove initializations of
Sminibuffer_prompt_width and Sminibuffer_prompt_end.
1999-10-17 12:55:49 +00:00
Gerd Moellmann 0daf6e8d79 (Fconstrain_to_field): Make sure we don't violate the
argument preconditions of find_before_next_newline in the case
where both ONLY_IN_LINE and ESCAPE_FROM_EDGE are set and OLD_POS
was indeed at the edge.
(text_property_eq, text_property_stickiness): Don't
use initializers for auto variables of type Lisp_Object.
(find_field): Likewise.  Use braces around nested ifs.
(Fline_end_position): Store the raw eol in a variable, so that the
final expression doesn't look so ugly.
(Fconstrain_to_field): Doc fix.
(preceding_pos): Renamed from `preceeding_pos'.
(text_property_stickiness, find_field): Call preceding_pos,
not preceeding_pos.
(Ffield_string_no_properties): New function.
(text_property_stickiness, preceeding_pos): New functions.
(Ffield_string): Remove PROPS parameter.
(find_field): Add MERGE_AT_BOUNDARY parameter.
Rewrite to use stickiness of `field' property to resolve
ambiguous cases.
(Ffield_beginning, Ffield_end): Add ESCAPE_FROM_EDGE parameter.
(Fconstrain_to_field): Likewise.
(syms_of_editfns): Init Sfield_string_no_properties.
(Ffield_string, Ferase_field, Ffield_end):
Supply new MERGE_AT_BOUNDARY argument to find_field.
(Fline_beginning_position, Fline_end_position): Supply new
ESCAPE_FROM_EDGE parameter to Fconstrain_to_field.
Pass a value of Qt for the ONLY_IN_LINE argument to
Fconstrain_to_field (only matters if N != 1).
(Fconstrain_to_field): Add get/set-current-point
behavior when NEW_POS is nil.
(find_field): Use XSETFASTINT instead of make_number.
(Qfield): New variable.
(find_field, Ferase_field, Ffield_string,
Ffield_beginning, Ffield_end, Fconstrain_to_field): New functions.
(Fline_beginning_position, Fline_end_position): Constrain to any field.
(make_buffer_string_both): Remove minibuffer-prompt hack.
(syms_of_editfns): Initialize Qfield, and subr entries for
field functions above.
1999-10-17 12:55:00 +00:00
Gerd Moellmann 7b9e346c81 (struct buffer): Remove prompt_end_charpos field. 1999-10-17 12:53:48 +00:00
Gerd Moellmann c0d9a0c30c (Fget_buffer_create, Fmake_indirect_buffer, Fkill_buffer):
Don't initialize prompt_end_charpos field.
1999-10-17 12:53:14 +00:00
Dave Love c4dcdc9ce6 # 1999-10-17 09:55:57 +00:00
Gerd Moellmann 3f6f75085a *** empty log message *** 1999-10-16 12:03:09 +00:00
Gerd Moellmann 43b4a21f4e (enum save_restore_action): New.
(save_restore_orig_size): Change parameter list.  Add
functionality to check for valid orig_top and orig_height members
in a window tree.
(grow_mini_window): Call save_restore_orig_size with new parameter
list.
(shrink_mini_window): Restore old window sizes only if old
size information is valid in all windows in a window tree.
1999-10-16 11:24:23 +00:00
Gerd Moellmann bf82bce457 (set_frame_menubar): Don't call
x_set_menu_resources_from_menu_face here.
(update_frame_menubar): Call x_set_menu_resources_from_menu_face.
1999-10-15 15:15:43 +00:00
Gerd Moellmann 2710454de8 *** empty log message *** 1999-10-15 15:15:07 +00:00
Gerd Moellmann 06482119e2 (gif_load): Fix handling of interlaced GIFs. 1999-10-14 23:19:50 +00:00
Dave Love 17fa28371a *** empty log message *** 1999-10-14 15:27:34 +00:00