editorconfig-emacs
emacs-overlay
editorconfig-emacs | emacs-overlay | |
---|---|---|
6 | 34 | |
726 | 460 | |
0.3% | 1.3% | |
5.8 | 10.0 | |
about 1 month ago | 5 days ago | |
Emacs Lisp | Nix | |
GNU General Public License v3.0 only | - |
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.
editorconfig-emacs
-
How Do I Make Emacs Have IDE-Like Indentation On The Fly?
I might be misunderstanding, but would something like EditorConfig help? I have found it does a really good job of configuring indentation behavior for projects that use EditorConfig.
-
Emacs 29 is nigh What can we expect?
For #2, I've been pretty happy with dtrt-indent (https://github.com/jscheid/dtrt-indent) for DWIM indentation bouncing between projects.
I have yet to try apheleia, but I wouldn't be surprised if just enabling apheleia, dtrt-indent, and editorconfig-mode (https://github.com/editorconfig/editorconfig-emacs) in prog-mode-hook just did what you wanted.
-
Eglot has landed on master: Emacs now has a built-in LSP client
> My only complaint is that I can never get Emacs's indentation to match what Prettier wants to do, so I'll type a bunch of code, prettier-on-save, and everything gets moved around.
I had this same issue, and it was annoying enough I continued to use https://github.com/editorconfig/editorconfig-emacs alongside prettier.
This does create another annoyance in having to configure editorconfig for new projects instead of relying on prettier alone.
-
How to Change Autoindent from 2 to 4
Please take a look at Editor Config. It makes handling indentation specifics easy, here a link to the Emacs package.
-
Is there a package or command out there that can add a newline at the end of the file if it doesn't exist?
I am using https://github.com/editorconfig/editorconfig-emacs
-
Editorconfig and tabs/spaces
According to the repo you should only need to enable (editorconfig-mode 1) in the init, but there's also a troubleshooting section that might help out for your specific situation. Hope that helps!
emacs-overlay
-
Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
The project uses this overlay: https://github.com/nix-community/emacs-overlay
What that means is if something is broken in Emacs, the community will fix it, and all I need to do is run `nix flake update` to grab the latest commit and then `nix run .#build-switch` to alter my system. Easy.
Thanks for the heads-up on the 404s! I've fixed those links.
In re: to org-agenda, I don't use that as much anymore. But I heavily, heavily using org-roam w/ org-roam-dailies everyday to build my own networked graph of notes. For tasks, nowadays I just use simple docs for projects and Asana to keep a catalog of everything.
-
NixOS&(Home-Manager) Flake/Overlays Help
Im a newish NixOS user, Ive used it like 20 times before but always quit because I couldnt debug errors, trying not to give up for the 20th time this time lmao; so Ive been trying to learn how to use overlays & flakes for a couple of days now. The ones I want to use/enable are: - Emacs-Overlay - Spicetify-Nix
- My First Impressions of Nix
-
Which package manager should I use?
Nix offers the same advantage through the use of emacs-overlay. Besides, Nixpkgs contains more Linux packages than any other distros. Depending on the user's needs, Nix is another option.
-
It looks like the kellyk Emacs PPA is no longer maintained. Are there any alternatives?
You can use this overlay to get the latest https://github.com/nix-community/emacs-overlay
-
Will any emacs package manager let me audit packages before installing them?
Depending on your goals, emacs-overlay is also worth a look.
-
dired navigation without infinite buffers
{ pkgs ? import {} }: ((import (builtins.fetchTarball { url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; })) pkgs pkgs).emacsGit
-
Installing Emacs 29 on Pop! OS
One option is to install Nix and use emacs-overlay.
-
How to use Emacs 29 Tree-sitter?
You can install Nix on your mac and use https://github.com/nix-community/emacs-overlay/, which supports all the existing tree-sitter-based major modes OOB.
-
Emacs 29 is nigh What can we expect?
Its great to see both eglot and tree-sitter being merged. However, I am unhappy about the state of 'emacs configurations/distributions' right now. I have been using Doom Emacs, but the development is pretty much stalled there [0], and I don't think there is any distribution that is keeping up with these cutting-edge features (compared to the NeoVim ecosystem, let's say). Somehow it feels like I was seeing a lot more activity about Emacs configurations two-three years ago.
> Compile EmacsLisp files ahead of time
Ooh, this is interesting. Hoping to see a derivation in https://github.com/nix-community/emacs-overlay soon.
[0] I am not complaining though as Doom was the main author's personal config from the get-go. I am just pointing out a void.
What are some alternatives?
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
projectile - Project Interaction Library for Emacs
flake-utils - Pure Nix flake utility functions [maintainer=@zimbatm]
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
use-package - A use-package declaration for simplifying your .emacs
doomemacs - An Emacs framework for the stubborn martian hacker
lsp-mode - Emacs client/library for the Language Server Protocol
neovim - Vim-fork focused on extensibility and usability
chemacs2 - Emacs version switcher, improved
prettier-rc-emacs - MELPA package to use local rc rules with prettier
nix - Nix, the purely functional package manager