From: "Eric M. Ludlam" <eric@siege-engine.com>
To: "Juanma Barranquero" <lekktu@gmail.com>
Cc: Angelo.Graziosi@roma1.infn.it, emacs-devel@gnu.org
Subject: Re[2]: Strange behaviour after Show/Hide Speedbar in Emacs 22.1
Date: Mon, 25 Jun 2007 09:17:07 -0400 [thread overview]
Message-ID: <200706251317.l5PDH7J1011619@projectile.siege-engine.com> (raw)
In-Reply-To: <f7ccd24b0706250329m5e410e6bw6fe5af5380d28f7b@mail.gmail.com> (lekktu@gmail.com)
Hi,
The speedbar frame stays "live" but hidden so that the next time
speedbar comes up, it will be faster. You can use 'q' to hide
speedbar, and 'Q' to really kill speedbar.
I tried it out, and it seems the speed difference is currently very
small now, so the optimization is not as important as it once was.
I suspect your patch might leave a bunch of invisible frames about,
but it's been a while since I've been in that code so I'm not sure.
Eric
>>> "Juanma Barranquero" <lekktu@gmail.com> seems to think that:
>On 6/25/07, Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> wrote:
>
>> It look as if the speedbar were still 'live'
>
>It is live, if somewhat hidden :)
>
>Try the following patch.
>
> Juanma
>
>
>P.S.: Eric, is this patch OK?
>
>
>
>Index: lisp/speedbar.el
>===================================================================
>RCS file: /cvsroot/emacs/emacs/lisp/speedbar.el,v
>retrieving revision 1.87
>diff -u -2 -r1.87 speedbar.el
>--- lisp/speedbar.el 19 Feb 2007 13:37:23 -0000 1.87
>+++ lisp/speedbar.el 25 Jun 2007 10:24:07 -0000
>@@ -1012,6 +1012,8 @@
> )
> ;; Frame modifications
>- (set (make-local-variable 'dframe-delete-frame-function)
>- 'speedbar-handle-delete-frame)
>+ (if speedbar-frame
>+ (set (make-local-variable 'dframe-delete-frame-function)
>+ 'speedbar-handle-delete-frame)
>+ (kill-local-variable 'dframe-delete-frame-function))
> ;; hscroll
> (set (make-local-variable 'automatic-hscrolling) nil) ; Emacs 21
>
--
Eric Ludlam: zappo@gnu.org, eric@siege-engine.com
Home: http://www.ludlam.net Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
next prev parent reply other threads:[~2007-06-25 13:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 9:51 Strange behaviour after Show/Hide Speedbar in Emacs 22.1 Angelo Graziosi
2007-06-25 10:29 ` Juanma Barranquero
2007-06-25 10:34 ` Leo
2007-06-25 10:49 ` Juanma Barranquero
2007-06-25 10:49 ` Nick Roberts
2007-06-25 10:58 ` Leo
2007-06-25 11:30 ` Nick Roberts
2007-06-25 13:22 ` Vinicius Jose Latorre
2007-06-25 13:10 ` Re[2]: " Eric M. Ludlam
2007-06-25 13:17 ` Eric M. Ludlam [this message]
2007-06-25 13:45 ` Angelo Graziosi
2007-06-25 15:57 ` Re[4]: " Eric M. Ludlam
2007-06-25 18:17 ` Juanma Barranquero
2007-06-25 20:43 ` Angelo Graziosi
2007-06-25 22:46 ` Re[2]: " Juanma Barranquero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706251317.l5PDH7J1011619@projectile.siege-engine.com \
--to=eric@siege-engine.com \
--cc=Angelo.Graziosi@roma1.infn.it \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.