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> lists.ourproject.org
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.

[1] http://stable.melpa.org
[2] http://melpa.org
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> lists.ourproject.org
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://gitorious.org/evil/evil.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> lists.ourproject.org
Héctor A. Abreu | 9 Mar 14:56 2015

Error when downloading, error when installing


I am following instructions from https://gitorious.org/evil/pages/Home#toc_0  on a fresh Raspian install, Raspberry Pi w/ Debian Wheezy, GNU Emacs 23.4.1 that comes with the distro. I am getting the following error when downloading:

pi <at> raspberrypi ~ $ sudo git clone git://gitorious.org/evil/evil.git
Cloning into 'evil'...
fatal: The remote end hung up unexpectedly

So I managed to download the alternative tarball of master (.tar.gz) but now I get the following error when I start emacs, not sure if it's because my machine is set to es_US-UTF8:

Warning (initialization): An error occurred while loading `/home/pi/.emacs':

Symbol's value as variable is void: deactivate-current-input-method-function

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the `--debug-init' option to view a complete error backtrace.

Also when I run emacs --debug-init I get the following message below, please help. Thank you in advance.

Debugger entered--Lisp error: (void-variable
  (if deactivate-current-input-method-function (deactivate-input-method))
  (if (quote nil) (activate-input-method evil-input-method) (if
deactivate-current-input-method-function (deactivate-input-method)))
  (let ((evil-state ...)) (evil-normalize-keymaps) (if (quote nil)
(activate-input-method evil-input-method) (if
deactivate-current-input-method-function ...)) (unless evil-no-display
(evil-refresh-cursor ...) (evil-refresh-mode-line ...) (when ... ...))
(cond (... ...) (t ...)) (run-hooks (quote
evil-normal-state-entry-hook)) (when (and evil-echo-state arg ...
evil-normal-state-message) (if ... ... ...)))
  (let ((evil-next-state ...) input-method-activate-hook
input-method-deactivate-hook) (evil-change-state nil) (setq evil-state
(quote normal)) (evil-add-to-alist (quote evil-previous-state-alist)
(quote normal) evil-previous-state) (let (...)
(evil-normalize-keymaps) (if ... ... ...) (unless evil-no-display ...
... ...) (cond ... ...) (run-hooks ...) (when ... ...)))
  (cond ((and ... ...) (setq evil-previous-state evil-state evil-state
nil) (let ... ... ... ... ...)) (t (unless evil-local-mode ...) (let
... ... ... ... ...)))
  funcall(evil-normal-state nil)
  (progn (funcall func (if state ... -1)))
  (if (and (functionp func) (or message ...)) (progn (funcall func ...)))
  (when (and (functionp func) (or message ...)) (funcall func (if
state ... -1)))
  (let ((func ...)) (when (and ... ...) (funcall func ...)))
  evil-change-state(normal nil)
  (progn (evil-change-state (evil-initial-state-for-buffer buffer ...) message))
  (if evil-local-mode (progn (evil-change-state ... message)))
  (when evil-local-mode (evil-change-state
(evil-initial-state-for-buffer buffer ...) message))
  (save-current-buffer (set-buffer (or buffer ...)) (when
evil-local-mode (evil-change-state ... message)))
  (with-current-buffer (or buffer (current-buffer)) (when
evil-local-mode (evil-change-state ... message)))
  (if state (evil-change-state state) (evil-change-to-initial-state buffer))
  (save-current-buffer (set-buffer (or buffer ...)) (if state
(evil-change-state state) (evil-change-to-initial-state buffer)))
  (with-current-buffer (or buffer (current-buffer)) (if state
(evil-change-state state) (evil-change-to-initial-state buffer)))
  (if evil-state nil (evil-initialize-state))
  (unless evil-state (evil-initialize-state))
  (cond ((evil-disabled-buffer-p)) (evil-local-mode (setq
emulation-mode-map-alists ...) (evil-initialize-local-keymaps) (when
... ...) (unless evil-state ...) (add-hook ... ... t t) (add-hook ...
... t t) (add-hook ... ... nil t) (add-hook ... ...) (add-hook ... ...
nil t) (add-hook ... ...)) (t (evil-refresh-mode-line) (remove-hook
... ... t) (remove-hook ... ... t) (remove-hook ... ... t)
(remove-hook ... ... t) (evil-change-state nil)))
  (let ((last-message ...)) (setq evil-local-mode (cond ... ... ...))
(cond (...) (evil-local-mode ... ... ... ... ... ... ... ... ... ...)
(t ... ... ... ... ... ...)) (run-hooks (quote evil-local-mode-hook)
(if evil-local-mode ... ...)) (if (called-interactively-p ...) (progn
nil ...)))
  (if (minibufferp) nil (evil-local-mode 1) (evil-initialize-state))
  (unless (minibufferp) (evil-local-mode 1) (evil-initialize-state))
  (if evil-mode (evil-initialize) (when evil-local-mode (evil-local-mode -1)))
  (save-current-buffer (set-buffer buf) (if evil-mode
(evil-initialize) (when evil-local-mode ...)))
  (with-current-buffer buf (if evil-mode (evil-initialize) (when
evil-local-mode ...)))
  (while --cl-dolist-temp-- (setq buf (car --cl-dolist-temp--))
(with-current-buffer buf (if evil-mode ... ...)) (setq
--cl-dolist-temp-- (cdr --cl-dolist-temp--)))
  (let ((--cl-dolist-temp-- ...) buf) (while --cl-dolist-temp-- (setq
buf ...) (with-current-buffer buf ...) (setq --cl-dolist-temp-- ...))
  (catch (quote --cl-block-nil--) (let (... buf) (while
--cl-dolist-temp-- ... ... ...) nil))
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
  (block nil (let (... buf) (while --cl-dolist-temp-- ... ... ...) nil))
  (dolist (buf (buffer-list)) (with-current-buffer buf (if evil-mode ... ...)))
  (let ((last-message ...)) (setq evil-mode (cond ... ... ...)) (if
evil-mode (progn ... ... ...) (remove-hook ... ...) (remove-hook ...
...) (remove-hook ... ...)) (dolist (buf ...) (with-current-buffer buf
...)) (run-hooks (quote evil-mode-hook) (if evil-mode ... ...)) (if
(called-interactively-p ...) (progn ... ...)))
  (setq ad-return-value (ad-Orig-evil-mode arg))
  (let (ad-return-value) (setq ad-return-value (ad-Orig-evil-mode
arg)) (if evil-mode (progn ... ... ... ...) (when ... ...)
(ad-disable-regexp "^evil") (ad-update-regexp "^evil")
(with-no-warnings ...)) ad-return-value)
  eval-buffer(#<buffer  *load*> nil "/home/pi/.emacs" nil t)  ;
Reading at buffer position 73
  load-with-code-conversion("/home/pi/.emacs" "/home/pi/.emacs" t t)
  load("~/.emacs" t t)
  #[nil " \205\264

Héctor A. Abreu
Founder & CEO
Spanish Connector L.L.C.
Atlanta, GA. USA
Phone: 404-480-9188 Ext. 8010
Skype ID: spanishconnector
Website: www.spanishconnector.com
implementations-list mailing list
implementations-list <at> lists.ourproject.org