From: Matthew Flaschen <matthew.flaschen@gatech.edu>
To: emacs <help-gnu-emacs@gnu.org>
Subject: Compile then run in JDE
Date: Sat, 27 Jan 2007 02:59:59 -0500 [thread overview]
Message-ID: <45BB067F.1000205@gatech.edu> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 1078 bytes --]
I've been trying to make a compile then run command for JDE. I.E. a
single command which would save, compile, then run. For now, I've just
been testing with a single file.
I've been unable to get it to run after the compile. I got it to:
(defun java-compile-then-run ()
"Saves, compiles and runs the current buffer, using JDE"
(interactive)
(basic-save-buffer)
(save-current-buffer
(jde-compile))
(jde-run))
That gives me the attached errors, starting with "Wrong number of
arguments" (Sorry, I couldn't figure out how to escape the error for
copying text). I copied that from the *Messages* buffer. To isolate
the problem, I simplified the function to:
(defun java-compile-then-run ()
"Saves, compiles and runs the current buffer, using JDE"
(interactive)
(jde-run))
To my surprise, it gave the same error. The command jde-run works, but
java-compile-then-run results in the "Wrong number of arguments
exception. Can anyone explain this? At the very least I would like to
get the dummy (second) function working.
Matthew Flaschen
[-- Attachment #1.1.2: emacsargerror.png --]
[-- Type: image/png, Size: 9845 bytes --]
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2007-01-27 7:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-27 7:59 Matthew Flaschen [this message]
2007-01-30 0:43 ` Compile then run in JDE Matthew Flaschen
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=45BB067F.1000205@gatech.edu \
--to=matthew.flaschen@gatech.edu \
--cc=help-gnu-emacs@gnu.org \
/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).