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.
Miles Bader [Sat, 26 Aug 2000 05:36:17 +0000 (05:36 +0000)]
(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.
Stefan Monnier [Fri, 25 Aug 2000 14:35:12 +0000 (14:35 +0000)]
(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.
Gerd Moellmann [Fri, 25 Aug 2000 13:21:46 +0000 (13:21 +0000)]
(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.
Kenichi Handa [Fri, 25 Aug 2000 01:56:39 +0000 (01:56 +0000)]
Renamed from skkdic-cnv.el.
Provide ja-dic-cnv instead of skkdic-cnv.
(ja-dic-filename): Renamed from skkdic-filename. Referers changed
(iso-2022-7bit-short): Add safe-charsets property.
(skkdic-convert-postfix): Search Japanese chou-on character in
addition to Hiragana character.
(skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
(skkdic-convert): Change file names from skkdic.el to ja-dic.el
(batch-skkdic-convert): Likewise.
Kenichi Handa [Thu, 24 Aug 2000 02:10:05 +0000 (02:10 +0000)]
(reset-language-environment): Set default-process-coding-system to
'(undecided . iso-latin-1), which makes process I/O almost consistent
with file I/O. Call this function when mule-cmds.el[c] is loaded.
Kenichi Handa [Thu, 24 Aug 2000 02:06:43 +0000 (02:06 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 23:55:09 +0000 (23:55 +0000)]
(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.
Andrew Innes [Tue, 22 Aug 2000 23:43:25 +0000 (23:43 +0000)]
Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(x_update_window_end): Update prototype.
Andrew Innes [Tue, 22 Aug 2000 23:39:00 +0000 (23:39 +0000)]
(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.