dot-emacs
My Emacs configuration files - mirrored from GitLab (by zzamboni)
configuration
My configs: OS setups, dotfiles, scripts and more. (by cadadr)
dot-emacs | configuration | |
---|---|---|
3 | 10 | |
78 | 26 | |
- | - | |
0.0 | 8.8 | |
about 3 years ago | 3 months ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dot-emacs
Posts with mentions or reviews of dot-emacs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-24.
-
Trouble with the init.el file using org
I personally prefer to always specify the tangle destination specifically. Normally I set a global tangle destination for the whole file, where the majority (or all) of the blocks should be written, by having something like this at the top of the Org file (this is from my old Emacs init.org file):
-
Long-Time Emacs User Looking to Level-Up (note-taking for classes)
I was also an Emacs user for a very long time, and only started using Org mode (relatively) recently. I can heartily recommend it - it has become my almost exclusive use of Emacs. I have a few pointers to the resources that helped me get started in the Org section of my old config file at https://github.com/zzamboni/dot-emacs/blob/master/init.org#org-mode. You can also see there a good selection of configuration options and packages that I found useful.
-
Can we run package-install without running package-refresh-contents every time after restarting Emacs?
I used to have this code in my old Emacs config:
configuration
Posts with mentions or reviews of configuration.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-20.
-
Use a reference manager, friends
FWIW I have this little Perl script that fetches BibTeX from doi.org for DOI numbers: https://github.com/cadadr/configuration/blob/76466b1342aaadfddf3453ab70ada4a15e82afbb/bin/doi2bib.pl I searched a lot for a way to make something similar for ISBN -> BibTeX to no avail...
-
LaTeX - Why do we use it?
If you're writing LaTeX without using any supporting software, it will be harder. But there are some things that you can use to make life way easier. One of these is the concept of "snippets". In Emacs I use something called yasnippet, and it works like this: I define a snippet like this or even something more elaborate like this. They have "trigger words". E.g. for the second one, I type "report" in a file and hit TAB. It inserts all that "snippet" to the file, and I can edit parts marked as $1, $2 and similar, jumping between them using TAB. I use this with Org mode, which is like Markdown, so it's not much different from typing into Word, essentially. There's some initial work figuring out how to do something like a syntax tree or say an equation, but once you figure a pattern out you can make it into a template using snippets and it's easier than Word once you have that.
-
Org Agenda Auto Updating
There are some examples in my init.el, you can find them if you search for :after.
-
Dir/file local variable hell, how do you cook them?
The way I do python is, I've a proxy shell script which I set as the python interpreter in Emacs.
-
Long-Time Emacs User Looking to Level-Up (note-taking for classes)
One particular thing I can suggest for equations is dynamic latex equation previews, which toggles TeX source when the cursor is on an equation but when it goes out of it it toggles a rendered preview. See this and this, adapted from this).
-
Doom has dropped support for Emacs 26.1 (Debian stable). Suggestions on what to do next?
Wrt LSP specifically, I only use it with python and the whole config is this couple lines plus this hook. IDK how lsp-mode is configured but this works fairly well for me, and actual Python config is a bit more cumbersome (because Microsoft comes up with a new Python LSP package every other day and you can't know which one to deal with...). It hooks into Emacs' complete-symbol (i.e. C-M-i), so if company or whatever (sorry, I don't really know those packages well, there was auto-something too but IDK which one is better or recommended these days) does use that mechanism as a backend, it should work seamlessly. I've made these little bindings to quickly pick a completion from the *Completions* window (gk-interactively is just a macro that expands to (lambda () ). Again, eglot hooks into Emacs' completion mechanism, so I'd risk a guess that helm or ivy would just work with that. Personally I don't like these completion frameworks because again they look to me like they are somewhat useful but not enough to warrant their complexity. I like good old completing-read, with some modern configuration (and BTW the UI Semantics section that bit is in in my init.el contains a lot of what you could call "saner defaults"). Notably they've added some very neat structural and fuzzy matching abilities starting with 25.1 IIRC and I don't even feel the need to turn ido on when those features are enabled.
-
What is the most useful part of your Emacs config?
I have a little project system that I use a lot and is a life saver: https://github.com/cadadr/configuration/tree/3e11ef25344188cc55b16f314c3c5358ace8a266/emacs.d/init.el#L1249 It's simple but it's very helpful. I like to have a project command view with dired at root on the left and magit or vc.el on the right, and I can go back to that view with a single command, gk-home, bound to the Home key. Popping a shell at bottom like yakuake with a single keybinding to gk-pop-shell is very useful too. I use frame parameters to tie projects up with frames so these two functions know what to do in each project frame. Titles are set up such that it's easy to find a particular frame with something like Rofi.
-
Linux helpful?
Depends on what you want to do. Linux is a more welcoming environment for programmers and an OS-level package manager is very helpful. I have one big repo for all my configs, and if my computer failed today I can get up and running on anything else in a couple hours, typing a few commands only. With Windows it's always a manual process and takes longer. And sometimes Windows makes some programmers' tasks too hard, like setting environment variables, etc. And more advanced things like scripting, virtualisation, containers, etc. are generally easier to do in Linux.
-
RFC: theme emacs with a 6-color palette with semantics theming
E.g. a very important detail IMHO is the active vs. inactive modelines. In your light theme they are virtually the same, so you need to chase the cursor to find the active window. The first thing I modify in themes I use is to make modeline colours such that inactive one is faded but still legible, and active modeline really stands out: https://github.com/cadadr/configuration/blob/bf8b87c36dbab85d1ec35f3c9aa6f7d3c5e1f347/emacs.d/init.el#L5842 In general if you're not limited by a palette it's easier to adjust everything perfectly.
What are some alternatives?
When comparing dot-emacs and configuration you can also consider the following projects:
git-auto-commit-mode - Automatically commit to git after each save
org-pomodoro - pomodoro technique for org-mode
org-sidebar - A helpful sidebar for Org mode
dot-doom - My Doom Emacs config files. Mirrored from https://gitlab.com/zzamboni/dot-doom
pdf-tools - Emacs support library for PDF files.
helm-bibtex - Search and manage bibliographies in Emacs
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
org-download - Drag and drop images to Emacs org-mode
dot-emacs vs git-auto-commit-mode
configuration vs org-pomodoro
dot-emacs vs org-sidebar
configuration vs dot-doom
dot-emacs vs dot-doom
configuration vs pdf-tools
dot-emacs vs org-pomodoro
configuration vs git-auto-commit-mode
dot-emacs vs helm-bibtex
configuration vs org-sidebar
dot-emacs vs doom-emacs
configuration vs org-download