all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Schmidt <christopher@ch.ristopher.com>
To: 13646@debbugs.gnu.org
Subject: bug#13646: Whitespace support for file/mode-specific styles and actions
Date: Tue, 12 Feb 2013 17:00:41 +0000 (GMT)	[thread overview]
Message-ID: <87r4klxy9s@ch.ristopher.com> (raw)
In-Reply-To: <muxd2w5boqv.fsf@didierverna.net> (Didier Verna's message of "Tue, 12 Feb 2013 15:17:28 +0100")

Didier Verna <didier@didierverna.net> writes:
> Stefan Monnier <monnier@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





  reply	other threads:[~2013-02-12 17:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 12:43 bug#13646: Whitespace support for file/mode-specific styles and actions Didier Verna
2013-02-07 14:26 ` Stefan Monnier
2013-02-07 14:44   ` Didier Verna
2013-02-07 16:18     ` bug#13646: mode-specific and file-regexp-specific settings Stefan Monnier
2013-02-07 16:56       ` Didier Verna
2013-02-07 17:25       ` Didier Verna
2013-02-07 21:47     ` bug#13646: Whitespace support for file/mode-specific styles and actions Glenn Morris
2013-02-07 21:48       ` Glenn Morris
2013-02-07 22:00       ` Didier Verna
2013-02-12  8:55         ` Didier Verna
2013-02-12 14:10           ` Stefan Monnier
2013-02-12 14:17             ` Didier Verna
2013-02-12 17:00               ` Christopher Schmidt [this message]
2020-09-18 14:38                 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4klxy9s@ch.ristopher.com \
    --to=christopher@ch.ristopher.com \
    --cc=13646@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.