emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: RFE: (put 'conf-space-keywords 'safe-local-variable


From: Glenn Morris
Subject: Re: address@hidden: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)]
Date: Tue, 23 Oct 2007 03:13:43 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Richard Stallman wrote:

> Could someone please DTRT for this, then ack?

Is an arbitrary regexp "safe"? I imagine one could construct a
regexp/file combination that overflows the regexp matcher. Not too
serious, but perhaps it is best to leave this unmarked?

> From: address@hidden
> Subject: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)
> To: address@hidden
> Cc: address@hidden
> Date: Thu, 04 Oct 2007 15:25:18 +1000
> X-Sent: 2 weeks, 5 days, 1 hour, 46 minutes, 9 seconds ago
>
> It would be nice if conf mode marked -keywords variables as safe to
> set locally, so that e.g. one could add to ~/.nanorc
>
>     # -*- mode: conf-space; conf-space-keywords: "set\\|unset" -*-

One can of course add such things at present, there is just a prompt
about applying them.

> I believe the relevant change is simply to add
>
>     (put 'conf-space-keywords 'safe-local-variable 'stringp)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]