!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

784 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org176 Servers

Load older messages


SenderMessageTime
17 Dec 2024
@me:linj.techlinj
In reply to @adis:blad.is
You can do that (finalAttrs), but it would make Emacs a very special snowflake in the nixpkgs ecosystem
I just hacked out a fix using finalAttrs with backward compatibility for the .override interface. What do you think? https://github.com/NixOS/nixpkgs/pull/365784
05:29:48
@me:linj.techlinj The exposing the Emacs derivation factory function way is more special and loses old patches. 05:32:32
@me:linj.techlinj * The exposing the Emacs derivation factory function way is more special (w.r.t. the user-facing side) and loses old patches. 05:36:42
@stephen:crabsin.spaceStephen DIs there anything special I need to do to get transparency working with i3 + picom + emacs? I have it working in my terminal fine but emacs is still completely opaque14:57:27
@stephen:crabsin.spaceStephen D I have this in my emacs config: (set-frame-parameter nil 'alpha-background 90) 14:57:37
@acidbong:envs.net@acidbong:envs.net
In reply to @stephen:crabsin.space
Is there anything special I need to do to get transparency working with i3 + picom + emacs? I have it working in my terminal fine but emacs is still completely opaque
no, picom applies transparency and stuff automagically
16:02:44
@acidbong:envs.net@acidbong:envs.net
In reply to @stephen:crabsin.space
I have this in my emacs config: (set-frame-parameter nil 'alpha-background 90)
you need also add a cons (alpha-background . 90) to default-frame-alist: https://github.com/daviwil/dotfiles/blob/4032c3949e7a459ff73a1aa39d0f864810594a55/.emacs.d/modules/dw-core.el#L76
16:19:59
@acidbong:envs.net@acidbong:envs.net but for some reason I can't apply transparency with either add-to-list 'default-frame-alist and set-frame-parameter 16:21:20
@acidbong:envs.net@acidbong:envs.net left the room.16:23:54
@zororg:matrix.orgzororg

(modify-all-frames-parameters '((alpha-background . 100))

This works for me

17:43:54
@zororg:matrix.orgzororgWhen that feature came out, I read that it was only available for emacs PGTK build (i might be wrong)17:44:52
@stephen:crabsin.spaceStephen D hm, maybe I should be using emacs-pgtk then 18:22:20
@stephen:crabsin.spaceStephen Dalas, that did not help and gave me warnings that it's not supported18:45:08
@magic_rb:matrix.redalder.orgmagic_rbits not im using it20:25:22
@magic_rb:matrix.redalder.orgmagic_rbalpha-background i mean20:25:27
@magic_rb:matrix.redalder.orgmagic_rb (add-to-list 'default-frame-alist '(alpha-background . 80)) does it for me 20:25:48
@stephen:crabsin.spaceStephen D

I have both of these:

        (set-frame-parameter nil 'alpha-background 80)
        (add-to-list 'default-frame-alist '(alpha-background . 80))

But it doesn't seem to work

20:28:12
18 Dec 2024
@obsidianchickenz:tchncs.de@obsidianchickenz:tchncs.de left the room.02:42:32
@dmiskovic:matrix.org@dmiskovic:matrix.org joined the room.07:42:36
@lokidawg:matrix.orglokidawg joined the room.09:11:34
@fuzy:matrix.org@fuzy:matrix.org removed their display name Zhengyi.12:23:42
@steeringwheelrules:tchncs.de@steeringwheelrules:tchncs.de left the room.13:53:50
19 Dec 2024
@bbigras:matrix.org@bbigras:matrix.org left the room.01:41:10
@rczb:envs.netrczb I just found that it is nil rather than Eglot that blocks the initialization of a Nix buffer. nixd takes almost no time to startup. 03:14:12
20 Dec 2024
@0xfeebdaed:matrix.org0xfeebdaed joined the room.04:03:35
21 Dec 2024
@dmiskovic:matrix.org@dmiskovic:matrix.org left the room.05:14:06
@pizzium:matrix.orgpizzium joined the room.12:41:40
@stephen:crabsin.spaceStephen D
In reply to @stephen:crabsin.space

I have both of these:

        (set-frame-parameter nil 'alpha-background 80)
        (add-to-list 'default-frame-alist '(alpha-background . 80))

But it doesn't seem to work

Here was my fix

--- a/config/common-desktop/emacs.nix
+++ b/config/common-desktop/emacs.nix
@@ -8,6 +8,7 @@

     programs.emacs = {
       enable = true;
+      package = pkgs.emacs30-gtk3;
       extraPackages = epkgs: [
         epkgs.multiple-cursors
         epkgs.ace-window
14:47:36
@sleepymonad:matrix.orgsleepymonad joined the room.21:19:10
@sleepymonad:matrix.orgsleepymonad set a profile picture.21:56:40

Show newer messages


Back to Room ListRoom Version: 6