Miles Bader [Mon, 13 Nov 2000 12:18:37 +0000 (12:18 +0000)]
(openp): Return -2 instead of 0 for the `remote file' case.
(Fload): Use new openp return protocol. Don't try to use
Vload_source_file_function to load .elc files.
Miles Bader [Mon, 13 Nov 2000 12:11:04 +0000 (12:11 +0000)]
(skip-line-prefix): New function.
(fill-region-as-paragraph, fill-region): Return the fill-prefix.
(fill-paragraph): Don't leave point inside the fill-prefix.
Stefan Monnier [Sun, 12 Nov 2000 18:48:22 +0000 (18:48 +0000)]
(gud-minor-mode): New var.
(gud-symbol, gud-val): New functions.
(gud-find-file): Copy gud-minor-mode to the new buffer.
(gud-menu-map): Include entries for commands that are not always
available, using :enable to (de)activate them.
(gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
(gud-mode-map): New map.
(gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
(gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
Don't set up gud's menu (it's done by the minor-mode).
(gud-minibuffer-local-map): New.
Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
(gud-query-cmdline): New function.
(gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
(gud-mode): Use define-derived-mode.
Don't set up gud's menu (it's done by the minor-mode).
(gud-chop-words): Remove.
(gud-common-init): Use split-string instead.
(gud-new-keymap, gud-make-debug-menu): Eradicate.
Stefan Monnier [Sun, 12 Nov 2000 16:48:45 +0000 (16:48 +0000)]
(sh-mode-syntax-table) <defvar>:
Make it into a simple syntax-table, shared among all submodes.
(sh-heredoc-face): Re-introduce.
(sh-font-lock-syntactic-face-function): New function.
(sh-mode): Use it. Also use define-derived-mode.
Remove old bogus setting of indent-region-function.
(sh-set-shell): Don't set the syntax-table any more.
(sh-mode-syntax-table) <defun>: Remove.
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.