bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

half of emacs lisp files tested positive for trailing whitespace


From: Dan Jacobson
Subject: half of emacs lisp files tested positive for trailing whitespace
Date: Wed, 24 Dec 2003 04:43:03 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Gentlemen, wearing my show-trailing-whitespace xray-specs all day long
has made me acutely aware of the waste current these days.  Indeed,
emacs authors should be required to wear them too, as half of the
files on this quick sample returned positive results when tested for
trailing whitespace:

$ find /usr/share/emacs/21.3/lisp/ -name \*.el|LC_ALL=C xargs grep -L ' $'|wc -l
373
$ find /usr/share/emacs/21.3/lisp/ -name \*.el|LC_ALL=C xargs grep -l ' $'|wc -l
386
$ find /usr/share/emacs/21.3/lisp/ -name \*.el|wc -l
759

By the way, I had to use LC_ALL=C due to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=206470
#206470: LC_CTYPE=C speeds 'grep a' 800 times!
which is the GNU bug of the century in terms of impact on my daily life.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]