unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: silence whitespace-cleanup
Date: Wed, 11 Jun 2003 11:08:22 +0900	[thread overview]
Message-ID: <b9yisrdfjs9.fsf@jpl.org> (raw)

Hi,

I request to silence the whitespace-cleanup function when the
texinfo-format-scan function is performed.  We have only the way
to use the texinfmt.el module to make Japanese info pages.
However, it is too loud to find important problems.  For
instance:

Formatting: The Gnus Newsreader ... 
/Work/gnus/texi/gnus clean
/Work/gnus/texi/gnus clean
/Work/gnus/texi/gnus clean
/Work/gnus/texi/gnus clean
/Work/gnus/texi/gnus clean
/Work/gnus/texi/gnus clean
/Work/gnus/texi/gnus clean
[...]

Here is a patch:

*** lisp/whitespace.el~	Tue May 13 22:38:43 2003
--- lisp/whitespace.el	Wed Jun 11 02:06:37 2003
***************
*** 517,523 ****
        (whitespace-buffer))))
  
  ;;;###autoload
! (defun whitespace-cleanup ()
    "Cleanup the five different kinds of whitespace problems.
  
  Use \\[describe-function] whitespace-describe to read a summary of the
--- 517,523 ----
        (whitespace-buffer))))
  
  ;;;###autoload
! (defun whitespace-cleanup (&optional quiet)
    "Cleanup the five different kinds of whitespace problems.
  
  Use \\[describe-function] whitespace-describe to read a summary of the
***************
*** 568,574 ****
  	(if whitespace-any
  	    (whitespace-cleanup)
  	  (progn
! 	    (message "%s clean" buffer-file-name)
  	    (whitespace-update-modeline)))
  	(setq tab-width whitespace-tabwith-saved))))
  
--- 568,575 ----
  	(if whitespace-any
  	    (whitespace-cleanup)
  	  (progn
! 	    (if (not quiet)
! 		(message "%s clean" buffer-file-name))
  	    (whitespace-update-modeline)))
  	(setq tab-width whitespace-tabwith-saved))))
  
*** lisp/textmodes/texinfmt.el~	Tue Feb 11 22:13:39 2003
--- lisp/textmodes/texinfmt.el	Wed Jun 11 02:06:37 2003
***************
*** 935,941 ****
           (error "Unterminated @%s" (car (car texinfo-stack)))))
  
    ;; Remove excess whitespace
!   (whitespace-cleanup))
  
  (defvar texinfo-copying-text ""
    "Text of the copyright notice and copying permissions.")
--- 935,941 ----
           (error "Unterminated @%s" (car (car texinfo-stack)))))
  
    ;; Remove excess whitespace
!   (whitespace-cleanup t))
  
  (defvar texinfo-copying-text ""
    "Text of the copyright notice and copying permissions.")

             reply	other threads:[~2003-06-11  2:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <yamaoka@jpl.org>
2003-06-11  2:08 ` Katsumi Yamaoka [this message]
2003-06-11  3:38   ` silence whitespace-cleanup Rajesh Vaidheeswarran
2003-06-11  3:58     ` Miles Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b9yisrdfjs9.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).