(redisplay_mode_lines): New function.
(display_mode_lines): Return number of mode lines displayed.
(echo_area_display): Use redisplay_mode_lines to draw garbaged
mode lines. Don't temporarily bind redisplay-dont-pause to t.
Eli Zaretskii [Fri, 1 Sep 2000 13:50:50 +0000 (13:50 +0000)]
(toplevel): Remove redundant <fcntl.h>. Provide definitions for F_OK
and friends only after including both fcntl.h and unistd.h: some
systems define them on unistd.h.
Stefan Monnier [Thu, 31 Aug 2000 17:19:15 +0000 (17:19 +0000)]
* regex.h (RE_NO_NEWLINE_ANCHOR): New syntax flag.
(struct re_pattern_buffer): Remove newline_anchor.
* regex.c: Keep namespace clean for GNU libc by renaming <fun>
to __<fun> and using `weak_alias (__<fun>, <fun>)'.
(re_max_failures, fail_stack): Use size_t rather than unsigned.
(regex_compile): For ^ and $, choose between buffer and line (beg|end)
depending on the new RE_NO_NEWLINE_ANCHOR syntax flag.
(print_compiled_pattern, re_search_2, mutually_exclusive_p)
(re_match_2_internal, re_compile_pattern, re_comp, regcomp):
Get rid of references to newline_anchor.
(regcomp): Allocate and precompute a fastmap.
Stefan Monnier [Wed, 30 Aug 2000 18:31:30 +0000 (18:31 +0000)]
Merge some changes from GNU libc. Add prototypes.
(bcopy, bcmp, REGEX_REALLOCATE, re_match_2_internal):
Use memcmp and memcpy instead of bcopy and bcmp.
(init_syntax_once): Use ISALNUM.
(PUSH_FAILURE_POINT, re_match_2_internal): Remove failure_id.
(REG_UNSET_VALUE): Remove. Use NULL instead.
(REG_UNSET, re_match_2_internal): Use NULL.
(SET_HIGH_BOUND, MOVE_BUFFER_POINTER, ELSE_EXTEND_BUFFER_HIGH_BOUND):
New macros.
(EXTEND_BUFFER): Use them (to work with BOUNDED_POINTERS).
(GET_UNSIGNED_NUMBER): Don't use ISDIGIT.
(regex_compile): In handle_interval, return an error rather than try to
unfetch the interval if we can't find the closing brace.
Obey the RE_NO_GNU_OPS syntax bit.
(TOLOWER): New macro.
(regcomp): Use it.
(regexec): Allocate regs.start and regs.end as one block.
Gerd Moellmann [Wed, 30 Aug 2000 15:00:17 +0000 (15:00 +0000)]
(update_frame): Only set display_completed here; use
the update_begin and update_end calls here from update_frame_1.
(update_frame_1): Don't set display_completed here, don't call
update_begin/update_end.
Andrew Innes [Wed, 30 Aug 2000 12:39:15 +0000 (12:39 +0000)]
(run-with-idle-timer): Undo last change, so that timer
is not activated immediately if Emacs is already idle. Some
existing code relies on this behaviour.
Gerd Moellmann [Tue, 29 Aug 2000 15:04:48 +0000 (15:04 +0000)]
(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.
Gerd Moellmann [Tue, 29 Aug 2000 10:58:13 +0000 (10:58 +0000)]
Doc fix.
(ebnf-version): New version (3.3).
(ebnf-user-arrow): Change variable customization to sexp.
(ebnf-user-arrow): Function eliminated.
(ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
Kenichi Handa [Tue, 29 Aug 2000 05:38:34 +0000 (05:38 +0000)]
(quail-help): New arg PACKAGE. Hyperlinks to mule related items.
(quail-help-insert-keymap-description): Use
substitute-command-keys instead of describe-bindings.
(quail-translation-help): Hyperlinks to mule related items.
Kenichi Handa [Tue, 29 Aug 2000 05:38:10 +0000 (05:38 +0000)]
(charset-multibyte-form-string): New function.
(list-character-sets-1): Use charset-multibyte-form-string.
(describe-character-set): New function.
(describe-coding-system): Hyperlinks to safe character sets.
Kenichi Handa [Tue, 29 Aug 2000 05:37:48 +0000 (05:37 +0000)]
(help-xref-mule-regexp-template): New variable.
(describe-input-method): Temporarily activate the specfied input
method to display the information.
(describe-language-environment): Hyperlinks to mule related items.
Peter Breton [Mon, 28 Aug 2000 20:20:49 +0000 (20:20 +0000)]
Added file-cache-case-fold-search and file-cache-assoc-function variables
(file-cache-minibuffer-complete): Use file-cache-assoc-function.
Use file-cache-case-fold-search variable
(file-cache-add-file): Use file-cache-assoc-function
(file-cache-delete-file): likewise
(file-cache-directory-name): likewise
(file-cache-debug-read-from-minibuffer): likewise
Gerd Moellmann [Mon, 28 Aug 2000 16:07:10 +0000 (16:07 +0000)]
(list-abbrevs): Add optional parameter LOCAL.
(abbrev-table-name): New function.
(prepare-abbrev-list-buffer): Add optional parameter LOCAL.
If non-nil list local abbrev, only.
Gerd Moellmann [Mon, 28 Aug 2000 15:03:29 +0000 (15:03 +0000)]
(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.
Gerd Moellmann [Mon, 28 Aug 2000 15:01:58 +0000 (15:01 +0000)]
(uce-reply-to-uce): Remove hard-coded "*Article*" from
Gnus support code, and use special article copy buffer
`(gnus-original-article-buffer)' instead. This allows to get rid
of article-hide-headers usage (which breaks in the latest Gnus
version). Thanks to Detlev Zundel.
Miles Bader [Mon, 28 Aug 2000 14:42:49 +0000 (14:42 +0000)]
(merge_face_vectors):
Clear TO's :font attribute if made inconsistent by a font-related attribute in FROM.
(merge_face_inheritance):
Add function comment.