| Age | Commit message (Collapse) | Author |
|
|
|
Steps to reproduce the issue:
- Create files `a` `b` `c` with the following content:
$ head a b c
==> a <==
b
I'm A
==> b <==
c
I'm B
==> c <==
I'm C
- Run `emancs a` to open bufer `a`
- Press `gf` to jump to bufer `b`
- Press `gf` to jump to bufer `c`
- Press `C-o` to jump back to bufer `b`
- Press `C-o` to jump back to bufer `a`
- Press `C-i` to jump foward to bufer `b`
- Press `C-i` to jump foward to bufer `c`, but the window stays with
buffer unexpectedly.
|
|
In the absence of `:group`, `defcustom` and `defface` default to
the group that was last defined in the same file.
* evil-jumps.el: Remove redundant `:group` args.
|
|
Some of these commits can be almost immediately restored,
once the time is found to do so.
Revert "Fix evil-with-delay with dynamic binding"
This reverts commit 1e9b2434264529fe0dd964b68fe89236a4abeac3.
Revert "Some cleanups"
This reverts commit 0cbd61f2de104fab16602d0418605cd0513b16f3.
Revert "Misc minor changes"
This reverts commit b291039b0c6ffc3b2f3c9f02b8ad2f0041127b12.
Revert "Merge evil-with-delay condition and body lambdas"
This reverts commit 1b56ffcc102b4c5f8b015e760b5f9cf5932622af.
Revert "(evil-with-delay): New macro, extracted from `evil-delay`"
This reverts commit 3d7faadf30016a8c20699a5fb1b5731b8a49dcd2.
Revert "Make evil-search-wrap-ring-bell work with evil-search"
This reverts commit 5e72cf5b6d57b785ea229236bb5c4638db2c9a05.
Revert "Stop the '</'> and '[/'] marks from intertwining"
This reverts commit 26db9441a13ebedb2481d7ada4c3b5e60ec22795.
Revert "Remove redundant `:group` args"
This reverts commit 6e30037fdc6a275d78d6b82d89bd8e47bcf4d4e3.
Revert "Avoid eval in evil-test-buffer"
This reverts commit 27d81ad406d2d3e07591b927357d2354ef5b5c65.
Revert "Use lexical-binding everywhere"
This reverts commit 44c7f301468c264a781be4ee8ae879fe1b457e60.
|
|
In the absence of `:group`, `defcustom` and `defface` default to
the group that was last defined in the same file.
* evil-jumps.el: Remove redundant `:group` args.
|
|
Add `evil--jumps-current-file-name` that returns `default-directory`
in `evil--jumps-push` when dired-mode is active. The
`dired-directory` can be properly re-opened by `find-file` called by
future evil-jump-backward or evil-jump-forward.
|
|
This commit fixes some issues surrounding the initialization of Evil.
First of all, since GNU Emacs 26.1 major mode hooks actually do run in
Fundamental mode buffers. In any case, manually enabling
fundamental-mode correctly instead of turn-on-evil-mode (by setting
major-mode default) successfully enables evil-local-mode, as major mode
hooks then run. The major-mode variable also never needed to be reset;
it is the job of the major mode to set it, as it starts off as
fundamental-mode regardless of its default value.
Secondly, while some hooks and variables set up by evil-local-mode were
marked as permanent, this did not matter as evil-initialize
unconditionally reinitialized evil-local-mode whenever the major mode
changed. Fixed by marking them all as permanent and not executing
evil-local-mode if it is already enabled.
Closes #1268, closes #1561
|
|
|
|
|
|
|
|
The vast majority of jumps will end up within the current opened
file/buffer, simply because usually users do more movement inside a
buffer rather than across buffers.
There is even a special case when evil-jumps-cross-buffers is set to
nil, which causes jumps never ever switch buffers.
So, let's do a small optimization, and not try to call find-file or
switch-to-buffer if we know it is unnecessary.
As a side-effect, this should also help to users to stumble less upon
https://github.com/emacs-evil/evil/issues/1504 bug (it has its own
upstream fix, but until that landed, this small optimization is known to
help as well).
|
|
|
|
|
|
|
|
All commands that change the current buffer are jump commands. This
was previously implemented using advices, but this did not catch all
all applicable commands: find-file, for example, was ignored.
Instead, use the post-command-hook to check if a command changed the
buffer.
|
|
|
|
Correctly handle the case of POS being a marker located in a buffer
other than the current one.
|
|
evil--jumps-message did not evaluate its args parameter.
|
|
|
|
|
|
This reverts commit e9391ae769bee189ef6144b8861b117d5c948a80, and
removes spurious debug messages.
|
|
This reverts commit c6086a7b0b44963071096e3ed7545f617de88915.
|
|
|
|
Version 1.2.15 was accidentally tagged as 1.12.15, and released as
such by MELPA Stable, so now I guess we have to run with it.
|
|
|
|
|
|
|
|
|
|
Previously, it would always push the current position.
|
|
Defer advice until after etags has loaded to prevent a find-tag-noselect was
redefined message.
|
|
|
|
Implement a flag for prohibiting the jump commands to switch buffers
|
|
visit)
|
|
|
|
|
|
|
|
`evil-save-echo-area` calls `message` to restore the old message are
content, which might not work if the each area consists of more than
two lines.
However, because the second argument to `push-mark` is `t`, this use
of `evil-save-echo-area` should not be necessary.
|
|
jumps/marks/registers/digraphs to use it
|
|
|
|
potential empty list
|
|
|
|
commands so that they can be compiled
|
|
hooks to be global for evil-mode
|
|
|
|
|
|
|
|
|
|
|