aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-04Bump version to 1.2.141.2.14Eivind Fonn
2019-01-03Clarify docstring for evil-set-initial-stateEivind Fonn
2018-12-06Merge pull request #1111 from justbur/c-g-replaceJustin Burkett
Allow C-g to abort evil-read-key
2018-12-05Allow C-g to abort evil-read-keyJustin Burkett
This prevents evil-replace from inserting a literal C-g if C-g is typed after entering replace state.
2018-11-07fix: check value of evil-want-C-d-scroll at load timeEivind Fonn
2018-09-14fix for append from visual statedenin
2018-09-12Add Emacs 26.1 on TravisEivind Fonn
2018-09-12Support recursive minibuffers in ExNathaniel Nicandro
When `enable-recursive-minibuffers` is non-nil it is possible to enter another minibuffer at a lower editing depth from within the Ex minibuffer. Since `evil-ex-teardown` is added to the global value of `minibuffer-exit-hook`, it will only be called in the minibuffer at the lower level when it exits instead of in the Ex minibuffer since it is removed from `minibuffer-exit-hook` when it is called. But this means that `evil-ex-update` will not be properly cleaned up since it is added to the local value of `after-change-functions` in the Ex minibuffer. After completely exiting all minibuffers and then entering a minibuffer that is not an Ex minibuffer, `evil-ex-update` will still be in `after-change-functions` due to how minibuffers are named (https://www.gnu.org/software/emacs/manual/html_node/elisp/Intro-to-Minibuffers.html) and assuming that the initial Ex was entered when the recursive editing depth was 0. Instead of adding `evil-ex-teardown` to the global value of `minibuffer-exit-hook`, this commit adds it to the local value of `minibuffer-exit-hook` in the Ex minibuffer so that `evil-ex-update` is properly removed regardless of how many recursive minibuffers there are.
2018-09-12Split keybindings out from evil-integrationJames Nguyen
2018-09-11Add option to enable Evil in minibuffer(s)Alexander Shukaev
2018-09-11Make `evil-ex-replace-special-filenames' robust to remote (TRAMP) file pathsAlexander Shukaev
2018-07-23Merge pull request #1072 from emacs-evil/refine-vdiff-foldingEvgeni Kolev
Refine vdiff folding
2018-07-18Add `vdiff-3way-mode` in `evil-fold-list`Evgeni Kolev
2018-07-18Move `vdiff-mode` higher up in `evil-fold-list`Evgeni Kolev
2018-05-17Merge pull request #1050 from mssdvd/patch-1Vasilij Schneidermann
Emacs's games work better in Emacs state
2018-05-13Emacs's games work better in Emacs stateDavide Masserut
2018-05-06Fix custom types of evil-cjk variablesVasilij Schneidermann
Closes #1046
2018-04-28Merge pull request #1045 from noctuid/jumpVasilij Schneidermann
Fix evil-set-jump called with an argument
2018-04-28Fix evil-set-jump called with an argumentnoctuid
Previously, it would always push the current position.
2018-04-22Merge branch 'pr-1044'Eivind Fonn
2018-04-22Evil window selection should trigger ElDoc.Yutian Li
2018-04-17Merge pull request #1042 from joaotavora/masterVasilij Schneidermann
Better protect against modes that disable undo
2018-04-13Better protect against modes that disable undoJoão Távora
Even though 'evil-start-undo-step' does check buffer-undo-list, it is possible that the forms wrapped by 'evil-with-undo' disable undo in the meantime. In those conditions, 'evil-refresh-undo-step' will eventually error. https://github.com/joaotavora/sly/issues/156 references such an incident. * evil-common.el (evil-end-undo-step): Also check that buffer-undo-list is a list here.
2018-04-08Merge pull request #1039 from aaronjensen/use-local-variable-pVasilij Schneidermann
Use local-variable-p instead of assq
2018-04-08Use local-variable-p instead of assqAaron Jensen
assq uses more memory for some reason. See #1037
2018-03-20Merge pull request #1013 from noctuid/intercept-auxVasilij Schneidermann
Allow auxiliary maps to be intercept maps
2018-03-07Merge pull request #1029 from rgrinberg/string-match-pVasilij Schneidermann
Use string-match-p when possible
2018-03-07Use string-match-p when possibleRudi Grinberg
In some situations, we don't use the match data. So we might as well not capture it.
2018-03-06Merge pull request #1027 from wyleyr/masterVasilij Schneidermann
Respect use-hard-newlines in evil-insert-newline-{above/below}
2018-03-05Avoid using newline to respect use-hard-newlinesRichard Lawrence
Since `newline` isn't good for non-interactive use, conditionally insert `hard-newline` or simply "\n" in evil-insert-newline-{above,below}
2018-03-05Merge pull request #1025 from emacs-evil/ex-global-case-sensitivityVasilij Schneidermann
:global should take into account evil-ex-search-case
2018-03-05Respect use-hard-newlines in evil-insert-newline-{above/below}Richard Lawrence
Call `newline`, which respects use-hard-newlines.
2018-03-04:global should take into account evil-ex-search-caseEvgeni Kolev
2018-02-22Merge pull request #1022 from emacs-evil/goto-mark-jumpVasilij Schneidermann
Treat going to marks jumps
2018-02-22Merge pull request #1021 from erickgnavar/add-gx-commandVasilij Schneidermann
Add mapping gx to open an url at point
2018-02-22Merge pull request #1019 from emacs-evil/evil-ex-global-parse-command-onceVasilij Schneidermann
evil-ex-global: parse COMMAND only once, not on each matching line
2018-02-22Treat going to marks jumpsEvgeni Kolev
2018-02-21Add mapping gx to open an url at pointErick Navarro
2018-02-21evil-ex-global: parse COMMAND only once, not on each matching lineEvgeni Kolev
2018-01-26Merge pull request #985 from justbur/derived-modes-2Vasilij Schneidermann
Rework #984
2018-01-25Teach evil-initial-state about parent modesJustin Burkett
Previously this was done in evil-initial-state-for-buffer, but it's easier to recursively follow all parent branches (including those from aliases) within evil-initial-state.
2018-01-25Add tests for evil-initial-stateJustin Burkett
2018-01-25Throw error on circular major-mode parent referenceJustin Burkett
2018-01-25Use initial states of parent major modesJustin Burkett
Teach evil-initial-state to look at aliases for a mode when they exist and to handle nil for modes Search parent modes (and their aliases) for defined initial states in evil-initial-state-for-buffer. One effect is that (evil-set-initial-state 'special-mode 'motion) now makes motion state the default for all major modes that derive from special mode and don't have defaults set for them.
2018-01-24Merge pull request #1015 from hpdeifel/visual-to-primaryVasilij Schneidermann
Copy text to PRIMARY, not CLIPBOARD in visual mode
2018-01-22Add test for evil-visual-update-x-selection with killed bufferHans-Peter Deifel
2018-01-22Ensure buffer is alive in `evil-visual-update-x-selection`Hans-Peter Deifel
Since `evil-visual-update-x-selection` is ran from a timer, the buffer argument could have been killed in the meantime.
2018-01-22Merge pull request #1016 from leezu/patch-1Vasilij Schneidermann
Add notmuch-tree-mode to evil-emacs-state-modes
2018-01-18Add notmuch-tree-mode to evil-emacs-state-modesLeonard Lausen
2018-01-11Copy text to PRIMARY, not CLIPBOARD in visual modeHans-Peter Deifel
Previously, the selected text in visual mode was copied to the X CLIPBOARD, while 'normal' Emacs copies the active region to the PRIMARY selection (controlled by `select-active-regions`). The latter is also what the major X toolkits do by default. This changes evil-visual-update-x-selection to use the PRIMARY selection and also... - Uses the wrapper `evil-set-selection` instead of the obsolete `x-select-text` - Tests for `display-selections-p` instead of boundness of `x-select-text` or `ns-initialized`