[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: turn off safe-local-variable-values checking
From: |
Stuart D. Herring |
Subject: |
Re: turn off safe-local-variable-values checking |
Date: |
Thu, 13 Apr 2006 08:04:02 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.3a-11.EL3 |
> I think normal-mode, when called manually, should always obey all the
> file local variables. But what do others think?
I've been opposed to automatic file locals in the past, so I may be
biased. But my thoughts are that normal-mode should do exactly what
find-file does automatically (so you can use it if you change the local
variables, or add a #! line, etc., without security concerns), and then if
we really want to have a "force everything", use C-u M-x normal-mode.
(normal-mode does not currently use a prefix argument.) Another (minor)
reason it's useful to call normal-mode without forcing all variables is
that it sets fundamental-mode if the current buffer just inherited a mode
(via default-major-mode being nil).
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
- AUCTex (was: turn off safe-local-variable-values checking), (continued)
Re: turn off safe-local-variable-values checking, Stefan Monnier, 2006/04/02
- Re: turn off safe-local-variable-values checking, Johan Bockgård, 2006/04/02
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/03
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/10
- Re: turn off safe-local-variable-values checking, Stuart D. Herring, 2006/04/12
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/12
- Re: turn off safe-local-variable-values checking,
Stuart D. Herring <=
- M-x normal-mode and local variables, Richard Stallman, 2006/04/15
- Re: M-x normal-mode and local variables, Stefan Monnier, 2006/04/16
- Re: M-x normal-mode and local variables, Richard Stallman, 2006/04/17
Re: turn off safe-local-variable-values checking, Stuart D. Herring, 2006/04/12
Re: turn off safe-local-variable-values checking, Andreas Schwab, 2006/04/03
- Re: turn off safe-local-variable-values checking, Richard Stallman, 2006/04/03
- Re: turn off safe-local-variable-values checking, Andreas Schwab, 2006/04/04
- Re: turn off safe-local-variable-values checking, Reiner Steib, 2006/04/04
- Re: turn off safe-local-variable-values checking, Stefan Monnier, 2006/04/04
- Re: turn off safe-local-variable-values checking, Reiner Steib, 2006/04/05