Hi,
I'm currently learning Emacs 21.2 with pascal-mode and freepascal.
I've set the compile-command variable in my .emacs
(add-hook 'pascal-mode-hook
(lambda()
(set (make-local-variable 'compile-command)
(concat "fpc -Ci -Co -Cr -CR -Ct -So -Ss -g "
buffer-file-name))))
And it's working with M-x compile. How can I bind this command to another
key comba (C-c C-v for example)?
I've tried: (define-key pascal-mode-map "\C-c\C-v" 'compile)))) but is
doesn't work. "File mode specification error: (wrong-number-of-arguments
#<subr set> 3)"
How can I made the compile command saves the current buffer withouht asking?
How can I execute a external programm in a seperat buffer?
How can I create a command which first compiles (and saves) the current
buffer and then execute the compiled program?