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: /srv/bzr/emacs/trunk r100059: (bug-reference-url-format): Mark as `safe-local-variable' if the value Date: Tue, 27 Apr 2010 17:32:03 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272403933 16292 80.91.229.12 (27 Apr 2010 21:32:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Apr 2010 21:32:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sam Steingold Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 27 23:32:12 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1O6sO4-0003cO-7z for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 23:32:12 +0200 Original-Received: from localhost ([127.0.0.1]:59105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6sO3-0005zb-NX for ged-emacs-devel@m.gmane.org; Tue, 27 Apr 2010 17:32:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6sNx-0005we-Hj for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:32:05 -0400 Original-Received: from [199.232.76.173] (port=36016 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6sNx-0005wB-4v for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:32:05 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1O6sNw-0001Ov-0h for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:32:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:59422) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1O6sNv-0001Or-RA for emacs-devel@gnu.org; Tue, 27 Apr 2010 17:32:03 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1O6sNv-0001JD-Bn; Tue, 27 Apr 2010 17:32:03 -0400 X-Spook: JSOFC3IP Freeh MD4 ASLET SDI Becker Osama propaganda X-Ran: \3ip?Qqj\*\Me (Sam Steingold's message of "Tue\, 27 Apr 2010 11\:13\:42 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:124265 Archived-At: Sam Steingold wrote: > +2010-04-27 Sam Steingold > + > + * progmodes/bug-reference.el (bug-reference-url-format): Mark as > + `safe-local-variable' if the value is a string or a function, I'm probably being thick, but I don't see how an arbitrary function can be assumed to be safe. Eg consider a ChangeLog file: 2010-04-27 A N Other * configure.in: Blah. (Bug#123) ;; Local Variables: ;; mode: bug-reference ;; bug-reference-url-format: (lambda () (shell-command "touch /tmp/foo")) ;; End: Optionally, replace "touch /tmp/foo" with "rm -rf ~".