<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I got it!</div><div class=""><br class=""></div><div class="">Here is my working Emacs configuration for Erlang development:</div><div class="">====</div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(215, 57, 30); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">;; for delight                                                                                                                  </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(208, 59, 255); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures" class="">use-package</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #34a1a1" class="">delight</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(125, 124, 166); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">  </span><span style="font-variant-ligatures: no-common-ligatures" class="">:ensure</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> t)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(215, 57, 30); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">;; for flycheck                                                                                                                 </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(208, 59, 255); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures" class="">use-package</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #34a1a1" class="">flycheck</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(125, 124, 166); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">  </span><span style="font-variant-ligatures: no-common-ligatures" class="">:ensure</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> t</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(125, 124, 166); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">  </span><span style="font-variant-ligatures: no-common-ligatures" class="">:delight</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  </span><span style="font-variant-ligatures: no-common-ligatures; color: #7d7ca6" class="">:config</span><span style="font-variant-ligatures: no-common-ligatures" class=""> (global-flycheck-mode))</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(215, 57, 30); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">;; for ivy-erlang-complete                                                                                                      </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(52, 161, 161); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures; color: #d03bff" class="">use-package</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures" class="">ivy-erlang-complete</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(125, 124, 166); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">  </span><span style="font-variant-ligatures: no-common-ligatures" class="">:ensure</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> t)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(215, 57, 30); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">;; for company-erlang: auto complete                                                                                            </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">(add-hook 'erlang-mode-hook #'company-erlang-init)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255); min-height: 13px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class=""></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(215, 57, 30); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">;; for erlang                                                                                                                   </span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(208, 59, 255); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(</span><span style="font-variant-ligatures: no-common-ligatures" class="">use-package</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> </span><span style="font-variant-ligatures: no-common-ligatures; color: #34a1a1" class="">erlang</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(175, 55, 130); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">  </span><span style="font-variant-ligatures: no-common-ligatures; color: #7d7ca6" class="">:load-path</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> (</span><span style="font-variant-ligatures: no-common-ligatures" class="">“/<PATH>/lib/erlang/lib/tools-3.2.1/emacs"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  </span><span style="font-variant-ligatures: no-common-ligatures; color: #7d7ca6" class="">:hook</span><span style="font-variant-ligatures: no-common-ligatures" class=""> (after-save . ivy-erlang-complete-reparse)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(175, 55, 130); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">  </span><span style="font-variant-ligatures: no-common-ligatures; color: #7d7ca6" class="">:custom</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> (ivy-erlang-complete-erlang-root </span><span style="font-variant-ligatures: no-common-ligatures" class="">“/<PATH>/lib/erlang"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  </span><span style="font-variant-ligatures: no-common-ligatures; color: #7d7ca6" class="">:config</span><span style="font-variant-ligatures: no-common-ligatures" class=""> (ivy-erlang-complete-init)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">  </span><span style="font-variant-ligatures: no-common-ligatures; color: #7d7ca6" class="">:mode</span><span style="font-variant-ligatures: no-common-ligatures" class=""> ((</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"\\.erl?$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"rebar\\.config$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"relx\\.config$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"sys\\.config\\.src$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"sys\\.config$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"\\.config\\.src?$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(175, 55, 130); background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures" class="">"\\.config\\.script?$"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"\\.hrl?$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"\\.app?$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"\\.app.src?$"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">     (</span><span style="font-variant-ligatures: no-common-ligatures; color: #af3782" class="">"\\Emakefile"</span><span style="font-variant-ligatures: no-common-ligatures" class=""> . erlang-mode)))</span></div></div><div class="">====</div><div class="">The trick is put ivy-erlang-complete after flycheck. A sequential issue :-)</div><div class=""><br class=""></div><div class="">The auto completion works after I use gsed(GNU sed) instead of  default sed(BSD sed) on macOS.</div><div class=""><br class=""></div><div class="">Yao</div><div class=""><br class=""></div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">在 2019年11月4日,23:44,by <<a href="mailto:by@meetlost.com" class="">by@meetlost.com</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="auto" class=""><div dir="ltr" class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div dir="ltr" class="">Yes, same configuration may behave differently because of different package versions.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">A working package does not mean it will keep working in future updates. The documentation and change log become significant in this case.</div><div dir="ltr" class=""><br class=""></div><div dir="ltr" class="">Yao</div><div dir="ltr" class=""><br class=""><blockquote type="cite" class="">在 2019年11月4日,23:16,Tristan Sloughter <<a href="mailto:t@crashfast.com" class="">t@crashfast.com</a>> 写道:<br class=""><br class=""></blockquote></div><blockquote type="cite" class=""><div dir="ltr" class=""><title class=""></title><div class="">Hey, that is from my config in adoptingerlang but I don't have it currently separated out and published. Though I did do that at one point to test this and hopefully can find that and I will upload that file and link to it from adoptingerlang.<br class=""></div><div class=""><br class=""></div><div class="">I don't have a good answer for you right now, sadly when I see errors like that I tend to just keep refershing the Emacs and package registry and updating the packages... sometimes having to uninstall and reinstall packages and eventually it works.<br class=""></div><div class=""><br class=""></div><div class="">Emacs package management is not the best.. hehe, as far as I know you can't specify a version of a package and can't lock dependencies.<br class=""></div><div class=""><br class=""></div><div class="">Tristan<br class=""></div><div class=""><br class=""></div><div class="">On Mon, Nov 4, 2019, at 06:30, by wrote:<br class=""></div><blockquote type="cite" id="qt" class=""><div class="">Hi,<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">I followed the guide with link (From <span class="qt-">Adopting Erlang</span><span class="qt-">): </span><a class="qt-" href="https://adoptingerlang.org/docs/development/setup/">https://adoptingerlang.org/docs/development/setup/</a><br class=""></div><div class="qt-">Seems "<span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Menlo" class="font"><span style="font-size:11px" class="size">ivy-erlang-complete" is not properly configured.</span></span></span><br class=""></div><div class="qt-"><br class=""></div><div class="qt-">Here is some environment information:<br class=""></div><div class="qt-">Erlang version: Erlang/OTP 22.1.4<br class=""></div><div class="qt-">Emacs version: <span class="qt-">GNU Emacs 25.3.1</span><br class=""></div><div class="qt-"><br class=""></div><div class="qt-">And here is my related ~/.emacs configuration for Erlang:<br class=""></div><div class="qt-">====<br class=""></div><div class="qt-"><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(215, 57, 30);background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">;; for ivy-erlang-complete                                                                                                      </span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(52, 161, 161);background-color:rgb(255, 255, 255);"><span style="" class="colour">(</span><span style="color:rgb(208, 59, 255)" class="colour">use-package</span><span style="" class="colour"> </span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">ivy-erlang-complete</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(125, 124, 166);background-color:rgb(255, 255, 255);"><span style="" class="colour">  </span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">:ensure</span><span style="" class="colour"> t)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);min-height:13px;"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"></span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(215, 57, 30);background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">;; for delight                                                                                                                  </span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(208, 59, 255);background-color:rgb(255, 255, 255);"><span style="" class="colour">(</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">use-package</span><span style="" class="colour"> </span><span style="color:rgb(52, 161, 161)" class="colour">delight</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(125, 124, 166);background-color:rgb(255, 255, 255);"><span style="" class="colour">  </span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">:ensure</span><span style="" class="colour"> t)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);min-height:13px;"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"></span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(215, 57, 30);background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">;; for flycheck                                                                                                                 </span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(208, 59, 255);background-color:rgb(255, 255, 255);"><span style="" class="colour">(</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">use-package</span><span style="" class="colour"> </span><span style="color:rgb(52, 161, 161)" class="colour">flycheck</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(125, 124, 166);background-color:rgb(255, 255, 255);"><span style="" class="colour">  </span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">:ensure</span><span style="" class="colour"> t</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(125, 124, 166);background-color:rgb(255, 255, 255);"><span style="" class="colour">  </span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">:delight</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">  </span><span style="color:rgb(125, 124, 166)" class="colour">:config</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> (global-flycheck-mode))</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);min-height:13px;"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"></span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(215, 57, 30);background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">;; for erlang                                                                                                                   </span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(208, 59, 255);background-color:rgb(255, 255, 255);"><span style="" class="colour">(</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">use-package</span><span style="" class="colour"> </span><span style="color:rgb(52, 161, 161)" class="colour">erlang</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(175, 55, 130);background-color:rgb(255, 255, 255);"><span style="" class="colour">  </span><span style="color:rgb(125, 124, 166)" class="colour">:load-path</span><span style="" class="colour"> (</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">“/<PATH>/lib/erlang/lib/tools-3.2.1/emacs"</span><span style="" class="colour">)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">  </span><span style="color:rgb(125, 124, 166)" class="colour">:hook</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> (after-save . ivy-erlang-complete-reparse)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(175, 55, 130);background-color:rgb(255, 255, 255);"><span style="" class="colour">  </span><span style="color:rgb(125, 124, 166)" class="colour">:custom</span><span style="" class="colour"> (ivy-erlang-complete-erlang-root </span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">"/<PATH>/lib/erlang"</span><span style="" class="colour">)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">  </span><span style="color:rgb(125, 124, 166)" class="colour">:config</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> (ivy-erlang-complete-init)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">  </span><span style="color:rgb(125, 124, 166)" class="colour">:mode</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> ((</span><span style="color:rgb(175, 55, 130)" class="colour">"\\.erl?$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"rebar\\.config$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"relx\\.config$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"sys\\.config\\.src$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"sys\\.config$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"\\.config\\.src?$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(175, 55, 130);background-color:rgb(255, 255, 255);"><span style="" class="colour">     (</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">"\\.config\\.script?$"</span><span style="" class="colour"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"\\.hrl?$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"\\.app?$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"\\.app.src?$"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)</span><br class=""></div><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">     (</span><span style="color:rgb(175, 55, 130)" class="colour">"\\Emakefile"</span><span class="qt-" style="font-variant-ligatures:no-common-ligatures;"> . erlang-mode)))</span><br class=""></div></div><div class="qt-">====<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">When I restart my emacs with above configuration, I got error message as below:<br class=""></div><div class="qt-">====<br class=""></div><div class="qt-"><div class="qt-" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;font-size:11px;line-height:normal;font-family:Menlo;background-color:rgb(255, 255, 255);"><span class="qt-" style="font-variant-ligatures:no-common-ligatures;">Error (use-package): erlang/:config: Symbol’s function definition is void: ivy-erlang-complete-setup-flycheck</span><br class=""></div></div><div class="qt-">====<br class=""></div><div class="qt-">I have no clue about what happened.<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">An example ~/.emacs file related to Erlang would be very helpful.<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">I searched it with Google, but seems no typical configuration demo/example exist for configuring Emacs with Erlang.<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">By the way, I want to ask: what kind of editor configuration do you use to develop Erlang every day?<br class=""></div><div class="qt-"><br class=""></div><div class="qt-">Yao<br class=""></div></blockquote><div class=""><br class=""></div></div></blockquote></div></div></div></blockquote></div><br class=""></body></html>