aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_config.yml34
-rw-r--r--_posts/2019-11-16-compiling-emacs.md45
2 files changed, 49 insertions, 30 deletions
diff --git a/_config.yml b/_config.yml
index 04e7f3a..e3eeb05 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,24 +1,9 @@
-# Welcome to Jekyll!
-#
-# This config file is meant for settings that affect your whole blog, values
-# which you are expected to set up once and rarely edit after that. If you find
-# yourself editing this file very often, consider using Jekyll's data files
-# feature for the data you need to update frequently.
-#
-# For technical reasons, this file is *NOT* reloaded automatically when you use
-# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
-
-# Site settings
-# These are used to personalize your new site. If you look in the HTML files,
-# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
-# You can create any custom variable you would like, and they will be accessible
-# in the templates via {{ site.myvariable }}.
title: Yet another blog
-email: gabrielg.desouza@gmail.com
-description: >- # this means to ignore newlines until "baseurl:"
+email: gabriel.giovanini@pm.me
+description: >-
Gabriel Giovanini's blog.
-baseurl: "" # the subpath of your site, e.g. /blog
-url: "https://gabrielgio.com.br" # the base hostname & protocol for your site, e.g. http://example.com
+baseurl: ""
+url: "https://gabrielgio.com.br"
twitter_username: giovaninigabs
github_username: gabrielgio
@@ -28,14 +13,3 @@ theme: minima
plugins:
- jekyll-feed
-# Exclude from processing.
-# The following items will not be processed, by default. Create a custom list
-# to override the default setting.
-# exclude:
-# - Gemfile
-# - Gemfile.lock
-# - node_modules
-# - vendor/bundle/
-# - vendor/cache/
-# - vendor/gems/
-# - vendor/ruby/
diff --git a/_posts/2019-11-16-compiling-emacs.md b/_posts/2019-11-16-compiling-emacs.md
new file mode 100644
index 0000000..93f80b8
--- /dev/null
+++ b/_posts/2019-11-16-compiling-emacs.md
@@ -0,0 +1,45 @@
+---
+layout: post
+title: "Compiling emacs from source code on fedora"
+date: 2019-11-16
+tags: ['emacs', 'emacs27', 'linux', 'fedora']
+---
+
+Lately I have been using emacs quite heavily, I started using org mode after a friend insistently
+telling me to try, got hooked and now I'm addicted on spacemacs+evil mode, very useful, I recommend it!
+I'm compiling emacs because emacs 27, which it is not available on fedora repos yet, has some serious start up
+performance improvement which I more then welcome when using spacemacs.
+
+But enough talking lets down to the business.
+
+First install the following packages:
+
+{% highlight bash %}
+sudo dnf install git autoconf make gcc texinfo gnutls-devel giflib-devel ncurses-devel libjpeg-turbo-devel giflib-devel gtk3-devel libXpm-devel
+{% endhighlight %}
+
+Then we need to clone de source code from [savannah.gnu.org](http://savannah.gnu.org/projects/emacs/)
+{% highlight bash %}
+ git clone -b master git://git.sv.gnu.org/emacs.git
+{% endhighlight %}
+
+Navigate to emacs folder that we've just cloned and execute the following steps
+
+{% highlight bash %}
+./autogen.sh
+./configure
+make -j$(nproc)
+sudo make install
+{% endhighlight %}
+
+After that you will have emacs 27 or further running on your machine. To verify the version just run `emacs --version`.
+
+### Bonus content
+For maximum awesomeness I would suggest using [spacemacs](https://www.spacemacs.org/),
+tt has a lot of features out of the box. To install:
+
+{% highlight bash %}
+git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
+{% endhighlight %}
+
+