1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-20 07:00:31 -08:00
Commit graph

8816 commits

Author SHA1 Message Date
Eli Zaretskii
8c722a8142 Fix typos (misspellings) in the commentary. 2006-01-06 12:11:53 +00:00
Eli Zaretskii
0133dab9be (basic-save-buffer-2): If backing-up failed, reset buffer-backed-up to nil. 2006-01-06 11:55:35 +00:00
Nick Roberts
753c278e36 *** empty log message *** 2006-01-06 10:35:44 +00:00
Bill Wohler
600bc46cd5 (updates): Remove mh-autoloads dependency, since it probably has
already run recently (via recompile).
2006-01-05 22:49:42 +00:00
Bill Wohler
77a0dbd2e0 (compile-always): Add mh-autoloads dependency.
(bootstrap): Remove mh-autoloads dependency, as compile dependency
provides it.
2006-01-05 22:40:43 +00:00
Stefan Monnier
bef9f82ccf (flyspell-accept-buffer-local-defs): Add an
argument `force' to disable the flyspell-last-buffer optimization.
(flyspell-mode-on): Use it.
2006-01-05 21:52:16 +00:00
Stefan Monnier
c07fa03069 (flymake-get-cleanup-function): Default to flymake-simple-cleanup.
(flymake-allowed-file-name-masks): Use this new default.
All the functions are now called in the right buffer rather than
passing the buffer as argument.
(flymake-process-sentinel): Switch to buffer before calling cleanup.
(flymake-parse-err-lines): Remove redundant buffer arg.
(flymake-get-program-dir): Comment out unused function.
(flymake-start-syntax-check, flymake-start-syntax-check-process):
Remove redundant buffer argument.
(flymake-get-real-file-name, flymake-simple-java-cleanup)
(flymake-simple-cleanup, flymake-master-cleanup): Remove buffer arg.
2006-01-05 18:51:00 +00:00
Richard M. Stallman
a203a18cc4 *** empty log message *** 2006-01-05 16:05:56 +00:00
Richard M. Stallman
f00239cf26 (mark): Doc fix. 2006-01-05 15:59:50 +00:00
YAMAMOTO Mitsuharu
07f9b01c98 *** empty log message *** 2006-01-05 08:14:52 +00:00
Carsten Dominik
8abe9d4f56 *** empty log message *** 2006-01-05 08:06:25 +00:00
Chong Yidong
eaa9920556 (custom-reset-menu, Custom-mode-menu)
(custom-variable-menu, custom-face-menu, custom-group-menu):
	Move back to previous ordering.
2006-01-04 21:23:20 +00:00
Chong Yidong
b76747af07 * cus-edit.el (custom-face-save): Push to theme-face before
setting face spec.
2006-01-04 20:16:50 +00:00
Chong Yidong
0c7310460c * cus-edit.el (custom-reset-menu, Custom-mode-menu)
(custom-variable-menu, custom-face-menu, custom-group-menu):
	Undo last change.
	(Custom-reset-current, Custom-reset-saved)
	(Custom-reset-standard): Fix y-or-n-p messages.
2006-01-04 17:23:23 +00:00
Chong Yidong
73e60f534c * cus-edit.el (custom-reset-menu, custom-reset, Custom-mode-menu)
(custom-variable-menu, custom-face-menu, custom-group-menu)
	(custom-buffer-create-internal): Change "Reset" to "Show".
	Reorder menu items.
	(custom-link): New face for Info links.
	(custom-buffer-create-internal, custom-manual): Use it.

	* wid-edit.el (widget-default-mouse-face-get): New function.
	(widget-specify-button): Handle mouse-face like button-face.

	* custom.el (load-theme): Clear old theme settings if reloading.
2006-01-04 15:56:08 +00:00
Luc Teirlinck
d5837ed32f *** empty log message *** 2006-01-04 02:49:48 +00:00
Luc Teirlinck
bdf743fe52 *** empty log message *** 2006-01-04 02:42:26 +00:00
Kim F. Storm
8a5db8aea1 *** empty log message *** 2006-01-04 00:26:24 +00:00
Stefan Monnier
6df1924164 (flymake-create-temp-with-folder-structure): Use expand-file-name.
(flymake-delete-temp-directory): Use expand-file-name,
file-name-directory, and directory-file-name.
(flymake-strrchr): Delete.
(flymake-start-syntax-check): Don't pass the redundant buffer argument
to the init-f function.
(flymake-init-find-buildfile-dir, flymake-init-create-temp-buffer-copy)
(flymake-init-create-temp-source-and-master-buffer-copy, flymake-perl-init)
(flymake-save-buffer-in-file, flymake-simple-make-init-impl, flymake-xml-init)
(flymake-simple-make-init, flymake-master-make-init, flymake-master-tex-init)
(flymake-master-make-header-init, flymake-simple-make-java-init)
(flymake-simple-ant-java-init, flymake-simple-tex-init):
Remove corresponding redundant buffer argument.
(flymake-allowed-file-name-masks): Remove last elems that are equal to
the default anyway.  Clean up regexps.
2006-01-03 19:59:00 +00:00
Stefan Monnier
5bcef417b1 (flymake-base-dir, flymake-master-file-name, flymake-temp-master-file-name)
(flymake-temp-source-file-name): New buffer-local vars.
(flymake-buffer-data, flymake-get-buffer-value, flymake-set-buffer-value):
Replace those hash-tables by the new buffer-local vars.  Update callers.
2006-01-03 19:05:06 +00:00
Stefan Monnier
43ed65acea (flymake-check-start-time, flymake-check-was-interrupted, flymake-err-info)
(flymake-is-running, flymake-last-change-time, flymake-new-err-info)
(flymake-timer): Move definitions, so we can remove earlier declarations.
(flymake-replace-regexp-in-string, flymake-split-string)
(flymake-get-temp-dir): Use defalias.
(flymake-popup-menu): Remove `pos' argument.  Use posn-at-point.
(flymake-xemacs-window-edges): Remove unused function.
(flymake-get-point-pixel-pos): Move.
(flymake-pid-to-names, flymake-reg-names)
(flymake-get-source-buffer-name, flymake-unreg-names): Remove.
Replace by a simple list flymake-processes and by process-buffer.
Update callers.  Other than simplify the code, it uses buffers rather
than buffer-names so it doesn't get confused by uniquify.
(flymake-buffer-data): The global value should just be nil.
2006-01-03 18:44:42 +00:00
Stefan Monnier
b7a5a20839 (byte-compile-file-form-defalias):
Optimize the body of a defalias like any other code.
2006-01-03 18:35:58 +00:00
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