Re:A CEO's Guide to Emacs (2015)
by joshstella on Tuesday November 21, 2017 @11:29PM
(#15754239)
Author here. I didn't, but I might now. Dig this.
[ Parent
| on HN ]
Re:A CEO's Guide to Emacs (2015)
by rockmananoff on Wednesday November 22, 2017 @11:36AM
(#15758132)
Hi there. Thanks for the article. I'm a newbie when it comes to emacs config files. You said, that we will put (add-to-list 'load-path "~/.emacs.d/lisp/") in the .emacs file, but that was before we had created it. Then a few paragraphs later, when we finally do create it, you tell us to just put in
;; set up ido mode (require `ido) (setq ido-enable-flex-matching t) (setq ido-everywhere t) (ido-mode 1)
Where do we put in (add-to-list 'load-path "~/.emacs.d/lisp/") ?
Re:A CEO's Guide to Emacs (2015)
by joshstella on Wednesday November 22, 2017 @12:45PM
(#15758750)
Disclaimer: I spend very little time configuring emacs these days, as it's working well for me, and there are others around who are much better at emacs than I am. There are likely better ways to do everything than I have, but I shared what works for me.
I've got the `(add-to-list 'load-path "~/.emacs.d/lisp/")` pretty early in the file. You can put the `(require `ido) (setq ido-enable-flex-matching t) (setq ido-everywhere t) (ido-mode 1)` where you like. Basically, you just need the lines in your .emacs file - if you add the reference prior to creating the directory and populating it, you'll get an error, but nothing will break. Add the directory and do a `M-x eval-buffer` and it'll pick it up without restarting emacs. Or just restart emacs. Hope this helps. Someone will tell you a better way.