aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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`
2018-01-09Merge pull request #1014 from justbur/no-make-temp-nameVasilij Schneidermann
Don't use make-temp-name
2018-01-09Remove evil-temp-filenameJustin Burkett
With the previous change, this function just serves to obfuscate the use of make-temp-file. It's probably clearer to use make-temp-file directly.
2018-01-09Don't use make-temp-nameJustin Burkett
The docstring says there is a race condition if you use make-temp-name then later try to write the file which is exactly what was happening in evil-test-write. I suspect this is the cause of the (random) segfaults in travis. Also disentangle the separate tests in evil-test-write.
2018-01-08Allow auxiliary maps to be intercept mapsnoctuid
2018-01-04Merge pull request #1009 from justbur/fold-subVasilij Schneidermann
Reveal hidden search terms in evil-ex-substitute
2018-01-03Fix compiler warning in previous commitJustin Burkett
2018-01-03Reveal hidden search terms in evil-ex-substituteJustin Burkett
Do this by simulating the effect of turning on reveal-mode when the substitution requires confirmation. Fixes #983
2018-01-03Merge pull request #1010 from justbur/ex-sub-final-pointVasilij Schneidermann
Don't move point following ex-substitute search
2018-01-03Merge pull request #1011 from emacs-evil/xref-find-definitionsVasilij Schneidermann
Use xref-find-definitions if possible
2018-01-03Use xref-find-definitions if possibleVasilij Schneidermann
Closes #952
2017-12-29Don't move point following ex-substitute searchJustin Burkett
The current behavior isn't consistent with vim (at least in my tests). It's also annoying to have point jump to weird locations following an aborted search. For example, with :%s/a/b/c If you abort the search with C-g before making replacements, point jumps to the beginning of the region which is the beginning of the buffer in this case. This is odd, because nothing happened but you lose your place in the buffer.
2017-12-28Merge pull request #1008 from emacs-evil/update-ex-on-initial-inputVasilij Schneidermann
If `evil-ex` is called with initial input, call `evil-ex-update`