emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extending GUD tooltips


From: Nick Roberts
Subject: Re: Extending GUD tooltips
Date: Tue, 3 May 2005 22:45:30 +1200

 >     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.

GUD tooltips need some disentangling from the normal tooltips. They're coded
differently and GUD tooltips shouldn't need tooltip-mode enabled to work: it
should be possble to toggle them independently. After that is done, it
should be straightforward to put the code for GUD tooltips into gud.el.

I might try this one day, after the release, but would be more than happy
if someone else wants to do it.

Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]