0

I am using orgmode and after I put my files under git I see some lines that appear next to lines that have changed. They are red, green or blue.

I would like to disable this but have no idea how they are called.

http://i.imgur.com/qYA8Bid.png

  • 1
    Sounds like you are using git-gutter github.com/syohex/emacs-git-gutter – Colin Bell Jul 10 '15 at 0:42
  • i am not. maybe something else? – Jason Mirk Jul 10 '15 at 1:43
  • Maybe somebody would recognize it if you posted a screenshot? – erikstokes Jul 10 '15 at 2:20
  • 3
    Press M-x describe-mode RET and look in the help buffer to see what minor modes are active, along with the major mode -- those will likely give you a clue as to what is causing the bitmap images to be displayed in the left fringe. In terms of starting with a flow-blown configuration such as prelude, there will undoubtedly be a plethora of stuff that isn't normally active by default but is nevertheless set by the prelude package -- such that it will take a long time before you become familiar with all the non-default settings. – lawlist Jul 10 '15 at 4:36
  • 3
    Looks like github.com/dgutov/diff-hl#diff-hl-mode – npostavs Jul 10 '15 at 5:46
5

The highlighting is performed by diff-hl-mode from the diff-hl package, and can be toggled with M-x diff-hl-mode, or unconditionally disabled by passing a negative argument (M-- M-x diff-hl-mode interactively, (diff-hl-mode -1) from lisp) like most minor modes.


To find out yourself which minor mode is causing the effect you could use f1 m (describe-mode) and look in the help buffer to see what minor modes are active, along with the major mode -- those will likely give you a clue as to what is causing the bitmap images to be displayed in the left fringe.

The manage-minor-mode package could also be helpful to debug cases like these.

  • It would also be helpful to suggest how the OP could have figured this out by himself.. by reviewing which minor modes are active and disabling them one by one. manage-minor-mode package could turn out to be helpful to debug cases like these. – Kaushal Modi Jul 10 '15 at 14:13
  • @lawlist & kaushalmodi: I've added your comments to the answer and made it community wiki so feel free to edit it as you like. – npostavs Jul 10 '15 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.