Stefan Monnier [Sun, 8 Oct 2000 19:01:17 +0000 (19:01 +0000)]
Don't require font-lock any more.
(jit-lock-functions): Make buffer-local.
(jit-lock-saved-fontify-buffer-function): Remove.
(jit-lock-mode): Remove autoload cookie.
Remove font-lock specific code.
(jit-lock-unregister): Don't bother handling complex hooks any more.
(jit-lock-refontify): New function.
(jit-lock-fontify-buffer): Use it.
(jit-lock-function-1): Replaced by jit-lock-fontify-now.
(jit-lock-fontify-now): Renamed from jit-lock-function-1.
Add optional args START and END.
Never call font-lock-fontify-region directly.
(jit-lock-function, jit-lock-stealth-fontify): Use it.
Dave Love [Sun, 8 Oct 2000 17:23:50 +0000 (17:23 +0000)]
(lisp-imenu-generic-expression): Don't
insist on symbols starting with word syntax.
(lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
(eval-defun-1): Doc fix.
(indent-sexp): Use nconc to build up indent-stack.
Dave Love [Sun, 8 Oct 2000 15:44:36 +0000 (15:44 +0000)]
(Info-goto-node, Info-menu): Doc fix.
(Info-mode-menu): Bind beginning-of-buffer, Info-edit
(info-tool-bar-map): New variable.
(Info-mode): Use it.
(Info-edit-map): Define all in defvar.
(speedbar-attached-frame): Avoid compiler warning.
Eli Zaretskii [Sun, 8 Oct 2000 06:24:44 +0000 (06:24 +0000)]
(top-level) <Qbackground_color, Qforeground_color>: Make
them extern (they are defined on xfaces.c).
(syms_of_msdos): Don't intern and don't staticpro
Qbackground_color and Qforeground_color.
Miles Bader [Sun, 8 Oct 2000 02:58:24 +0000 (02:58 +0000)]
(auto-compression-mode): Move to the end of the file, because
`define-minor-mode' actually calls the mode-function if the associated
variable is non-nil, which requires that all needed functions be already
defined.
(with-auto-compression-mode): Add autoload cookie.
Eli Zaretskii [Sat, 7 Oct 2000 18:57:36 +0000 (18:57 +0000)]
(Fframe_parameter): For non-windowed frames, if
f->param_alist says foreground or background color is unspecified,
call tty_color_name to return the color name computed from the
frame's current colors.
Stefan Monnier [Fri, 6 Oct 2000 22:19:23 +0000 (22:19 +0000)]
(fancy-splash-screens): Use local rather than global map.
Don't use `update-menu-bindings' any more.
Get rid of assumptions about keymap representation.
Stefan Monnier [Fri, 6 Oct 2000 16:02:27 +0000 (16:02 +0000)]
(font-lock-defaults-alist): Remove the TeX entries.
(tex-font-lock-keywords, tex-font-lock-keywords-2)
(tex-font-lock-keywords-1): Remove.
(font-lock-turn-on-thing-lock): Use jit-lock-register.
(font-lock-turn-off-thing-lock): Use jit-lock-unregister.
(font-lock-default-fontify-region): Expand beg..end correctly
when just following a multiline region.
(font-lock-fontify-anchored-keywords):
Include the anchor text as part of the multiline.
Dave Love [Fri, 6 Oct 2000 14:35:27 +0000 (14:35 +0000)]
Don't require cl.
(gnus-audio): New custom group.
(gnus-audio-inline-sound): Change to work with Emacs.
(gnus-audio-directory, gnus-audio-directory)
(gnus-audio-au-player): Customize.
(gnus-audio-play): Try external player if play-sound-file fails.
Use file-name-extension, not string-match.
Dave Love [Fri, 6 Oct 2000 13:35:20 +0000 (13:35 +0000)]
(mm-decode-coding-region, mm-encode-coding-region):
Autoload.
(quoted-printable-decode-region): Rename arg which confused
charset with coding-system. Don't use nonascii-insert-offset.
Coding-system encode the region initially. Don't recognize `=='
as valid QP. Coding-system decode the region finally.
(quoted-printable-decode-string): Rename arg which confused
charset with coding-system.
Dave Love [Fri, 6 Oct 2000 13:33:37 +0000 (13:33 +0000)]
(article-de-quoted-unreadable)
(article-de-base64-unreadable): Fold search case
rather than downcasing string. Apply mm-charset-to-coding-system
to arg of quoted-printable-decode-region.
Gerd Moellmann [Fri, 6 Oct 2000 11:43:39 +0000 (11:43 +0000)]
(mouse-drag-header-line): Don't allow window resizing
by dragging a header-line at the top of the frame because that
looks odd.
(mouse-drag-mode-line-1): Use event-* and posn-* functions
instead of treating the event as a list. Some cleanup.
Miles Bader [Fri, 6 Oct 2000 04:58:36 +0000 (04:58 +0000)]
(nslookup-prompt-regexp, ftp-prompt-regexp)
(smbclient-prompt-regexp): Add usage note to doc string.
(ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
(ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
Use add-hook for adding the comint filter function, and only do so
if it's not already in the global hook list.
(ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
to `make-local-variable'.
(nslookup-font-lock-keywords): Remove prompt entry.
(nslookup): Don't set the process-filter.
(finger): Exit the loop correctly when the regexps list runs out.
(ftp, smbclient, smbclient-list-shares):
Set the real major mode immediately, not after execing.
Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
Stefan Monnier [Thu, 5 Oct 2000 23:13:07 +0000 (23:13 +0000)]
(which-func-format): Remove spurious space.
(which-func-mode): Don't make it permanent-local.
(which-func-ff-hook): Allow which-func-maxout to be nil.
(which-func-update): Simplify a bit. Only run if which-func-mode is t.
(which-func-mode): Simplify.
Use post-command-idle-hook rather than post-command-hook.
Go through all buffers and update their state.
(which-function): Also try add-log-current-defun-function.
Stefan Monnier [Thu, 5 Oct 2000 22:55:17 +0000 (22:55 +0000)]
(with-vc-properties): Use conses rather than length-2 lists.
(vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
Update call to with-vc-properties accordingly.
(vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
(vc-revert-buffer): Be more careful about window selection and deletion.
(vc-switch-backend): Slight reorg to avoid calling `registered' twice.
Stefan Monnier [Thu, 5 Oct 2000 22:45:59 +0000 (22:45 +0000)]
(cvs-ediff-exit-hook): Expect delete-window to fail.
(cvs-retrieve-revision): Reuse a pre-existing buffer.
(cvs-dired-action): Change the default to quickdir.