Great. That worked. Thanks, Michael. ----- Original Message ----- From: Michael Markert <[email protected]> To: Maindoor <[email protected]> Cc: vi/Vim emulation in Emacs <[email protected]> Sent: Friday, September 14, 2012 8:36 PM Subject: Re: Question regarding evil mode in emacs and xcscope.el On Fri, Sep 14 2012 (04:26), Maindoor <[email protected]> wrote:
I'd like to start the xcscope results window in insert mode instead of the default normal mode. How do I do this ?
You've got the right function: `evil-set-initial-state'.
None of the below works. Maybe I'm doing it wrong with the mode names. any suggestions ?
Yes, the mode name is the problem. (evil-set-initial-state 'cscope-list-entry-mode 'insert) should do it. I'm certain you got error messages/backtraces with your approaches: please add them the next time. Michael