[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keybinding Patch gtags.el
From: |
Stan Moore |
Subject: |
Keybinding Patch gtags.el |
Date: |
Mon, 2 Sep 2013 22:58:55 -0400 |
Greetings,
I don't consider this an actual full blown bug, but it is surprising as
browsing the web indicates. Many examples like:
(gtags-mode t)
(gtags-suggested-key-mapping t)
indicate that many people expect the above to actually enable the key
bindings. Currently gtags.el only loads keybindings at load time so the
gtags-suggested-key-mapping is too late and therefore is ignored. I created
a patch to allow keybinding when the mode is activated vs only during load.
Along the way I removed some redundant code for a somewhat cleaner yet still
not totally intuitive logic.
After the patch either
(setq gtags-suggested-key-mapping t)
(gtags-mode t)
Or
(gtags-mode t)
(setq gtags-suggested-key-mapping t)
(gtags-bind-custom-keys)
Will enable the keybindings. The original, and quite common example code,
will still not enable keybinding. In addition to this patch I would suggest
either changing the docs or changing the default value of
gtags-suggested-key-mapping.
I'm currently away from my regular environment so I may not see the list
very soon but I will check in at some point in the future.
Stan Moore
gtags.el.patch
Description: Binary data
- Keybinding Patch gtags.el,
Stan Moore <=
- Re: Keybinding Patch gtags.el, Shigio YAMAGUCHI, 2013/09/04
- RE: Keybinding Patch gtags.el, Stan Moore, 2013/09/04
- Re: Keybinding Patch gtags.el, Shigio YAMAGUCHI, 2013/09/04
- RE: Keybinding Patch gtags.el, Stan Moore, 2013/09/06
- Re: Keybinding Patch gtags.el, Shigio YAMAGUCHI, 2013/09/09
- RE: Keybinding Patch gtags.el, Stan Moore, 2013/09/10
- Re: Keybinding Patch gtags.el, Shigio YAMAGUCHI, 2013/09/10
- RE: Keybinding Patch gtags.el, Stan Moore, 2013/09/11
- Re: Keybinding Patch gtags.el, Shigio YAMAGUCHI, 2013/09/11
- RE: Keybinding Patch gtags.el, Stan Moore, 2013/09/12