1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 16:41:45 -08:00
Commit graph

10302 commits

Author SHA1 Message Date
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
Gerd Moellmann
45f9341666 (Fopen_network_stream): Don't loop if gethostbyname
fails and h_errno is TRY_AGAIN.
1999-10-14 11:23:11 +00:00
Dave Love
2bf6fa4b52 (handle_fontified_prop): GCPRO pos. 1999-10-14 11:03:39 +00:00
Dave Love
3edc33a4a9 (lock_file): Fix previous change. 1999-10-14 09:19:34 +00:00
Dave Love
c765b72361 # 1999-10-13 17:42:55 +00:00
Dave Love
8af8a9ca7c (lock_file): Move gcpro of `fn'. 1999-10-13 17:17:59 +00:00
Gerd Moellmann
dace7f4e1c (auto-save-interval): Fix doc string. 1999-10-10 21:09:05 +00:00
Phillip Rulon
a04f1a93c6 (Fsingle_key_description): Make tem big enough.
(describe_buffer_bindings): Make buf big enough.
1999-10-10 01:39:53 +00:00
Richard M. Stallman
73fb36f17c (print): When removing objects from Vprint_number_table,
only scan the newly added objects.
(print_preprocess): If OBJ is a gensym, and print-continuous-numbering,
unconditionally force it to stay in the table.
1999-10-09 22:58:37 +00:00
Gerd Moellmann
85177c862b *** empty log message *** 1999-10-09 19:58:13 +00:00
Gerd Moellmann
209061be86 (prepare_image_for_display): Don't try to load image if
loading it failed before.
(lookup_image, prepare_image_for_display): Remember if loading the
image failed.
(xpm_load): Add missing UNBLOCK_INPUT.
1999-10-09 19:47:16 +00:00
Gerd Moellmann
a7ac64a901 (struct image): New member load_failed_p. 1999-10-09 19:46:41 +00:00
Phillip Rulon
d177c58352 *** empty log message *** 1999-10-09 01:22:21 +00:00
Phillip Rulon
b988a84237 (get_local_map): Use indirect_function,
not Findirect_function.
1999-10-09 00:50:15 +00:00
Phillip Rulon
2727132911 *** empty log message *** 1999-10-08 23:57:58 +00:00
Phillip Rulon
f1aba51233 (unexec): Don't get confused by a short section
just before the bss section.
1999-10-08 23:08:28 +00:00
Stefan Monnier
11e4de5d25 . 1999-10-08 21:44:24 +00:00
Stefan Monnier
9acbdbcb1f (Fmake_temp_name): forgot the \n\ in the docstring 1999-10-08 21:43:21 +00:00
Stefan Monnier
a1f973fb9a (Fmake_temp_name): add a ref to `make-temp-file' in the docstring. 1999-10-08 21:42:32 +00:00
Gerd Moellmann
347104cab0 Add TAGS-LISP 1999-10-08 11:52:13 +00:00
Gerd Moellmann
f1da8f069e (XTread_socket) <ClientMessage, WM_TAKE_FOCUS>:
Don't call XSetInputFocus because that can generate additional
FocusIn events.
1999-10-08 11:33:09 +00:00
Gerd Moellmann
c37bbd4fe3 *** empty log message *** 1999-10-07 11:53:31 +00:00
Gerd Moellmann
9ef0c85bc7 [HAVE_LIBNCURSES]: Define TERMINFO and LIBS_TERMCAP. 1999-10-07 11:49:21 +00:00
Gerd Moellmann
e1b37c3468 (wait_reading_process_input): When trying to suck
input from one process, for accept-process-output,
exit that loop if we get EAGAIN or EWOULDBLOCK.
1999-10-07 11:37:40 +00:00
Gerd Moellmann
78cc5c64e4 Change copyright statement. 1999-10-07 11:32:09 +00:00
Gerd Moellmann
fef04523bd (Qbitmap_spec_p): Replaces Qpixmap_spec_p.
(Fbitmap_spec_p): Replaces Fpixmap_spec_p.
(load_pixmap): Use Fbitmap_spec_p and Qbitmap_spec_p instead of
Fpixmap_spec_p and Qpixmap_spec_p.
(load_face_colors, check_lface_attrs,
merge_face_vector_with_property,
Finternal_set_lisp_face_attribute): Use Fbitmap_spec_p.
(syms_of_xfaces): Initialize Qbitmap_spec_p, defsubr
Fbitmap_spec_p.
1999-10-07 00:41:24 +00:00
Gerd Moellmann
577d9e2f1d *** empty log message *** 1999-10-07 00:36:36 +00:00
Gerd Moellmann
f5737ad232 *** empty log message *** 1999-10-06 23:31:49 +00:00
Gerd Moellmann
ac44152803 (set_frame_menubar, xmenu_show): Call
x_set_menu_resources_from_menu_face.
1999-10-06 23:13:21 +00:00
Gerd Moellmann
c7ae32842a (toplevel) [USE_MOTIF]: Include some Motif headers.
(struct x_resources) [USE_X_TOOLKIT]: New.
(xm_apply_resources, xm_set_menu_resources_from_menu_face)
[USE_MOTIF]: New.
(xl_apply_resources, xl_set_menu_resources_from_menu_face)
[USE_LUCID]: New.
(x_set_menu_resources_from_menu_face) [USE_X_TOOLKIT]: New.
(Qmenu): New.
(syms_of_xfaces): Initialize Qmenu.
(realize_basic_faces): Realize face `menu'.
(resolve_face_name): New.
(lface_from_face_name): Use it.
(Finternal_set_lisp_face_attribute): Ditto.
(Fpixmap_spec_p): Rewritten.  Extend doc string.
1999-10-06 23:09:44 +00:00
Gerd Moellmann
52377a47b0 (display_menu_bar): Use MENU_FACE_ID instead of
MODE_LINE_FACE_ID.
1999-10-06 23:05:32 +00:00
Gerd Moellmann
8317e10427 (enum face_id): Add MENU_FACE_ID.
(toplevel): Include X11/Intrinsic.h.
1999-10-06 23:00:50 +00:00