unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ken <gebser@speakeasy.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Local variables not being defined
Date: Fri, 26 Jan 2007 06:18:02 -0500	[thread overview]
Message-ID: <45B9E36A.3040309@speakeasy.net> (raw)
In-Reply-To: <pco3b5ylpa9.fsf@shuttle.math.ntnu.no>



On 01/25/2007 05:22 PM somebody named Harald Hanche-Olsen wrote:
> + ken <gebser@speakeasy.net>:
> 
> ....
> 
> I am looking at the code now (the function in question is called
> hack-local-variables, and it is found in files.el), and there should
> be no way you are going to see that message unless there is something
> in front of the string "Local Variables:" on the line.
> 
> Oh, wait, one more wild guess.  hack-local-variables goes 3000
> characters back from the end of the file and searches forward for
> "Local Variables:".  Don't tell me your HTML file contains another
> instance of that phrase?

Thanks, Harald.  You have very good eyes to see across continent and
ocean.  I titled my test document so:

<h1 align=center>Testing the Use of Local&nbsp;Variables in....

Replacing a SPACE with "&nbsp;" made the errors cease.  (I was frankly
surprised that the (uppercase) 'V' and absence of the colon after
"Variables" didn't distinguish this text enough from the intended
instance.  Perhaps a later version has/will.)

So, another dark obscure code corner illuminated, good karma created.


Thanks another time.

  reply	other threads:[~2007-01-26 11:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3574.1169739033.2155.help-gnu-emacs@gnu.org>
2007-01-25 16:20 ` Local variables not being defined Harald Hanche-Olsen
2007-01-25 19:44   ` ken
     [not found]   ` <mailman.3592.1169754294.2155.help-gnu-emacs@gnu.org>
2007-01-25 20:25     ` Harald Hanche-Olsen
2007-01-25 21:45       ` ken
2007-01-25 22:08         ` ken
     [not found]         ` <mailman.3603.1169762957.2155.help-gnu-emacs@gnu.org>
2007-01-25 22:25           ` Harald Hanche-Olsen
     [not found]       ` <mailman.3599.1169761553.2155.help-gnu-emacs@gnu.org>
2007-01-25 22:22         ` Harald Hanche-Olsen
2007-01-26 11:18           ` ken [this message]
2007-01-31  5:34             ` Kevin Rodgers
2007-01-31 12:39 martin rudalics
2007-02-01  5:17 ` Kevin Rodgers
  -- strict thread matches above, loose matches on Subject: below --
2007-01-25 15:29 ken

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=45B9E36A.3040309@speakeasy.net \
    --to=gebser@speakeasy.net \
    --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).