emacs-evil / emacs-evil/evil

clone-indirect-buffer throws an error on a region.

Open
#280 0 comments 0 reactions 0 assignees View on GitHub
bug minor
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Originally reported by: **Kris Jenkins (Bitbucket: [krisajenkins](https://bitbucket.org/krisajenkins), GitHub: [krisajenkins](https://github.com/krisajenkins))**

----------------------------------------

`clone-indirect-buffer` throws an error when a region is selected.

## Versions ##
Emacs version: `GNU Emacs 24.3.1 (x86_64-apple-darwin12.2.0) of 2013-03-14 on teneight-slave .macports.org`

Evil version: `bad90df299ee01f679452cbf76807330d447a83f`

I use the macports version of emacs in the terminal, the http://emacsformacosx.com/ version on the GUI, and get the same error with both.

## Steps to reproduce ##
`make terminal`

Enter some text.

Visually select a region (charwise or linewise).

`M-x clone-indirect-buffer`

Get the error: `Error in post-command-hook (evil-visual-post-command): (error "Marker points into wrong buffer")`

## Additional Notes ##
Evil is *fantastic*. Thanks so much for writing it. :-)

----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/280

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.