!oavAASPiuniBTIFgez:matrix.org

Emacs - System Crafters

403 Members
Chat about everyone's favorite text editor, Emacs! Check out the "official" room at #emacs:matrix.org too. Join our space for other System Crafters related rooms: #systemcrafters-space:matrix.org42 Servers

Load older messages


SenderMessageTime
16 Jan 2025
@dcunit3d:matrix.orgDCi mean neovim20:51:19
@dcunit3d:matrix.orgDCorg-mode can require a ton of extra configuration, so if you establish (early on) where you plan to use it and where you don't, then configuring Emacs or Doom Emacs becomes quite a bit simpler20:52:26
@dcunit3d:matrix.orgDC do you plan on using evil-mode is another configuration "inflection point" 20:52:55
@spyjetfayed:matrix.orgspyjetfayedEvil-mode does come to me naturally. I have used doom Emacs but I found it difficult to configure, which brought me to Emacs from scratch tbh.20:53:38
@dcunit3d:matrix.orgDC

well if you customize these variables, and ensure they're loaded by the systemd service file, then you can run doom emacs while working on another profile as well

EMAIL=myemail@gmail.com
SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
EMACS=/home/me/.guix-extra-profiles/emacsprofile/emacsprofile/bin/emacs
EMACSDIR=/home/me/.emacs.doom
DOOMDIR=/home/me/.doom.d
EMACSSOCKET=/run/users/1000/emacs/doom
21:00:18
@dcunit3d:matrix.orgDC so the --fg-daemon=mysock arg to emacs will start a server with a socket at /run/user/1000/emacs/mysock, which you can connect to with emacsclient -s /run/user/1000/emacs/mysock 21:01:58
@dcunit3d:matrix.orgDCso, that helps when exploring small/confined config changes or when maintaining side-by-side configurations21:02:23
@dcunit3d:matrix.orgDCthat seems like maybe a bit much for a beginner, but IMO, having only one profile can be a major blocker21:02:46
@spyjetfayed:matrix.orgspyjetfayedYea actually I might use this. That way I can use doom for my regular work and separate profile to learn to customise my own.21:04:06
@spyjetfayed:matrix.orgspyjetfayedHopefully it won't be too much trouble with openrc21:04:38
@dcunit3d:matrix.orgDCit's as simple as writing a service21:10:36
@dcunit3d:matrix.orgDCthat's how i normally install doom. 21:12:43
@dcunit3d:matrix.orgDC however, when you're running bin/doom to build, upgrade, etc, you have to ensure that the correct emacs binary is running 21:13:22
@dcunit3d:matrix.orgDCif you've just used your package manager to install emacs (instead of nix/guix or a custom build from source), then you probably don't need to worry about it21:13:51
@dcunit3d:matrix.orgDC sorry, this is quickly getting to more advanced stuff. the emacs --init-directory=$EMACSDIR parameter is a big step up from chemacs 21:14:34
@dcunit3d:matrix.orgDCbut IMO, having multiple profiles is definitely a necessity21:14:50
@dcunit3d:matrix.orgDC

the isolation between each profile is a bit hard to understand, as well

the ~/.emacs.d/elpa can end up being shared between profiles, if you're not careful

https://www.gnu.org/software/emacs/manual/html_node/emacs/Package-Files.html

21:15:58
@spyjetfayed:matrix.orgspyjetfayedNo I'll keep notes of these, will bump into them eventually I'm sure21:16:01
@spyjetfayed:matrix.orgspyjetfayedFor now its good to know the starting stuff. Thanks for sharing all that info, must have taken you time to figure. 😁21:18:53
@spyjetfayed:matrix.orgspyjetfayed *

Hey I'm getting into Emacs once again. How much has changed in the Emacs world from Emacs from Scratch playlist? I'm planning to watch the new one first and then go to the old one for additional stuff since it feels like it has a lot more info.

My immediate goal is to use Emacs as my ide. So I was wondering if I should just jump ahead to "Build your own ide with lsp-mode"

21:25:34
@purplg:purplg.comPurplG
In reply to @spyjetfayed:matrix.org
Can I use the systemcrafters forum for this?
Also a lot of the System Crafters community has moved to IRC. So you're welcome to hang out there and ask some questions too ^^ of course, there's also an #emacs channel on liberachat too
22:05:38
@spyjetfayed:matrix.orgspyjetfayedYea had come since the discord was abandoned. Will join the irc too, I forgot about that yes.22:55:54
17 Jan 2025
@newmatrixkal:matrix.orgnewmatrixkal joined the room.04:38:35
18 Jan 2025
@dcunit3d:matrix.orgDC is anyone using org, org-agenda and org-roam? 13:13:23
@dcunit3d:matrix.orgDC

how do people structure their files & projects for org & roam?

i'm trying to determine whether i should split out my org-directory and org-roam-directory into two separate directory trees.

  • for now, ./roam is inside org-directory, but this makes agenda a bit unwieldy.
  • i basically don't use org outside of the roam functionality and project-specific TODO.org, etc.
13:15:47
@dcunit3d:matrix.orgDC

my approach had originally been:

  • capture stuff wherever, but try to land it close to the destination (project or roam)
  • capture stuff into more general notes where it makes sense or into a roam-dailies org file, then try to refile content further towards its endpoints

but i end up settling on org-roam to capture content and magit-todos or project todo.org to generate task lists. since i jump from project to project and work in many languages, keeping things in org-roam is nice, but it's too unstructured to make org-agenda practical

13:19:52
@dcunit3d:matrix.orgDCi also work between my laptop and desktop. syncthing doesn't work well because i keep most things in git, even if it's network-local,13:21:01
20 Jan 2025
@piotrkwiecinski:matrix.org@piotrkwiecinski:matrix.org left the room.08:51:13
@ericsfraga:matrix.orgéric

I have my roam directory as a sub-directory of my other general org (diary related) files but I have org-agenda-files set to only a small number of those files, not everything recursively.

11:05:45
22 Jan 2025
@alternateved:matrix.org@alternateved:matrix.org left the room.10:31:05

Show newer messages


Back to Room ListRoom Version: 10