unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 10275@debbugs.gnu.org, "Eric M. Ludlam" <zappo@gnu.org>
Subject: bug#10275: speedbar highlights first selected item in speedbar-highlight-face
Date: Wed, 14 Dec 2011 19:20:47 +0100	[thread overview]
Message-ID: <4EE8E8FF.70209@gmx.at> (raw)
In-Reply-To: <CAAeL0SRn1G3krxaZiFaDAzOUn9pK8pLsFTFH7sW154sGGgaU+Q@mail.gmail.com>

 > IOW, the bug is in removing the highlight when selecting subsequent items.

Not really.  FWIW the bug happens because `handle-switch-frame' runs
`pre-command-hook', something Eric probably didn't expect.  Switching
the frame is needed because the mouse click selects the speedbar frame
and we immediately want to return to the frame where the source file is
shown.  But I don't understand why de-highlighting doesn't occur when
hitting RET in the speedbar or switching to another buffer with the
mouse.

martin





  reply	other threads:[~2011-12-14 18:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-11 14:06 bug#10275: speedbar highlights first selected item in speedbar-highlight-face Juanma Barranquero
2011-12-14 17:23 ` martin rudalics
2011-12-14 17:40   ` Juanma Barranquero
2011-12-14 18:20     ` martin rudalics [this message]
2011-12-14 23:06       ` Eric M. Ludlam
2011-12-14 23:18         ` Juanma Barranquero
2011-12-16  9:58         ` Martin Rudalics
2012-03-10  7:59   ` Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EE8E8FF.70209@gmx.at \
    --to=rudalics@gmx.at \
    --cc=10275@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).