GNU bug report logs - #35372
Describe all types of safe-local-variable-values

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 22 Apr 2019 01:18:02 UTC

Severity: wishlist

Tags: notabug

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35372 in the body.
You can then email your comments to 35372 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35372; Package emacs. (Mon, 22 Apr 2019 01:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 22 Apr 2019 01:18:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Describe all types of safe-local-variable-values
Date: Sun, 21 Apr 2019 21:52:04 +0800
"safe-local-variable-values is a variable defined in ‘files.el’.

List variable-value pairs that are considered safe.
Each element is a cons cell (VAR . VAL)..."

No,only a few are like that

x((eval picture-movement-down)
x (eval register-file-header-action "// @version[ 	]* " 'update-write-count)
  (dired-omit-mode . t)
  (picture-vertical-step . 1)
  (picture-horizontal-step . 0)
  (sh-indentation . 2)
  (dired-actual-switches . "-ogta")
  (dired-actual-switches . "-ogt")
  (dired-actual-switches . "-og")
  (truncate-lines . 1)
y (make-backup-files))

Others either don't have a "." (x), or don't have a ". VAL" (y).

So the docstring should explain them too.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35372; Package emacs. (Mon, 22 Apr 2019 02:00:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35372 <at> debbugs.gnu.org
Subject: Re: bug#35372: Describe all types of safe-local-variable-values
Date: Sun, 21 Apr 2019 21:58:52 -0400
tags 35372 notabug
close 35372
quit

積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> "safe-local-variable-values is a variable defined in ‘files.el’.
>
> List variable-value pairs that are considered safe.
> Each element is a cons cell (VAR . VAL)..."
>
> No,only a few are like that
>
> x((eval picture-movement-down)

That's an alternate way of writing (eval . (picture-movement-down))

> x (eval register-file-header-action "// @version[ 	]* " 'update-write-count)

(eval . (register-file-header-action "// @version[ 	]* " 'update-write-count))

>   (dired-omit-mode . t)
>   (picture-vertical-step . 1)
>   (picture-horizontal-step . 0)
>   (sh-indentation . 2)
>   (dired-actual-switches . "-ogta")
>   (dired-actual-switches . "-ogt")
>   (dired-actual-switches . "-og")
>   (truncate-lines . 1)
> y (make-backup-files))

(make-backup-files . nil)

> Others either don't have a "." (x), or don't have a ". VAL" (y).
>
> So the docstring should explain them too.

There's no sense in every alist docstring explaining dot notation.

See (elisp) Dotted Pair Notation.





Added tag(s) notabug. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 22 Apr 2019 02:00:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 35372 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 22 Apr 2019 02:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 20 May 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 110 days ago.

Previous Next


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