1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-22 04:21:24 -08:00
Commit graph

12496 commits

Author SHA1 Message Date
Stefan Monnier
5586f3ebef *** empty log message *** 2000-10-15 22:27:48 +00:00
Stefan Monnier
d671382e93 (describe_syntax): Add code for comment and string fences. 2000-10-15 22:12:01 +00:00
Stefan Monnier
c65adb44b0 (Fstring_to_syntax): New function extracted from Fmodify_syntax_entry.
(Fmodify_syntax_entry): Use it and document the ! and | fences.
(skip_chars, Fforward_comment): Remove unused variables.
(syms_of_syntax): Add defsubr for string-to-syntax.
2000-10-15 21:42:41 +00:00
Stefan Monnier
a0ad02f7fb (WIDE_CHAR_SUPPORT): Define if _LIBC as well.
Mostly, just a test of the CVS repository.
2000-10-15 16:44:45 +00:00
Eli Zaretskii
ef6d59c99e Fix wording in a comment. 2000-10-15 05:55:40 +00:00
Stefan Monnier
1ed6d8ef37 (Fkeymap_parent): Undefined autoload -> 1. 2000-10-15 03:34:18 +00:00
Stefan Monnier
db785038bb * keymap.c (access_keymap): Add AUTOLOAD parameter.
Do the meta->esc mapping.  Call get_keyelt before returning.
Start scanning from the second element (the first is always `keymap')
to make it easier to detect when we reach a parent map.
Handle the case of inheriting from a symbol whose function is a map.
(Fkeymap_parent): Also handle the `inherit from symbol' case.
(fix_submap_inheritance, Fdefine_key): Update call to access_keymap.
(get_keyelt, Flookup_key): Update call to access_keymap.
Remove the meta->esc mappings.
(define_as_prefix): Delete old disabled code.
(menu_item_p): New function.
(where_is_internal_1): Skip over the few remaining menu items.
* lisp.h (access_keymap): Update prototype.
* keyboard.c (read_char, menu_bar_items, tool_bar_items):
Update call to access_keymap.
(follow_key, read_key_sequence): Update calls to access_keymap.
Remove the meta->esc mappings.
2000-10-15 03:31:32 +00:00
Gerd Moellmann
a2e2a7f656 (direct_output_for_insert): Call set_iterator_to_next
with additional argument.
2000-10-13 18:27:25 +00:00
Gerd Moellmann
cafafe0b81 (cursor_row_p): New function.
(try_cursor_movement, display_line): Use it.

(append_space): Also save/restore iterator's current
character and its length.

(init_from_display_pos): Add an assertion.
(handle_stop): Don't set iterator's add_overlay_start.
(handle_invisible_prop): Likewise.
(load_overlay_strings): If text under an overlay is invisible,
take both before- and after-strings into account when the iterator
is positioned either at the start or at the end of the overlay.
(forward_to_next_line_start): Rewritten.
(reseat_at_next_visible_line_start): Rewritten.
(set_iterator_to_next): Add parameter RESEAT_P.
2000-10-13 13:11:49 +00:00
Gerd Moellmann
ff2a2e6b9e (struct it): Remove member add_overlay_start.
(set_iterator_to_next): Change prototype.
2000-10-13 13:08:45 +00:00
Kenichi Handa
e2c06b17a9 (decode_coding_string): Set coding->src_multibyte and
coding->dst_multibyte before using CODING_REQUIRE_DECODING.
(encode_coding_string): Set coding->src_multibyte and
coding->dst_multibyte before using CODING_REQUIRE_ENCODING.
2000-10-13 08:21:20 +00:00
Kenichi Handa
e4a3f4e178 *** empty log message *** 2000-10-13 08:19:47 +00:00
Kenichi Handa
62b3ef1d94 (code_convert_region): Be sure to initialize coding->category_idx. 2000-10-13 08:01:24 +00:00
Kenichi Handa
c744452b31 *** empty log message *** 2000-10-13 08:01:04 +00:00
Stefan Monnier
321fd26fa9 (Fx_create_frame): Don't bother calling
face-set-after-frame-default since the caller does it for us anyway.
2000-10-12 20:33:26 +00:00
Eli Zaretskii
768324397d (coordinates_in_window): Fix detection of vertical line
on character terminals.
2000-10-12 15:40:53 +00:00
Gerd Moellmann
2483cf581b (save_excursion_save): Additionally record the
selected window.
(save_excursion_restore): If buffer was visible in a window, and a
different window was selected, and the old selected window is
still live, restore point in that window.
2000-10-12 13:06:00 +00:00
Kenichi Handa
a4249304d8 (x_produce_glyphs): Handle unibyte_display_via_language_environment
correctly.
2000-10-12 05:22:46 +00:00
Kenichi Handa
8a0eba09cf *** empty log message *** 2000-10-12 05:22:27 +00:00
Kenichi Handa
465cf84ccd (skip_chars): Change the way of handling a range from unibyte char to
multibyte char.
2000-10-12 02:54:26 +00:00
Kenichi Handa
20401fcc56 *** empty log message *** 2000-10-12 02:53:21 +00:00
Kenichi Handa
eb991b25b4 *** empty log message *** 2000-10-11 23:59:36 +00:00
Kenichi Handa
57bb5c37d7 (read_process_output): Cancel previous change. 2000-10-11 23:56:30 +00:00
Eli Zaretskii
c1b096cb1d *** empty log message *** 2000-10-11 17:55:31 +00:00
Eli Zaretskii
d594a73b96 (Fsearch_backward, Fsearch_forward): Doc fix. 2000-10-11 17:54:18 +00:00
Eli Zaretskii
365dd3255e (Ffind_charset_string): Doc fix.
(Ffind_charset_region): Doc fix.
2000-10-11 14:10:56 +00:00
Kenichi Handa
df3c11b907 (read_process_output): Fix previous change. Adjust multibyteness of
text to insert in a buffer by make_string_unibyte/multibyte instead of
Fstring_as_unibyte/multibyte.
2000-10-11 01:23:36 +00:00
Kenichi Handa
eb483c2b91 *** empty log message *** 2000-10-11 01:20:36 +00:00
Andreas Schwab
b40bfb99b0 . 2000-10-10 11:11:10 +00:00
Andreas Schwab
c70bbf0690 (mark_object): Remove all workarounds installed on
1993-08-08.
2000-10-10 11:10:58 +00:00
Miles Bader
10e5ab4767 Remove CVS merge cookie left in. 2000-10-10 02:32:57 +00:00
Kenichi Handa
e10ae834bc (CHAR_STRING): Optimized for single byte characters. 2000-10-10 02:00:52 +00:00
Kenichi Handa
caff31d41e (READ_QUADRUPLET_BYTE): Set *NCHARS_RETURN before
returning.
(base64_encode_1): Make it work for a text of multibyte form.
(Fbase64_decode_region): Allocate sufficient memory for multibyte
case.  Don't call str_to_multibyte because base64_decode_1
produces correct multibyte form for eight-bit codes.
(Fbase64_decode_string): Adjusted for the change of
base64_decode_1.
(base64_decode_1): New args MULTIBYTE and NCHARS_RETURN.  If
MULTIBYTE is nonzero, produce correct multibyte form for eight-bit
codes.
2000-10-10 02:00:33 +00:00
Andreas Schwab
cba026ef54 . 2000-10-09 20:01:56 +00:00
Andreas Schwab
3316160629 (Fopen_network_stream) [HAVE_GETADDRINFO]: Reset S to
-1 after socket is closed, to fall through to error processing.
2000-10-09 20:01:10 +00:00
Eli Zaretskii
53704a0764 Fix last change. 2000-10-09 16:16:54 +00:00
Eli Zaretskii
1e21fe48c0 (IT_set_frame_parameters): Don't initialize Lisp_Object
variables.  If ALIST includes foreground-color or
background-color, change also the colors of the default face for
this frame.
2000-10-09 16:05:35 +00:00
Eli Zaretskii
a640322e7b *** empty log message *** 2000-10-08 06:51:37 +00:00
Eli Zaretskii
984f5aaa61 (top-level) <Qbackground_color, Qforeground_color>: Make
them extern (they are defined on xfaces.c).
(syms_of_msdos): Don't intern and don't staticpro
Qbackground_color and Qforeground_color.
2000-10-08 06:24:44 +00:00
Eli Zaretskii
a115794c52 *** empty log message *** 2000-10-07 18:59:12 +00:00
Eli Zaretskii
5f65b39d99 (Fframe_parameter): For non-windowed frames, if
f->param_alist says foreground or background color is unspecified,
call tty_color_name to return the color name computed from the
frame's current colors.
2000-10-07 18:57:36 +00:00
Dave Love
f5533b6358 *** empty log message *** 2000-10-06 22:55:11 +00:00
Dave Love
937b143207 (ospeed): Don't declare. 2000-10-06 22:53:30 +00:00
Dave Love
789cf80815 Don't include string.h.
(h_errno): Declare conditional also on TRY_AGAIN.
2000-10-06 22:51:10 +00:00
Dave Love
0c59a1b7f5 (Ffind_charset_string): Doc fix. 2000-10-06 22:47:22 +00:00
Dave Love
a90e80bfa2 (Fbase64_encode_region, Fbase64_encode_string)
(Fbase64_decode_region, Fbase64_decode_string): More explicit
error messages.
2000-10-06 22:42:46 +00:00
Dave Love
2b06561ab5 (Fx_popup_menu, Fx_popup_dialog): Check for tool-bar
position like menu-bar.
2000-10-05 21:18:30 +00:00
Gerd Moellmann
ca839c85be (merge_face_heights): Use safe_call instead of
call_function.
2000-10-05 19:30:21 +00:00
Gerd Moellmann
116d6f5cae (handle_single_display_prop): Use safe_call1.
(safe_call): Renamed from call_function.
(safe_call1): New function.
(handle_fontified_prop): Use safe_call1 instead of call1.
(safe_eval): Renamed from eval_form.
(safe_eval_handler): Renamed from eval_handler.
(handle_single_display_prop, display_mode_element): Use safe_eval
instead of eval_form.
2000-10-05 19:29:05 +00:00
Gerd Moellmann
1db0076e78 (Frecursive_edit): Make sure redisplay can happen.
(show_help_echo): Use safe_call instead of
call_function; use safe_eval instead of eval_form.
2000-10-05 19:27:17 +00:00