From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maindoor Newsgroups: gmane.emacs.help Subject: Speedbar is messed up Date: Sun, 7 Dec 2008 23:06:13 -0800 (PST) Message-ID: <909998.76104.qm@web63003.mail.re1.yahoo.com> References: <193624.99047.qm@web63006.mail.re1.yahoo.com> Reply-To: sanjeevfiles@yahoo.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-661301412-1228719973=:76104" X-Trace: ger.gmane.org 1228720017 24840 80.91.229.12 (8 Dec 2008 07:06:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 07:06:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 08:08:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L9aDn-0005vr-Rg for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 08:08:00 +0100 Original-Received: from localhost ([127.0.0.1]:49280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9aCc-0000Ki-Jc for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 02:06:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9aC8-0000Iw-2T for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:06:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9aC7-0000I3-07 for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:06:15 -0500 Original-Received: from [199.232.76.173] (port=39440 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9aC6-0000Hw-QN for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:06:14 -0500 Original-Received: from web63003.mail.re1.yahoo.com ([69.147.96.214]:31854) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L9aC6-0002vQ-7p for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:06:14 -0500 Original-Received: (qmail 76931 invoked by uid 60001); 8 Dec 2008 07:06:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=ypZolwOr0eIOwXc7KABAQlklSgrZccDrSOQHSADgHPAZIks6HsLfgW+PYtL9zptMD+oq8AOlRCxbUmhpnY46ZCR5S37G7enaOeNFsteuUbCoaLzwRnZntuas/asyLUA/wnOSSOD4EkTXeANKbNwhjQBkYoSqOH/F2VVxapbN1Hg=; X-YMail-OSG: qkMgjDcVM1mabN59E28FmKdjzvE_nCRUgBNBheC5jKNKGm3Zpwc5NhHIwxYuMyGOHkoPWJpc461IiZghJvJoRfjO9K5q_Kmvj.1toYD8OuGvc2msazI7F79zc5AqCrRxVmf.vBlJS.AP.ALFfBLXfBtkIddRSKc6J1R2D62cERr5nktrACvwsJBI7xZk Original-Received: from [124.30.112.50] by web63003.mail.re1.yahoo.com via HTTP; Sun, 07 Dec 2008 23:06:13 PST X-Mailer: YahooMailWebService/0.7.260.1 In-Reply-To: <193624.99047.qm@web63006.mail.re1.yahoo.com> X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60446 Archived-At: --0-661301412-1228719973=:76104 Content-Type: text/plain; charset=us-ascii Looks like this issue is there for a while: who made it this way ? Its awful. Thanks to Drew Adams for pointing me in the right direction. http://www.nabble.com/New-speedbar-version-td1003419.html Some one fix this. I tried playing with the mouse-1-click-follows-link variable, still nothing. sanjeev. --- On Mon, 12/8/08, Maindoor wrote: From: Maindoor Subject: RE: speedbar question To: help-gnu-emacs@gnu.org, "Drew Adams" Date: Monday, December 8, 2008, 11:12 AM I tried emacs -Q but the behavior is the same. and some version on windows works fine too. I think this is a bug and I've filed a bug report too. Thanks. --- On Sun, 12/7/08, Drew Adams wrote: From: Drew Adams Subject: RE: speedbar question To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org Date: Sunday, December 7, 2008, 10:40 PM > > > I wanted to use mouse-1 single click to do all i want in > > > speedbar instead of use mouse-2 ( scroll button ) click. > > > I couldn't find an easy way so I edited dframe.el and > > > swapped down-mouse-1 event and mouse-2 event. > > > Now I got exactly what I want but the problem is > > > that everytime i move the mouse in speedbar, i always > > > get some highlight as if i am trying to copy something. > > > Is there anyway to get around this or is there a way to > > > solve this correctly ? > > > > What Emacs version are you using? In Emacs 22 or later `mouse-1' should > > do what you want by default, and the behavior is controlled by option > > `mouse-1-click-follows-link'. > > I'm using 23.0.60.1 which would be the very latest, I'm running ubuntu > 8.04. mouse-1 doesn't do anything in speedbar, while clicking the > button in scroll wheel( mouse-2) or the middle button in thinkpad > selects the buffer or expands etc. I think its a trivial bug. But by > customizing i should be able to change it, I'm wondering how. > > The reason I'm saying its a trivial bug is because, it is not > intuitive and because, if you are familiar with dframe.el in speedbar, > middle button is mapped to dframe-click event and mouse-1 is mapped to > dframe-double-click event in dframe.el which is kind of > inverse. Please let me know if you have any ideas on how to customize it. [Please don't top-post. Use plain text, not HTML, for this mailing list.] Are you using emacs -Q? If not, perhaps something in your .emacs is causing the problem. What is your value of `mouse-1-click-follows-link'? I don't see the problem, with emacs -Q in this build: In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-11-24 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' If your version is more recent than that, check Emacs NEWS (`C-h n') to see if this change was intentional. If it was not, please file an Emacs bug: `M-x report-emacs-bug'. --0-661301412-1228719973=:76104 Content-Type: text/html; charset=us-ascii
Looks like this issue is there for a while: who made it this
way ? Its awful. Thanks to Drew Adams for pointing me
in the right direction.

http://www.nabble.com/New-speedbar-version-td1003419.html

Some one fix this. I tried playing with the
mouse-1-click-follows-link variable, still nothing.

sanjeev.

--- On Mon, 12/8/08, Maindoor <sanjeevfiles@yahoo.com> wrote:
From: Maindoor <sanjeevfiles@yahoo.com>
Subject: RE: speedbar question
To: help-gnu-emacs@gnu.org, "Drew Adams" <drew.adams@oracle.com>
Date: Monday, December 8, 2008, 11:12 AM

I tried emacs -Q but the behavior is the same. and some
version on windows works fine too. I think this is a bug
and I've filed a bug report too.

Thanks.

--- On Sun, 12/7/08, Drew Adams <drew.adams@oracle.com> wrote:
From: Drew Adams <drew.adams@oracle.com>
Subject: RE: speedbar question
To: sanjeevfiles@yahoo.com, help-gnu-emacs@gnu.org
Date: Sunday, December 7, 2008, 10:40 PM

> > > I wanted to use mouse-1 single click to do all i want in 
& gt; > > speedbar instead of use mouse-2 ( scroll button ) click.
> > > I couldn't find an easy way so I edited dframe.el and
> > > swapped down-mouse-1 event and mouse-2 event.
> > > Now I got exactly
what I want but the problem is
> > > that everytime i move the mouse in speedbar, i always
> > > get some highlight as if i am trying to copy something.
> > > Is there anyway to get around this or is there a way to
> > > solve this correctly ?
> >
> > What Emacs version are you using? In Emacs 22 or later `mouse-1'
should
> > do what you want by default, and the behavior is controlled by option
> > `mouse-1-click-follows-link'.
>
> I'm using 23.0.60.1 which would be the very latest, I'm running
ubuntu
> 8.04. mouse-1 doesn't do anything in speedbar, while clicking the
> button in sc roll wheel( mouse-2) or the middle button in thinkpad
> selects the buffer or expands etc. I think its a trivial bug. But by
> customizing i should be able to change it, I'm wondering how.
>
> The reason I'm saying its a trivial
bug is because, it is not
> intuitive and because, if you are familiar with dframe.el in speedbar,
> middle button is mapped to dframe-click event and mouse-1 is mapped to
> dframe-double-click event in dframe.el which is kind of
> inverse. Please let me know if you have any ideas on how to customize it.

[Please don't top-post. Use plain text, not HTML, for this mailing list.]

Are you using emacs -Q? If not, perhaps something in your .emacs is
causing the problem. What is your value of `mouse-1-click-follows-link'?

I don't see the problem, with emacs -Q in this build:

In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
of 2008-11-24 on LENNART- 69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'

If your version is more recent than that, check Emacs NEWS (`C-h
n')
to see if this change was intentional. If it was not, please file an
Emacs bug: `M-x report-emacs-bug'.









--0-661301412-1228719973=:76104--