Giter Site home page Giter Site logo

dot-emacs's Introduction

Tested with emacs 27.2 and 29.0.50 (emacs-version).

To try the configuration above, clone this repository in your home folder (~):

cd
git clone [email protected]:bfonta/dot-emacs.git

and replace the contents of your ~/.emacs file by:

(setq user-emacs-directory "~/dot-emacs/")
(load-file "~/dot-emacs/init.el")

You should now be able to open emacs. During initialization you might be required to accept the download of some packages and data, depending on your system. Ocasionally one gets an error similar to “Package not found”; please run package-refresh-contents and reopen emacs.

Issues might happen! Keep a backup of your files just in case, and let me know if you find some issue/bug.

It should look as follows:

screenshot.png

Disclaimer

I did not participate in the development of the following packages, included in this repository (at most I applied small modifications):

Let me know if I omitted some package by mistake.

GNU Emacs Installation

Emacs is mirrored in GitHub, but the original git repository can be found here.

  • Gcc Emacs: compiles elisp to native code, providing a performance improvement. Simply add the --with-native-compilation flag when building emacs (./configure =--with-native-compilation ...).

First start by installing required packages which might be required depending on the options passed to the ./configure step.

sudo apt install build-essential ...

Version 29

This version notably offers pixel-scroll-precision-mode for the first time, which provides a smooth scrolling experience when scrolling with the mouse.

It also comes with pure GTK support, which might be good if your system supports Wayland (from my experience Wayland is still unstable on Ubuntu, possibly due to the lack of good support from Nvidia). Type echo $XDG_SESSION_TYPE in your terminal to know which one you are currently using.

As of 6th August 2022 the latest tag points to emacs-28.1.91; indeed, the latest release available from the official website is 28.1. However, the README file mentions “This directory tree holds version 29.0.50 of GNU Emacs”. We thus can access version 29 by building it from the source code in its master branch.

The following steps show how to install emacs-29, storing it in a folder with the same name. Complete information is also available from the INSTALL file coming with the source code.

git clone git://git.sv.gnu.org/emacs.git emacs29
cd emacs29/
./autogen.sh
# './configure --help' displays all building options
./configure --with-native-compilation \
			--with-imagemagick \
			--with-json \
			--with-small-ja-dic \
			--with-pgtk
# You might receive an error due to missing libraries. If not, compile:
make -j8
make install

Sources

The following sources were consulted on 6th August 2022:

dot-emacs's People

Contributors

bfonta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.