I have a very annoying bug in my isearch behaviour; the buffer gets indented (modified) when I enter the first letter during isearch. I've checked all hooks named isearch.*hook but I can't find anything that differs from Vanilla Emacs. I think it only happens in auto-indent-mode. I need ideas on how to track down such bugs and this one in particular.

  • 1
    Does it happen when you start emacs without your init file (emacs -Q)?
    – Dan
    Jan 30 '17 at 17:36
  • 1
    What @Dan said. If the answer is no, then recursively bisect your init file to find the culprit. You can use command comment-region to comment (or with C-u uncomment) a region of text.
    – Drew
    Jan 30 '17 at 19:17
  • Nope, @Dan, it only happens together with my add-ons.
    – Nordlöw
    Jan 30 '17 at 20:26
  • 1
    Then it's something in your init file, I'm afraid. Your best bet is to do as @Drew suggests: recursively bisect your init file until you isolate the code that's giving you the problem.
    – Dan
    Jan 30 '17 at 20:31
  • 2
    how do I troubleshoot emacs may be helpful
    – Tyler
    Jan 30 '17 at 22:24

Your Answer

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

Browse other questions tagged or ask your own question.