From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Extending GUD tooltips Date: Thu, 28 Apr 2005 11:00:28 +1200 Message-ID: <17008.6540.383765.100951@farnswood.snap.net.nz> References: <17007.2905.593257.125998@farnswood.snap.net.nz> <1114584386.426f3542a133c@imp5-q.free.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1114643183 31289 80.91.229.2 (27 Apr 2005 23:06:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 23:06:23 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 28 01:06:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQvat-0000l5-Hn for ged-emacs-devel@m.gmane.org; Thu, 28 Apr 2005 01:05:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQvgu-0003bl-8C for ged-emacs-devel@m.gmane.org; Wed, 27 Apr 2005 19:11:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQvgK-0003Rz-Ds for emacs-devel@gnu.org; Wed, 27 Apr 2005 19:11:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQvgH-0003Op-Mg for emacs-devel@gnu.org; Wed, 27 Apr 2005 19:10:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQvgH-0001Yp-EU for emacs-devel@gnu.org; Wed, 27 Apr 2005 19:10:57 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DQvap-0002pb-70 for emacs-devel@gnu.org; Wed, 27 Apr 2005 19:05:19 -0400 Original-Received: from farnswood.snap.net.nz (p23-tnt1.snap.net.nz [202.124.110.23]) by viper.snap.net.nz (Postfix) with ESMTP id 341F54AFC60; Thu, 28 Apr 2005 11:01:21 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 3F37F62A99; Thu, 28 Apr 2005 00:00:29 +0100 (BST) Original-To: jerome.marant@free.fr In-Reply-To: <1114584386.426f3542a133c@imp5-q.free.fr> X-Mailer: VM 7.19 under Emacs 22.0.50.26 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:36462 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36462 > Btw, I have a question not directly related to your patch: why do you > absolutely need to put gud-specific code within tooltip.el? Well, I didn't put them there, but it certainly makes coding easier because GUD tooltips use a lot of the generic code. > IMHO, tooltip.el shall only provide some generic code that can be used > by other modes, externaly. AFAIK, this what other modes do. 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? Nick