GNU bug report logs - #15936
latex-noindent-environments: should be declared as a safe local variable

Previous Next

Package: emacs;

Reported by: Ivan Shmakov <ivan <at> siamics.net>

Date: Wed, 20 Nov 2013 20:18:01 UTC

Severity: minor

Fixed in version 24.4

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15936 in the body.
You can then email your comments to 15936 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15936; Package emacs. (Wed, 20 Nov 2013 20:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Shmakov <ivan <at> siamics.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 20 Nov 2013 20:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ivan Shmakov <ivan <at> siamics.net>
To: bug-gnu-emacs <at> gnu.org
Subject: latex-noindent-environments: should be declared as a safe local
 variable 
Date: Wed, 20 Nov 2013 19:39:05 +0000
	I know of no reason latex-noindent-environments should be
	considered “unsafe.”  Given that tex-verbatim-environments is
	already declared as “safe,” I therefore suggest the following
	trivial patch.

--- tex-mode.el.~1~
+++ tex-mode.el	2013-11-20 19:32:29.000000000 +0000
@@ -2680,6 +2680,8 @@
 (defvar tex-indent-item tex-indent-basic)
 (defvar tex-indent-item-re "\\\\\\(bib\\)?item\\>")
 (defvar latex-noindent-environments '("document"))
+(put 'latex-noindent-environments 'safe-local-variable
+     (lambda (x) (null (delq t (mapcar 'stringp x)))))
 
 (defvar tex-latex-indent-syntax-table
   (let ((st (make-syntax-table tex-mode-syntax-table)))

-- 
FSF associate member #7257




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 23 Nov 2013 02:49:02 GMT) Full text and rfc822 format available.

Notification sent to Ivan Shmakov <ivan <at> siamics.net>:
bug acknowledged by developer. (Sat, 23 Nov 2013 02:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 15936-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 15936-done <at> debbugs.gnu.org
Subject: Re: bug#15936: latex-noindent-environments: should be declared as a
 safe local variable
Date: Fri, 22 Nov 2013 21:47:59 -0500
Version: 24.4

Thanks; applied.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Dec 2013 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 134 days ago.

Previous Next


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