From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: [rudalics@gmx.at: whitespace.el's permanent-locals] Date: Thu, 15 Mar 2007 07:03:04 +0900 Message-ID: <87lkhziiuf.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173909817 22108 80.91.229.12 (14 Mar 2007 22:03:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Mar 2007 22:03:37 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Rajesh Vaidheeswarran" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 14 23:03:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HRbZ7-0005ZR-QK for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 23:03:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRba3-0006j9-9d for ged-emacs-devel@m.gmane.org; Wed, 14 Mar 2007 17:04:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRbZz-0006ih-6t for emacs-devel@gnu.org; Wed, 14 Mar 2007 18:04:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRbZv-0006iP-G8 for emacs-devel@gnu.org; Wed, 14 Mar 2007 18:04:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRbZv-0006iM-8y for emacs-devel@gnu.org; Wed, 14 Mar 2007 17:04:15 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HRbYp-0007DY-70; Wed, 14 Mar 2007 18:03:07 -0400 Original-Received: from 203-216-97-073.dsl.gol.ne.jp ([203.216.97.73] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1HRbYm-0002Vm-Sg; Thu, 15 Mar 2007 07:03:05 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 7D2862FE2; Thu, 15 Mar 2007 07:03:04 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Rajesh Vaidheeswarran's message of "Wed\, 14 Mar 2007 17\:43\:51 -0400") Original-Lines: 17 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67945 Archived-At: "Rajesh Vaidheeswarran" writes: > If I remember the reason correctly, it was because wanted the ability > to toggle on/off the check for and correct the various types of > whitespaces to be on a per-buffer basis. Just make it a normal minor mode. I see no reason to do otherwise. Indeed, this is exactly the sort of minor-mode which is likely to get put into hook functions for various major-modes because the user wants to control whitespace in that mode. In such a case (and I think it's the most common one) the parameters are much more likely to be _mode_-specific rather than buffer-specific. -miles -- Somebody has to do something, and it's just incredibly pathetic that it has to be us. -- Jerry Garcia