From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Questions about the speedbar Date: Wed, 28 May 2003 20:54:30 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16085.5110.127079.828892@nick.uklinux.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054152690 28922 80.91.224.249 (28 May 2003 20:11:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 28 May 2003 20:11:30 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 28 22:11:28 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19L7Gh-0007WD-00 for ; Wed, 28 May 2003 22:11:27 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19L7V2-0002a2-00 for ; Wed, 28 May 2003 22:26:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L7Gi-0008R4-AI for emacs-devel@quimby.gnus.org; Wed, 28 May 2003 16:11:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19L7Co-0005dt-Oz for emacs-devel@gnu.org; Wed, 28 May 2003 16:07:26 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19L75h-0002w6-5z for emacs-devel@gnu.org; Wed, 28 May 2003 16:00:05 -0400 Original-Received: from bts-0072.dialup.zetnet.co.uk ([194.247.48.72] helo=nick.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.20) id 19L759-0002rN-7R for emacs-devel@gnu.org; Wed, 28 May 2003 15:59:33 -0400 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id 6F24475FDD; Wed, 28 May 2003 20:54:31 +0100 (BST) Original-To: emacs-devel@gnu.org X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14383 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14383 I would like to use the speedbar for displaying the value of variables when debugging with `M-x gdba'. The speedbar uses its own frame which isn't a problem with a graphical display but with a text terminal only one frame is visible at any given time. This would be inconvenient for debugging as the user would have to move back and forth between frames. Can the speedbar be configured to work in the parent frame i.e just have its own buffer? Can a text terminal be configured so that two frames could be placed side by side? I suspect the answer to both questions is no. I only want a subset of the speedbar's functionality: that of expanding or contracting a list when diving in or out of an array or structure (I don't want to visit any files, nodes etc from it). I could probably adapt some of the lisp functions in speedbar.el for my needs. In the interests of reuse and so that I don't re-invent the wheel, could someone familiar with this file direct me towards the most relevant functions and suggest how they could be adapted to work in a buffer. Rather hopefully, Nick PS For the interested: This would use GDB's variable objects as described in the info manual under GDB/MI.