From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: master dbe3e41: Don't try to eval local variables in Gnus article Date: Mon, 19 Jun 2017 16:15:02 -0400 Message-ID: References: <20170619021043.362.89296@vcs0.savannah.gnu.org> <20170619021044.B8B5820DE6@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497903348 24047 195.159.176.226 (19 Jun 2017 20:15:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Jun 2017 20:15:48 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: Katsumi Yamaoka To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 19 22:15:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dN35A-0005Md-RH for ged-emacs-devel@m.gmane.org; Mon, 19 Jun 2017 22:15:32 +0200 Original-Received: from localhost ([::1]:44180 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN35E-0004sy-EZ for ged-emacs-devel@m.gmane.org; Mon, 19 Jun 2017 16:15:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN34h-0004sq-F4 for emacs-devel@gnu.org; Mon, 19 Jun 2017 16:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dN34g-0004D0-QU for emacs-devel@gnu.org; Mon, 19 Jun 2017 16:15:03 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dN34g-0004Cs-MI; Mon, 19 Jun 2017 16:15:02 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1dN34g-0008EA-7S; Mon, 19 Jun 2017 16:15:02 -0400 X-Spook: FARC ammunition Hazardous Crypto AG Syria Somolia spy El X-Ran: "PDL7D7L=@"-xy:;`la0`SsP"&{.I~lAxM> (Katsumi Yamaoka's message of "Sun, 18 Jun 2017 22:10:44 -0400 (EDT)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215797 Archived-At: Katsumi Yamaoka wrote: > branch: master > commit dbe3e416af5d845dc774341eb66971ab1a72983b [...] > diff --git a/lisp/gnus/mm-view.el b/lisp/gnus/mm-view.el > index dd64bfe..4276f9e 100644 > --- a/lisp/gnus/mm-view.el > +++ b/lisp/gnus/mm-view.el > @@ -488,7 +488,8 @@ If MODE is not set, try to find mode automatically." > (funcall mode)) > (let ((auto-mode-alist > (delq (rassq 'doc-view-mode-maybe auto-mode-alist) > - (copy-sequence auto-mode-alist)))) > + (copy-sequence auto-mode-alist))) > + (local-enable-local-variables nil)) Hi - local-enable-local-variables, as opposed to enable-local-variables, is seldom used. Do you really need the former here? I see mm-display-inline-fontify already binds enable-local-variables to nil. See comments at definition of local-enable-local-variables in files.el.