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.
André Spiegel [Wed, 4 Oct 2000 09:48:37 +0000 (09:48 +0000)]
(vc-revert-buffer): Handle empty diff properly.
(vc-version-backup-file): New function.
(vc-checkout): Create a version backup if necessary.
(vc-checkin): If a version backup file exists, delete it.
(vc-version-diff): Diff locally using version backups, if available.
(vc-revert-file): If there's a version backup, revert locally.
(vc-transfer-file): Use version backup for base version, if
available. If not, ask for confirmation whether to get it from the
server. Update mode line before check-in.
Peter Breton [Wed, 4 Oct 2000 05:43:37 +0000 (05:43 +0000)]
* net/net-utils.el (nslookup-font-lock-keywords,
ftp-font-lock-keywords, smbclient-font-lock-keywords):
Only set if window-system is non-nil
(net-utils-run-program): Returns buffer.
(network-connection-reconnect): Added this function.
Peter Breton [Wed, 4 Oct 2000 05:17:12 +0000 (05:17 +0000)]
* generic.el:
Incorporates extensive cleanup and docfixes by
Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
Uses cl compile-time macros.
(generic-mode-name, generic-comment-list,
generic-keywords-list, generic-font-lock-expressions,
generic-mode-function-list, generic-mode-syntax-table):
Removed variables.
(generic-mode-alist): Renamed to generic-mode-list.
(generic-find-file-regexp): Default changed to "^#".
(generic-read-type): Uses completing read on generic-mode-list.
(generic-mode-sanity-check): removed this function.
(generic-add-to-auto-mode): Removed this function
(generic-mode-internal): Binds mode-specific definitions
into function instead of putting them in alist.
(generic-mode-set-comments): Reworked extensively.
(generic-mode-find-file-hook): Simplified regexp searching
(generic-make-keywords-list): Omit extra pair of parens
Peter Breton [Wed, 4 Oct 2000 04:45:55 +0000 (04:45 +0000)]
* generic-x.el (apache-conf-generic-mode):
Regexp now allows leading whitespace.
(rc-generic-mode): Added eval-when-compile
around generic-make-keywords-list.
Deleted duplicate regexp
(rul-generic-mode): Added eval-when-compile
around generic-make-keywords-list.
(etc-fstab-generic-mode): New generic mode.
Miles Bader [Tue, 3 Oct 2000 17:35:47 +0000 (17:35 +0000)]
(dired-mark-read-file-name): Add optional arg DEFAULT.
(dired-do-create-files): If there's only one file, pass it in as
the DEFAULT arg to dired-mark-read-file-name.
Dave Love [Tue, 3 Oct 2000 16:13:36 +0000 (16:13 +0000)]
Don't require mm-util.
(quoted-printable-decode-region): Rewritten.
(quoted-printable-decode-string, quoted-printable-encode-region):
Doc fix.
(quoted-printable-encode-region): Barf on multibyte characters.
Maybe make the class multibyte. Upcase chars, not formatted
strings. Allow mm-use-ultra-safe-encoding to be unbound.
(quoted-printable-encode-string): Don't use
mm-with-unibyte-buffer.
André Spiegel [Tue, 3 Oct 2000 11:33:59 +0000 (11:33 +0000)]
(vc-rcs-fetch-master-state): Parse and remember default branch
unconditionally.
(vc-rcs-set-default-branch): New function.
(vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
(vc-rcs-checkin): If an appropriate default branch has been set,
force creation of that branch.
Miles Bader [Tue, 3 Oct 2000 07:06:41 +0000 (07:06 +0000)]
(yow): Don't display multi-line quotations in a *Help* buffer, since the
echo area will now grow to accommodate them.
[Note -- I thought I already checked this change, but it seems to have
mysteriously disappeared]
Stefan Monnier [Mon, 2 Oct 2000 22:15:27 +0000 (22:15 +0000)]
(prev_char_comstart_first): Remove.
(back_comment): Check two-char comment markers more carefully
to better handle overlapping cases like *//* or /* */* */ ...
Match nestedness of ender/starter.
Gerd Moellmann [Mon, 2 Oct 2000 19:51:03 +0000 (19:51 +0000)]
(isearch-lazy-highlight-update): Don't put a lazy
highlighting overlay with a different face over the overlay
isearch uses to highlight the current match because that can lead
to bad face combinations.
Gerd Moellmann [Mon, 2 Oct 2000 19:18:09 +0000 (19:18 +0000)]
(isearch-faces): New custom group.
(isearch): New defface; was already tested for in the code.
(isearch-lazy-highlight-face): Changed to defface from defcustom.
(isearch-highlight): Always use face `isearch'.
André Spiegel [Mon, 2 Oct 2000 12:01:09 +0000 (12:01 +0000)]
(vc-responsible-backend): Undo the previous change in the argument
list. Handle multiple backends correctly.
(vc-find-new-backend): Function removed.
(vc-register): Use vc-responsible-backend, as before.
(vc-next-action-on-file): Do use vc-registered, not vc-backend.