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; 3+ 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] 3+ 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
  2004-10-22  2:20   ` whitespace a misnomer Dan Jacobson
  0 siblings, 1 reply; 3+ 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] 3+ messages in thread

* whitespace a misnomer
  2004-10-19 19:59 ` emacs sources awash in trailing blanks Stefan Monnier
@ 2004-10-22  2:20   ` Dan Jacobson
  0 siblings, 0 replies; 3+ messages in thread
From: Dan Jacobson @ 2004-10-22  2:20 UTC (permalink / raw)
  Cc: bug-gnu-emacs

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

Come to think of it, whitespace is a misnomer, a relic of offices with
white paper.  As I type, "whitespace" is indeed black on one screen,
red on another, grey on another, etc.
$ man perlre|grep -c white
12
Worse is whitelisting/blacklisting etc. Or maybe let's just accept
it. [OK perldudes, close this bug that I hereby opened.]

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

end of thread, other threads:[~2004-10-22  2:20 UTC | newest]

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

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