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:42:51 -0800 (PST) Message-ID: <193624.99047.qm@web63006.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-572055179-1228714971=:99047" X-Trace: ger.gmane.org 1228715013 14854 80.91.229.12 (8 Dec 2008 05:43:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2008 05:43:33 +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:44:37 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 1L9Yv6-0002e3-V4 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 06:44:37 +0100 Original-Received: from localhost ([127.0.0.1]:60506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9Ytv-0003hO-E9 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Dec 2008 00:43:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9YtT-0003eB-2Z for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:42:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9YtR-0003cj-Pk for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:42:54 -0500 Original-Received: from [199.232.76.173] (port=43653 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9YtR-0003cR-Jo for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:42:53 -0500 Original-Received: from web63006.mail.re1.yahoo.com ([69.147.96.217]:36337) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L9YtR-0004fo-35 for help-gnu-emacs@gnu.org; Mon, 08 Dec 2008 00:42:53 -0500 Original-Received: (qmail 99188 invoked by uid 60001); 8 Dec 2008 05:42:52 -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=OCLe8nUU8uvqkZk14hpxGvW74fztvmkDvnuBzERHJFz1GnM5IHYDRF1avr84TyNC+JfhEnmjfW+Z0ubXmOWbWIaYLrTACy8Tivlbxpl9fa9psmBTan7g+FyYqQ5Zxds0MBRqr35GWfUMo2BUT07t5c+Fv10fCH1gEAP5PrdZk6E=; X-YMail-OSG: VdN1_3cVM1m98bevfF48Filx4I18sNt2FGSZucmpcc8_LP8dZFx0hn2JOKNYJUf2RSmY3UbgmTsarmStreZnK8hEZPYfKqrVxctHzIYlwnUkHOfptLEBkhHnnHX7UkD2xQv2LhDB4MpAvOy7FuL8OUAAfoJgeNh4v92eeXkU8f.4TAg- Original-Received: from [124.30.112.50] by web63006.mail.re1.yahoo.com via HTTP; Sun, 07 Dec 2008 21:42:51 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:60441 Archived-At: --0-572055179-1228714971=:99047 Content-Type: text/plain; charset=us-ascii 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-572055179-1228714971=:99047 Content-Type: text/html; charset=us-ascii
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 exp ands 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-572055179-1228714971=:99047--