hjertnes.blog

Emacs: Bare bones config

10.10.2018 10:00

I have put together this gist

It contains what I think is a good starting point for building your own configuration. It is bare bones and does not change emacs in any shape or form. It just sets up the package manager and loads a macro called use-package. A macro is kind of like a function, that evaluates into new code instead of data.

This configration is the starting point for my own config. All it does is that it loads the package manager, adds some extra package sources so that you can have access to more or less every package you can think of, then it sets up the package manager, installs the pakcages I list if they aren’t installed, and loads use-package.

If you care at all, I think this config is a good place to start for your config, but also as a simple little snippet to study, if you want to learn a little Emacs LISP.

#

10.10.2018 06:46

Liked: Why Are Enterprises So Slow? – zwischenzugs

#

10.10.2018 06:46

Liked: Write anywhere without distractions using the new Freewrite Traveler | iMore

#

10.10.2018 06:46

Liked: A History of .NET Runtimes · Performance is a Feature!

#

10.10.2018 06:46

Liked: Go vs C#, part 2: Garbage Collection – ServiceTitan Engineering – Medium

#

10.10.2018 06:46

Liked: Go vs C#, part 1: Goroutines vs Async-Await – Alex Yakunin – Medium

Emacs Elisp

09.10.2018 10:00

Emacs LISP is a programming language, that most of Emacs is implemented in, except for a small C core. This is what you use to configure Emacs or to extend it. I’m not going to do a real introduction to it here. The Emacs LISP introduction available in Emacs or on the GNU website is a great place to start.

LISP looks weird, but it is beautiful, and you either learn to accept it or love it once you get used to it. But there are a few things you should know that I thought was useful while I was learning to code in LISP for the first time.

Everything is a function in lisp. You don’t have operators like = or !, but instead everything is a function. What you would write as functionName(param1, param2) in Java or C would be (function-name param1 param2) in LISP. It is not that different to be honest. e

It can take a while to get used to it, but I honestly love it. My dream job is to have one where I can write LISP all day.

#

09.10.2018 06:57

Liked: LukeSmithxyz/mutt-wizard: A system for automatically configuring mutt and offlineIMAP with a simple interface and safe passwords

#

09.10.2018 06:57

Liked: venantius/ultra: A Leiningen plugin for a superior development environment

#

09.10.2018 06:57

Liked: Gorilla REPL · Gorilla REPL