Commit graph

8794 commits

Author SHA1 Message Date
J.D. Smith
fdbfa78ecb *** empty log message *** 2006-01-03 17:15:10 +00:00
Stefan Monnier
1c360af385 (font-lock-fontify-buffer, font-lock-fontify-region): Make sure we've setup
font-lock's vars.  It may influence which function we then call.
(font-lock-default-fontify-buffer): Don't bother calling set-defaults
here since it's too late anyway.
2006-01-03 17:00:35 +00:00
Romain Francoise
1ca41b97bb (fancy-splash-tail, normal-splash-screen): Update copyright year. 2006-01-03 08:40:49 +00:00
Chong Yidong
3ee073674a * cus-edit.el (custom-guess-name-alist, custom-guess-doc-alist):
Move to `custom-buffer' group.
2006-01-02 22:27:08 +00:00
Chong Yidong
d0f1e2f8e0 * cus-theme.el: Rewrite the Custom New Theme Mode interface.
(custom-new-theme-mode-map, custom-theme-insert-variable-marker)
	(custom-theme-insert-face-marker, custom-theme-variable-menu)
	(custom-theme-face-menu): New variables.
	(custom-theme-add-variable, custom-theme-variable-action)
	(custom-variable-reset-theme, custom-theme-delete-variable)
	(custom-face-reset-theme, custom-theme-face-action)
	(custom-theme-delete-face, custom-theme-merge-theme)
	(custom-theme-add-face, custom-theme-visit-theme): New functions.
2006-01-02 22:02:11 +00:00
Chong Yidong
d358aa106d * custom.el: Move Custom Themes commentary to start of theme code.
(custom-known-themes): Rename `standard' theme to `changed'.
	(custom-push-theme): Caller no longer specifies what theme to use
	when doing `reset'---the setting is simply removed from the theme.
	Delete MODE from `theme-value' and `theme-settings' properties.
	(custom-declare-theme): Ignore &rest args since we don't use them.

	(custom-loaded-themes): Delete variable.
	(custom-theme-load-themes, custom-theme-loaded-p)
	(custom-theme-value): Delete functions.

	(custom-declare-theme): Signal error on invalid theme names.
	(provide-theme): custom-loaded-themes was deleted.
	(load-theme): Load the file unconditionally.
	(enable-theme): Call `load-theme' if theme is undefined.
	(custom-enabled-themes): Only update value for successful loads.
	(disable-theme): Complete from enabled themes when interactive.
	(custom-variable-theme-value): Calculate theme value directly.

	(custom-theme-reset-variables, custom-reset-variables): Mark as
	XEmacs compatibility functions.  We don't actually use these.

	* cus-edit.el (custom-variable-state-set): Use
	custom-variable-theme-value instead of custom-theme-value.
	(custom-face-state-set): Rename `standard' theme to `changed'.
	(custom-save-variables, custom-save-faces): Delete unneeded
	references to custom-reset-variables.
	(custom-save-resets): Delete function.
	(custom-save-variables, custom-save-faces): MODE argument deleted.
	(custom-save-variables, custom-save-faces): Ignore theme values.

	* cus-face.el (custom-theme-reset-faces): Mark as XEmacs
	compatibility function.
2006-01-02 15:11:14 +00:00
Richard M. Stallman
b8919739a6 Fix previous change. 2006-01-02 03:43:35 +00:00
Richard M. Stallman
107736a270 (Custom-set, Custom-save): Ask for confirmation.
(Custom-reset-current, Custom-reset-saved): Likewise.
(Custom-reset-standard): Likewise.
(custom-mode): Doc fix, describing those commands.
2006-01-02 03:38:43 +00:00
Richard M. Stallman
cbf090c459 (mouse-drag-region-1): When following link via mouse-2,
put on event-kind property.
2006-01-01 07:55:21 +00:00
Chong Yidong
b2a41d1250 * custom.el (provide-theme): Ban `user' theme name.
(custom-enabling-themes): New variable.
	(enable-theme): Don't enable user if custom-enabling-themes is t.
	(custom-enabled-themes): Make it a defcustom.
	(custom-theme-recalc-face): No-op if face is undefined.
2005-12-31 20:49:22 +00:00
Chong Yidong
85a5eb0eb0 * cus-edit.el (custom-button-mouse): New variable.
(custom-button-mouse): New face.
	(custom-raised-buttons, custom-mode): Use it.

	* cus-theme.el (custom-new-theme-mode): Use custom-button-mouse.
2005-12-31 16:26:01 +00:00
Eli Zaretskii
b5871831a0 *** empty log message *** 2005-12-31 14:22:24 +00:00
Eli Zaretskii
5915523a25 (mouse-drag-window-above): Verify that the found window overlaps with the
given window in the horizontal dimension.
2005-12-31 11:47:05 +00:00
Eli Zaretskii
a9d25c792d (cvs-update): New target. 2005-12-31 11:27:23 +00:00
Chong Yidong
bdeaa675d1 * cus-theme.el (custom-new-theme-mode-map): New variable. 2005-12-31 02:04:03 +00:00
Chong Yidong
8314bdb836 * cus-theme.el (custom-new-theme-mode): Use cus-edit faces. 2005-12-31 01:58:07 +00:00
Richard M. Stallman
8913f945ec (custom-load-themes): Function deleted. 2005-12-30 22:58:31 +00:00
Richard M. Stallman
a8d6ee3c53 (custom-save-loaded-themes): Function deleted.
(custom-save-all): Don't call custom-save-loaded-themes.
2005-12-30 22:57:07 +00:00
Richard M. Stallman
16ecd4c5b1 (custom-save-loaded-themes): Call custom-save-delete.
(custom-save-all): Call custom-save-loaded-themes.
(custom-save-variables): Don't delete or add custom-load-themes call.
2005-12-30 22:44:36 +00:00
Stefan Monnier
98e071b53d Add `visible-cursor'. 2005-12-30 21:54:32 +00:00
Stefan Monnier
4dd68f4433 (flymake-copy-buffer-to-temp-buffer): Simplify.
(flymake-parse-output-and-residual): Remove `source-buffer' argument.
(flymake-process-filter): Switch to buffer before calling it instead.
(flymake-post-syntax-check, flymake-highlight-err-lines)
(flymake-delete-own-overlays, flymake-parse-err-lines)
(flymake-start-syntax-check, flymake-start-syntax-check-process)
(flymake-count-lines, flymake-parse-residual): Remove constant buffer argument.
(flymake-start-syntax-check-for-current-buffer): Remove.
Update callers to use flymake-start-syntax-check instead.
(flymake-display-err-menu-for-current-line): Remove unused var `mouse-pos'.
(flymake-restore-formatting): Comment out unused function.
(flymake-report-status, flymake-report-fatal-status): Remove buffer
argument, use current-buffer instead.  Update callers.
2005-12-30 17:28:30 +00:00
Roland Winkler
07467c092d * textmodes/bibtex.el (bibtex-mode): Make completion-ignore-case
buffer-local because choose-completion-delete-max-match requires
that we set completion-ignore-case (i.e., binding via let is not
sufficient).
(bibtex-complete): Always set completion-ignore-case and
choose-completion-string-functions. The latter is needed because
choose-completion-string-functions keeps its value if we quit the
*Completions* buffer without requesting a completion.
2005-12-30 16:57:55 +00:00
Andreas Schwab
fe791b0cee *** empty log message *** 2005-12-30 14:04:12 +00:00
Eli Zaretskii
ef3f69f901 *** empty log message *** 2005-12-30 13:21:04 +00:00
Juri Linkov
67d766e8c1 *** empty log message *** 2005-12-30 06:19:41 +00:00
Stefan Monnier
af3d4246e0 (font-lock-compile-keywords): Signal an error when
font-lock-set-defaults hasn't been called.
2005-12-30 04:38:52 +00:00
Luc Teirlinck
9f126fd015 *** empty log message *** 2005-12-30 02:58:25 +00:00
Roland Winkler
694ed36d35 * textmodes/bibtex.el (bibtex-text-in-field-bounds): Handle case
that assoc-string returns nil.
2005-12-29 17:08:04 +00:00
Roland Winkler
ffc1e1db03 (bibtex-entry-type-whitespace)
(bibtex-entry-type-str, bibtex-empty-field-re)
(bibtex-search-backward-string, bibtex-preamble-prefix)
(bibtex-search-entry, bibtex-enclosing-entry-maybe-empty-head):
Removed.
(bibtex-any-valid-entry-type): New variable.
(bibtex-parse-field-name): Simplify.
(bibtex-parse-string, bibtex-search-forward-string): New arg
empty-key.
(bibtex-preamble-prefix): Include left delimiter.
(bibtex-search-forward-field, bibtex-search-backward-field): Allow
unbounded search past entry boundaries (required by bibtex-pop).
(bibtex-text-in-field-bounds): Use push.
(bibtex-text-in-field): Do not use bibtex-narrow-to-entry.
(bibtex-parse-preamble, bibtex-valid-entry)
(bibtex-beginning-first-field): New functions.
(bibtex-skip-to-valid-entry): Use bibtex-valid-entry.  Fix regexp.
(bibtex-map-entries): Fix docstring.
(bibtex-flash-head): New arg prompt. Simplify.
(bibtex-enclosing-field): Include code of bibtex-inside-field.
(bibtex-insert-kill): Simplify.  Always insert text past the
current field or entry.
(bibtex-format-entry): Use bibtex-parse-field.
(bibtex-pop): Use bibtex-beginning-of-entry and
bibtex-end-of-entry to initiate the search.  Insert empty field if
we found ourselves.
(bibtex-print-help-message): New args field and comma.  Handle
entry keys.
(bibtex-make-field): Use bibtex-beginning-of-entry.
(bibtex-end-of-entry): Use bibtex-valid-entry.  Recognize any
invalid entry.
(bibtex-validate): Use bibtex-valid-entry and bibtex-parse-string.
Handle preambles.  Simplify code for thorough test.
(bibtex-next-field, bibtex-find-text, bibtex-find-text-internal):
New arg comma.  Handle entry heads.
(bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters)
(bibtex-kill-field, bibtex-copy-field-as-kil, bibtex-empty-field):
New arg comma.
(bibtex-kill-entry): Use bibtex-any-entry-maybe-empty-head.
(bibtex-fill-field): Simplify.
(bibtex-fill-entry): Use bibtex-beginning-first-field and
bibtex-parse-field.
(bibtex-convert-alien): Do not wait before calling
bibtex-validate.
(bibtex-complete): Use bibtex-parse-preamble.
2005-12-29 15:25:28 +00:00
Nick Roberts
bc2051e4ed *** empty log message *** 2005-12-29 02:01:31 +00:00
Bill Wohler
0d887b77b1 * simple.el (mh-e-user-agent): Move to mh-e/mh-comp.el and autoload. 2005-12-28 21:54:07 +00:00
Stefan Monnier
97461c846c (vc-annotate-display): Replace optional arg `color-map' with
compulsory arg `ratio'.  Inline body of vc-annotate-time-span.
(vc-annotate-display-autoscale): Adjust call.
(vc-annotate-display-default): Adjust call.  Make arg compulsory.
Fix interactive spec.
(vc-annotate-time-span): Remove.
(vc-annotate-oldest-in-map): Rename from vc-annotate-car-last-cons.
(vc-annotate-mode-menu, vc-annotate-display-autoscale)
(vc-annotate-display-select): Use new name.
2005-12-28 20:13:47 +00:00
Stefan Monnier
07a95b81f4 (vc-annotate-mode-map): Remove obsolete binding.
(vc-annotate-mode-menu): Remove left-over redundant declaration.
Correct the construction of span entries.  Simplify.
(vc-annotate-display-select): Fix the nil case.
(vc-annotate): Remove obsolete (and now broken) code.
(vc-annotate-extract-revision-at-line): Remove obsolete code.
(vc-annotate-time-span): Remove unused arg `quantize'.  Simplify.
2005-12-28 18:47:12 +00:00
Luc Teirlinck
ba45513111 *** empty log message *** 2005-12-28 17:14:45 +00:00
Simon Josefsson
c3f69831cb Fix AUTH PLAIN authentication. 2005-12-28 08:46:05 +00:00
Richard M. Stallman
6281e1e84d *** empty log message *** 2005-12-28 03:44:37 +00:00
Juri Linkov
84116a137c *** empty log message *** 2005-12-28 02:02:23 +00:00
Richard M. Stallman
2926b5fba6 (glasses-face): More specific custom type. 2005-12-27 23:48:05 +00:00
Richard M. Stallman
1af5710156 (set-visited-file-name): Doc fix. 2005-12-27 22:54:13 +00:00
Richard M. Stallman
51978cac9a (flyspell-external-point-words):
Use local var buffer-scan-pos to advance scan for next misspelling.
Advance it only after we find the misspelling.
New criteria for finding the misspelling in the buffer.
2005-12-27 22:49:46 +00:00
Nick Roberts
ee79234b76 *** empty log message *** 2005-12-27 21:34:19 +00:00
Nick Roberts
6280f20d84 *** empty log message *** 2005-12-27 21:10:19 +00:00
Jan Djärv
edd4b3ab76 * cus-start.el (all): Add x-gtk-show-hidden-files. 2005-12-27 10:41:22 +00:00
Richard M. Stallman
c0b457636e (perform-replace): Calculate match-again
before skipping read-only matches.
2005-12-27 04:31:21 +00:00
Richard M. Stallman
d6f0f3e069 (paren-showing-faces): New group.
(show-paren-match, show-paren-mismatch): Move to that group.
2005-12-27 01:11:01 +00:00
Richard M. Stallman
d7504d5c73 *** empty log message *** 2005-12-26 22:11:17 +00:00
Richard M. Stallman
119f6f171a Fix quoting syntax. 2005-12-26 20:28:10 +00:00
Stefan Monnier
1d5e15d046 (lazy-completion-table): Remove argument `args'. 2005-12-26 15:57:37 +00:00
Nick Roberts
0932395f4a *** empty log message *** 2005-12-26 11:40:31 +00:00
Richard M. Stallman
cad1051b1f *** empty log message *** 2005-12-26 04:51:58 +00:00