aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-05-10 01:38:16 +0000
committerRichard M. Stallman2006-05-10 01:38:16 +0000
commit7d3a082e89af6576c76628c6fa02b7b173653ecd (patch)
treec401bcd85217ef1a9f9743722b5b918622fe0e27
parent8c74ff69835635197047bb9602271559b7472cee (diff)
downloademacs-7d3a082e89af6576c76628c6fa02b7b173653ecd.tar.gz
emacs-7d3a082e89af6576c76628c6fa02b7b173653ecd.zip
Combine items about local variables lists.
-rw-r--r--etc/NEWS80
1 files changed, 40 insertions, 40 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 26a0d372e66..6662ffe9bad 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -571,26 +571,26 @@ can be edited for each replacement.
571*** The current match in query-replace is highlighted in new face 571*** The current match in query-replace is highlighted in new face
572`query-replace' which by default inherits from isearch face. 572`query-replace' which by default inherits from isearch face.
573 573
574** File operation changes: 574** Local variables lists:
575
576+++
577*** Unquoted `$' in file names do not signal an error any more when
578the corresponding environment variable does not exist.
579Instead, the `$ENVVAR' text is left as is, so that `$$' quoting
580is only rarely needed.
581 575
582+++ 576+++
583*** In processing a local variables list, Emacs strips the prefix and 577*** In processing a local variables list, Emacs strips the prefix and
584suffix from every line before processing all the lines. 578suffix from every line before processing all the lines.
585 579
586+++ 580+++
581*** Text properties in local variables.
582
583A file local variables list cannot specify a string with text
584properties--any specified text properties are discarded.
585
586+++
587*** If the local variables list contains any variable-value pairs that 587*** If the local variables list contains any variable-value pairs that
588are not known to be safe, Emacs shows a prompt asking whether to apply 588are not known to be safe, Emacs shows a prompt asking whether to apply
589the local variables list as a whole. In earlier versions, a prompt 589the local variables list as a whole. In earlier versions, a prompt
590was only issued for variables explicitly marked as risky (for the 590was only issued for variables explicitly marked as risky (for the
591definition of risky variables, see `risky-local-variable-p'). 591definition of risky variables, see `risky-local-variable-p').
592 592
593At the prompt, the user can choose to save the contents of this local 593At the prompt, you can choose to save the contents of this local
594variables list to `safe-local-variable-values'. This new customizable 594variables list to `safe-local-variable-values'. This new customizable
595option is a list of variable-value pairs that are known to be safe. 595option is a list of variable-value pairs that are known to be safe.
596Variables can also be marked as safe with the existing 596Variables can also be marked as safe with the existing
@@ -599,6 +599,38 @@ However, risky variables will not be added to
599`safe-local-variable-values' in this way. 599`safe-local-variable-values' in this way.
600 600
601+++ 601+++
602*** The variable `enable-local-variables' controls how local variable
603lists are handled. t, the default, specifies the standard querying
604behavior. :safe means use only safe values, and ignore the rest.
605nil means ignore them all. Anything else means always query.
606
607+++
608*** The variable `safe-local-eval-forms' specifies a list of forms that
609are ok to evaluate when they appear in an `eval' local variables
610specification. Normally Emacs asks for confirmation before evaluating
611such a form, but if the form appears in this list, no confirmation is
612needed.
613
614+++
615*** If a function has a non-nil `safe-local-eval-function' property,
616that means it is ok to evaluate some calls to that function when it
617appears in an `eval' local variables specification. If the property
618is t, then any form calling that function with constant arguments is
619ok. If the property is a function or list of functions, they are called
620with the form as argument, and if any returns t, the form is ok to call.
621
622If the form is not "ok to call", that means Emacs asks for
623confirmation as before.
624
625** File operation changes:
626
627+++
628*** Unquoted `$' in file names do not signal an error any more when
629the corresponding environment variable does not exist.
630Instead, the `$ENVVAR' text is left as is, so that `$$' quoting
631is only rarely needed.
632
633+++
602*** find-file-read-only visits multiple files in read-only mode, 634*** find-file-read-only visits multiple files in read-only mode,
603when the file name contains wildcard characters. 635when the file name contains wildcard characters.
604 636
@@ -4003,38 +4035,6 @@ the minibuffer with a default value: if DEF is non-nil, the minibuffer
4003prompt provided in PROMPT is edited to show the default value provided 4035prompt provided in PROMPT is edited to show the default value provided
4004in DEF before the terminal colon and space. 4036in DEF before the terminal colon and space.
4005 4037
4006** Local variables lists:
4007
4008+++
4009*** Text properties in local variables.
4010
4011A file local variables list cannot specify a string with text
4012properties--any specified text properties are discarded.
4013
4014+++
4015*** The variable `enable-local-variables' controls how local variable
4016lists are handled. t, the default, specifies the standard querying
4017behavior. :safe means use only safe values, and ignore the rest.
4018nil means ignore them all. Anything else means always query.
4019
4020+++
4021*** The variable `safe-local-eval-forms' specifies a list of forms that
4022are ok to evaluate when they appear in an `eval' local variables
4023specification. Normally Emacs asks for confirmation before evaluating
4024such a form, but if the form appears in this list, no confirmation is
4025needed.
4026
4027---
4028*** If a function has a non-nil `safe-local-eval-function' property,
4029that means it is ok to evaluate some calls to that function when it
4030appears in an `eval' local variables specification. If the property
4031is t, then any form calling that function with constant arguments is
4032ok. If the property is a function or list of functions, they are called
4033with the form as argument, and if any returns t, the form is ok to call.
4034
4035If the form is not "ok to call", that means Emacs asks for
4036confirmation as before.
4037
4038** Searching and matching changes: 4038** Searching and matching changes:
4039 4039
4040+++ 4040+++