1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 00:01:33 -08:00
Commit graph

61609 commits

Author SHA1 Message Date
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
Bill Wohler
355ebcbf25 * mh-customize.el (mh-folder-msg-number): Snow is actually off-white
on low color displays which turns to white when bold. This is
unreadable on white backgrounds. Use snow with min-colors requirement.
Use cyan on low-color displays.

* mh-init.el (mh-defface-compat): On low-color displays, delete the
high-color display rather than simply strip the min-colors requirement
since the existing algorithm shadowed the desired display on low-color
displays.
2006-01-03 18:25:26 +00:00
Bill Wohler
e69d4e020a (mh-alias-add-alias): Remove leading * from docstring. 2006-01-03 18:20:20 +00:00
J.D. Smith
fdbfa78ecb *** empty log message *** 2006-01-03 17:15:10 +00:00
J.D. Smith
f1c4f757fd (mouse-drag-track): Renamed, from `mouse-drag-region-1'. Includes
optional argument required to enable post-drag event processing
(e.g. delete region keys).  Can be used without this argument to track
a mouse region and operate on it as soon as the drag completes.
(mouse-drag-region): Use `mouse-drag-track'.
2006-01-03 17:08:51 +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
Stefan Monnier
e7b394e177 (Fwindow_minibuffer_p): Declare (for use in minibuf.c). 2006-01-03 16:56:15 +00:00
Stefan Monnier
ccf0250b2f (describe_map_compare): Yet another int/Lisp_Object mixup. 2006-01-03 16:54:47 +00:00
Ken Raeburn
6918ac24b0 *** empty log message *** 2006-01-03 09:16:39 +00:00
Romain Francoise
1ca41b97bb (fancy-splash-tail, normal-splash-screen): Update copyright year. 2006-01-03 08:40:49 +00:00
Romain Francoise
dcc9b98d28 (main): Update copyright year. 2006-01-03 08:40:26 +00:00
Ken Raeburn
1a271e14d7 (delete_temp_file): Bind file-name-handler-alist to nil for the call
to internal_delete_file.
2006-01-03 08:24:37 +00:00
Bill Wohler
af43518401 * mh-alias.el (mh-alias-grab-from-field): Remove leading * from
docstring. Does this mean something in a defun?

* mh-customize.el (bw-new-face-to-old, bw-old-face-to-new): Checkdoc
fix.

* mh-e.el (mh-inc-folder): Rename maildrop-name argument to file so it
reads better in docstring and manual. Sync docstring with manual.

* mh-init.el (mh-defface-compat): Remove trailing space (checkdoc).

* mh-alias.el (mh-alias-apropos): Sync docstring with manual.

* mh-comp.el (mh-redistribute, mh-to-field, mh-to-fcc)
(mh-insert-auto-fields, mh-send-letter, mh-yank-cur-msg)
(mh-fully-kill-draft, mh-open-line, mh-letter-complete)
(mh-letter-complete-or-space, mh-letter-confirm-address)
(mh-letter-next-header-field-or-indent)
(mh-letter-previous-header-field): Ditto.

* mh-customize.el (mh-alias-completion-ignore-case-flag)
(mh-default-folder-for-message-function, mh-mml-method-default)
(mh-signature-file-name, mh-yank-behavior, mh-show-hook)
(mh-show-mode-hook) Ditto.

* mh-e.el (mh-refile-or-write-again, mh-toggle-showing): Ditto.

* mh-funcs.el (mh-pipe-msg, mh-sort-folder, mh-undo-folder)
(mh-store-msg, mh-store-buffer): Ditto

* mh-index.el (mh-index-search, mh-index-do-search)
(mh-index-next-folder, mh-index-sequenced-messages): Ditto.

* mh-junk.el (mh-spamassassin-blacklist): Ditto.

* mh-mime.el (mh-mh-compose-external-compressed-tar)
(mh-mh-compose-external-type, mh-mh-to-mime, mh-mh-to-mime-undo)
(mh-mml-secure-message-sign, mh-mml-secure-message-encrypt)
(mh-mml-secure-message-signencrypt): Ditto

* mh-pick.el (mh-search-folder): Ditto.

* mh-seq.el (mh-widen): Ditto.

* mh-utils.el (mh-show, mh-modify): Ditto.
2006-01-03 06:13:43 +00:00
Chong Yidong
31869a0f00 Minor tweak. 2006-01-03 03:36:49 +00:00
Chong Yidong
5f7543f80c * custom.texi (Custom Themes): Describe the new
customize-create-theme interface.
2006-01-03 03:33:04 +00:00
Mark D. Baushke
285d1e0cf4 * mh-mime.el (mh-mml-unsecure-message): Remove unused argument. 2006-01-03 00:01: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
01abe918fc * configure.in: Use -Wno-pointer-sign if available.
* configure: Regenerate.
2006-01-02 18:10:16 +00:00
Chong Yidong
7e8b9dc3cc Doc fix. 2006-01-02 15:41:56 +00:00
Chong Yidong
fb61efe61d Doc fix. 2006-01-02 15:29:32 +00:00
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