From: Nick Roberts <nickrob@snap.net.nz>
Cc: jerome.marant@free.fr, emacs-devel@gnu.org
Subject: Re: Extending GUD tooltips
Date: Tue, 3 May 2005 22:45:30 +1200 [thread overview]
Message-ID: <17015.22090.53929.166111@farnswood.snap.net.nz> (raw)
In-Reply-To: <E1DRJ88-0004T4-FU@fencepost.gnu.org>
> 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
next prev parent reply other threads:[~2005-05-03 10:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-27 3:47 Extending GUD tooltips Nick Roberts
2005-04-27 6:46 ` Jérôme Marant
2005-04-27 23:00 ` Nick Roberts
2005-04-28 9:05 ` Jérôme Marant
2005-04-29 0:13 ` Richard Stallman
2005-05-03 10:45 ` Nick Roberts [this message]
[not found] ` <20050503233230.B47179F50F@mirror.positive-internet.com>
2005-05-04 16:57 ` Jérôme Marant
2005-05-05 19:45 ` Richard Stallman
2005-05-05 23:45 ` Nick Roberts
2005-05-06 18:51 ` Richard Stallman
2005-05-07 0:28 ` Nick Roberts
2005-05-07 18:35 ` Richard Stallman
2005-05-10 20:25 ` Jérôme Marant
2005-04-27 18:36 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17015.22090.53929.166111@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=emacs-devel@gnu.org \
--cc=jerome.marant@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.