Or is there a custom setting which controls this?
-sandip
> I know it may have something to do with syntax table...
> but I do not how to do it.
If you double-click on a non-word but symbol-constituent character,
you'll select the symbol instead of the word. So in Emacs Lisp mode,
double-clicking on the minus will select foo-bar, whereas
double-clicking on the b will select bar only.
--
A preposition is not a good thing to end a sentence with.
Thanks for the answer. Actually I noticed that behaviour recently.
It is kind of inconsistent though. I have to be precise with the
mouse which defeats the purpose of double-click to select word
principle. SO my question is is there some way to modify this
behaviour ? Using advise maybe ? I found out that the
defun mouse-skip-word in mouse.el is responsible for the behaviour.
> It is kind of inconsistent though. I have to be precise with the
> mouse which defeats the purpose of double-click to select word
> principle. SO my question is is there some way to modify this
> behaviour ? Using advise maybe ? I found out that the
> defun mouse-skip-word in mouse.el is responsible for the behaviour.
Yeah, I guess redefining that function will do.