Cannot get initial state to evil in BSelect mode

Michael Markert markert.michael at googlemail.com
Thu Feb 23 12:20:25 CET 2012


Hi Alan,

Alan Schmitt <alan.schmitt at polytechnique.org> writes:

> I use reftex when doing LaTeX, and one very nice thing is the way it deals with
> bibliographic entries. Unfortunately, when I want to select a bib entry, I'm by
> default in normal mode. Looking at the mode line, I see the current mode is
> "BSelect", so I tried adding this to my .emacs:

> (evil-set-initial-state 'bselect-mode 'emacs)

Well it seems to be the wrong name (`reftex-select-bib-mode' being the
right one):

,----
| (define-derived-mode reftex-select-bib-mode fundamental-mode "BSelect"
|   "Major mode for selecting a citation key in a LaTeX document.
|   ...
`----

Try

    (evil-set-initial-state 'reftex-select-bib-mode 'emacs)

Good Luck,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20120223/a581c125/attachment.pgp 


More information about the implementations-list mailing list