GNU bug report logs - #13646
Mode-specific and file-regexp-specific settings

Previous Next

Package: emacs;

Reported by: Didier Verna <didier <at> didierverna.net>

Date: Thu, 7 Feb 2013 12:46:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #43 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Schmidt <christopher <at> ch.ristopher.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#13646: Whitespace support for file/mode-specific styles and
	actions
Date: Tue, 12 Feb 2013 17:00:41 +0000 (GMT)
Didier Verna <didier <at> didierverna.net> writes:
> Stefan Monnier <monnier <at> iro.umontreal.ca> 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




This bug report was last modified 4 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.