Dave Love [Fri, 10 Nov 2000 22:36:02 +0000 (22:36 +0000)]
(ediff-dispatch-file-patching-job): Check
ediff-patch-map non-nil.
(ediff-fixup-patch-map, ediff-fixup-patch-map)
(ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
buffer into fundamental mode.
Jason Rumney [Fri, 10 Nov 2000 22:15:52 +0000 (22:15 +0000)]
(Qw32_charset_hangeul): Rename to match w32 headers.
(Qw32_charset_vietnamese): New symbol.
(xlfd_charset_of_font): New function.
(w32_load_system_font): Use it.
(x_to_w32_charset): Use Fassoc to find charset info. Special case
when Vw32_charset_info_alist is nil to ensure default face always
has font. Use Fcar and Fcdr for safety.
(w32_to_x_charset): Use Vw32_charset_info_alist for mappings.
(w32_codepage_for_font): Use xlfd_charset_of_font. Use new
pseudo-codepages for special cases.
(w32_to_x_font): New parameter to allow charset portion to be
specified where there is many to one mapping. Callers changed.
(w32_list_fonts): Avoid listing fonts that won't display.
Dave Love [Fri, 10 Nov 2000 18:11:31 +0000 (18:11 +0000)]
(gnus-cache-active-file): Don't use
file-name-as-directory on directory.
(gnus-cache-file-name): Use expand-file-name, not concat. Don't
use file-name-as-directory on directory.
Dave Love [Fri, 10 Nov 2000 18:02:56 +0000 (18:02 +0000)]
Doc fixes.
(mm-mime-charset): Don't use the raw result of
mm-preferred-coding-system.
(mm-with-unibyte-buffer, mm-with-unibyte-current-buffer)
(mm-with-unibyte): Simplify.
Gerd Moellmann [Fri, 10 Nov 2000 14:40:10 +0000 (14:40 +0000)]
(Vface_alternative_font_registry_alist): New variable.
(font_list_1): Renamed from font_list.
(font_list): New function, trying alternative registries from
Vface_alternative_font_registry_alist.
(Finternal_set_alternative_font_registry_alist): New function.
(syms_of_xfaces): Initialize and Staticpro
Vface_alternative_font_registry_alist. Defsubr
Finternal_set_alternative_font_registry_alist.
Stefan Monnier [Fri, 10 Nov 2000 10:25:00 +0000 (10:25 +0000)]
(standard-latex-block-names): Add "math".
(latex-mode): Tweak tex-*-(head|trail)er regexps.
Tweak paragraph regexps to allow a leading [ \t]*.
(tex-latex-block): Insert a newline if necessary.
(latex-insert-item): Only insert a newline if necessary.
(tex-guess-main-file): New function.
(tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
Set tex-main-file if TeX-master is provided.
(tex-latex-indent-syntax-table): Map ( and ) to punctuation.
Stefan Monnier [Fri, 10 Nov 2000 00:57:45 +0000 (00:57 +0000)]
(font-lock-*-face) <defvar>: Move.
(font-lock-defaults-alist): Mark obsolete.
(font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
(font-lock-mode): Use define-minor-mode.
(font-lock-support-mode): Tweak type to default to jit-lock-mode.
(font-lock-turn-off-thing-lock): Be more explicit.
(font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
(font-lock-syntactic-face-function): New var.
(font-lock-fontify-syntactically-region): Use it.
(font-lock-doc-face): New.
Stefan Monnier [Thu, 9 Nov 2000 23:55:05 +0000 (23:55 +0000)]
(cvs-enabledp): Ignore errors.
(cvs-commit-filelist): Never query.
(cvs-mode-insert): Always add a terminating / in the initial prompt.
(cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
(cvs-do-removal): Use cvs-partition rather than delete-if.
Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
cvs-bury-buffer.
Gerd Moellmann [Thu, 9 Nov 2000 16:09:04 +0000 (16:09 +0000)]
(ispell-library-path): Don't call
check-ispell-version when byte-compiling because that starts
an ispell process, and ispell might not be installed.
(toplevel): Don't set up a menu when byte-compiling.
Gerd Moellmann [Wed, 8 Nov 2000 17:40:50 +0000 (17:40 +0000)]
(syms_of_xdisp): Change doc of max-mini-window-height.
(resize_mini_window): Return quickly if Vresize_mini_window is
nil. Don't return if Vmax_mini_window_height is nil.
(Vresize_mini_window, Qgrow_only): New variables.
(syms_of_xdisp): Initialize them.
(resize_mini_window): Act according to the setting of
Vresize_mini_window.
(syms_of_xdisp): Initialize Vmenu_bar_update_hook to nil.
Dave Love [Wed, 8 Nov 2000 17:36:41 +0000 (17:36 +0000)]
Put some defvars in eval-when-compile.
(gnus-summary-mode-hook): Add :options.
(gnus-summary-make-menu-bar): Add some :help, used by tool bar.
(gnus-summary-tool-bar-map): New variable.
(gnus-summary-make-tool-bar): New function.
(gnus-summary-mode): Put kill-all-local-variables first.
Gerd Moellmann [Wed, 8 Nov 2000 17:35:57 +0000 (17:35 +0000)]
(shell-command, display-message-or-buffer)
(shell-command-on-region): Mention resize-mini-windows in the doc
string.
(display-message-or-buffer): Take the value of resize-mini-windows
into account.
* rfc2047.el: Require cl when compiling.
(rfc2047-q-encode-region): Don't break if a QP-word could be
fitted in one line.
(rfc2047-decode): Use mm-with-unibyte-current-buffer-mule4.
(rfc2047-fold-region): "=?=" is not a break point.
(rfc2047-encode-message-header): Move fold into encode-region.
(rfc2047-dissect-region): Rewrite.
(rfc2047-encode-region): Rewrite.
(rfc2047-fold-region): Fold
(rfc2047-unfold-region): New function.
(rfc2047-decode-region): Use it.
(rfc2047-q-encode-region): Don't break at bob.
(rfc2047-decode): Use unibyte.
(rfc2047-q-encode-region): Better calculation of break point.
(rfc2047-fold-region): Don't break the first non-LWSP characters.
(rfc2047-encode-region): Merge only if regions are adjacent.