From ae4111f06cf265b09bfb78b7cb0f696343960858 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Mon, 16 Aug 2021 13:39:26 -0400 Subject: [PATCH] Re-prioritize --- README.org | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.org b/README.org index bb0d083..1faa963 100644 --- a/README.org +++ b/README.org @@ -1638,6 +1638,22 @@ It's somtimes desirable to have customization that takes effect during Emacs sta <> #+END_SRC +** Native Comp + +#+NAME: emacs-native-comp-package +#+BEGIN_SRC nix +pkgs.emacsGcc; +#+END_SRC + +Native Comp, also known as GccEmacs, refers to the ~--with-native-compilation~ configuration option when building GNU/Emacs[fn:2]. It adds support for compiling Emacs Lisp to native code using ~libgccjit~. All of the Emacs Lisp packages shipped with Emacs are native-compiled, providing a noticable performance iomprovement out-of-the-box. + +#+NAME: emacs-native-comp-elisp +#+BEGIN_SRC emacs-lisp +;; Silence warnings from packages that don't support `native-comp'. +(setq comp-async-report-warnings-errors nil ;; Emacs 27.2 ... + native-comp-async-report-warnings-errors nil) ;; Emacs 28+ ... +#+END_SRC + ** Disable UI Emacs[fn:2] has been around since the 1980s, and it's painfully obvious when you're greeted with the default user interface. Disable some unwanted features to clean it up, and bring the appearance to something closer to a modern editor. @@ -1662,22 +1678,6 @@ Emacs[fn:2] has been around since the 1980s, and it's painfully obvious when you (add-to-list 'default-frame-alist '(fullscreen . maximized)) #+END_SRC -** Native Comp - -#+NAME: emacs-native-comp-package -#+BEGIN_SRC nix -pkgs.emacsGcc; -#+END_SRC - -Native Comp, also known as GccEmacs, refers to the ~--with-native-compilation~ configuration option when building GNU/Emacs[fn:2]. It adds support for compiling Emacs Lisp to native code using ~libgccjit~. All of the Emacs Lisp packages shipped with Emacs are native-compiled, providing a noticable performance iomprovement out-of-the-box. - -#+NAME: emacs-native-comp-elisp -#+BEGIN_SRC emacs-lisp -;; Silence warnings from packages that don't support `native-comp'. -(setq comp-async-report-warnings-errors nil ;; Emacs 27.2 ... - native-comp-async-report-warnings-errors nil) ;; Emacs 28+ ... -#+END_SRC - ** Backup Files Emacs[fn:2] makes a backup for a file only the first time the file is saved from a buffer. No matter how many times the file is subsequently written to, the backup remains unchanged. For files managed by a version control system, backup files are redundant since the previous versions are already stored.