0

I do not curate my .emacs and packages very effectively. Right now I have an issue where, when working in the Ruby, I type def[space] and then magically two end lines appear. Obviously I have managed to turn on two different autocompletion systems and they are both activating. Is it ruby-mode? rails-mode? autocomplete mode? Something else?

I'm sure I can hunt down this specific case, but my general issue is that it's hard to tell what emacs features are turned on and which are activating at any given time. There's so much stuff in my mode line that I don't know where to start.

How do you diagnose such issues? Are there tools for taming an emacs config gone wild?

  • 1
    emacswiki.org/emacs/DotEmacsBankruptcy – Ista Mar 23 '15 at 18:36
  • M-x describe-mode will show you all the currently active mode. And for taming, just start with an empty init file, and retrieve, tested piece, after tested piece, your config from the old init file. – Nsukami _ Mar 24 '15 at 3:49
  • One is probably coming from smart-parens or the like. Do you have another overlapping packages installed? Like autopairs? – nanny Mar 24 '15 at 15:16
  • I found that one is coming from ruby-end-mode, I'm not sure when I ever installed that. There must be another snippet package in there too. – jmay Mar 25 '15 at 17:40

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.