<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">On Tue, Nov 27, 2018 at 1:20 AM by <<a href="mailto:by@meetlost.com">by@meetlost.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Which text editor do you use in daily life?<br>
I really want to get me into emacs world but found not quite easy, a suggestion about emacs extensions would be very helpful.<br>
<br></blockquote><div><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">Most people start from a base of packages selected by someone else and then changes those to their own liking. Look at e.g., 'prelude', 'emacs-starter-kit', or Bodil Stokke's 'ohai-emacs' for inspiration. My own is probably not that neatly laid out[0]<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">If there is one package to recommend, it would be John Wiegley's use-package. This package allows you to manage configuration of other packages in a very streamlined fashion. If we have e.g.,</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">(use-package swiper<br> :ensure t<br> :after (ivy)<br><br> :bind<br> ("C-s" . swiper))<br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">but we don't want that, we just set ":disabled t" and then all the keybinding configuration is also gone. You can toggle packages efficiently by doing this.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">In the past, I've been really fond of:</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">* CygnusEd</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">* vi (and later vim)</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">* Acme (Plan9)</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">I also tend to like VS Code a lot. I have it installed on a windows box of mine and I use it for text editing on that machine. But most of my real work is done in Emacs nowadays. The key is to pick one editor and then learn it well, including key bindings and efficient editing techniques. Staying with one tool for a while will eventually pay off. Jumping between editors tend to reset your experience, and that is going to be detrimental in the long run.</div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default"><br></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">All that said, however, you can program in any editor, and Erlang tends to be succinct enough that it forgives even notepad.exe. This is not the case with verbose languages, such as Java, which more or less require good editor support or a full IDE.<br></div><br clear="all"></div><div style="font-family:arial,helvetica,sans-serif" class="gmail_default">[0] <a href="https://github.com/jlouis/jlouis-emacs-conf">https://github.com/jlouis/jlouis-emacs-conf</a></div><br>-- <br><div dir="ltr" class="gmail_signature">J.</div></div></div></div>