Eli Zaretskii [Mon, 1 Feb 1999 13:25:12 +0000 (13:25 +0000)]
(msdos-approximate-color): New function.
(msdos-color-translate): Call it to find a DOS color that best
approximates an X-style "#NNNNNN" color specification.
Document scoring functionality.
(gametree-score-regexp): Add optional plus sign.
(gametree-score-opener): Replace `:' with `=' as the former
conflicts with gametree-half-ply-regexp.
(gametree-transpose-following-leaves): Add.
(gametree-insert-new-leaf): Make modifying commands barf in read-only buffers.
(gametree-break-line-here): Add a call to
`gametree-transpose-following-leaves'. This maintains the
necessary invariant that on each level all leaf children precede
all nonleaf children. This has always been implied, but left to
the user, and, unfortunately, undocumented.
Kenichi Handa [Sat, 30 Jan 1999 01:46:35 +0000 (01:46 +0000)]
(x_new_fontset): For ASCII font, don't use the font name
returned by x_new_font (the resolved one) but use the font name
set in the fontset specification.
Markus Rost [Fri, 29 Jan 1999 22:06:31 +0000 (22:06 +0000)]
(tex-mode-map): Replace validate-tex-buffer by
tex-validate-buffer.
(plain-tex-mode, latex-mode, slitex-mode): Likewise.
(tex-validate-buffer): Renamed from validate-tex-buffer. Works
now with recent occur-mode.
(tex-validate-region): Really walk through all Sexps.
(tex-region): Bind shell-dirtrack-verbose.
(tex-file, tex-bibtex-file): Likewise.
Geoff Voelker [Thu, 28 Jan 1999 04:52:02 +0000 (04:52 +0000)]
(w32_load_system_font): Do not load unlisted fonts if
list was reliable.
(enum_fontex_cb1, enum_fontex_cb2): New functions.
(w32_list_bdf_fonts): New parameter; max_names. Callers updated.
(w32_list_synthesized_fonts): New function.
(w32_list_fonts): Use maxnames. Use EnumFontFamiliesEx when
available instead of EnumFontFamilies. List synthesized fonts if
Vw32_enable_italics is non-nil.
Geoff Voelker [Thu, 28 Jan 1999 04:46:42 +0000 (04:46 +0000)]
(w32-standard-fontset-spec): Remove wildcard
from FAMILY field.
(w32-create-initial-fontsets): Do not use before-init-hook.
(mouse-set-font): Document. Automatically create and use
fontsets.
(rmail-decode-mime-charset): New variable.
(rmail-mime-charset-pattern): New variable.
(rmail-convert-to-babyl-format): Decode by MIME-charset if
rmail-decode-mime-charset is non-nil.
Andrew Innes [Wed, 27 Jan 1999 21:53:27 +0000 (21:53 +0000)]
(w32_wnd_proc): Fix bug introduced by previous change;
the lwindow, rwindow and apps keys could not be used as function
keys, because they were being passed to TranslateMessage which
ignores them. Also, key was being changed to SPC.
Dave Love [Tue, 26 Jan 1999 18:54:57 +0000 (18:54 +0000)]
(Info-directory-list): Don't set path-separator now
we're not shipped with Texinfo. Simplify path definition.
Substitute all occurrences of instdir in
Info-default-directory-list.
(calendar-goto-hebrew-date)
(mark-hebrew-diary-entries, list-yahrzeit-dates): Use
assoc-ignore-case and do not capitalize when matching month and day names.
(find-file): If find-file-noselect returns a list,
do switch-to-buffer on each element.
(find-file-other-window): Likewise for all but the first element.
(find-file-other-frame): Same.
(find-file-noselect): When we expand a wildcard, return a list of buffers.
(find-file-noselect): Do wildcard processing only
if new arg WILDCARDS is non-nil.
(find-file, find-file-other-window): New arg WILDCARDS.
Default it to non-nil if interactive.
(find-file-other-frame): Likewise.
(find-file-read-only): Likewise.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
Dave Love [Sat, 23 Jan 1999 21:52:40 +0000 (21:52 +0000)]
Doc fixes.
(format-encode-run-method): Have things happen in the right
buffer. Deal with errors from method. Set
coding-system-for-write.
(format-decode-run-method): Have things happen in the right
buffer. Deal with errors from method. Set
coding-system-for-read.
(format-alist): Use nil instead of unmatchable regexps.
Eric M. Ludlam [Sat, 23 Jan 1999 13:23:26 +0000 (13:23 +0000)]
(speedbar-item-info-file-helper): Add optional arg
of the file whose info we want to display.
(speedbar-easymenu-definition-trailer) Fix list issue w/ customize.
(speedbar-add-mode-functions-list) Improve doc.
(speedbar-line-token) New function.
(speedbar-dired) Fix order of directories in -shown-directories.
(speedbar-line-path): Default return is default-directory
(speedbar-buffers-line-path): Return is dir name only.
(speedbar-mode-functions-list): New variable.
(speedbar-mouse-item-info): Rewrote to be a replaceable fn.
(speedbar-item-info-file-helper, speedbar-item-info-tag-helper
speedbar-files-item-info speedbar-buffers-item-info): New functions.
(speedbar-fetch-replacement-function,speedbar-add-mode-functions-list):
New functions.
(speedbar-line-file): Broke out part that fetches file from a line.
(speedbar-line-text): New function extracted from speedbar-line-file.
(speedbar-line-path): Converted into a replaceable function.
(speedbar-files-line-path, speedbar-buffers-line-path): New functions.
Karl Heuer [Fri, 22 Jan 1999 21:57:43 +0000 (21:57 +0000)]
(scan_sexps_forward): Delete duplicate code
to set prev_from_syntax, above start of main loop.
At startinstring, check syntax when checking for a match.
Geoff Voelker [Fri, 22 Jan 1999 19:59:22 +0000 (19:59 +0000)]
(Vw32_bdf_filename_alist): New variable.
(x_destroy_bitmap): Returns void not int.
(x_set_border_pixel): Returns void.
(w32_load_bdf_font): New function.
(w32_load_system_font): New function, was w32_load_font. List
fonts before loading. Explicitly set encoding for SJIS fonts.
Set default_ascent to 0 as comment indicates.
(w32_load_font): Call w32_load_system_font and w32_load_bdf_font.
(w32_unload_font): Support BDF fonts.
(w32_to_x_charset): Fix mappings to avoid wildcard mismatches.
Autodetect whether to use koi8-r instead of iso8859-5.
Associate "ksc5601.1987" with HANGUEL_CHARSET.
Associate "ksc5601.1992" with JOHAB_CHARSET.
(x_to_w32_charset): Make consistent with w32_to_x_charset.
(w32_to_x_font): Add resolution.
(x_to_w32_font): Use font resolution to calculate height if supplied.
(w32_font_match): Handle wildcards anywhere within field.
(enumfont_t): Remove unused head pointer.
(enum_font_cb2): Dereference elfLogFont.
(w32_list_bdf_fonts): New function.
(w32_list_fonts): Use one_w32_dispay_info instead of insisting on
valid frame. Remove MessageBox. Support BDF fonts.
(Fw32_find_bdf_fonts): New function.
(syms_of_w32fns): Add Vw32_bdf_filename_alist and
Sw32_find_bdf_fonts.