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.
Andrew Innes [Tue, 22 Aug 2000 23:00:51 +0000 (23:00 +0000)]
(max): Define macro.
(JOHAB_CHARSET): Define if not known.
(MOD_ALT, MOD_CONTROL, MOD_SHIFT, MOD_WIN): Define if not known.
(Fx_show_tip): Synch with X version.
Andrew Innes [Tue, 22 Aug 2000 22:49:27 +0000 (22:49 +0000)]
(GetCachedVolumeInformation): Use xmalloc, xfree and xstrdup.
(add_volume_info): Use xstrdup.
(init_environment): Call _access.
(check_windows_init_file): Call _close.
(init_user_info): Call _putenv.
(init_environment): Call _putenv and _strdup.
(init_ntproc): Reset volume info cache on startup.
(unc_volume_file_attributes):
(open_unc_volume): Make arg const.
(gettimeofday): Use struct timeb, not struct _timeb.
(map_w32_filename, read_unc_volume): Fix compile warning.
(sys_strerror): Use sys_nerr instead of _sys_nerr. Use
sys_errlist instead of _sys_errlist.
(get_emacs_configuration_options): New function.
Stefan Monnier [Tue, 22 Aug 2000 22:49:22 +0000 (22:49 +0000)]
(Vcompletion_auto_help): Renamed from `auto_help'.
(do_completion, Fminibuffer_complete_word): Use it.
(syms_of_minibuf): Turn completion-auto-help into a proper Lisp
var so it can take non-boolean values.
Andrew Innes [Tue, 22 Aug 2000 22:44:39 +0000 (22:44 +0000)]
Change PUCHAR to PCHAR.
(PTR_TO_OFFSET): Cast ptr to unsigned char *.
(relocate_offset):
(get_section_info):
(copy_executable_and_dump_data): Remove unnecessary static defs.
(copy_executable_and_dump_data): Fix compile warnings.
(unexec): Ignore old_name, and use the actual location
of the current executable instead. Base new_name on this.
Andrew Innes [Tue, 22 Aug 2000 22:40:16 +0000 (22:40 +0000)]
Include keyboard.h before frame.h.
(NULL) [WINDOWSNT]: Define NULL if not defined.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
Andrew Innes [Tue, 22 Aug 2000 22:36:52 +0000 (22:36 +0000)]
Include keyboard.h before frame.h.
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
(create_process) [USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.