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
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