From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "R. Bernstein" Newsgroups: gmane.emacs.devel Subject: Re: gud.el organization and adding debuggers Date: Thu, 2 Feb 2006 17:50:23 -0500 Message-ID: <17378.36015.450470.209995@panix3.panix.com> References: <17377.22796.880736.93318@panix3.panix.com> Reply-To: rocky@panix.com 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 1138920742 10012 80.91.229.2 (2 Feb 2006 22:52:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2006 22:52:22 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 02 23:52:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F4nJD-00055K-RP for ged-emacs-devel@m.gmane.org; Thu, 02 Feb 2006 23:52:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4nMM-0002kK-5b for ged-emacs-devel@m.gmane.org; Thu, 02 Feb 2006 17:55:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4nKh-00023q-1x for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:53:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4nKd-00021n-By for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:53:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4nKd-00021K-1x for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:53:39 -0500 Original-Received: from [166.84.1.73] (helo=mail2.panix.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F4nJX-0003D9-9h for emacs-devel@gnu.org; Thu, 02 Feb 2006 17:52:31 -0500 Original-Received: from panix3.panix.com (panix3.panix.com [166.84.1.3]) by mail2.panix.com (Postfix) with ESMTP id 17C5D9D885 for ; Thu, 2 Feb 2006 17:50:23 -0500 (EST) Original-Received: (from rocky@localhost) by panix3.panix.com (8.11.6p3/8.8.8/PanixN1.1) id k12MoNO12927; Thu, 2 Feb 2006 17:50:23 -0500 (EST) Original-To: emacs-devel@gnu.org In-Reply-To: X-Mailer: VM 7.19 under Emacs 21.3.1 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:49942 Archived-At: Stefan Monnier writes: > Yes, GUD's support for particular debuggers should be made more modular. > It should also be possible to have several GUD sessions using different > debuggers at the same time. Huh? Currently I have have no problem having several GUD sessions. And if I want to debug the same program more than once simultaneously a "rename-buffer" or "rename-uniquely" works for me. > Patches welcome. You *did* read the part where I wrote: I'm not a GNU-Emacs wizard, ... again, I'm not a wizard). However, if there seems to be a consensus on this, I'd be happy to break gud.el into a generic file (gud.el) and several debugger-specific files (bashdb.el, mdb.el, pydb.el, etc.). Also make the changes I suggested in my previous email of using "define-key gud-menu-map" and removing entries from "easy-mmode-defmap gud-menu-map". However when it gets to stuff like this: > I think a good first step would be to kill gud-def. > Instead of gud sub-modes using ... you are out of my league. I don't really understand what you are talking about. If you really think this is the way to go, you may be the best candidate for doing it. ;-)