unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* emacs sources awash in trailing blanks
@ 2004-10-19 19:21 Dan Jacobson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Jacobson @ 2004-10-19 19:21 UTC (permalink / raw)


Gentlemen, emacs sources are the home of many stowaway trailing
blanks, hiding at the ends of lines, just waiting for their
opportunity to reproduce more of themselves thru a cut and paste by an
oblivious non show-trailing-whitespace using developer.
cd /usr/share/emacs/21.3/lisp/
LC_ALL=C grep -c ' $' *.el /dev/null
abbrev.el:4
abbrevlist.el:1...

Customs, in a quick spot check of that emacs source directory, found
LC_ALL=C grep -c ' $' *.el |grep -v :0|wc -l
140
trailing blanks infected files.

"Stallman would spin in his grave if he went thru life with
show-trailing-whitespace enabled to see what was going on, and of
course if he were dead."

(The LC_ALL=C is needed to avoid the grep 3rd world locales slowdown bug.)

(show-trailing-whitespace is great for quibblers like me. "If you
can't attack their content, well, there's surely a trailing blank or two...")

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs sources awash in trailing blanks
       [not found] <mailman.4074.1098215855.2017.bug-gnu-emacs@gnu.org>
@ 2004-10-19 19:59 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2004-10-19 19:59 UTC (permalink / raw)


> Gentlemen, emacs sources are the home of many stowaway trailing
> blanks, hiding at the ends of lines, just waiting for their
> opportunity to reproduce more of themselves thru a cut and paste by an
> oblivious non show-trailing-whitespace using developer.

We're an equal opportunity project; we do not discriminate against
trailing whitespace.


        Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-19 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19 19:21 emacs sources awash in trailing blanks Dan Jacobson
     [not found] <mailman.4074.1098215855.2017.bug-gnu-emacs@gnu.org>
2004-10-19 19:59 ` Stefan Monnier

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