From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Lee Newsgroups: gmane.emacs.devel Subject: Re: New menu creation Date: Thu, 27 May 2010 09:24:56 +0800 Message-ID: <4BFDC9E8.6060805@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274923518 21019 80.91.229.12 (27 May 2010 01:25:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 May 2010 01:25:18 +0000 (UTC) Cc: Emacs-devel@gnu.org To: supreet prasad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 27 03:25:16 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 1OHRqV-0004Nd-FX for ged-emacs-devel@m.gmane.org; Thu, 27 May 2010 03:25:15 +0200 Original-Received: from localhost ([127.0.0.1]:41814 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHRqU-00023i-Ow for ged-emacs-devel@m.gmane.org; Wed, 26 May 2010 21:25:14 -0400 Original-Received: from [140.186.70.92] (port=48479 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHRqM-0001ya-FY for Emacs-devel@gnu.org; Wed, 26 May 2010 21:25:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHRqL-0004vz-LV for Emacs-devel@gnu.org; Wed, 26 May 2010 21:25:06 -0400 Original-Received: from mail-px0-f169.google.com ([209.85.212.169]:63751) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHRqL-0004vv-Dk for Emacs-devel@gnu.org; Wed, 26 May 2010 21:25:05 -0400 Original-Received: by pxi12 with SMTP id 12so7063769pxi.0 for ; Wed, 26 May 2010 18:25:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=0Du6DyfgFGbJPsOrN8BmHuDK+vcOfF4GL2ep3zoEWLA=; b=jDM+hJ8qD070Q9K+yD1xF4o4C4G3+9kctRPvIwtEiuX0ngGbBY8pOCh9Di6p5Z2UWZ taALYhrErZZi2a3bOwdOdt8w1xohoVkzIFw6YMKYGIrmFyQ7efAQkoSx6dPAoLlcDqke KJkqyX9Y6PVpCQ8umChnYviFrxGjusHM0GmWc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=WHD8JgE9fAmYuBEgzHcYbvOB+Wi704tJnSqnHQ2DQBc7Mqw11y3fhZF24PeS1i2xrE 8QvpjqrKqWDPk0iI/daiLS3KKUJyxHwE6l4YfsE6oVVUeguBYAVljx3sUVVSU4AdK0Ni uIlwWD3VdVSU6dv7Rfqea0RE8v1PLW/1dULo0= Original-Received: by 10.114.187.37 with SMTP id k37mr8343013waf.37.1274923503189; Wed, 26 May 2010 18:25:03 -0700 (PDT) Original-Received: from [116.232.94.170] ([116.232.94.170]) by mx.google.com with ESMTPS id n29sm5321518wae.16.2010.05.26.18.24.59 (version=SSLv3 cipher=RC4-MD5); Wed, 26 May 2010 18:25:02 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 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:125291 Archived-At: 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