Subject: bug#3230: closed (Re: bug#3230: 23.0.93; Make dired-actual-switches safe local variable?)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 01 Mar 2011 03:27:02 +0000

Your bug report

#3230: dired-actual-switches is risky

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
3230: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3230
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#3230: 23.0.93; Make dired-actual-switches safe local variable?
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 28 Feb 2011 22:25:59 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.1

Stefan Monnier wrote:

> should then go to safe-local-variable.  I'd recommend something simple
> like
>
>   (defun dired-safe-switches-p (switches)
>     (string-match "\\`[- [[:alnum:]]]+\\'" switches))

Added.

Subject: 23.0.93; Make dired-actual-switches safe local variable?
From: Leo <[email-masked]>
To: [email-masked]
Date: Wed, 06 May 2009 15:20:57 +0100

Hi there,

The dired-x manual gives an example in using local variables for dired
buffers. However, the variable dired-actual-switches has not been marked
as safe local variable. I think this is an oversight.

,----[ (info "(dired-x)Local Variables") ]
| For example, if the user puts
| 
|      Local Variables:
|      dired-actual-switches: "-lat"
|      dired-omit-mode: t
|      End:
`----

Best wishes,

Leo