From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70369 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: White-space fixup Date: Thu, 02 Sep 2010 10:13:38 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <877hj441r1.fsf@lifelogs.com> References: <87d3syd956.fsf@dod.no> <87d3swr5i3.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1283440468 14462 80.91.229.12 (2 Sep 2010 15:14:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 15:14:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18753@lists.math.uh.edu Thu Sep 02 17:14:27 2010 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.69) (envelope-from ) id 1OrBUh-0004WU-0E for ding-account@gmane.org; Thu, 02 Sep 2010 17:14:27 +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 1OrBUD-0001EY-BF; Thu, 02 Sep 2010 10:13:57 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OrBUB-0001EE-Iu for ding@lists.math.uh.edu; Thu, 02 Sep 2010 10:13:55 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OrBU9-0004J5-9i for ding@lists.math.uh.edu; Thu, 02 Sep 2010 10:13:54 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OrBU8-0006UM-00 for ; Thu, 02 Sep 2010 17:13:52 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OrBU5-0004AI-Cf for ding@gnus.org; Thu, 02 Sep 2010 17:13:49 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Sep 2010 17:13:49 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Sep 2010 17:13:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:5242zrSmXQ5fRsZSBlZFGriLjoM= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70369 Archived-At: On Thu, 02 Sep 2010 09:04:04 +0200 Reiner Steib wrote: RS> On Thu, Sep 02 2010, Lars Magne Ingebrigtsen wrote: >> I've now removed all trailing white space. >> >> What's the magical setting for having a hook for .el files in the Gnus >> directory to automatically remove white space when I save files? RS> Please don't. "drive-by" whitespace changes are annoying IMHO. RS> Rather use non-nil `show-trailing-whitespace' to avoid adding it. So according to http://www.emacswiki.org/emacs/DirectoryVariables we can set up lisp/.dir-locals.el like this: ((lisp-mode . ((indent-tabs-mode . t) ;; would this work? whitespace.el is in Emacs... ;; (whitespace-style (quote (trailing))) (show-trailing-whitespace t)))) assuming we agree on the tabs. Should we be explicit about anything else? Ted