help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: speedbar question


From: Maindoor
Subject: RE: speedbar question
Date: Sun, 7 Dec 2008 21:46:37 -0800 (PST)


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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]