unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 16846@debbugs.gnu.org
Subject: bug#16846: acknowledged by developer ()
Date: Sun, 23 Feb 2014 12:07:06 +0100	[thread overview]
Message-ID: <CAAeL0SQTeoHBheCrr=ZOvPRH7HtQDuQndzUA1VCr-NRWkG61WQ@mail.gmail.com> (raw)
In-Reply-To: <5309B605.5000900@easy-emacs.de>

On Sun, Feb 23, 2014 at 9:49 AM, Andreas Röhler
<andreas.roehler@easy-emacs.de> wrote:

> Do you want  file-local variables restrict to text-mode?

That's a non sequitur.

> We must not discuss possible other bugs here. Let's stay with the reported
> one.

I see no bug. Neither the "possible other" nor the reported one.

> It rather says: implementation is not that straightforward as it
> could/should be.

It says nothing of the sort. It says: an elisp file with file
variables should still be an elisp file, a C one still has to have C
syntax, etc.

> It's at Emacs, when sending code, to clear its artistics before.

And, somehow, if you have a C file edited with Emacs and having a file
variable line, Emacs is to somehow know when you're about to compile
that file (outside Emacs) and "clear its artistics". Sorry, but it
makes no sense.

> Attach foo1.png - happens when evaluating a buffer with contents:
>
> ;;;;;;
>
>
> -*- lexical-binding: t -*-
>
> (setq foo 1)
>
> ;;;;;;

I still see no bug.

The way it works makes sense, and it's how it has worked for years. If
you want to file a bug report about the info node not being clear
enough of the obvious need to put the file variables in a comment or
another suitable way to protect them from the file content's consumer,
please suit yourself. But the behavior that you're suggesting, that
somehow Emacs should remove the file variables before passing it (to
the Elisp interpreter or anywhere else) is not going to be
implemented.

   J





  reply	other threads:[~2014-02-23 11:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAAeL0SQhpQm-Lqak3LadUxpJMXqKLG-Gkn4b+OZfLiJbs9cq8A@mail.gmail.com>
2014-02-22 20:11 ` bug#16846: 24.3.50.1; Info 48.2.4.1 Specifying File Variables Andreas Röhler
2014-02-22 20:29   ` Juanma Barranquero
     [not found]   ` <handler.16846.C.13931015541026.notifdonectrl.1@debbugs.gnu.org>
2014-02-22 20:50     ` bug#16846: acknowledged by developer () Andreas Röhler
2014-02-22 22:43       ` Juanma Barranquero
2014-02-23  8:49         ` Andreas Röhler
2014-02-23 11:07           ` Juanma Barranquero [this message]
2014-02-24 12:49             ` Andreas Röhler
2014-02-24 12:50               ` Juanma Barranquero
2014-02-24 13:42                 ` Andreas Röhler
2014-02-24 13:41               ` Nicolas Richard
2014-02-24 15:59                 ` Andreas Röhler
2014-02-24 16:06                   ` Nicolas Richard
2014-02-24 16:49                     ` Andreas Röhler
     [not found] ` <handler.s.C.13931015541026.transcript@debbugs.gnu.org>
2014-02-22 20:42   ` bug#16846: [debbugs-tracker] Processed: your mail Glenn Morris

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='CAAeL0SQTeoHBheCrr=ZOvPRH7HtQDuQndzUA1VCr-NRWkG61WQ@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=16846@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /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 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).