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 question Date: Sun, 7 Dec 2008 21:46:37 -0800 (PST) Message-ID: <753945.70275.qm@web63005.mail.re1.yahoo.com> References: <004a01c9588e$beacdd50$0200a8c0@us.oracle.com> Reply-To: sanjeevfiles@yahoo.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-172461582-1228715197=:70275" X-Trace: ger.gmane.org 1228715233 15246 80.91.229.12 (8 Dec 2008 05:47:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 05:47:13 +0000 (UTC) To: help-gnu-emacs@gnu.org, Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 06:48:17 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 1L9Yye-0003iU-7D for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 06:48:16 +0100 Original-Received: from localhost ([127.0.0.1]:57386 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9YxT-0006RA-7W for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 00:47:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9Yx5-0006Px-H6 for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:46:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9Yx4-0006PQ-RK for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:46:39 -0500 Original-Received: from [199.232.76.173] (port=51775 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9Yx4-0006PE-NS for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:46:38 -0500 Original-Received: from web63005.mail.re1.yahoo.com ([69.147.96.216]:47090) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L9Yx4-00055F-61 for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:46:38 -0500 Original-Received: (qmail 70294 invoked by uid 60001); 8 Dec 2008 05:46:37 -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=TroAICc+oNHPWVxIatPzf+0OXqNFFwRSdnWnSUtT4T5iigLPHCxerQ8saX9ueuXgDUUp2TPsZx8/mvN8OaqDaAEPJg5GqnHN2qgoy43oOznx+8Zw7SbQ999SAvq3IofjUNfD+T2Ditn+I0g2oa0zpwv9swRE+ctTEttSvQPqjsA=; X-YMail-OSG: UGRl_D4VM1liG0mYlfVlV8HrEwSLf6QSPzuBBZrQoeIG_exHdnPOu4qmSNlSNVsaVVGMUMxzyzehS1URL401dpjVpVSqoHtPCFqAshaJVeqdJ2AHg0nJPWVreDQG32WrYwrQFkmoyVNcHuxNn_00.X9RhwSTrTU.WaDpJQdVG0WNtGk- Original-Received: from [124.30.112.50] by web63005.mail.re1.yahoo.com via HTTP; Sun, 07 Dec 2008 21:46:37 PST X-Mailer: YahooMailWebService/0.7.260.1 In-Reply-To: <004a01c9588e$beacdd50$0200a8c0@us.oracle.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:60442 Archived-At: --0-172461582-1228715197=:70275 Content-Type: text/plain; charset=us-ascii mouse-1-click-follows-link value is 450. --- 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-172461582-1228715197=:70275 Content-Type: text/html; charset=us-ascii

mouse-1-click-follows-link value is 450.

--- 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 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-172461582-1228715197=:70275--