Diff hl is based on emacs vc.
Git gutter emacs.
Git gutter el uses it for calculating character length of the signs.
But char width does not work for some full width characters.
Run m x package install git gutter.
Emacs comes with a generic version control front end called versioncontrol or vc.
Emacs has char width function which returns character width.
You add following s exp in your configuration file emacs d init el or emacs.
If you want to use git gutter for files in git repository.
For example if vc supports new vcs which is greater than git diff hl works with such vcs with no code modification.
While diff hl benefits from vc.
Emacs has char width function which returns character width.
Just try it because git gutter works fine in the recent stable emacs.
In terms of emacs ecosystem a year without commits means not too much.
You could really care about state of a emacs package if you see 2014 year or even older.
So you should explicitly specify window width if you use full width character.
But char width does not work for some full width characters.
This is a good choice if you use other vcs besides git or have no desire to use features unique to git.
You can not use both git gutter el and git gutter fringe el.
Git gutter fringe does not use vc.
In contrast git gutter fringe eldoes not work in tty frame emacs nw but git gutter elcan work in tty frame.
So you should explicitly specify window width if you use full width character.
Git gutter el uses it for calculating character length of the signs.
Of course there s some things which can be improved but people have real life and other things to do so be kind.
You can use git gutter fringe even if you disable vc mode.
Emacs comes with a front end for git supporting a large subset of git s functionality.
Git gutter eldoes not work with linum modebut git gutter fringe elcan work with linum mode.
Git gutter el provides global minor mode global git gutter mode and minor mode git gutter mode.
Subscribe subscribed unsubscribe 6 17k.
Unsubscribe from mike zamansky.
It contains patches that haven t yet been added to git gutter changelog.
Using emacs 42 git gutter and timemachine mike zamansky.