Question regarding evil mode in emacs and xcscope.el

Maindoor sanjeevfiles at yahoo.com
Mon Sep 17 02:40:21 CEST 2012


Great. That worked.
Thanks, Michael.




----- Original Message -----
From: Michael Markert <markert.michael at googlemail.com>
To: Maindoor <sanjeevfiles at yahoo.com>
Cc: vi/Vim emulation in Emacs <implementations-list at lists.ourproject.org>
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 <sanjeevfiles at yahoo.com> 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



More information about the implementations-list mailing list