From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: problems with easy-menu-add on --without-x emacs Date: Tue, 13 Apr 2004 13:44:56 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <877jwocydn.fsf@tc-1-100.kawasaki.gol.ne.jp> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1081879652 988 80.91.224.253 (13 Apr 2004 18:07:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2004 18:07:32 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 13 20:07:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDSJZ-0001Mu-00 for ; Tue, 13 Apr 2004 20:07:17 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BDSJZ-0003sN-00 for ; Tue, 13 Apr 2004 20:07:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDSHp-00078Y-EW for emacs-devel@quimby.gnus.org; Tue, 13 Apr 2004 14:05:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BDS5q-0003sV-51 for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:53:06 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BDS5G-0003g8-15 for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:52:39 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BDRyB-0000bH-7p for emacs-devel@gnu.org; Tue, 13 Apr 2004 13:45:11 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1BDRxw-0006pV-RP; Tue, 13 Apr 2004 13:44:56 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 12 Apr 2004 00:41:50 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21585 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21585 I haven't been able to measure any actual speed difference on any machine I have access to. Maybe some years ago it made a difference, but it's lost in the noise now. You may be right. If so, we might want to undocument that use of x-popup-menu and remove all such calls. But we should not be hasty in deciding this. First let's verify that this is generally true. Did the machines you tested this on include some that were rather slow by today's standards? For instance, machines of standard power for 5 years ago? If the precomputation is still useful on 5% of machines in use, it is worth keeping. If it is still useful on 3% of machines in use, maybe it is worth keeping. If it is only 1%, then I think it is not worth keeping. I would think that 5-year-old PCs are several percent of the PCs in use now, at least; that statistic ought to be available from some sort of commercial statistics source. Could someone please look for this? Until we determine what's right to do about menu precomputation, please don't remove calls to x-popup-menu one by one. The right fix for this is to make that kind of call to x-popup-menu a no-op when not using a window system, and put the call back where it was for the time being. Ok?