Question regarding evil mode in emacs and xcscope.el
Hi, I'm not sure if this is the right mailing list as there is no mention of evil mode in the mail address. If this is the case please correct me. I'd like to start the xcscope results window in insert mode instead of the default normal mode. How do I do this ? None of the below works. Maybe I'm doing it wrong with the mode names. any suggestions ? (setq evil-insert-state-modes (append cscope-list-entry-mode evil-insert-state-modes)) (evil-set-initial-state cscope 'insert) Regards
Maindoor <[email protected]> writes:
I'm not sure if this is the right mailing list as there is no mention of evil mode in the mail address. If this is the case please correct me.
Since evil-mode is the only Emacs vi(m)-emulation project currently active (afaik), this list has basically become the list for evil-mode. It is called gmane.emacs.vim-emulation on Gmane, for example. I agree that the actual email address of this list is rather opaque, though :) -Keshav
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
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
Hi, Steps to recreate this issue; Copy two line into register n with "n2yy See the contents of register n, (:registers) nothing is copied, but it is copied into the default register. Sounds like a definite bug to me. Can someone confirm this ? Thanks. ----- Original Message ----- From: Maindoor <[email protected]> To: Michael Markert <[email protected]> Cc: vi/Vim emulation in Emacs <[email protected]> Sent: Monday, September 17, 2012 10:40 AM Subject: Re: Question regarding evil mode in emacs and xcscope.el 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 _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
participants (3)
-
Keshav Kini -
Maindoor -
Michael Markert