Cannot get initial state to evil in BSelect mode

Michael Markert markert.michael at
Thu Feb 23 14:47:15 CET 2012

Alan Schmitt <alan.schmitt at> writes:

> It works great, thanks. How could I have found this? Is there a way to
> see what the actual current major mode is?

There's the `major-mode' variable.

,----[ C-h v major-mode RET ]
| major-mode is a variable defined in `C source code'.
| Its value is message-mode
| Original value was fundamental-mode
| Local in buffer *unsent wide reply to Alan Schmitt*; global value is text-mode
|   Automatically becomes buffer-local when set in any fashion.
| Documentation:
| Symbol for current buffer's major mode.
| The default value (normally `fundamental-mode') affects new buffers.
| A value of nil means to use the current buffer's major mode, provided
| it is not marked as "special".
| When a mode is used by default, `find-file' switches to it before it
| reads the contents into the buffer and before it finishes setting up
| the buffer.  Thus, the mode and its hooks should not expect certain
| variables such as `buffer-read-only' and `buffer-file-coding-system'
| to be set up.
| You can customize this variable.
| [back]

Either you "parse" the value out of the description or you enter
`major-mode' in `eval-expression' (M-:) to get the symbol.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : 

More information about the implementations-list mailing list