unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: 26.1; File-local eval is ignored
Date: Mon, 27 Aug 2018 20:19:12 +0200	[thread overview]
Message-ID: <CALn3zoiiJwEKi_fS3Ya82_HwAKJTKt+nWeRzi2ni4KsEJt3Oog@mail.gmail.com> (raw)

Hi all

This minimal complete example does not show "Wrap" in the modeline
because file-local settings like ~eval: (visual-line-mode 1)~ are
ignored:

emacs-26.1 -Q -l viper.el fundamental

The modeline shows "Wrap" as expected only if I downgrade to Emacs
25.2 or omit ~-l viper.el~ or rename fundamental to text.txt to change
the major mode. Is this a regression bug?

viper.el:
--------------------
(setq-default viper-mode t)
(setq-default viper-inhibit-startup-message t)
(setq-default viper-expert-level 5)
(require 'viper)
--------------------

fundamental:
--------------------
-*- eval: (visual-line-mode 1) -*-
--------------------

Michael



                 reply	other threads:[~2018-08-27 18:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CALn3zoiiJwEKi_fS3Ya82_HwAKJTKt+nWeRzi2ni4KsEJt3Oog@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).