Chao Lu | 22 Jan 09:09 2015

About evil-ace-jump-char-mode

Dear list,

I'm trying to use evil-ace-jump-char-mode by:
(evil-leader/set-key "," 'evil-ace-jump-word-mode) ; ,, for Ace Jump (word)
(evil-leader/set-key "l" 'evil-ace-jump-line-mode) ; ,l for Ace Jump (line)

However, this seems not to be working with errors like:

let: Wrong type argument: commandp, ace-jump-word-mode

So I went into evil-integration.el and found indeed this is not a interactive function.
(evil-define-motion evil-ace-jump-word-mode (count)
  "Jump visually to the beginning of a word using ace-jump."
  :type exclusive
  :repeat abort
      (call-interactively 'ace-jump-word-mode))))

So I'm wondering how people is make use of ace-jump... Since there's configuration files like having lines like:

"SPC" 'evil-ace-jump-char-mode "S-SPC" 'evil-ace-jump-word-mode "C-SPC" 'evil-ace-jump-line-mode

Which apparently treat those as interactive functions to make use of...

I'm confused. So is there any comments/advice?



implementations-list mailing list
implementations-list <at>
Chao Lu | 20 Jan 03:21 2015


Dear list,

As a new user of evil, I love it a lot, but have some questions which I'm trying to tackle:

First, I want the emacs intial yank-pop back by:
(define-key evil-insert-state-map (kbd "M-y") 'yank-pop)
(define-key evil-normal-state-map (kbd "M-y") 'yank-pop)
(define-key evil-emacs-state-map (kbd "M-y") 'yank-pop)

however, evil keeps beeping at me: user-error: Previous command was not an evil-paste.


How to make evil behave like emacs when call end-of-line. i.e.

if we have a line like below:

when call end-of-line the cursor goes to $, instead of the char before $.


implementations-list mailing list
implementations-list <at>
Sylvain Benner | 17 Jan 07:04 2015

Programmatically call evil-find-char


I'm trying to call interactively from the code the function `evil-find-char` while in visual state like this:

    (call-interactively 'evil-find-char)

A simplistic use case will be the following simple wrapper function mapped on `f` key:

   (defun my-wrapper () (interactive) (call-interactively 'evil-find-char)) 

The observed behavior is that when I press on `f` the point is put of the next character with no selection, then when I press a second key then the selection does not include the second character (like if I pressed `t` in regular Vim).

For the complete story, I'm replacing the map of `evil-find-char` on `f` in order to be able to `escape` to normal state by quickly pressing `fd`. This is currently implemented in package `evil-escape` with key-chord which I want to drop because of several edge cases with Evil.
This `fd` as `ESC` is mainly used in spacemacs which is an Evil focused Emacs kit.

implementations-list mailing list
implementations-list <at>
Alan Schmitt | 13 Jan 09:57 2015

cannot bind evil-next-visual-line for selection mode


I'm trying to configure evil to use `evil-next-visual-line' by default
when I hit the 's' key. It works well in normal mode, but I cannot get
it to work in visual mode.

This is what I have in my configuration:

#+begin_src emacs-lisp
(define-key evil-motion-state-map "s" 'evil-next-visual-line)
(define-key evil-normal-state-map "s" 'evil-next-visual-line)

To reproduce, take a file with a long line, enter visual-line-mode, go
into visual mode and hit 's': the selection extends to the next line
instead of the next visual line.

I tried adding

#+begin_src emacs-lisp
(define-key evil-visual-state-map "s" 'evil-next-visual-line)

but it still does not work. Am I doing something wrong?




OpenPGP Key ID : 040D0A3B4ED2E5C7
implementations-list mailing list
implementations-list <at>
Alexander Shukaev | 8 Jan 21:18 2015

Bind plus and minus signs to operators

Hey guys,

Unfortunately, it seems to be not possible. Originally '-' and '+' are bound to motions and that certainly works. However, if one tries to bind them to some operators, then `evil-extract-count' throws 

Key sequence contains no complete binding

It's a bit difficult for me to understand the exact reason for that. Probably this has something to do with misinterpretation of prefix numeric arguments. Is it possible to fix that? If not, could you elaborate on why that would be not possible.

Thanks and regards,
implementations-list mailing list
implementations-list <at>
Tim Harper | 31 Dec 23:16 2014

[PATCH] use evil-word for symbol expansion

 evil-search.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-search.el b/evil-search.el
index f75c043..9814f24 100644
--- a/evil-search.el
+++ b/evil-search.el
 <at>  <at>  -273,7 +273,7  <at>  <at>  otherwise for the word at point."
            (not (string= string "")))
       (evil-search string forward t))
-      (setq string (evil-find-thing forward (if symbol 'symbol 'word)))
+      (setq string (evil-find-thing forward (if symbol 'symbol 'evil-word)))
        ((null string)
         (user-error "No word under point"))

fangzhou | 13 Dec 16:03 2014

Problem with defadvice for evil-find-char

Hi developers,
    I'm tring to add some <Input Method Engine> support/compatibility for evil-mode recently.
    Now I'm having trouble with advising the evil-find-char (evil-find-char &optional COUNT CHAR).

    I want to automatically switch to an IME when typing _f_ in normal-mode, and switch back to English after entring the CHAR.  To do so, I add a before-advice to evil-find-char, but finding that the advice will actually work after entering the CHAR.

    Is there any mechanism which would enable me to exec some code right after typing f ? Redefine the function and kbd macro are no good if there is a better way.
implementations-list mailing list
implementations-list <at>
Óscar Fuentes | 1 Dec 16:23 2014

Visual mode permanently activates transient-mark-mode

Sorry for reporting this bug here, but BitBucket refuses to work saying
"CSRF verification failed. Request aborted." for whatever I try to do on

I have transient-mark-mode deactivated on my .emacs. Entering Visual
mode activates it (which is fine) but after exiting Visual mode it
remains active (i.e. `transient-mark-mode' var is assigned `t'.)

In Evil's sources I see some complex machinery dealing with
transient-mark-mode, so it is not a case of the devs assuming that all
users have transient-mark-mode on its default setting (active).

To reproduce:

emacs -Q

load and activate Evil.

M-x transient-mark-mode
C-h v transient-mark-mode

Check that the value is nil

v ESC (enter and exit visual mode)

C-h v transient-mark-mode

Now the value is t.
Tom Short | 30 Nov 03:04 2014

spacemacs and other approaches for organizing emacs packages

Hi everyone,

I've been looking to update the mess that is my .emacs file. Looking
around, there are many new Evil packages and new ways of managing
them. I've come across the following as a rather ambitious way to
integrate Evil into many modes:

Anyone have an opinion on it? I'm trying it briefly. I like the
discover-ability, but it's a lot of new muscle memory to learn.

Any other suggestions for organizing .emacs? I mainly use Org, ESS,
and of course Evil.
Alexander Shukaev | 14 Nov 16:25 2014



`eww-link-keymap' occurs when one places point over some hyperlink. It looks like `eww-link-keymap' takes precedence over `evil-normal-state-map' and friends. Why? How to avoid it?

Thanks in advance,
implementations-list mailing list
implementations-list <at>
Óscar Fuentes | 10 Nov 16:29 2014

Naughty undo-tree

From time to time undo-tree behaves strangely. With a single undo step
it can undo a char insert or whole paragraphs that took several minutes
to enter. Worse, sometimes it fails while trying to redo with:

  primitive-undo: Unrecognized entry in undo list undo-tree-canary

Combined with one of those huge undo steps, this amounts to serious data

Does someone else experience these problems?

Is Evil handicapped in some way if I stop using undo-tree?