From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13646: Whitespace support for file/mode-specific styles and actions Date: Fri, 18 Sep 2020 16:38:11 +0200 Message-ID: <87d02jf8vg.fsf@gnus.org> References: <87r4klxy9s@ch.ristopher.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30690"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 13646@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 18 16:39:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJHXz-0007ox-3c for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 16:39:35 +0200 Original-Received: from localhost ([::1]:49238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJHXx-0005eQ-TB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 10:39:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJHXT-0005eC-K3 for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 10:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJHXS-0003I3-CH for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 10:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJHXS-0005eF-Am for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 10:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Sep 2020 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13646 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160043990121650 (code B ref -1); Fri, 18 Sep 2020 14:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2020 14:38:21 +0000 Original-Received: from localhost ([127.0.0.1]:43941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJHWn-0005d8-58 for submit@debbugs.gnu.org; Fri, 18 Sep 2020 10:38:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:43900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJHWl-0005d1-MP for submit@debbugs.gnu.org; Fri, 18 Sep 2020 10:38:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJHWl-0005am-FJ for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 10:38:19 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:45034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJHWj-0003ET-Aw for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 10:38:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iIqmR7WZdYW6Jgr2KMDt5T8oCY0sNDRjdF0qw93FhKE=; b=u0UadyDDevRjA0iXj7JCywllZZ ppNdsGcVtzASyMXQEVGe/TiTRUqHXZ+d8IU/nHHJ6z2NUqeNkzwmvzx98JUjWkZz7m6p1xSXKBvp5 8dRMdWXalcTyYS8XOT/j79KUyMKiG1CMkWUJUYsKnK2Rx6klccfJDnj7bB5vYTqWAE/A=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJHWe-0006ti-7Z for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 16:38:14 +0200 X-Now-Playing: Saito Koji's _433-1_: "433_076" In-Reply-To: <87r4klxy9s@ch.ristopher.com> (Christopher Schmidt's message of "Tue, 12 Feb 2013 17:00:41 +0000 (GMT)") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188321 Archived-At: Christopher Schmidt writes: >>> 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. It seems like there was little enthusiasm for this feature -- Christopher sums up the objections well, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no