1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
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
Dave Love
ba27ebd204 (whitespace): Add :version to defgroup. 2000-02-02 15:01:39 +00:00
Gerd Moellmann
0e38b2a220 (whitespace-update-modeline): Bugfix to ensure
that the modeline display was updated *only* when
`whitespace-display-in-modeline' was set, not otherwise.
1999-10-31 13:59:19 +00:00
Gerd Moellmann
07dc417520 (whitespace-version): Update to 2.8
Take a tip from Noah Friedman
<friedman@splode.com> and test for existence of `defcustom' and
`defgroup' using fboundp instead of assuming that these are not
present in particular flavors of emacs.
1999-10-30 21:10:54 +00:00
Gerd Moellmann
dd24f431be (whitespace-version): Update to 2.6
(whitespace-display-in-modeline): Add custom
variable to control displaying the whitespace errors on the
modeline based on suggestion from <klaus.berndl@sdm.de>
(whitespace-buffer): Now returns `t' if unclean
and `nil' if clean, to enable using as a hook function, as
suggested by Puneet Goel <puneet@computer.org>
(whitespace-buffer): Fix a subtle bug that cleaned
up only if quiet was not set, even with whitespace-auto-cleanup set.
(whitespace-mode-line): Now uses less modeline
real estate and shows whitespaces as W:<x>!<y> where <x> is any
type of whitespace which is present in the file, and <y> is any
type of whitespace whose check has been suppressed by setting
`whitespace-check-<whitespace-type>' to nil.
(whitespace-unchecked-whitespaces): New function
to return the list of whitespaces for whom checks have been
suppressed.
(whitespace-display-unchecked-whitespaces):
Renamed to `whitespace-update-modeline' to reflect its functionality.
(whitespace-version): Update to 2.5
1999-10-30 19:21:43 +00:00
Richard M. Stallman
217425d076 (whitespace-mode, whitespace-mode-line): Add defvars. 1999-09-15 23:46:29 +00:00
Richard M. Stallman
18d51459aa (whitespace-version): Update version to 2.4
Add customization variables to conditionally test
any of the five whitespaces.

(whitespace-spacetab-regexp): Fix doc string.

(whitespace-modes): Add `change-log-mode' to the
list of modes to be checked for bogus whitespaces.

(whitespace-rescan-timer-time): Update documentation.

(whitespace-display-unchecked-whitespaces):
new function to update modeline with untested whitespaces.

(whitespace-buffer): Test only whitespaces whose
checking is turned on, and update modeline using the newly created
`whitespace-display-unchecked-whitespaces'.

(whitespace-cleanup): Cleanup only whitespaces
whose checking is turned on, and update modeline using the newly
created `whitespace-display-unchecked-whitespaces'.

(whitespace-describe): Update documentation.

(whitespace-tickle-timer): Test if `whitespace-rescan-timer-time' is
non-zero before tickling timer.
1999-09-14 22:30:11 +00:00
Richard M. Stallman
24b72a45b7 Finish making it fit Emacs conventions. Add autoloads. 1999-09-10 02:42:59 +00:00
Dave Love
acc975b1aa Initial revision 1999-09-07 11:28:47 +00:00