From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maindoor Newsgroups: gmane.emacs.help Subject: Re: Speedbar is messed up Date: Sun, 7 Dec 2008 23:11:06 -0800 (PST) Message-ID: <706345.94093.qm@web63002.mail.re1.yahoo.com> References: <909998.76104.qm@web63003.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-859066399-1228720266=:94093" X-Trace: ger.gmane.org 1228720303 25576 80.91.229.12 (8 Dec 2008 07:11:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 07:11:43 +0000 (UTC) Cc: cyd@stupidchicken.com, romain@orebokech.com, dev.null@caeruleus.net 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:12:46 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 1L9aIO-0007CM-2c for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 08:12:44 +0100 Original-Received: from localhost ([127.0.0.1]:39823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9aHC-0004rg-9a for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 02:11:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9aGq-0004rR-DS for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:11:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9aGp-0004rC-T6 for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:11:08 -0500 Original-Received: from [199.232.76.173] (port=44419 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9aGp-0004r9-It for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:11:07 -0500 Original-Received: from web63002.mail.re1.yahoo.com ([69.147.96.213]:40378) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L9aGp-0003NI-4B for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 02:11:07 -0500 Original-Received: (qmail 94186 invoked by uid 60001); 8 Dec 2008 07:11:06 -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:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=aqd7bpopX0JcLXYyPB1LgiouFcIg8RI3JVv68Z9Vi72VUWIk4hjc0KRnmqtGUzjerhGUbj+Pacm/u2E43GC1p+RoZGjtcVWkYd8EJKPb+GTPvHpEC+zvddPD+Nq44nk7lyyOiuoUUbaarL/2ozzEgf0fmHiARkKEexFSLUtLkZc=; X-YMail-OSG: WQTXdRcVM1kYy9wEJAjWMsVHMYqa1FQPt.vW4Eo.UAS3nCa1dRpO_abPLO2sE4W9VlRBMdd.VSL20M9pxTtLPTMf820gbaJnOM24NjVfhcr7s0VDfWIStWb5TGr3.wDH5B3MX1Z3A0BFlnNE8Y8K5OBfEzk7rajYfy3MidihTFKJDYWvqfxGOd2iXXSI Original-Received: from [124.30.112.50] by web63002.mail.re1.yahoo.com via HTTP; Sun, 07 Dec 2008 23:11:06 PST X-Mailer: YahooMailWebService/0.7.260.1 In-Reply-To: <909998.76104.qm@web63003.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:60447 Archived-At: --0-859066399-1228720266=:94093 Content-Type: text/plain; charset=us-ascii Including some folks who seemed to have worked on this: --- On Mon, 12/8/08, Maindoor wrote: From: Maindoor Subject: Speedbar is messed up To: help-gnu-emacs@gnu.org Date: Monday, December 8, 2008, 12:36 PM 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-859066399-1228720266=:94093 Content-Type: text/html; charset=us-ascii
Including some folks who seemed to have worked on this:

--- On Mon, 12/8/08, Maindoor <sanjeevfiles@yahoo.com> wrote:
From: Maindoor <sanjeevfiles@yahoo.com>
Subject: Speedbar is messed up
To: help-gnu-emacs@gnu.org
Date: Monday, December 8, 2008, 12:36 PM

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 
> > > 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 tri vial
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-859066399-1228720266=:94093--