From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re[1]: Integrate sr-speedbar.el with speedbar.el Date: Sat, 20 Dec 2008 08:14:40 -0500 Message-ID: <200812201314.mBKDEeYM010689@projectile.siege-engine.com> References: <87abasw1wk.fsf@debian.domain> <87wsdvpqn9.fsf@cyd.mit.edu> <200812200335.mBK3Z5jY008542@projectile.siege-engine.com> <87d4fn7brs.fsf@debian.domain> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1229778906 10214 80.91.229.12 (20 Dec 2008 13:15:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2008 13:15:06 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org To: Andy Stewart Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 20 14:16:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LE1gZ-00027m-MH for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2008 14:16:04 +0100 Original-Received: from localhost ([127.0.0.1]:40378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LE1fN-0004FL-4p for ged-emacs-devel@m.gmane.org; Sat, 20 Dec 2008 08:14:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LE1fI-0004FG-Qm for emacs-devel@gnu.org; Sat, 20 Dec 2008 08:14:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LE1fH-0004F4-9z for emacs-devel@gnu.org; Sat, 20 Dec 2008 08:14:44 -0500 Original-Received: from [199.232.76.173] (port=41370 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LE1fH-0004F1-6i for emacs-devel@gnu.org; Sat, 20 Dec 2008 08:14:43 -0500 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:56570 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LE1fG-0006aH-Ry for emacs-devel@gnu.org; Sat, 20 Dec 2008 08:14:42 -0500 Original-Received: from projectile.siege-engine.com (localhost.localdomain [127.0.0.1]) by projectile.siege-engine.com (8.12.8/8.12.8) with ESMTP id mBKDEePc010691; Sat, 20 Dec 2008 08:14:41 -0500 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.12.8/8.12.8/Submit) id mBKDEeYM010689; Sat, 20 Dec 2008 08:14:40 -0500 In-reply-to: <87d4fn7brs.fsf@debian.domain> (message from Andy Stewart on Sat, 20 Dec 2008 11:42:31 +0800) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:107119 Archived-At: >>> Andy Stewart seems to think that: >Hi Eric, > >"Eric M. Ludlam" writes: > >>>>> Chong Yidong seems to think that: >>>Andy Stewart writes: >>> >>>> Speedbar is very useful for file browser or other programming. >>>> But this have a big problem is, speedbar is show in other frame. >>>> So need switch between two frame, not very convenient. >>>> >>>> And have a exist extension sr-speedbar.el (write by "Sebastian Rose") >>>> can make speedbar show in same frame. >>>> >>>> Find it at: http://www.emacswiki.org/emacs/download/sr-speedbar.el >>>> >>>> I'm another developer of sr-speedbar. >>>> I have attached newest version of sr-speedbar. >>>> >>>> I want to integrate sr-speedbar with speedbar. >>>> "Sebastian Rose" and me were sign copyright of FSF. >>> >>>Ccing Eric Ludlam, the Speedbar author. >>> >>>Eric, could you give your opinion of sr-speedbar? >> >> Hi, >> >> I read small bits of sr-speedbar a little while ago. As far as I >> know, it uses the same techniques that ECB uses, by advising various >> windowing functions in order to keep the speedbar window safe. It >> also uses a bunch of speedbar's hooks. A while ago (June?) there were >> lots of discussions on emacs-devel on how to make ECB work without >> advice in Emacs. I would imagine that the simpler sr-speedbar would >> benefit from the same kind of thing. >> >> I lost track of the ECB discussion though, so I don't know what >> sorts of changes were made for it. >> >> I can read some more of sr-speedbar if a more detailed opinion is >> needed. >> >> Eric >Yep, i agree. >It's not good if use many advice in sr-speedbar. > >I want to ask, >it's possible support "same frame display" option in speedbar? >And modified some code of speedbar. > >So don't need advices and so many hook to implement it. [ ... ] Hi, I think it would be good to modify speedbar to make this sort of thing easier. I think ECB has similar problems when it integrates speedbar into its display set. Speedbar was built on top of dframe.el. dframe.el was meant to be a utility any "auto updating in a frame" tool could use. I don't think any other such tools were written though. dframe.el seems like the place to add specialized window management code instead of speedbar. Eric -- Eric Ludlam: eric@siege-engine.com Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net