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: gud.el organization and adding debuggers Date: Sun, 5 Feb 2006 20:44:59 +1300 Message-ID: <17381.44283.712102.49033@kahikatea.snap.net.nz> References: <17377.22796.880736.93318@panix3.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 1139125596 13186 80.91.229.2 (5 Feb 2006 07:46:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2006 07:46:36 +0000 (UTC) Cc: rocky@panix.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 05 08:46:35 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 1F5ebR-0002I8-JT for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 08:46:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5eeg-0005nB-BE for ged-emacs-devel@m.gmane.org; Sun, 05 Feb 2006 02:49:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5ee8-0005Uz-3X for emacs-devel@gnu.org; Sun, 05 Feb 2006 02:49:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5ee7-0005UW-9y for emacs-devel@gnu.org; Sun, 05 Feb 2006 02:49:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5ee7-0005UO-4I for emacs-devel@gnu.org; Sun, 05 Feb 2006 02:49:19 -0500 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5edR-0000Gx-TJ for emacs-devel@gnu.org; Sun, 05 Feb 2006 02:48:38 -0500 Original-Received: from kahikatea.snap.net.nz (p202-124-114-201.snap.net.nz [202.124.114.201]) by viper.snap.net.nz (Postfix) with ESMTP id C05367403AF; Sun, 5 Feb 2006 20:45:54 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 346EF888C; Sun, 5 Feb 2006 20:45:00 +1300 (NZDT) Original-To: Stefan Monnier In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.53 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:50036 Archived-At: > I think a good first step would be to kill gud-def. > Instead of gud sub-modes using > > (gud-def gud-break "break %f:%l" "\C-b" "Set breakpoint at current line.") > > in their main function, we could have a top-level (for example) > > (define-gud-cmd gud-break "\C-b" "Set breakpoint at current line.") > > and then the gud sub-mode would only do something like > > (set (make-local-variable 'gud-break-cmd) "break %f:%l") > > so the global menu could use > :visible gud-break-cmd > instead of > :visible (memq gud-minor-mode '(gdbmi gdb dbx jdb)) Yes. Lets do it after the release. Ha! ha! Nick