CVS update by didierv packages/xemacs-packages/text-modes ...

xemacs-cvs at xemacs.org xemacs-cvs at xemacs.org
Wed May 2 04:16:17 EDT 2007


  User: didierv 
  Date: 07/05/02 10:16:17

  Modified:    packages/xemacs-packages/text-modes ChangeLog whitespace.el
Log:
FIXED: [Bug: 21.5-b27] whitespace-describe function is missing

Revision  Changes    Path
1.166     +7 -0      XEmacs/packages/xemacs-packages/text-modes/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/text-modes/ChangeLog,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -p -r1.165 -r1.166
--- ChangeLog	2007/04/30 16:54:47	1.165
+++ ChangeLog	2007/05/02 08:16:16	1.166
@@ -1,3 +1,10 @@
+2007-05-02  Didier Verna  <didier at xemacs.org>
+
+	* whitespace.el (whitespace-buffer): Fix and improve the
+	documentation string.
+	* whitespace.el (whitespace-cleanup): Advertise
+	`whitespace-buffer' for whitespace problems description.
+
 2007-04-30  Norbert Koch  <viteno at xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.93 released.



1.5       +14 -12    XEmacs/packages/xemacs-packages/text-modes/whitespace.el

Index: whitespace.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/text-modes/whitespace.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- whitespace.el	2007/04/30 15:50:35	1.4
+++ whitespace.el	2007/05/02 08:16:16	1.5
@@ -6,7 +6,7 @@
 ;; Maintainer: Didier Verna <didier at xemacs.org>
 ;; Keywords:   convenience
 
-;; $Id: whitespace.el,v 1.4 2007/04/30 15:50:35 didierv Exp $
+;; $Id: whitespace.el,v 1.5 2007/05/02 08:16:16 didierv Exp $
 ;; This file is part of GNU Emacs.
 
 ;; GNU Emacs is free software; you can redistribute it and/or modify
@@ -509,17 +509,19 @@ A buffer qualifies if its file name matc
 ;;;###autoload
 (defun whitespace-buffer (&optional quiet)
   "Find five different types of white spaces in buffer.
+
 These are:
-1. Leading space \(empty lines at the top of a file\).
-2. Trailing space \(empty lines at the end of a file\).
-3. Indentation space \(8 or more spaces, that should be replaced with TABS\).
-4. Spaces followed by a TAB. \(Almost always, we never want that\).
-5. Spaces or TABS at the end of a line.
-
-Check for whitespace only if this buffer really contains a non-empty file
-and:
-1. the major mode is one of the whitespace-modes, or
-2. `whitespace-buffer' was explicitly called with a prefix argument."
+1. Leading space:  empty lines at the top of a file (should be removed).
+2. Trailing space: empty lines at the end of a file (should be removed).
+3. Indentation space: 8 or more spaces at beginning of line
+   (should be replaced with TABS).
+4. Spaces followed by a TAB (should be replaced by TABS).
+5. Spaces or TABS at the end of a line (should be removed).
+
+Check for whitespace only if buffer really contains a non-empty file, and:
+1. the file matches one item of `whitespace-files', or
+2. the major mode matches one item of `whitespace-modes', or
+3. `whitespace-buffer' was explicitly called with a prefix argument."
   (interactive)
   (let ((whitespace-error nil))
     (whitespace-check-whitespace-mode current-prefix-arg)
@@ -624,7 +626,7 @@ and:
 (defun whitespace-cleanup ()
   "Cleanup the five different kinds of whitespace problems.
 
-Use \\[describe-function] whitespace-describe to read a summary of the
+Use \`\\[describe-function] whitespace-buffer' to read a summary of the
 whitespace problems."
   (interactive)
   ;; If this buffer really contains a file, then run, else quit.





More information about the XEmacs-CVS mailing list