Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Vinicius Jose Latorre
385da4e7cd
whitespace-trailing-regexp docstring fix.
2008-04-28 23:12:09 +00:00
Bastien Guerry
f5c063418b
* whitespace.el (whitespace-trailing): Fix typo.
2008-04-28 16:27:37 +00:00
Vinicius Jose Latorre
2788143d51
whitespace-trailing-regexp option fix.
2008-04-27 11:50:47 +00:00
Vinicius Jose Latorre
556885cd6e
Doc fix.
2008-04-26 12:38:54 +00:00
Vinicius Jose Latorre
ae68f2d88c
New version 11.0.
2008-04-26 11:38:50 +00:00
Glenn Morris
1ed216dbe4
(whitespace-display-table, whitespace-display-table-was-local):
...
Move definitions before use.
2008-04-22 02:55:30 +00:00
Vinicius Jose Latorre
ce20300145
Handle whitespace-tab-width properly.
2008-04-18 02:01:46 +00:00
Vinicius Jose Latorre
55d1cfe870
Honor the indent-tabs-mode and tab-width setting from user.
2008-04-16 03:41:17 +00:00
Vinicius Jose Latorre
94dc593ff4
New version 9.3.
2008-03-01 19:00:24 +00:00
Juanma Barranquero
e5403637d7
(global-whitespace-mode): Revert last change.
...
(whitespace-unload-function): Force `global-whitespace-mode'
to deactivate local modes in a slightly less intrusive way.
2008-02-02 17:41:55 +00:00
Glenn Morris
434b9acba5
(whitespace-char-valid-p): Use characterp rather than char-valid-p.
2008-02-02 04:17:54 +00:00
Vinicius Jose Latorre
4a4b61e275
Use find-file-hook instead of find-file-hooks.
2008-02-01 18:52:51 +00:00
Juanma Barranquero
b502217bd8
(whitespace): Set :version tag to 23.1.
...
(whitespace-turn-off, whitespace-toggle-options): Fix typos.
(whitespace-style, whitespace-chars, whitespace-space, whitespace-hspace,
whitespace-tab, whitespace-newline, whitespace-trailing, whitespace-line,
whitespace-space-before-tab, whitespace-indentation, whitespace-empty,
whitespace-space-after-tab, whitespace-hspace-regexp, whitespace-space-regexp,
whitespace-tab-regexp, whitespace-trailing-regexp,
whitespace-space-before-tab-regexp, whitespace-indentation-regexp,
whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp,
whitespace-space-after-tab-regexp, whitespace-line-column,
whitespace-display-mappings, global-whitespace-toggle-options,
whitespace-cleanup, whitespace-cleanup-region, whitespace-interactive-char):
Doc fixes.
2008-02-01 14:44:44 +00:00
Juanma Barranquero
1e2b96c2b8
(global-whitespace-mode): When turning off the global mode,
...
turn off the local modes too if whitespace is being unloaded.
(whitespace-unload-function): New function.
2008-02-01 11:25:16 +00:00
Juanma Barranquero
acaf02dd13
(global-whitespace-mode): Fix modeline lighter.
2008-02-01 10:25:35 +00:00
Miles Bader
17f6865b40
Re-use arch-tag from old blank-mode.el for lisp/whitespace.el
2008-01-31 22:54:22 +00:00
Miles Bader
e0755615ad
Add arch tagline
2008-01-31 22:50:51 +00:00
Vinicius Jose Latorre
c9dff4e359
Rename blank-mode.el to whitespace.el and obsolete/whitespace.el to obsolete/old-whitespace.el
2008-01-31 16:08:29 +00:00
Vinicius Jose Latorre
596c0ee145
Move whitespace.el to obsolete dir.
2008-01-28 13:58:19 +00:00
Miles Bader
1bad168e59
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Juanma Barranquero
6b588eb77e
(whitespace-check-leading-whitespace, whitespace-check-trailing-whitespace,
...
whitespace-check-spacetab-whitespace, whitespace-check-indent-whitespace,
whitespace-check-ateol-whitespace): Fix typos in docstrings.
2008-01-16 16:18:32 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
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
Dan Nicolaescu
d31e8e871c
* calculator.el:
...
* dframe.el:
* iswitchb.el:
* whitespace.el:
* winner.el:
* emacs-lisp/checkdoc.el:
* mail/feedmail.el:
* net/quickurl.el:
* obsolete/fast-lock.el:
* play/5x5.el:
* progmodes/delphi.el:
* progmodes/idlw-shell.el:
* progmodes/idlwave.el:
* textmodes/artist.el:
* textmodes/ispell.el:
* textmodes/texinfmt.el:
* textmodes/texinfo.el: Remove obsolete definitions of backward
compatibility macros for defcustom, defgroup, defface, when,
unless, with-current-buffer and with-temp-message.
2007-12-25 19:21:38 +00:00
Deepak Goel
8c16bd8c35
Fix buggy calls to `error'.
2007-12-06 17:56:42 +00:00
Miles Bader
c12ecb0af9
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-923
2007-11-09 09:45:30 +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
Michaël Cadilhac
f0fe5c145d
(whitespace-tickle-timer): Don't install the timer if
...
whitespace-rescan-timer-time is 0.
2007-09-24 15:16:01 +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