From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Howto disable a menu item Date: Wed, 05 Jan 2011 23:48:30 -0500 Message-ID: References: <1294141027.2104.3.camel@laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294289325 9661 80.91.229.12 (6 Jan 2011 04:48:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Jan 2011 04:48:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sameer Rahmani Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 06 05:48:39 2011 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 1PahmB-0002yv-7Y for ged-emacs-devel@m.gmane.org; Thu, 06 Jan 2011 05:48:39 +0100 Original-Received: from localhost ([127.0.0.1]:47662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PahmA-0001Fq-JN for ged-emacs-devel@m.gmane.org; Wed, 05 Jan 2011 23:48:38 -0500 Original-Received: from [140.186.70.92] (port=43268 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pahm6-0001Dn-BJ for emacs-devel@gnu.org; Wed, 05 Jan 2011 23:48:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pahm5-0005ii-Cl for emacs-devel@gnu.org; Wed, 05 Jan 2011 23:48:34 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23751 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pahm5-0005id-8w for emacs-devel@gnu.org; Wed, 05 Jan 2011 23:48:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAIrYJE1FxL6z/2dsb2JhbACkHXS+T4VMBIRnjh4 X-IronPort-AV: E=Sophos;i="4.60,281,1291611600"; d="scan'208";a="87190207" Original-Received: from 69-196-190-179.dsl.teksavvy.com (HELO pastel.home) ([69.196.190.179]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 05 Jan 2011 23:48:31 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CF32158D59; Wed, 5 Jan 2011 23:48:30 -0500 (EST) In-Reply-To: <1294141027.2104.3.camel@laptop> (Sameer Rahmani's message of "Tue, 04 Jan 2011 15:07:07 +0330") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:134322 Archived-At: > http://www.gnu.org/s/emacs/manual/html_node/elisp/Simple-Menu-Items.html > by setting the real binding of a menu item we can disable that i tried > all the methods that above link provided for disabling a menu item but > none of them works and i wonder why? is there any changes in those > commands? I guess it depends on details, such as which menu item. Stefan