gtags.el mouse-2 and mouse-3 key bindings

View: New views
2 Messages — Rating Filter:   Alert me  

gtags.el mouse-2 and mouse-3 key bindings

by Jani Nikula-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm not particularly happy with gtags.el binding mouse-2 and mouse-3 for
gtags mode. I find breaking the middle mouse button paste quite intrusive.
I'd suggest introducing some kind of configuration for that, even if this
can be worked around e.g. with the following in .emacs:

(add-hook 'gtags-mode-hook
   (lambda ()
     (define-key gtags-mode-map [mouse-2] nil)
     (define-key gtags-mode-map [mouse-3] nil)
     ))


Otherwise, thanks for an extremely productive tool!

BR,
Jani.


_______________________________________________
Bug-global mailing list
Bug-global@...
http://lists.gnu.org/mailman/listinfo/bug-global

Re: gtags.el mouse-2 and mouse-3 key bindings

by Shigio YAMAGUCHI-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> gtags mode. I find breaking the middle mouse button paste quite intrusive.
> I'd suggest introducing some kind of configuration for that, even if this
> can be worked around e.g. with the following in .emacs:
>
> (add-hook 'gtags-mode-hook
>    (lambda ()
>      (define-key gtags-mode-map [mouse-2] nil)
>      (define-key gtags-mode-map [mouse-3] nil)
>      ))

You are right.
I would like to delete such intrusive bindings, and write a guideline for users.
Thank you for your suggestion.
--
Shigio YAMAGUCHI <shigio@...>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


_______________________________________________
Bug-global mailing list
Bug-global@...
http://lists.gnu.org/mailman/listinfo/bug-global