> When I try to open a previously saved *compilation* buffer, GNU Emacs
> complains about an unsafe variable, default-directory. Is this needed?
>
>       The local variables list in Kompilation-doc
>       contains values that may not be safe (*).
>
>       Do you want to apply it?  You can type
>       y  -- to apply the local variables list.
>       n  -- to ignore the local variables list.
>       !  -- to apply the local variables list, and permanently mark these
>             values (*) as safe (in the future, they will be
> set  automatically.)
>
>         * default-directory : "~/Quellen/X11R7.1/"

Yes, indeed, this is very annoying.  There are many other local variables
(including numbers!) for which Emacs asks this question.  Look, for example,
at this section:

## Local_Variables:
## perl-indent-level: 2
## perl-continued-statement-offset: 2
## perl-continued-brace-offset: 0
## perl-brace-offset: 0
## perl-brace-imaginary-offset: 0
## perl-label-offset: -2
## cperl-indent-level: 2
## cperl-brace-offset: 0
## cperl-continued-brace-offset: 0
## cperl-label-offset: -2
## cperl-extra-newline-before-brace: t
## cperl-merge-trailing-else: nil
## cperl-continued-statement-offset: 2

It seems all these variables are safe, isn't?

Perhaps Emacs shouldn't be released without marking all safe variables in
packages distributed with Emacs.

-- 
Juri Linkov
http://www.jurta.org/emacs/


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to