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

61587 commits

Author SHA1 Message Date
Chong Yidong
c2e2f9be2c Change ordering so all the Custom Themes code is in one place.
Fix docstring for custom-theme-set-variables.
2006-01-02 15:18:08 +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
Stefan Monnier
55262b16df (url-retrieve-synchronously): Don't autoload. 2006-01-02 05:25:13 +00:00
Stefan Monnier
2ef88a693d (url-retrieve, url-retrieve-synchronously): Autoload. 2006-01-02 05:24:31 +00:00
Stefan Monnier
8abe1fd585 Require `url'. 2006-01-02 05:24:01 +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
Bill Wohler
d49ed7d4bc * mh-customize.el: Sync docstrings with manual for faces and sort them
alphabetically.
(mh-faces): Move below mh-hooks. (mh-folder-faces, mh-index-faces,
mh-letter-faces)
(mh-show-faces, mh-speed-faces): Delete. Organize faces like hooks.
(mh-speed-update-interval): Fix group (mh-speedbar, not mh-speed).
(facemenu-unlisted-faces): Might as well ignore all MH-E faces.
(mh-folder-body-face, mh-folder-cur-msg-face)
(mh-folder-cur-msg-number-face, mh-folder-date-face)
(mh-folder-followup-face, mh-folder-msg-number-face)
(mh-folder-deleted-face, mh-folder-refiled-face)
(mh-folder-subject-face, mh-folder-address-face)
(mh-folder-scan-format-face, mh-folder-to-face) (mh-index-folder-face,
mh-show-cc-face, mh-show-date-face) (mh-show-header-face,
mh-show-pgg-good-face) (mh-show-pgg-unknown-face,
mh-show-pgg-bad-face)
(mh-show-to-face, mh-show-from-face, mh-show-subject-face): Delete.
(mh-folder-cur-msg): Unused. Delete.
(mh-folder-address): Use defface; inherit from mh-folder-subject.
(mh-folder-body, mh-folder-cur-msg-number, mh-folder-date): Inherit
from mh-folder-msg-number.
(mh-folder-deleted): Use defface. Inherit from mh-folder-msg-number.
(mh-folder-sent-to-me-hint): New face. Inherit from mh-folder-date.
(mh-folder-sent-to-me-sender): Rename from mh-folder-scan-format. Use
defface. Inherit from mh-folder-followup.
(mh-show-xface): Inherit from mh-show-from and highlight.
(bw-face-generation, bw-toggle-faces)
(bw-new-face-to-old, bw-old-face-to-new): New (tempoarary) variables,
functions for toggling between old and new faces.

* mh-e.el (font-lock-auto-fontify, font-lock-defaults): Hide in
eval-when-compile. We should probably do this throughout.
(mh-scan-good-msg-regexp, mh-scan-deleted-msg-regexp)
(mh-scan-refiled-msg-regexp, mh-scan-cur-msg-number-regexp)
(mh-scan-date-regexp, mh-scan-rcpt-regexp, mh-scan-body-regexp)
(mh-scan-subject-regexp): Sync docstrings with manual
(mh-scan-format-regexp): Rename to mh-scan-sent-to-me-sender-regexp.
Drop date parenthesized expression. Make expression more like the
others (anchored at the beginning of line). Sync docstrings with
manual.
(mh-folder-font-lock-keywords): Use faces directly rather than -face
variables. Use mh-scan-sent-to-me-sender-regexp instead of
mh-scan-format-regexp, and within that expression, use faces
mh-folder-sent-to-me-hint and mh-folder-sent-to-me-sender instead of
mh-folder-date-face and mh-folder-scan-format-face which were
misleading.

* mh-mime.el (mh-mime-security-button-face): Use faces directly rather
than -face variables.

* mh-utils.el (mh-show-font-lock-keywords): Use faces directly rather
than -face variables.
(mh-face-foreground-compat, mh-face-background-compat): New macros.
(mh-face-display-function): Use mh-face-foreground-compat and
mh-face-background-compat to use inherited attributes of mh-show-xface
on Emacs 22 while still working on Emacs 21.
2006-01-01 18:51:18 +00:00
Ken Raeburn
bb951f0e9e (Fcall_process_region): Bind file-name-handler-alist to nil for the call to
Fwrite_region.
2006-01-01 11:41:36 +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
Richard M. Stallman
b20de1cd1c (read_minibuf): Clear out all other minibuffer windows. 2006-01-01 02:10:52 +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
Romain Francoise
cdda1b5966 *** empty log message *** 2005-12-31 15:29:39 +00:00
Eli Zaretskii
b5871831a0 *** empty log message *** 2005-12-31 14:22:24 +00:00
Eli Zaretskii
6baa02d616 (gdb_pvec_type): A dummy variable for GDB's sake. 2005-12-31 14:21:53 +00:00
Eli Zaretskii
8c3f3d642d (gud-display-line): Support hl-line in the source buffer. 2005-12-31 13:51:27 +00:00
Eli Zaretskii
913dd16dd1 Fix wording of last change. 2005-12-31 11:56:21 +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
6e813c38e9 Remove obsolete comment 2005-12-31 02:05:04 +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
3a6c62dbcb *** empty log message *** 2005-12-31 01:59:02 +00:00
Chong Yidong
8314bdb836 * cus-theme.el (custom-new-theme-mode): Use cus-edit faces. 2005-12-31 01:58:07 +00:00
Luc Teirlinck
537562fa44 (set_text_properties): Reword description of return value.
Return Qnil if caller wants to remove all text properties from a
string and the string already has no intervals.
2005-12-30 23:15:03 +00:00
Luc Teirlinck
c26ec07faf *** empty log message *** 2005-12-30 23:13:54 +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
a073af58b1 *** empty log message *** 2005-12-30 22:06:05 +00:00
Stefan Monnier
468160b799 (Displaying the Cursor): Mention visible-cursor. 2005-12-30 22:05:31 +00:00
Stefan Monnier
98e071b53d Add `visible-cursor'. 2005-12-30 21:54:32 +00:00
Stefan Monnier
0db017c093 (visible_cursor): New boolean var.
(set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on
visible_cursor.
(syms_of_term): Export the new var as "visible-cursor".
2005-12-30 21:48:35 +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
5e860c2408 (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 17:00:32 +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
Richard M. Stallman
19bb794058 (Changing Properties): Don't use return value of set-text-properties. 2005-12-30 16:34:23 +00:00
Eli Zaretskii
fc8dc7cf56 *** empty log message *** 2005-12-30 14:04:37 +00:00
Andreas Schwab
fe791b0cee *** empty log message *** 2005-12-30 14:04:12 +00:00
Eli Zaretskii
4c27dbc426 (lisp1): Add image.elc, international/fontset.elc, dnd.elc, mwheel.elc,
and tool-bar.elc.
2005-12-30 14:03:46 +00:00
Andreas Schwab
f140f4e36c Ignore errors from font-lock-compile-keywords. 2005-12-30 14:00:30 +00:00
Eli Zaretskii
c2c50958b6 Tell users not to worry about GDB warnings that some functions do not
exist in the binary.
2005-12-30 13:29:20 +00:00
Eli Zaretskii
ef3f69f901 *** empty log message *** 2005-12-30 13:21:04 +00:00
Eli Zaretskii
45cb4c9656 (jit-lock-chunk-size): Doc fix. 2005-12-30 13:20:23 +00:00
Eli Zaretskii
98d926f208 (MOUSE_SUPPORT): Add tooltip.elc.
(lisp1): Add rfn-eshadow.elc, international/utf-16.elc.  Rearrange
the list to be similar to $(shortlisp) in src/Makefile.in.
(lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc, jit-lock.elc.
Rearrange the list to be similar to $(shortlisp) in src/Makefile.in.
2005-12-30 13:02:42 +00:00
Andreas Schwab
82a800588d (Fnetwork_interface_info): Correctly terminate the
loop over ifflag_table.
2005-12-30 11:03:41 +00:00
Juri Linkov
67d766e8c1 *** empty log message *** 2005-12-30 06:19:41 +00:00
Juri Linkov
3f3015e4b1 (Position Info): Update example. 2005-12-30 06:19:30 +00:00
Juri Linkov
b2a20868ea (cancel-change-group): Add listp around pending-undo-list. 2005-12-30 06:00:17 +00:00
Juri Linkov
74f36ff05e (fill-single-word-nobreak-p): Use `sentence-end'. 2005-12-30 05:59:16 +00:00