From mboxrd@z Thu Jan 1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Phillip Lord
Newsgroups: gmane.emacs.help
Subject: Re: emacs as an ide
Date: 10 Oct 2003 13:59:55 +0100
Organization: Dept of Computer Science, University of Manchester, U.K.
Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Message-ID:
References:
<3wvhb.82$Cw3.16@newsfep1-gui.server.ntli.net>
NNTP-Posting-Host: deer.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: sea.gmane.org 1065792812 30462 80.91.224.253 (10 Oct 2003 13:33:32 GMT)
X-Complaints-To: usenet@sea.gmane.org
NNTP-Posting-Date: Fri, 10 Oct 2003 13:33:32 +0000 (UTC)
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 10 15:33:30 2003
Return-path:
Original-Received: from monty-python.gnu.org ([199.232.76.173])
by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian))
id 1A7xOb-0005V8-00
for ; Fri, 10 Oct 2003 15:33:30 +0200
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
by monty-python.gnu.org with esmtp (Exim 4.24)
id 1A7x7N-00074E-TX
for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Oct 2003 09:15:41 -0400
Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!btnet-peer1!btnet!zen.net.uk!130.88.203.18.MISMATCH!peernews.mcc.ac.uk!cs.man.ac.uk!not-for-mail
Original-Newsgroups: gnu.emacs.help
Original-Lines: 35
Original-NNTP-Posting-Host: rpc71.cs.man.ac.uk
Original-X-Trace: wapping.cs.man.ac.uk 1065790795 1341 130.88.198.228 (10 Oct 2003
12:59:55 GMT)
Original-X-Complaints-To: news@wapping.cs.man.ac.uk
Original-NNTP-Posting-Date: Fri, 10 Oct 2003 12:59:55 +0000 (UTC)
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.93
Original-Xref: shelby.stanford.edu gnu.emacs.help:117193
Original-To: help-gnu-emacs@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org
Xref: main.gmane.org gmane.emacs.help:13122
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13122
>>>>> "Martin" == Martin writes:
Martin> Philip, Pascal, kgold,
Martin> Thanks for your replies. I reckon I would use the Tools
Martin> Compile option to compile the current buffer. To build the
Martin> current project and current solution, I would use different
Martin> make commands. (I already have a make file with appropriate
Martin> targets in it) However I am too lazy to do the M-x compile
Martin> command - I don't want to have to type any commands. I just
Martin> want to configure the commands and then access them from a
Martin> button or menu.
M-x compile and Tools->Compile are the same thing.
If you want to specify different commands and put them into the menu
bar, yes you can do that, although its not necessarily straight
forward. easy-menu works quite well for this though.
This is a menu definition that I used to use....
(defvar jde-more
(list "JDE+"
["Set as main class" phil-java-set-as-main-class t ]
["Toggle auto hide" jfolding-toggle-autohide t ]
["Hide all " jfolding-hide-all t ]
["Toggle +E option" phil-java-toggle-e-option t ]
["Toggle compiler" phil-java-toggle-compiler t ]
))
(easy-menu-do-define 'jde-more jde-mode-map "Additn Menu for JDE"
jde-more)
Phil