diff --git a/SwarselSystems.org b/SwarselSystems.org index 3f04426..53a222f 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -5772,6 +5772,15 @@ TODO: Non-NixOS machines (=sp3) should not use these by default, but instead the categories = [ "Application"]; }; + emacsclient-newframe = { + name = "Emacs (Client, New Frame)"; + genericName = "Emacs (Client, New Frame)"; + exec = "emacsclient -r %u"; + icon = "emacs"; + terminal = false; + categories = [ "Development" "TextEditor"]; + }; + }; #+end_src diff --git a/index.html b/index.html index 3eb998d..34cc623 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - + SwarselSystems: NixOS + Emacs Configuration @@ -387,7 +387,7 @@

-This file has 42235 words spanning 11010 lines and was last revised on 2024-07-17 04:32:19 +0200. +This file has 42349 words spanning 11030 lines and was last revised on 2024-07-17 12:38:46 +0200.

@@ -437,7 +437,7 @@ This section defines my Emacs configuration. For a while, I considered to use ry

-My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2024-07-17 04:32:19 +0200) +My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2024-07-17 12:38:46 +0200)

@@ -6934,6 +6934,15 @@ xdg.desktopEntries = { categories = [ "Application"]; }; + emacsclient-newframe = { + name = "Emacs (Client, New Frame)"; + genericName = "Emacs (Client, New Frame)"; + exec = "emacsclient -r %u"; + icon = "emacs"; + terminal = false; + categories = [ "Development" "TextEditor"]; + }; + }; @@ -7807,7 +7816,7 @@ programs.waybar = {

3.3.20. Firefox

-Setting up firefox along with some policies that are important to me (mostlu disabling telemetry related stuff as well as Pocket). I also enable some integrations that enable super useful packages, namely tridactyl and browserpass. +Setting up firefox along with some policies that are important to me (mostly disabling telemetry related stuff as well as Pocket). I also enable some integrations that enable super useful packages, namely tridactyl and browserpass.

@@ -10152,16 +10161,27 @@ This package allows for Ido-like directory navigation.

  • orderless

    -The completion styles that I chose here can possibly still be improved. I need to spend more time on this. +When first installing orderless, I often times faced the problem, that when editing long files and calling consult-line, Emacs would hang when changing a search term in the middle (e.g. from servicse.xserver to servic.xserver in order to fix the typo). The below orderless rules have a more strict matching that has a positive impact on performance.

     (use-package orderless
    -  :custom
    -  (completion-styles '(orderless flex basic))
    -  (completion-category-overrides '((file (styles . (partial-completion)))
    -                                   (eglot (styles orderless)))))
    +  :config
    +  (orderless-define-completion-style orderless+initialism
    +    (orderless-matching-styles '(orderless-initialism orderless-literal orderless-regexp)))
    +  (setq completion-styles '(orderless)
    +        completion-category-defaults nil
    +        completion-category-overrides
    +        '((file (styles partial-completion orderless+initialism))
    +          (buffer (styles orderless+initialism))
    +          (consult-multi (styles orderless+initialism))
    +          (command (styles orderless+initialism))
    +          (eglot (styles orderless+initialism))
    +          (variable (styles orderless+initialism))
    +          (symbol (styles orderless+initialism)))
    +        orderless-matching-styles '(orderless-literal orderless-regexp)))
    +
     
     
    @@ -12949,7 +12969,7 @@ My laptop, sadly soon to be replaced by a new one, since most basic functions ar

    Author: Leon Schwarzäugl

    -

    Created: 2024-07-17 Mi 04:32

    +

    Created: 2024-07-17 Mi 12:38

    Validate

    diff --git a/profiles/common/home.nix b/profiles/common/home.nix index ac254a6..92ec300 100644 --- a/profiles/common/home.nix +++ b/profiles/common/home.nix @@ -477,6 +477,15 @@ xdg.desktopEntries = { categories = [ "Application"]; }; + emacsclient-newframe = { + name = "Emacs (Client, New Frame)"; + genericName = "Emacs (Client, New Frame)"; + exec = "emacsclient -r %u"; + icon = "emacs"; + terminal = false; + categories = [ "Development" "TextEditor"]; + }; + }; home.file = {