From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64541 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.gnus.general Subject: Re: Mixing whitespace and topical changes Date: Wed, 18 Apr 2007 08:42:23 +0900 Message-ID: <87y7kqlg9s.fsf@catnip.gol.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1176853436 1696 80.91.229.12 (17 Apr 2007 23:43:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2007 23:43:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13052@lists.math.uh.edu Wed Apr 18 01:43:50 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HdxKw-0005F0-4i for ding-account@gmane.org; Wed, 18 Apr 2007 01:43:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HdxK9-0000UR-L0; Tue, 17 Apr 2007 18:43:01 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HdxK8-0000U7-4z for ding@lists.math.uh.edu; Tue, 17 Apr 2007 18:43:00 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.63) (envelope-from ) id 1HdxJx-0001fT-Te for ding@lists.math.uh.edu; Tue, 17 Apr 2007 18:43:00 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HdxJx-0002QG-00 for ; Wed, 18 Apr 2007 01:42:49 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HdxJh-0001qS-R6 for ding@gnus.org; Wed, 18 Apr 2007 01:42:34 +0200 Original-Received: from 203-216-97-156.dsl.gol.ne.jp ([203.216.97.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Apr 2007 01:42:33 +0200 Original-Received: from miles by 203-216-97-156.dsl.gol.ne.jp with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Apr 2007 01:42:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 203-216-97-156.dsl.gol.ne.jp System-Type: i686-pc-linux-gnu Cancel-Lock: sha1:5gfZTj3FZQhtTrT2a7qrfAJMnhE= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64541 Archived-At: Didier Verna writes: > How many of us are there ? Is this such a big deal ? > > (require 'whitespace) > (add-hook 'write-file-hooks #'(lambda () (whitespace-cleanup) nil)) Er, this applies to _every_ file, meaning that Gnus hackers will start messing up every other package they hack on. They could implement some sort of filename-specific filter so that the hook only applies to Gnus, but that of course is an extra bit of annoyance, and in fact it's exactly the same thing you claimed was too annoying for you to do! I think this is a non-starter. -Miles -- What the fuck do white people have to be blue about!? Banana Republic ran out of Khakis? The Espresso Machine is jammed? Hootie and The Blowfish are breaking up??! Shit, white people oughtta understand, their job is to GIVE people the blues, not to get them! -- George Carlin