At 2005-07-19T04:46:28-07:00, Baloff wrote:

> N. Raghavendra wrote:

> > In your source files, specify the value of the variable
> > `compile-command' like this:
> > /*  * Local Variables:
> >  * mode: c
> >  * compile-command: "make && ./project1"
> >  * End:
> >  */
> >
> do you mean to put the above 4 lines in my c++ code but with out the
> /*, *, */? since they are for commenting?

The local variables section should be commented, since it is not part
of your source code.  So, do not remove the comment delimiters.

> > (global-set-key [f5] 'compile)
> >
> when I put this line in my ~/.emacs and hit f5 I get "Mark set" in
> the mini buffer

It looks like the `f5' key has been bound in your setup to
`set-mark-command'.  According to `(elisp)Coding Conventions',

  "Function keys <F5> through <F9> without modifier keys are reserved
   for users to define."

So the key should be unbound.  Did you load the init file, or evaluate
the key binding expression before trying the key?

Raghavendra.

-- 
N. Raghavendra <[EMAIL PROTECTED]> | See message headers for contact
Harish-Chandra Research Institute   | and OpenPGP details.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to