emacs-exordium / exordium

An Emacs configuration that will make your C++ IDE jealous.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recurring error related to git-gutter-fringe

philippe-grenet opened this issue · comments

JULIEN BIBOLLET:
12:03:38 fringe-helper-modification-func: Invalid search bound (wrong side of point)
12:03:51 This definitely is the 'error' that's breaking my copy paste in emacs
12:04:30 Stack is
Debugger entered--Lisp error: (error "Invalid search bound (wrong side of point)")
search-forward("\n" 3687 t)
fringe-helper-modification-func(#<overlay from 26482 to 27798 in mbba_electioncenter.cpp> t 3687 3687 9)
message("Mark set")
push-mark(27411)
yank(nil)
call-interactively(yank nil nil)
command-execute(yank)

This error is actually documented in the README. (setq exordium-git-gutter-non-fringe t) is the work around.

Possible solutions:

  1. Make non-fringe the default. Exordium should work out of the box.
  2. Try to fix the code of git-gutter-fringe, although it looks hairy.
  3. Use a different package such as https://github.com/dgutov/diff-hl
  4. Roll our own code.

Also see commit cc58edb