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 07:34:01 -0800 (PST) Message-ID: <110409.62491.qm@web63008.mail.re1.yahoo.com> References: <003f01c9587f$88da5270$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-1240640746-1228664041=:62491" X-Trace: ger.gmane.org 1228664615 18248 80.91.229.12 (7 Dec 2008 15:43:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2008 15:43:35 +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 Sun Dec 07 16:44:39 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 1L9Lo0-0004i6-Kk for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Dec 2008 16:44:36 +0100 Original-Received: from localhost ([127.0.0.1]:39616 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9Lmm-0006xh-SB for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Dec 2008 10:43:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9Le0-0003mp-0g for help-gnu-emacs@gnu.org; Sun, 07 Dec 2008 10:34:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9Ldz-0003mS-KF for help-gnu-emacs@gnu.org; Sun, 07 Dec 2008 10:34:03 -0500 Original-Received: from [199.232.76.173] (port=42802 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9Ldz-0003mO-8U for help-gnu-emacs@gnu.org; Sun, 07 Dec 2008 10:34:03 -0500 Original-Received: from web63008.mail.re1.yahoo.com ([69.147.96.219]:30271) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L9Ldy-0002NP-QA for help-gnu-emacs@gnu.org; Sun, 07 Dec 2008 10:34:03 -0500 Original-Received: (qmail 62664 invoked by uid 60001); 7 Dec 2008 15:34:02 -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=dFbMj+2VhN8p1g9u3Fw0ZUzkN4ZmOPoqBOm0FclKnmh/+n5lEbxLW/0Y7A7iNIn61RUl2HOx0/Q6GYoz2VHzfYeRfJ63fYkoI/RVvlW4/wdX1LXC1ZgtS2zlLsoVoQq//wOymeZiULT9DFK/Ih7auukaZ0js1oTUCcMSF1Uu1L0=; X-YMail-OSG: Um_EKPIVM1mW7I4qsp.BTHD3w0por5blo75nVxyiSRYkUU2wyNVR7Iphw8CxfsW3fB7xWlB3evgDiFKHnnR6Hxm5XnzoeaVFJRuEFi.8iaydmZsvQCTz2pe7zfqvR32ux8JWPIRP69JGN5ruOns8ybzLEdjNcD_mJfNZUjo.eRuMB6YRpb9Z8my5LFOU Original-Received: from [122.167.67.77] by web63008.mail.re1.yahoo.com via HTTP; Sun, 07 Dec 2008 07:34:01 PST X-Mailer: YahooMailWebService/0.7.260.1 In-Reply-To: <003f01c9587f$88da5270$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:60423 Archived-At: --0-1240640746-1228664041=:62491 Content-Type: text/plain; charset=us-ascii 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. 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, 8:51 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 ? [Plain text, not HTML mail, please.] 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'. --0-1240640746-1228664041=:62491 Content-Type: text/html; charset=us-ascii
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.

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, 8:51 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 ?

[Plain text, not HTML mail, pl ease.]

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'.





--0-1240640746-1228664041=:62491--