GNU bug report logs - #25008
26.0.50; hack-local-variables error

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Wed, 23 Nov 2016 17:35:02 UTC

Severity: normal

Found in version 26.0.50

Done: Alan Mackenzie <acm <at> muc.de>

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 25008 in the body.
You can then email your comments to 25008 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#25008; Package emacs. (Wed, 23 Nov 2016 17:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Oteiza <mvoteiza <at> udel.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 Nov 2016 17:35:02 GMT) Full text and rfc822 format available.

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

From: Mark Oteiza <mvoteiza <at> udel.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50; hack-local-variables error
Date: Wed, 23 Nov 2016 12:33:50 -0500
From -Q:

1. C-x b *foobar*
2. Insert

  # foobar -*- conf -*-

3. M-: (hack-local-variables)

Debugger entered--Lisp error: (wrong-type-argument listp conf-mode)
  hack-local-variables-filter(conf-mode nil)
  hack-local-variables()
  eval((hack-local-variables) nil)
  eval-expression((hack-local-variables) nil)
  funcall-interactively(eval-expression (hack-local-variables) nil)
  call-interactively(eval-expression nil nil)
  command-execute(eval-expression)

I suspect it has to do with
http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4a80c8bb276d

In GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
 of 2016-11-22 built on logos
Repository revision: c542fab20f53374dd0c71dce949ef370fc76fa48

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --without-gconf --with-modules
 --with-x-toolkit=lucid 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe
 -fstack-protector-strong --param=ssp-buffer-size=4 -g
 -fvar-tracking-assignments -g -fvar-tracking-assignments'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY
ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
LUCID X11 MODULES LIBSYSTEMD




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#25008; Package emacs. (Thu, 24 Nov 2016 20:47:02 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 25008 <at> debbugs.gnu.org
Subject: Re: bug#25008: 26.0.50; hack-local-variables error
Date: Thu, 24 Nov 2016 20:45:44 +0000
Hello, Mark.

On Wed, Nov 23, 2016 at 12:33:50PM -0500, Mark Oteiza wrote:

> >From -Q:

> 1. C-x b *foobar*
> 2. Insert

>   # foobar -*- conf -*-

> 3. M-: (hack-local-variables)

> Debugger entered--Lisp error: (wrong-type-argument listp conf-mode)
>   hack-local-variables-filter(conf-mode nil)
>   hack-local-variables()
>   eval((hack-local-variables) nil)
>   eval-expression((hack-local-variables) nil)
>   funcall-interactively(eval-expression (hack-local-variables) nil)
>   call-interactively(eval-expression nil nil)
>   command-execute(eval-expression)

> I suspect it has to do with
> http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=4a80c8bb276d

> In GNU Emacs 26.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw scroll bars)
>  of 2016-11-22 built on logos
> Repository revision: c542fab20f53374dd0c71dce949ef370fc76fa48

[ .... ].

Yes, correct in every respect.  :-)  In that commit you refer to, I
misunderstood an undocumented feature/bug in the handling of a bare mode
(without the string "mode:") in the first line.

I've committed a fix to this in the master branch, and I'd be grateful
if you would test it and either confirm to me it's OK, or tell me what's
still wrong.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).




Reply sent to Alan Mackenzie <acm <at> muc.de>:
You have taken responsibility. (Thu, 29 Dec 2016 09:43:01 GMT) Full text and rfc822 format available.

Notification sent to Mark Oteiza <mvoteiza <at> udel.edu>:
bug acknowledged by developer. (Thu, 29 Dec 2016 09:43:01 GMT) Full text and rfc822 format available.

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

From: Alan Mackenzie <acm <at> muc.de>
To: 25008-done <at> debbugs.gnu.org
Subject: Re: bug#25008: 26.0.50; hack-local-variables error
Date: Thu, 29 Dec 2016 09:42:18 +0000
Bug fixed.

-- 
Alan Mackenzie (Nuremberg, Germany).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 26 Jan 2017 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 144 days ago.

Previous Next


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