From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [trentbuck@gmail.com: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp)] Date: Tue, 23 Oct 2007 03:13:43 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193126052 23359 80.91.229.12 (23 Oct 2007 07:54:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 07:54:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 09:54:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IkEab-0006W0-Ao for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 09:54:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEaT-0000MH-AX for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 03:54:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkEVl-0005DA-C8 for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkEVc-00055E-Fs for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkEVc-00054S-3G for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkEVb-000225-Jw for emacs-devel@gnu.org; Tue, 23 Oct 2007 03:49:03 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IkDxP-0002ck-5T; Tue, 23 Oct 2007 03:13:43 -0400 X-Spook: sweep Ruby Ridge Medco embassy passwd Maple computer X-Ran: t;H[Z.Yf)pc[na@'>Q(JWrBV#D3I(LX!67.IitFo4GO[^|[.O0 X-Hue: green X-Attribution: GM In-Reply-To: (Richard Stallman's message of "Tue, 16 Oct 2007 00:11:17 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81519 Archived-At: 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: trentbuck@gmail.com > Subject: RFE: (put 'conf-space-keywords 'safe-local-variable 'stringp) > To: bug-gnu-emacs@gnu.org > Cc: trentbuck@gmail.com > 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)