GNU bug report logs - #7619
23.2.91; [PATCH] Mark outline-heading-end-regexp safe local

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sun, 12 Dec 2010 10:31:01 UTC

Severity: minor

Tags: patch

Found in version 23.2.91

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo <sdl.web <at> gmail.com>
Subject: bug#7619: closed (Re: bug#7619: 23.2.91; [PATCH] Mark
 outline-heading-end-regexp safe local)
Date: Fri, 04 Mar 2011 08:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7619: 23.2.91; [PATCH] Mark outline-heading-end-regexp safe local

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 7619 <at> debbugs.gnu.org.

-- 
7619: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7619
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 7619-done <at> debbugs.gnu.org
Subject: Re: bug#7619: 23.2.91;
	[PATCH] Mark outline-heading-end-regexp safe local
Date: Fri, 4 Mar 2011 03:40:09 -0500
Version: 24.1

I figured out why nil was there. It's no longer relevant, so I removed
it and added the other safety predicate.

[Message part 3 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2.91; [PATCH] Mark outline-heading-end-regexp safe local
Date: Sun, 12 Dec 2010 10:36:09 +0000
There is a missing autoload to mark outline-heading-end-regexp safe
local while its doc string recommends setting it file locally. The
attached patch fixes this.

From 32fb65f511efab56e2ec926cbc49d2e324832909 Mon Sep 17 00:00:00 2001
Date: Sun, 12 Dec 2010 10:33:19 +0000
Subject: [PATCH] Mark outline-heading-end-regexp safe local

with predicate string-or-null-p.
---
 lisp/outline.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/outline.el b/lisp/outline.el
index b5d3d79..37adb1e 100644
--- a/lisp/outline.el
+++ b/lisp/outline.el
@@ -62,6 +62,7 @@ The recommended way to set this is with a `Local Variables:' list
 in the file it applies to."
   :type 'regexp
   :group 'outlines)
+;;;###autoload(put 'outline-heading-end-regexp 'safe-local-variable 'string-or-null-p)
 
 (defvar outline-mode-prefix-map
   (let ((map (make-sparse-keymap)))
-- 
1.7.3




This bug report was last modified 14 years and 79 days ago.

Previous Next


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