BREAKING CHANGE: users who are used to diff-hl displaying diffs in dired
will notice they have vanished. diff-hl's conig has been moved to :ui
vc-gutter +diff-hl (added in 27a448b). Enable it to get it back.
Ref: 27a448b04b
This adds an alternative backend to the :ui vc-gutter module, enabled
with the +diff-hl flag. In the future, I intend for diff-hl to replace
git-gutter, as it is slightly faster and depends on more native
functionality (vc.el), but it's still a little buggy. It will remain
opt-in until those issues are sorted out.
dired-virtual-revert (the revert handler for dired-virtual buffers)
simply errors out and prompts the user if they want to switch to a
"real" dired buffer. This isn't helpful the automated nature of
auto-revert, so silence it.
Overrides ranger-travel to have better mode detection for which
completion framework to use, and default to emacs built-ins instead of
ido.
In theory this should be a temporary fix until ralesi/ranger.el#236 gets
merged, but the maintenance status of ranger.el is not clear.
Fix#5509
Ref ralesi/ranger.el#236
- Remove remaining `EMACS27+` checks, since the whole codebase is
assumed to run at version 27 or above now
- Remove `EMACS27+` definition since it's no longer needed
On Windows (or systems that don't support ls),
ls-lisp-use-insert-directory-program will be nil. In these cases, strip
out non-standard switches so they don't throw an error and make dired unusuable.
Fixes#3939
`dired-create-destination-dirs` : set to "ask", non-existent directories will be
created when copying, if the user consents.
`dired-vc-rename-file` : rename file using the vc system, if present
dgi-commit-message-format set to
%h - Abbreviated commit hash
%cs - committer date, short format (YYYY-MM-DD)
%s - subject
First two are fixed-width, which makes it look neater.
It won't correctly disable on `C-c C-e`, but it does work find if
enabled manually.
Also: refactors +dired-enable-git-info-h and map! call
Relevant to #2106
There are a few workflows where having multiple buffers (e.g.
side-by-side) is preferrable, however, `dired-find-alternate-file` kills
the old buffer indiscriminately.