From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Extending GUD tooltips Date: Thu, 28 Apr 2005 20:13:16 -0400 Message-ID: References: <17007.2905.593257.125998@farnswood.snap.net.nz> <1114584386.426f3542a133c@imp5-q.free.fr> <17008.6540.383765.100951@farnswood.snap.net.nz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1114733667 22084 80.91.229.2 (29 Apr 2005 00:14:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2005 00:14:27 +0000 (UTC) Cc: jerome.marant@free.fr, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 29 02:14:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DRJ9C-0003ar-IF for ged-emacs-devel@m.gmane.org; Fri, 29 Apr 2005 02:14:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRJFQ-00045N-CZ for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2005 20:20:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DRJFI-000457-A6 for emacs-devel@gnu.org; Thu, 28 Apr 2005 20:20:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DRJFH-00044v-U7 for emacs-devel@gnu.org; Thu, 28 Apr 2005 20:20:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DRJFH-00044s-QG for emacs-devel@gnu.org; Thu, 28 Apr 2005 20:20:39 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DRJDR-0005LY-0v for emacs-devel@gnu.org; Thu, 28 Apr 2005 20:18:45 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DRJ88-0004T4-FU; Thu, 28 Apr 2005 20:13:16 -0400 Original-To: Nick Roberts In-reply-to: <17008.6540.383765.100951@farnswood.snap.net.nz> (message from Nick Roberts on Thu, 28 Apr 2005 11:00:28 +1200) 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:36488 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36488 Maybe thats a general rule but one needs to be quantitative. tooltip.el is about 500 lines and about half that code is for GUD. So maybe 250 lines get loaded in Emacs through loadup.el but I'm not sure that it amounts to much in memory. On the other hand, gud.el is about 3000 lines, so moving GUD tooltips there would make the file over ten times larger than tooltip.el. Can you see any practical benefit in doing this? If this means moving 250 lines into a file of 3000 lines, I don't see how that would create a problem. I am not sure what is the best thing to do here, but one possible benefit from moving the code and making tooltip.el generic would be modularity and clarity.