From: Shigio YAMAGUCHI [mailto:[email protected]] Sent: Wednesday, September 04, 2013 2:21 AM > On Mon, 2 Sep 2013 22:58:55 -0400 > "Stan Moore" <[email protected]> wrote: > > Hello, > Thank you for the patch. > > > (gtags-mode t) > > (gtags-suggested-key-mapping t) > > Isn't it a simply wrong usage?
Yes, it is wrong. But this is what turns up when you google for a way to get the keybindings to work. The original code only works when you use the emacs customize interface. Many people don't use customize, either by choice or ignorance, and attempt to set things up in .emacs. The docs didn't make this situation clear so I spent some time trying to get to keybindings setup with little success. I actually spent more time googling for a solution than I did reading the code and generating the patch. > > 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. > > What is the latter merit? No real merit I can think of, but it does provide a method to allow you to establish keybindings even after you have entered gtags-mode. > Is it a genric custom in emacs? Not that I'm aware of. Gtags-bind-custom-keys could easily be an internal routine or simply unadvertised; any public benefit is at best trivial. Stan _______________________________________________ Bug-global mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-global
