From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Galen Boyer Newsgroups: gmane.emacs.help Subject: Dired $ and Speedbar (WAS) Re: Speedbar and XML Date: 30 Oct 2002 21:54:19 -0600 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1036036830 28498 80.91.224.249 (31 Oct 2002 04:00:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 31 Oct 2002 04:00:30 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1876VP-0007PM-01 for ; Thu, 31 Oct 2002 05:00:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1876WN-0001fR-00; Wed, 30 Oct 2002 23:01:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!novia!newscene.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-Sender: galenboyer@hotpop.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Xref: shelby.stanford.edu gnu.emacs.help:106602 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3152 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3152 On 30 Oct 2002, eludlam@mathworks.com wrote: >>>> Galen Boyer seems to think that: >>Has there been any integration of speedbar and XML? >> >>If looked around on google and sourceforge and it looks like I can use >>some form of the XSLT-process integration. >> >>I've been using XAE which enables PSGML for editing. Its very nice in >>that it parses the DTD and then gives one context sensitive drop-downs >>for insertion of appropriate tags, along with all the PSGML >>functionality. The one thing I can't seem to find is and easy way to >>"browse" the code. Speedbar would be perfect. > > Speedbar can be extended to display just about anything. It is just a > matter of someone who knows the internal structures of the xml parsing > code hacking something together to display the data structures. > > I can lend a hand to someone trying to figure out the speedbar api. Hi Eric, I'm quite fond of the M-$ and $ functionality in dired. Would it make sense to allow for the same keystrokes within speedbar? I can make it happen with set-key ..., but I was wondering if the keystrokes were similar enough that the modes should consider behaving the same. (I'd also ask the same question of the Gnus topic mode) I'm thinking of at least three different ways for toggle the expandion and collapsing when the of non-textual modes: 1) Gnus -- [space] on a topic mode. 2) Dired -- [M-$] as well as [$] 3) Speedbar -- [+ -] There are also inconsistencies. Dired seems the most flexible. It allows for the expansion and collapsing of either the whole buffer, or the particular hierarchy node point is on. Gnus and Speedbar allow for expansion of the particular hierarchy node point is on, only, but Gnus also allows for expansion of the "hidden" entities with C-u space. Dired-x does this with M-o. I think speedbar has a variable for setting this, but no keystroke for toggling? It seems it would make sense that all expand and collapse functionality used the same keystrokes. It also would be nice if they all had analogous functionality, but the latter is code that would have to be written, while the former seems more of a philosophical question. -- Galen deForest Boyer Sweet dreams and flying machines in pieces on the ground.