all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Angelo Graziosi" <Angelo.Graziosi@roma1.infn.it>
Cc: "Eric M. Ludlam" <zappo@gnu.org>, emacs-devel@gnu.org
Subject: Re: Strange behaviour after Show/Hide Speedbar in Emacs 22.1
Date: Mon, 25 Jun 2007 12:29:15 +0200	[thread overview]
Message-ID: <f7ccd24b0706250329m5e410e6bw6fe5af5380d28f7b@mail.gmail.com> (raw)
In-Reply-To: <Pine.OSF.4.21.0706251126001.13739-100000@ax0rm1.roma1.infn.it>

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

  reply	other threads:[~2007-06-25 10:29 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 [this message]
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
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=f7ccd24b0706250329m5e410e6bw6fe5af5380d28f7b@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=Angelo.Graziosi@roma1.infn.it \
    --cc=emacs-devel@gnu.org \
    --cc=zappo@gnu.org \
    /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.