1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

12192 commits

Author SHA1 Message Date
Gerd Moellmann
2a8bd25f14 (build_frame_matrix_from_leaf_window): If a row of a
desired window matrix hasn't been displayed, use the current row
instead.  Make sure that only those frame rows are updated for
which there is a corresponding enabled desired row.
2000-08-29 15:04:48 +00:00
Miles Bader
ba3478d9c9 *** empty log message *** 2000-08-29 11:23:51 +00:00
Miles Bader
613fa7f2bd (default_face_vector): New function.
(Finternal_merge_in_global_face): Use it instead of merge_face_vectors.
2000-08-29 11:18:16 +00:00
Gerd Moellmann
87d0f68535 *** empty log message *** 2000-08-29 10:58:38 +00:00
Gerd Moellmann
ace46dfee3 (openp): Prevent temporary string passed to
Ffile_readable_p from being garbage collected.
2000-08-29 10:37:38 +00:00
Dave Love
6fa8604559 *** empty log message *** 2000-08-28 18:56:48 +00:00
Dave Love
2d9296941c (store_in_keymap): Add `static' to declaration. 2000-08-28 18:40:21 +00:00
Gerd Moellmann
bb17930d23 *** empty log message *** 2000-08-28 15:05:20 +00:00
Gerd Moellmann
684578bec8 (HAVE_INDEX, HAVE_RINDEX, HAVE_STRINGS_H): Add undefs. 2000-08-28 15:04:04 +00:00
Gerd Moellmann
c6ac3c3a67 (bcopy, bzero, bcmp): Don't define. 2000-08-28 15:03:56 +00:00
Gerd Moellmann
1f4ecd6b72 (index): Define only if not HAVE_INDEX.
(rindex): Define only if !HAVE_RINDEX.
2000-08-28 15:03:42 +00:00
Gerd Moellmann
a847af86f5 (toplevel) [HAVE_STRING_H]: Include string.h.
(toplevel) [HAVE_STRINGS_H]: Include strings.h.
(index): Remove prototypes which might conflict with non-standard
definitions of index/strchr.
2000-08-28 15:03:29 +00:00
Miles Bader
871882002a (merge_face_vectors):
Clear TO's :font attribute if made inconsistent by a font-related attribute in FROM.
(merge_face_inheritance):
  Add function comment.
2000-08-28 14:42:49 +00:00
Eli Zaretskii
8b4baa7be4 Fix a typo in a comment. 2000-08-28 03:32:42 +00:00
Kenichi Handa
41a68aef3c *** empty log message *** 2000-08-28 01:53:53 +00:00
Kenichi Handa
7735786b8e (read_char_minibuf_menu_prompt): Call read_char with
the 4th arg (PREV_EVENT) Qt to suppress input method.
2000-08-28 01:32:15 +00:00
Stefan Monnier
0b32bf0e34 * regex.c: Indent cpp directives and remove parens after `defined'.
(PTR_TO_OFFSET, POS_AS_IN_BUFFER): Move to a better place.
(ISDIGIT, ISCNTRL, ISXDIGIT) [!emacs]: Remove duplicate definition.
(regex_compile): Use RE_FRUGAL instead of RE_ALL_GREEDY.
(re_compile_pattern): Use size_t for length.
(init_syntax_once): Move to a better place.
* regex.h: Merge changes from GNU libc.  Indent cpp directives.
(RE_FRUGAL): Replaces RE_ALL_GREEDY (inverted meaning).
2000-08-28 00:37:50 +00:00
Stefan Monnier
f7c436c1c8 (back_comment): Detect cases where a comment-starter is
actually inside another comment as in:   /* a // b */ c // d \n.
Make it clear that `comstart_pos' is unused for nested comments.
2000-08-27 17:44:59 +00:00
Stefan Monnier
5749539688 (store_in_keymap, fix_submap_inheritance): New prototypes.
(KEYMAPP): New macro.
(Fkeymap_parent, Fset_keymap_parent): Use it.
(fix_submap_inheritance): Mark it static.
(define_as_prefix, describe_buffer_bindings, describe_command)
(describe_translation, describe_map): Complete prototypes.
2000-08-27 16:21:55 +00:00
Stefan Monnier
1b6be00882 (store_in_keymap, fix_submap_inheritance): Remove. 2000-08-27 15:50:49 +00:00
Stefan Monnier
9cd2ced769 (menu_bar_item): Detect duplicate entries for all items
to better match the key-lookup behavior.
2000-08-27 15:47:59 +00:00
Gerd Moellmann
6288c62f1c (lface_fully_specified_p): Handle :inherit.
(Finternal_set_lisp_face_attribute): Fix typo in error message.
2000-08-27 11:30:05 +00:00
Eli Zaretskii
f139e55913 Fix a typo in a comment. 2000-08-27 10:10:14 +00:00
Eli Zaretskii
e931344e7c (dispnew.o, indent.o, fontset.o, minibuf.o)
(process.o, scroll.o, sysdep.o): Depend on keyboard.h.
(xterm.o): Depend on coding.h
2000-08-27 10:06:41 +00:00
Kenichi Handa
1848e3a5ab (internal_self_insert): Delete '#ifdef HAVE_FACES' and
the corresponding '#endif'.
2000-08-26 05:56:50 +00:00
Kenichi Handa
d10dfeef97 *** empty log message *** 2000-08-26 05:56:05 +00:00
Miles Bader
2d73e8d3a2 *** empty log message *** 2000-08-26 05:53:18 +00:00
Miles Bader
2c20458f58 (QCinherit):
New variable.
(syms_of_xfaces):
  Initialize it.
(LFACE_INHERIT):
  New macro.
(Finternal_get_lisp_face_attribute, merge_face_vector_with_property)
(Finternal_set_lisp_face_attribute):
  Deal with :inherit attribute.
(check_lface_attrs):
  Allow new types of face height.  Check inherit attribute.
(CYCLE_CHECK):
  New macro.
(merge_face_inheritance):
  New function.
(merge_face_vectors):
  Merge inherited faces too.  Add F and CYCLE_CHECK arguments.
(merge_face_vector_with_property, Finternal_merge_in_global_face)
(lookup_named_face, lookup_derived_face, realize_named_face)
(face_at_string_position, face_at_buffer_position):
  Supply new F and CYCLE_CHECK arguments to merge_face_vectors.
(merge_face_heights):
  New function.
(merge_face_vectors, merge_face_vector_with_property)
(Finternal_set_lisp_face_attribute):
  Call merge_face_heights to handle relative face heights.
(lface_same_font_attributes_p):
  Compare heights using EQ.
2000-08-26 05:36:17 +00:00
Miles Bader
cd68bbe836 (enum lface_attribute_index): Add LFACE_INHERIT_INDEX. 2000-08-26 05:33:29 +00:00
Kenichi Handa
6ce974d452 *** empty log message *** 2000-08-26 01:08:44 +00:00
Kenichi Handa
0e235b7e3a (char_to_string): Check the character validity.
(char_valid_p): If C is not less than MAX_CHAR, be sure to return 0.
2000-08-26 01:07:49 +00:00
Stefan Monnier
dc1e502dd9 (PUSH_FAILURE_COUNT): New macro.
(POP_FAILURE_REG_OR_COUNT): Renamed from POP_FAILURE_REG.
Handle popping of a register's or a counter's data.
(POP_FAILURE_POINT): Use the new name.
(re_match_2_internal): Push counter data on the stack for succeed_n,
jump_n and set_number_at and remove misleading dead code in succeed_n.
2000-08-25 14:35:12 +00:00
Gerd Moellmann
bd9d0f3f80 (redisplay_internal): If considering all windows on all
frames, update the display for each frame as soon as possible,
instead of first building all desired matrices for all frames, and
then updating them all.
(try_cursor_movement): Handle case that last_cursor.vpos is -1.
2000-08-25 13:21:46 +00:00
Gerd Moellmann
17494071e6 *** empty log message *** 2000-08-24 11:42:48 +00:00
Gerd Moellmann
dff13d039c (mark_byte_stack): Add a comment. 2000-08-24 11:42:33 +00:00
Gerd Moellmann
aa5b8e155d (FRAME_FLAGS_AREA_COLS, FRAME_FLAGS_AREA_WIDTH)
(FRAME_LEFT_FLAGS_AREA_WIDTH): Return 0 unless frame is
a graphical frame.
2000-08-24 11:06:09 +00:00
Andrew Innes
280d77218f New file. 2000-08-24 11:05:18 +00:00
Kenichi Handa
7892a68b98 (do_completion): Always use compare-string, not string-equal because
the latter doesn't pay attention to multibyteness of strings.
2000-08-24 03:24:13 +00:00
Kenichi Handa
d246d5f583 *** empty log message *** 2000-08-24 03:23:37 +00:00
Kenichi Handa
c543db811f *** empty log message *** 2000-08-24 02:09:20 +00:00
Kenichi Handa
278bfdd615 (create_process): Don't setup raw-text coding here.
(Fopen_network_stream): Don't set coding->src_multibyte and
coding->dst_multibyte here.
(read_process_output): For process filter, return unibyte string
if default-enable-multibyte-characters is nil.
(send_process): If OBJECT is multibyte text, be sure to encoded it
by the specified coding system for the process.  Otherwise, setup
raw-text coding.
(init_process): Don't initialize default-process-coding-system
here.
2000-08-24 02:06:43 +00:00
Eli Zaretskii
9b47cfe0f3 (syms_of_buffer) <scroll-up-aggressively>: Doc fix.
<scroll-down-aggressively>: Likewise.
2000-08-23 11:54:24 +00:00
Kenichi Handa
78a629d2f5 (encode_eol): Fix bug for the case of dst_bytes being zero. Set
coding->produced_char correctly.
2000-08-23 02:47:42 +00:00
Kenichi Handa
f5a3696054 *** empty log message *** 2000-08-23 02:46:43 +00:00
Andrew Innes
69a7ffa7ec *** empty log message *** 2000-08-23 00:02:40 +00:00
Andrew Innes
bfba227f39 (malloc, free, realloc, calloc): Rename if
USE_CRT_DLL is defined, so Emacs can use GNU malloc even though it
cannot override the CRT malloc.
(_WINSOCK_H): Define to prevent normal winsock
definitions from being used.
(sys_nerr): Provide default definition.
(strdup, strupr, strnicmp, stricmp, tzset, tzname): Map to same
name with _ prepended.
(NSIG): Define if not known.
(get_emacs_configuration): Provide extern declaration.
(get_emacs_configuration_options): Provide extern declaration.
(EMACS_CONFIG_OPTIONS): Call get_emacs_configuration_options.
2000-08-22 23:55:09 +00:00
Andrew Innes
546a4f000d Include keyboard.h before frame.h.
Separate GLYPH_DEBUG and DEBUG_TRACE_MOVE.
2000-08-22 23:53:39 +00:00
Andrew Innes
3e4731a35a Include keyboard.h before frame.h. 2000-08-22 23:45:16 +00:00
Andrew Innes
38006079e4 Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(x_update_window_end): Update prototype.
2000-08-22 23:43:25 +00:00
Andrew Innes
42c95ffbe9 (IsValidLocale): Extern missing from mingw32 headers.
(compare_env):
(find_child_console): Fix compile warning.
(create_child): Remove reference to security
descriptor, which isn't needed and doesn't compile with mingw32.
2000-08-22 23:39:00 +00:00