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.
Stefan Monnier [Thu, 5 Oct 2000 22:43:22 +0000 (22:43 +0000)]
(comment-indent):
Delegate to indent-according-to-mode if comment-indent-function returns nil.
(comment-indent-default): New function.
(comment-indent-function): Use it and document the new semantics.
Stefan Monnier [Thu, 5 Oct 2000 22:27:38 +0000 (22:27 +0000)]
(help-xref-on-pp): Use match-string.
(describe-variable): New arg BUFFER.
Store the current buffer in the help-xref-stack.
(temp-buffer-resize-mode): Use define-minor-mode.
Stefan Monnier [Thu, 5 Oct 2000 21:30:02 +0000 (21:30 +0000)]
(jit-lock-mode): Use jit-lock-defer-contextually
consistently with its docstring.
Set jit-lock-first-unfontify-pos in an idempotent way.
(jit-lock-register): Autoload and add arg CONTEXTUAL.
Gerd Moellmann [Thu, 5 Oct 2000 19:29:05 +0000 (19:29 +0000)]
(handle_single_display_prop): Use safe_call1.
(safe_call): Renamed from call_function.
(safe_call1): New function.
(handle_fontified_prop): Use safe_call1 instead of call1.
(safe_eval): Renamed from eval_form.
(safe_eval_handler): Renamed from eval_handler.
(handle_single_display_prop, display_mode_element): Use safe_eval
instead of eval_form.
Stefan Monnier [Thu, 5 Oct 2000 01:27:55 +0000 (01:27 +0000)]
(with-buffer-unmodified): Use unwind-protect.
(jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
(jit-lock-functions): New var.
(jit-lock-function-1): Use it if non-nil.
Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
Set the `fontified' property before doing the fontification to avoid
repeatedly going through the same error.
Don't turn errors into messages.
Gerd Moellmann [Wed, 4 Oct 2000 19:01:37 +0000 (19:01 +0000)]
(fancy-splash-pending-command): New variable.
(fancy-splash-pre-command): New function.
(fancy-splash-screens): Rewritten.
(command-line-1): If fancy-splash-pending-command is set, call it
interactively.
Gerd Moellmann [Wed, 4 Oct 2000 19:00:10 +0000 (19:00 +0000)]
(update_menu_bindings): New variable.
(parse_menu_item): Use AREF. If update_menu_bindings
is 0, don't update menu bindings.
(syms_of_keyboard): New Lisp variable `update-menu-bindings'.
Dave Love [Wed, 4 Oct 2000 17:24:25 +0000 (17:24 +0000)]
Don't turn off compiler warnings in local vars.
Require ring when compiling.
(gnus-x-splash): Bind width, height.
(gnus-article-compface-xbm): New variable.
(gnus-article-display-xface): Move graphic test. Use unibyte.
Obey gnus-article-compface-xbm. Use pbm, not xbm.