unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Local Variables in C Files
@ 2007-02-23 14:01 David Hansen
  2007-02-24  8:28 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: David Hansen @ 2007-02-23 14:01 UTC (permalink / raw)
  To: emacs-devel; +Cc: cc-mode-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-24  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-23 14:01 Local Variables in C Files David Hansen
2007-02-24  8:28 ` Richard Stallman

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).