Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Dan Nicolaescu
be1320bd57
* whitespace.el (whitespace-check-buffer-leading)
...
(whitespace-check-buffer-trailing)
(whitespace-check-buffer-indent)
(whitespace-check-buffer-spacetab)
(whitespace-check-buffer-ateol): Add safe-local-variable properties.
2008-01-03 06:40:12 +00:00
Juanma Barranquero
3e1da21463
(whitespace-unload-function): New-style unload function.
...
When run, unintern `whitespace-unload-hook' and call
`unload-feature' recursively to stop the old hook from
messing with the unloading.
2007-10-31 18:45:14 +00:00
Juanma Barranquero
6341c3fc0b
(whitespace-write-file-hook): Remove interactive spec.
...
(whitespace-unload-function): New-style unload function.
If run, stop old style `-hook' function from running.
2007-10-31 15:59:19 +00:00
Glenn Morris
4837b516ea
Replace `iff' in doc-strings and comments.
2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Martin Rudalics
ae18604f63
(top level): Remove calls putting
...
permanent-local nil property since these are no-ops.
2007-03-24 09:51:52 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
c90f275771
Update copyright years.
2006-12-05 07:06:08 +00:00
Dan Nicolaescu
2b058c727e
(whitespace-cleanup-internal): Use current
...
argument for recursive call.
2006-12-04 07:34:01 +00:00
Chong Yidong
8eda2ca3b3
(whitespace-buffer): Call remove-overlays after overlay-recenter for
...
performance. Suggested by Martin Rudalics.
2006-11-07 17:37:14 +00:00
Eli Zaretskii
113fa44847
(whitespace-indent-regexp): Make this match any multiples of eight spaces near
...
the beginning of a line.
(whitespace-buffer): Use `remove-overlays' instead of
`whitespace-unhighlight-the-space' and `overlay-recenter' to speed up overlay
handling.
(whitespace-buffer-leading, whitespace-buffer-trailing): Make these functions
highlight the text removed by `whitespace-buffer-leading-cleanup' and
`whitespace-buffer-trailing-cleanup' respectively.
(whitespace-buffer-search): Use `with-local-quit'. Move `format' out of loop
to speed up scanning larger buffers.
(whitespace-unhighlight-the-space): Remove `remove-hook' since that function is
never added to a hook.
(whitespace-spacetab-regexp, whitespace-ateol-regexp)
(whitespace-buffer-leading-cleanup)
(whitespace-refresh-rescan-list): Fix docstrings.
2006-11-04 10:34:56 +00:00
Richard M. Stallman
0d92660c53
(whitespace-cleanup): Doc fix.
2006-08-21 10:55:53 +00:00
Eli Zaretskii
6e6f0cb6ab
(whitespace-cleanup-internal): New optional arg REGION-ONLY. If it's non-nil,
...
modify the message to the user accordingly.
(whitespace-cleanup-region): Call whitespace-cleanup-internal with a non-nil
argument.
2006-08-18 12:50:08 +00:00
Rajesh Vaidheeswarran
f473c8d5af
whitespace.el - make whitesspace-cleanup use the current active regoin, if there is one.
2006-05-25 18:09:25 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
04f0adee72
(whitespace-cleanup): Doc fix.
2005-10-23 13:30:15 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Richard M. Stallman
9d8f0a3cbf
(whitespace-make-overlay)
...
(whitespace-overlay-put, whitespace-delete-overlay)
(whitespace-overlay-start, whitespace-overlay-end):
Define such that compiler knows they are defined.
(whitespace): Move conditional inside.
2005-07-16 17:10:58 +00:00
Juanma Barranquero
7f34d6d462
(whitespace-check-buffer-leading, whitespace-check-buffer-trailing,
...
whitespace-check-buffer-indent, whitespace-check-buffer-spacetab,
whitespace-check-buffer-ateol, whitespace-highlighted-space,
whitespace-check-leading-whitespace, whitespace-check-trailing-whitespace,
whitespace-check-spacetab-whitespace, whitespace-check-indent-whitespace,
whitespace-check-ateol-whitespace, whitespace-abort-on-error, whitespace-modes):
Fix typos in docstrings.
(defgroup, defcustom): Doc fix.
2005-07-13 10:32:08 +00:00
Richard M. Stallman
185d43ee89
(whitespace-buffer-leading-cleanup): Simplify w/ skip-chars-forward.
...
(whitespace-buffer-trailing-cleanup): Simplify w/ skip-chars-backward.
2005-07-08 22:33:00 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Miles Bader
ee01ad0e03
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-371
...
Remove "-face" suffix from whitespace-highlight face
2005-06-10 Miles Bader <miles@gnu.org>
* lisp/whitespace.el (whitespace-highlight): Remove "-face" suffix from
face name.
(whitespace-highlight-the-space): Use renamed face.
(whitespace-highlight-face): New backward-compatibility aliases
for renamed face.
2005-06-10 08:13:51 +00:00
Rajesh Vaidheeswarran
df5e8d2c04
whitespace.el - revert hasty fix, fix highlight area for leading and trailing space.
2005-04-11 23:47:54 +00:00
Rajesh Vaidheeswarran
7a15a27156
whitespace.el - fix higlighting test and bump rev
2005-04-11 23:25:46 +00:00
Richard M. Stallman
7dbe67a412
(whitespace-highlight-the-space):
...
Don't call whitespace-unhighlight-the-space here.
2005-04-11 18:39:13 +00:00
Stefan Monnier
c22c3db00e
(whitespace-highlight-the-space): Put the same overlay
...
in the buffer and in whitespace-highlighted-space.
(whitespace-unhighlight-the-space): Simplify.
(whitespace-buffer): Simplify.
2005-04-08 14:40:57 +00:00
Dan Nicolaescu
ea81d57ec5
* mh-customize.el (mh-speedbar-selected-folder-face): Special case
...
high number of colors displays.
* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Richard M. Stallman
fd07aeb320
(whitespace-unload-hook): Set the variable.
2004-10-16 15:26:23 +00:00
Richard M. Stallman
35bf5a4e07
(global-whitespace-mode): New alias for whitespace-global-mode.
2004-08-22 17:04:22 +00:00
Miles Bader
1f3ddf11e8
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-196
...
Remove RCS keywords
2004-04-10 Miles Bader <miles@gnu.org>
RCS keyword removal (only non-comment changes are enumerated here):
* lisp/emacs-lisp/bytecomp.el (byte-compile-version): Variable removed.
(byte-compile-insert-header): Don't use `byte-compile-version'.
* lisp/url/url-vars.el (url-version): Use the constant string "Emacs"
instead of calculating something from the RCS `State' keyword
[the latter is almost entirely useless anyway].
* lisp/forms.el (forms-version): Variable removed.
(forms-mode): Don't use `forms-version'.
* lisp/recentf.el (recentf-version): Variable removed.
* lisp/progmodes/delphi.el (delphi-version): Variable removed.
* lisp/progmodes/ada-mode.el (ada-mode): RCS keyword removed from docstring.
2004-04-10 05:55:49 +00:00
Rajesh Vaidheeswarran
c98ddbe5da
whitespace.el now takes user customizable variable to display cleanliness of
...
files.
ffap.el - bugfix.
2003-09-29 18:05:31 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Rajesh Vaidheeswarran
72f295ec18
Respect user preference
2003-06-11 04:00:33 +00:00
Rajesh Vaidheeswarran
37a23b5dfd
Update whitespace.el
2003-06-11 03:50:45 +00:00
Rajesh Vaidheeswarran
9800cbdd7f
Add :link to commentary section
2003-05-13 14:30:58 +00:00
Andreas Schwab
26e57f3b8a
(whitespace-highlight-face): Fix face spec.
2002-12-03 00:10:40 +00:00
Juanma Barranquero
e23d264da6
(whitespace-unload-hook): Call `remove-hook' with three arguments, not four.
2002-09-13 06:21:51 +00:00
Stefan Monnier
07089c848f
(whitespace-global-mode): Use define-minor-mode. Use the new file hook names.
...
(whitespace-describe): Remove. Move the text to `Commentary:'.
(whitespace-unload-hook): Use the new file hook names.
2002-09-11 21:30:25 +00:00
Rajesh Vaidheeswarran
5dc2e846a7
Whitespace.el v3.2 for colorized display of bogus whitespaces.
2001-12-13 17:34:57 +00:00
Rajesh Vaidheeswarran
1f8437c4f0
whitespace 3.1
2001-08-20 20:56:08 +00:00
Gerd Moellmann
e4494044fb
(whitespace-global-mode): Add autoload cookie.
2001-08-20 10:05:03 +00:00
Pavel Janík
e8af40eed4
Some fixes to follow coding conventions.
2001-07-16 12:23:00 +00:00
Rajesh Vaidheeswarran
9a46e95c9b
Add Ident line.
2001-03-22 21:31:51 +00:00
Rajesh Vaidheeswarran
a3db02ad94
whitespace.el version 3.0 with buffer local toggle capability.
2001-03-22 21:30:11 +00:00
Dave Love
75d2d89f51
(whitespace-global-mode): Fix typo.
2001-01-04 15:36:59 +00:00
Dave Love
e7cff5504b
Fix copyright years.
2000-12-06 20:24:23 +00:00
Dave Love
fc3337909b
Doc fixes.
...
(top-level): Don't add hooks here.
(whitespace-running-emacs): Deleted.
(timer): Don't require.
(whitespace): Add back :version conditional on xemacs test.
(whitespace-spacetab-regexp, whitespace-indent-regexp)
(whitespace-ateol-regexp, whitespace-modes): Fix custom type.
(whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
(whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
Avoid specific xemacs test.
(whitespace-global-mode): New option.
(whitespace-global-mode): New command.
(whitespace-unload-hook): New function.
2000-10-15 17:07:55 +00:00
Rajesh Vaidheeswarran
bff7108734
Update whitespace.el - comment out the :version string, since it
...
seems to have trouble with XEmacs 20.4 (user reported bug). Xemacs
doesn't create group if this is present.
Bug verified. Not yet determined the problem.
2000-06-07 19:04:57 +00:00
Rajesh Vaidheeswarran
7f565d8708
Update whitespace.el with a more tolerable timer scan time.
...
Update e-mail address.
2000-05-31 18:39:14 +00:00