LiuXiaogang | 24 May 04:35 2015

Last matching text was not replaced by %s


I isntalled evil-mode version 20150511.146 from melpa yesterday. I tried the following command line


As you can see from the attached picture, the last match was not highlighted (and not replaced when I hit Enter). I have haskell-mode installed and was editing a simple haskell file. Below is the source code. The green text was the one missed by the command.

getLines :: (Num a) => [String] -> a -> [String]
getLines [] n = []
getLines xs <at> (x:_) n
  | length xs < n = [] -- Ignore remainder
  | otherwise     = (get-line (take n xs)) : (getLines (drop n xs))

get-line :: [String] -> String
get-line [] = "\n"
get-line (x:xs) = (show x) + "," + (get-line xs)

Best regards,

implementations-list mailing list
implementations-list <at>
William Hatch | 28 Apr 05:26 2015

weird behavior with evil visual

Hello, I hope this is the right list for this.

I just made an emacs plugin to repeat motions -- I just wrap motion 
functions into a new repeatable version.  Upon initial testing it worked 
great, but when used in evil-mode with operators or in visual state I get 
weird one-off behavior.  For example, in normal state my 
repeatable-evil-find-char goes to the desired character, but in 
operator-pending state or visual state it goes to one character before 
that.  My repeatable-evil-find-char-to goes to the character before the 
target character in normal state, but two characters before it in visual or 
operator state.  Also my repeatable-evil-next-line doesn't work at all in 
visual line state.  Can anyone point me to why this might be happening?  
I'm aware that there is a macro in evil called evil-define-motion, but I 
haven't had time to read through and understand it all, so I thought a 
quick probe on a mailing list might save me a lot of time if I were barking 
up the wrong tree.

The source of my plugin is here:

Thanks is advance for any advice.
Nancy Polar | 14 Apr 11:10 2015

Spam: Re: Finance Your Project

Att: Sir/Madam,
We are private investors specializing in  Joint Venture Partnership/Equity contributions/loans for project of various types to help individuals and organization reach their financial objectives. We customize structured financial solutions for a select group of clientele and investors. Our commitment to client services and innovative approach to financial problem solving.
If you are interested in our services, kindly provide us with the following information:
    * Name of Applicant: ..........
    * Company name: ...............
    * Address/Location: ...........
    * Tel: ........................
    * Amount Requested: ...........(If JV/Loan)
    * Finance Duration: ...........
    * Project name: ...............
Nancy Polar
Secretary to Adam Golding (Private Investor)
This email is intended for the addressee(s) only, and may contain confidential or privileged information. Unauthorised use of this information, or distribution, copying or other dissemination is strictly prohibited. If you have received this email in error, please delete it immediately.

implementations-list mailing list
implementations-list <at>
Frank Fischer | 8 Apr 23:29 2015

[ANN] Evil version 1.1.0 released

Evil version 1.1.0 has been released.

This is the long waited new stable release of Evil, which is just the
current development (master) branch. The new release contains many
changes and bug fixes that accumulated over the past few months. Because
most users have been using the development branch anyway it should be
reasonably stable (plus it is probably the better choice for Emacs 24.3
and above due to some nasty bugs on the old stable release).

The stable version can be installed from MELPA stable [1].
The latest development version is available from MELPA [2].

Enjoy, the Evil developers.

Dacoda Strack | 5 Apr 19:45 2015

evil-mode: python surround string with function

I've just started exploring evil-mode and was wondering about the
behaviour of the evil-surround package when it comes to surrounding lines
with functions. For example, if I have some string that I've written

"Hello world!"

and I want to surround it with a "print" function, I thought I'd be able
to do =yssfprint<RET>=, but I wind up getting the following: 

"Hello world!")

I'm not sure if it's because =yss= selects the linebreak before the
quotation mark or quite what's going on.

Would someone be so kind as to elucidate the situation for a real
vim/evil-mode newbie?
Ernst de Hart | 24 Mar 20:36 2015

Make Y consistent like with D

Hello Evil users, 

The key 'D' in normal mode, deletes the line after the cursor. 

I would like to make the key 'Y' consistent with this. So I wrote a function for this, after finding out the command that's called after every key action with "C-h k". 

So, I came with this:

        (defun my-make-Y-key-working ()
            (evil-yank BEG END)

But it gives me an error on evil-yank, he don't accept BEG END as input. The evil-yank command requires parameters on the place of BEG and END, but I couldn't figure out what the input should be then. 

I found nothing in the documentation about this. 

Next to solving the issue with BEG END, what would be your suggestion in which way could I figure such problems out in the future? Thanks in advance for your reply. It's appreciated. 

implementations-list mailing list
implementations-list <at>
max6166 | 19 Mar 16:44 2015

evil-mode: How to automatically switch to insert mode after certain commands?

There are many emacs commands after which I almost always immediately want
to insert text. This often requires entering insert mode after the initial

Is there any way to instead enter insert mode automatically after certain

For example, in org-mode, a user will usually enter some text immediately
after the commands org-insert-heading or org-capture. 

Though this only requires typing <i>, the situation arises so many times in
a day that I find myself wishing I could eliminate that extra key press.

What would be the recommended way to do this? 

Incidentally, I am also using evil-org-mode. 

Óscar Fuentes | 18 Mar 21:30 2015

Gitorius repo not accessible?

For several days, communicating with the gitorius git repo fails with

$ git clone git://
Cloning into 'evil'...
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Óscar Fuentes | 18 Mar 18:54 2015

ace-jump slow when combined with somee vim commands

When I execute M-x evil-ace-jump-char-mode [CHAR] it instantaneously
highlights the candidates. However, if I do (in normal mode)

d M-x evil-ace-jump-char-mode [CHAR]

it is very slow. On a netbook I can see how each candidate is
highlighted individually, taking approx. two seconds when there are
about 20 candidates. The slowdown is observable on a workstation-class
machine too, but not as evident/annoying.

What can cause this? Any ideas for investigating the problem?
Eric S Fraga | 17 Mar 15:46 2015

slow delete operation as of today


I upgraded my emacs today.  I tend to follow the emacs snapshot on
ubuntu and I upgraded to the 201503121917 version.

Whenever I upgrade emacs, I recompile various packages and take the
opportunity to update them as well.  One of these packages is evil.  See
signature for version details.

I now find that deleting text takes an inordinate amount of time.  Using
ELP to profile, I see the following having asked to delete two lines (dd
twice in a row):

| evil-operator-range     2           3.949455058   1.974727529
| evil-motion-range       2           3.3242579269  1.6621289634
| evil-read-motion        2           0.597503132   0.298751566
| evil-keypress-parser    2           0.597473732   0.298736866
| evil-change-state       12          0.0285186659  0.0023765555
| evil-operator-state     4           0.0262815     0.006570375
| evil-refresh-cursor     26          0.0215003230  0.0008269355
| evil-set-cursor         34          0.0207609810  0.0006106170
| evil-half-cursor        2           0.0205869320  0.0102934660
| evil-delete             2           0.007644156   0.003822078

I asked to instrument both evil- and org- as this was an org document.

4 seconds to delete two lines seems rather excessive.  Deleting single
characters (x) also takes a long time.

The document *is* large (300 kB) but not that large...  and everything
was fine before the upgrades.  Moving around in the text is fine as is
jumping by line/sentence/paragraph.

Any suggestions before I downgrade both?

: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs + Ma Gnus v0.12 + evil-git-bdeb602
: BBDB version 3.1.2 (2014-05-06 11:45:08 -0500)
Hong Xu | 11 Mar 21:58 2015

How can I make auto completion in ex mode case insensitive?

Hi all,

Is there a way to make the file name auto completion like ":e", ":r"
case insensitive in evil?

implementations-list mailing list
implementations-list <at>