From: Kevin Harriss <special.kevin@gmail.com>
Subject: Run Command from python-mode
Date: Mon, 24 Jul 2006 16:00:08 -0500 [thread overview]
Message-ID: <1153774808.25819.6.camel@localhost.localdomain> (raw)
I am using python-mode and I would like a similar solution to mapping
f10 to compile with csharp mode. I would like f10 mapped to the command
'cvc cook <filename>' I was wondering what variable in python-mode would
need to be modified. I currently have this in my .emacs
(setq 'compile-command "cvc cook")
(local-set-key [f10] 'compile)
When I open a python file I get this error
File mode specification error: (wrong-type-argument symbolp (quote
compile-command))
Thanks in advance,
Kevin
next reply other threads:[~2006-07-24 21:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-24 21:00 Kevin Harriss [this message]
2006-07-24 21:49 ` Run Command from python-mode Kevin Rodgers
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=1153774808.25819.6.camel@localhost.localdomain \
--to=special.kevin@gmail.com \
/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.
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).