From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Schmidt Newsgroups: gmane.emacs.bugs Subject: bug#13646: Whitespace support for file/mode-specific styles and actions Date: Tue, 12 Feb 2013 17:00:41 +0000 (GMT) Message-ID: <87r4klxy9s@ch.ristopher.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1360688508 8292 80.91.229.3 (12 Feb 2013 17:01:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2013 17:01:48 +0000 (UTC) To: 13646@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 12 18:02:10 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U5JFB-0003AR-Hn for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 18:02:09 +0100 Original-Received: from localhost ([::1]:33173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JEs-0003N4-82 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Feb 2013 12:01:50 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JEi-0003Ex-2N for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:01:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5JEe-0000gb-6K for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:01:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JEe-0000gX-3b for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:01:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U5JF3-0008DM-Sb for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Christopher Schmidt Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Feb 2013 17:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13646 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136068849731546 (code B ref -1); Tue, 12 Feb 2013 17:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Feb 2013 17:01:37 +0000 Original-Received: from localhost ([127.0.0.1]:52419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5JEe-0008Ck-2H for submit@debbugs.gnu.org; Tue, 12 Feb 2013 12:01:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54734) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U5JEb-0008Cd-U9 for submit@debbugs.gnu.org; Tue, 12 Feb 2013 12:01:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5JE0-0000UH-MV for submit@debbugs.gnu.org; Tue, 12 Feb 2013 12:01:07 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:41027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JE0-0000U3-Ga for submit@debbugs.gnu.org; Tue, 12 Feb 2013 12:00:56 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JDv-0002Hz-Fc for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:00:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5JDo-0000Qq-0g for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:00:51 -0500 Original-Received: from ristopher.com ([146.185.21.93]:55541 helo=saturn.ch.ristopher.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5JDn-0000QZ-7B for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2013 12:00:43 -0500 Original-Received: by saturn.ch.ristopher.com (Postfix, from userid 0) id 61C5420AAA; Tue, 12 Feb 2013 17:00:41 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ch.ristopher.com; s=mail; t=1360688441; bh=TikIm1dt+nWrmoKiJaT7CiSVZQHxBDwd9EE3I1KCTEg=; h=From:To:Subject:In-Reply-To:Message-ID:References:MIME-Version: Content-Type:Date; b=IX31ZIMN3ma/iRMAZ8l0460DN6xgRyUgIzzLr+fUk7Dzxhf+xIyhbY1APFdKuoljK QLUPUnKwwqqEXlclC3/Oe+CBuekTA2ERQLwChCD42x4eWsVZRVqpK7mASOW7qpyf1g 0QQTyD15uR3eKVHMaSuUlmazG+ENjmGpGgGhsa9g= In-Reply-To: (Didier Verna's message of "Tue, 12 Feb 2013 15:17:28 +0100") Mail-Followup-To: bug-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71097 Archived-At: Didier Verna writes: > Stefan Monnier wrote: > >> I really would much rather improve the generic settings code. > > I understand. Looks like a lot of work though, and in the meantime, I > don't think it hurts to have a workaround, even package-specific. -1 Having three user options that take precedence upon each other, with a subset of them being safe local variables, is scary. This can break regular user setups and third party packages big time. Even worse, the work around your workaround is not trivial. I do not see any need for such an intrusive change in the first place. You can easily implement what you did there using find-file-hook, after-change-major-mode-hook in combination with an independent global minor mode. Christopher