emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Local Variables in C Files


From: David Hansen
Subject: Local Variables in C Files
Date: Fri, 23 Feb 2007 15:01:32 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]