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: Extended menu items, when are :enable and :filter computed? Date: Tue, 28 Feb 2006 11:06:13 -0500 Message-ID: <87wtffqxks.fsf-monnier+emacs@gnu.org> References: <44010776.6020804@student.lu.se> <878xryp1bi.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1141312618 323 80.91.229.2 (2 Mar 2006 15:16:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 15:16:58 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 02 16:16:56 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FEpXo-0008Rx-33 for ged-emacs-devel@m.gmane.org; Thu, 02 Mar 2006 16:16:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEpXl-0002Nv-0r for ged-emacs-devel@m.gmane.org; Thu, 02 Mar 2006 10:16:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FEMLp-0004Hz-RN for emacs-devel@gnu.org; Wed, 01 Mar 2006 03:06:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FEMLk-0004F7-KT for emacs-devel@gnu.org; Wed, 01 Mar 2006 03:06:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEAX6-0005vV-R5 for emacs-devel@gnu.org; Tue, 28 Feb 2006 14:29:17 -0500 Original-Received: from [209.226.175.93] (helo=tomts36-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FE7Nh-0008Nj-UA; Tue, 28 Feb 2006 11:07:22 -0500 Original-Received: from alfajor ([70.48.80.201]) by tomts36-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060228160614.QNHD13653.tomts36-srv.bellnexxia.net@alfajor>; Tue, 28 Feb 2006 11:06:14 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 9A64FD7438; Tue, 28 Feb 2006 11:06:13 -0500 (EST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 28 Feb 2006 01:19:54 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:51055 Archived-At: > I've always viewed such a change as a performance improvement for > those cases where we use large dynamically-generated menus or menus > with lots of shortcuts to compute (X-Symbol comes to mind). > Is this optimization really worth while on modern computers? Of course. The speed of the average computer is not relevant since faster computers simply means that the package authors can put more complex code in :enable and :filter. Stefan