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.
Stefan Monnier [Mon, 28 Aug 2000 00:37:50 +0000 (00:37 +0000)]
* 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).
Stefan Monnier [Sun, 27 Aug 2000 17:44:59 +0000 (17:44 +0000)]
(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.
Stefan Monnier [Sun, 27 Aug 2000 16:21:55 +0000 (16:21 +0000)]
(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.
Miles Bader [Sat, 26 Aug 2000 11:47:02 +0000 (11:47 +0000)]
(custom-face-attributes):
Add support for :inherit attribute.
Add support for relative face heights.
(custom-face-attributes-get):
Treat `nil' as being a default value for :inherit (as well as `unspecified').
Miles Bader [Sat, 26 Aug 2000 10:59:51 +0000 (10:59 +0000)]
(set-face-attribute):
Update doc string.
(face-attribute-name-alist):
Add :inherit.
(face-valid-attribute-values):
Handle :inherit.
(face-read-string):
Rephrase prompt to be less confusing.
Assume that DEFAULT is a string, since we must return a string.
(face-read-integer):
Use `format' to turn DEFAULT into an acceptable default for face-read-string.
Match NEW-VALUE against the string "unspecified", not the symbol
`unspecified', since that's what face-read-string returns.
(read-face-attribute):
Lookup a name for old-value in valid, and use it as a default if we find one.
Treat all values from face-read-string as strings.
If the default is used, don't do any more processing on the value,
just use the old value directly.
(read-face-and-attribute, modify-face):
Tweak prompt.
(read-face-name):
Don't assume prompt ends with a space.