From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#10275: speedbar highlights first selected item in speedbar-highlight-face Date: Wed, 14 Dec 2011 19:20:47 +0100 Message-ID: <4EE8E8FF.70209@gmx.at> References: <4EE8DB96.9020500@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323886922 6033 80.91.229.12 (14 Dec 2011 18:22:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2011 18:22:02 +0000 (UTC) Cc: 10275@debbugs.gnu.org, "Eric M. Ludlam" To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 14 19:21:57 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RatSb-0001HT-KQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2011 19:21:45 +0100 Original-Received: from localhost ([::1]:56861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RatSb-0003ma-4G for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Dec 2011 13:21:45 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RatSY-0003mV-SL for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2011 13:21:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RatST-0000tf-3p for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2011 13:21:42 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RatST-0000tb-14 for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2011 13:21:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RatTp-00050j-RP for bug-gnu-emacs@gnu.org; Wed, 14 Dec 2011 13:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Dec 2011 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10275 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10275-submit@debbugs.gnu.org id=B10275.132388693819204 (code B ref 10275); Wed, 14 Dec 2011 18:23:01 +0000 Original-Received: (at 10275) by debbugs.gnu.org; 14 Dec 2011 18:22:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RatT8-0004zh-ET for submit@debbugs.gnu.org; Wed, 14 Dec 2011 13:22:18 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1RatT6-0004zZ-26 for 10275@debbugs.gnu.org; Wed, 14 Dec 2011 13:22:17 -0500 Original-Received: (qmail invoked by alias); 14 Dec 2011 18:20:49 -0000 Original-Received: from 62-47-51-218.adsl.highway.telekom.at (EHLO [62.47.51.218]) [62.47.51.218] by mail.gmx.net (mp009) with SMTP; 14 Dec 2011 19:20:49 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19Kwvh+lKFKwkTZBlCERT1LdINdSspE/csh/xPKc4 YzetmKLBQdOVHL User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Dec 2011 13:23:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54963 Archived-At: > 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