From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Extended menu items, when are :enable and :filter computed? Date: Thu, 02 Mar 2006 21:01:22 +0100 Message-ID: <44074F12.8030005@student.lu.se> References: <44010776.6020804@student.lu.se> <878xryp1bi.fsf-monnier+emacs@gnu.org> <85psl5xf2a.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1141476100 22636 80.91.229.2 (4 Mar 2006 12:41:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Mar 2006 12:41:40 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 04 13:41:38 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 1FFW4j-0000hx-7g for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2006 13:41:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFW4d-0003c9-Vz for ged-emacs-devel@m.gmane.org; Sat, 04 Mar 2006 07:41:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FFUnh-00046o-Oj for emacs-devel@gnu.org; Sat, 04 Mar 2006 06:19:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FEu09-0004q6-DH for emacs-devel@gnu.org; Thu, 02 Mar 2006 15:03:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEtzp-0004nM-IK for emacs-devel@gnu.org; Thu, 02 Mar 2006 15:01:59 -0500 Original-Received: from [81.228.11.159] (helo=pne-smtpout2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FEu0r-0003h1-Fm; Thu, 02 Mar 2006 15:03:01 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout2-sn1.fre.skanova.net (7.2.070) id 43F9B8E90029611B; Thu, 2 Mar 2006 21:01:23 +0100 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: rms@gnu.org In-Reply-To: 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:51159 Archived-At: Richard Stallman wrote: > I think this optimization is not needed any more, so I don't want to > put it in etc/TODO. I don't want to do it at all, unless people show > there is a real need for it today. Not just a theoretical need, but a > substantial practical need. Not just a speculation but actual facts. > I do not know if my example is important, but here is how this problem came to my mind: I am trying to use the excellent nxml-mode to build a web authoring environment in Emacs. This mode can tell what tags are allowed at a certain position in an XHTML document. This information could be used for building menus which perhaps would be good for beginners. However there are some computations required for that of course. In this web authoring environment there are also cases when the existence of certain files could make difference for what to enable in the menus. I realize this is not a very strong case. I could for example use a popup menu instead to show what tags are allowed. And the normal way to check this in nxhtml-mode is just completion the normal way in Emacs.