unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#25008: 26.0.50; hack-local-variables error
@ 2016-11-23 17:33 Mark Oteiza
  2016-11-24 20:45 ` Alan Mackenzie
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Oteiza @ 2016-11-23 17:33 UTC (permalink / raw)
  To: 25008


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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25008: 26.0.50; hack-local-variables error
  2016-11-23 17:33 bug#25008: 26.0.50; hack-local-variables error Mark Oteiza
@ 2016-11-24 20:45 ` Alan Mackenzie
  2016-12-29  9:42   ` Alan Mackenzie
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Mackenzie @ 2016-11-24 20:45 UTC (permalink / raw)
  To: Mark Oteiza; +Cc: 25008

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).





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25008: 26.0.50; hack-local-variables error
  2016-11-24 20:45 ` Alan Mackenzie
@ 2016-12-29  9:42   ` Alan Mackenzie
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Mackenzie @ 2016-12-29  9:42 UTC (permalink / raw)
  To: 25008-done

Bug fixed.

-- 
Alan Mackenzie (Nuremberg, Germany).





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-29  9:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23 17:33 bug#25008: 26.0.50; hack-local-variables error Mark Oteiza
2016-11-24 20:45 ` Alan Mackenzie
2016-12-29  9:42   ` Alan Mackenzie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).