unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Cc: cc-mode-help@lists.sourceforge.net
Subject: Local Variables in C Files
Date: Fri, 23 Feb 2007 15:01:32 +0100	[thread overview]
Message-ID: <87y7mp6khv.fsf@localhorst.mine.nu> (raw)

Hello,

I'm not sure if one could call this a bug, it's at least a bit
annoying:

Open some C file, switch the style to "linux" (C-c . linux RET) and
add local Variables at the end of the file "the emacs Way": using M-;
to start the comment and M-j to start a new line.  The Result will
look something like:

/* Local Variables:
 * compile-command: "echo foo"
 * End: */

C-x C-s C-x C-v the file and you'll get an error. `hack-local-variables'
can't find the end (due to the starting "*" and ending "*/").

David

             reply	other threads:[~2007-02-23 14:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-23 14:01 David Hansen [this message]
2007-02-24  8:28 ` Local Variables in C Files Richard Stallman

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=87y7mp6khv.fsf@localhorst.mine.nu \
    --to=david.hansen@gmx.net \
    --cc=cc-mode-help@lists.sourceforge.net \
    --cc=emacs-devel@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.
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).