> 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 _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel