From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: supreet prasad Newsgroups: gmane.emacs.devel Subject: Re:New menu creation Date: Thu, 27 May 2010 11:01:04 -0700 Message-ID: References: <4BFDC9E8.6060805@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001636b148eb92b5480487972cef X-Trace: dough.gmane.org 1274983338 1802 80.91.229.12 (27 May 2010 18:02:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 May 2010 18:02:18 +0000 (UTC) To: Emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 27 20:02:12 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OHhPI-0006Pn-Br for ged-emacs-devel@m.gmane.org; Thu, 27 May 2010 20:02:12 +0200 Original-Received: from localhost ([127.0.0.1]:55961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHhPH-0000nc-Dz for ged-emacs-devel@m.gmane.org; Thu, 27 May 2010 14:02:11 -0400 Original-Received: from [140.186.70.92] (port=55951 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHhOG-0000Ny-RW for Emacs-devel@gnu.org; Thu, 27 May 2010 14:01:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHhOE-0002bG-0q for Emacs-devel@gnu.org; Thu, 27 May 2010 14:01:08 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:39758) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHhOD-0002ay-Rr for Emacs-devel@gnu.org; Thu, 27 May 2010 14:01:05 -0400 Original-Received: by pwi6 with SMTP id 6so322233pwi.0 for ; Thu, 27 May 2010 11:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=d0K+3v4Q7AfT9VRotTerwrcMTN8sa5a7P73EUgp3LAo=; b=epryF3GZHeOaP0K1Gzeiu7yBbvqPyl04iLu23fjWF0n1hUGNj7ChCWN5mNgxqw5wd5 lAX4An25QpHg83x/1FpClBuMrBGh73xXUUgNzNwlo7k543T0/TqhZK9GbsD/CUUKJppx skwxZKTuBfOpAShDKri7H77Z6DC6Fs666t61E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=x1IrL9fRqyn97kZzRbEIzqvzXepQ7g5GvgIXaiSl1JaQEnh8ASwDBcfBd5ib+r97Tp rykIIrJaVcltIN3K0eAIi9tkC5wLJVFEVQSXPTLYp/IeAPTy0CW5q+Mvz+0Dr03Yv6do tsh/vqp9cnDLNt/U4iexPDlAuCcunX9KtUNhM= Original-Received: by 10.114.33.9 with SMTP id g9mr9416609wag.34.1274983264465; Thu, 27 May 2010 11:01:04 -0700 (PDT) Original-Received: by 10.231.146.130 with HTTP; Thu, 27 May 2010 11:01:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125307 Archived-At: --001636b148eb92b5480487972cef Content-Type: text/plain; charset=ISO-8859-1 Hello David, Thanks for taking your time and helping me out here. I really appreciate it. I was able to create menus. I now need to know the name of the file in use and find out if a particular file exists in some location and do some stuff accordingly. How do I proceed? Thanks, Supreet On Wed, May 26, 2010 at 6:24 PM, David Lee wrote: > On 05/27/2010 02:39 AM, supreet prasad wrote: > >> Hello Emacs Developers, >> >> I am very new to Emacs development. I am now trying to develop my own >> menu and I had a few questions about it. >> >> Do I start of writing my code in a new .el file under "lisp" directory? >> > Add code to .emacs file. > > Do I have to compile emacs and install it everytime I make some changes >> and want to test it? >> > No, emacs can source both *.el or *.elc(compiled). Prefer later. > > I need to create a new menu item and perform a couple of simple tasks. >> Please let me know how I can proceed . >> > Use "easy-menu-define". > > Any links or suggestions would be extremely helpful. >> >> Thanks, >> Supreet >> > > David > --001636b148eb92b5480487972cef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello David,

Thanks for taking your time = and helping me out here. I really appreciate it.
I was able to create me= nus.

I now need to know the name of the file in use and find out if= a particular file exists in some location and do some stuff accordingly. How do I proceed?

Thanks,
Supreet<= div>


On Wed,= May 26, 2010 at 6:24 PM, David Lee <zhushenli2@gmail.com> wrote:
On 05/27/201= 0 02:39 AM, supreet prasad wrote:
Hello Emacs Developers,

I am very new to Emacs development. I am now trying to develop my own
menu and I had a few questions about it.

Do I start of writing my code in a new .el file under "lisp" dire= ctory?
Add code to .emacs file.

Do I have to compile emacs and install it everytime I make some changes
and want to test it?
No, emacs can source both *.el or *.elc(compiled). Prefer later.

I need to create a new menu item and perform a couple of simple tasks.
Please let me know how I can proceed .
Use "easy-menu-define".

Any links or suggestions would be extremely helpful.

Thanks,
Supreet

David


--001636b148eb92b5480487972cef--