all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Mark Oteiza <mvoteiza@udel.edu>
Cc: 25008@debbugs.gnu.org
Subject: bug#25008: 26.0.50; hack-local-variables error
Date: Thu, 24 Nov 2016 20:45:44 +0000	[thread overview]
Message-ID: <20161124204543.GA9188@acm.fritz.box> (raw)
In-Reply-To: <87oa16w16p.fsf@udel.edu>

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	other threads:[~2016-11-24 20:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-23 17:33 bug#25008: 26.0.50; hack-local-variables error Mark Oteiza
2016-11-24 20:45 ` Alan Mackenzie [this message]
2016-12-29  9:42   ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161124204543.GA9188@acm.fritz.box \
    --to=acm@muc.de \
    --cc=25008@debbugs.gnu.org \
    --cc=mvoteiza@udel.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.