use-package
exwm
use-package | exwm | |
---|---|---|
68 | 85 | |
4,455 | 2,849 | |
0.0% | 0.0% | |
2.3 | 6.7 | |
over 1 year ago | over 1 year ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | 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.
use-package
-
C++ Template Macroprogramming versus Lisp Macros
One example is the ~use-package~ macro (Emacs plugin) [0]. Using packages in emacs is mostly the same code over and over. They've already been abstracted in functions, but you still find yourself juggling with so many utilities. You could write a bigger functions, but it will then have a lot of conditional branches. This macro selectively select the code it needs and transforming it if needs be and then the result will be evaluated.
It's a bit hard to explain for me (English is not my native language). But it's the difference between coding a solution will all the edge cases baked in and coding an archetype that let you add your own cases. With functions, you abstract common algorithms, with macros you abstract common architecture.
[0] https://github.com/jwiegley/use-package/blob/a6e856418d2ebd0...
-
Use-Package & different key bindings based on host computer
Another way would be to redefine parts of the bind-key macro or its use-package support functions
-
Can't remove Emacs as "cask emacs is not installed"
The package-install call installs use-package that provides a utility of the same name to make it easier to manage packages. It's admittedly a little overkill for this specific config, but it's a cheap investment that sets you up for later success.
-
symbols function definition is void: map!
Granted, the Doom macro makes your code looks nice and compact. But you can get very close to that just by using do-list and define-key together. Or by using the bind-key.el package, which is included with Use-package.
- 'org' is already installed (use-package)
-
Clojure Turns 15 panel discussion video
> Deps is well documented.
> The issue I personally found is that I needed to look at a bunch of OS project's deps.edn to see how people commonly structure things. Other than that it is a simple tool.
This strikes me as a contradiction, because if it was well documented you wouldn’t need to look at other people’s configs to see how to use it.
My experience with deps.edn is that every time I start a project and make a deps.edn file, I immediately draw a blank and don’t know how to structure it, so I open ones from other projects to start lifting stuff out of them.
I still don’t know how to reliably configure a project to use nrepl or socket repl without just using an editor plugin. I definitely have no idea how to use those in conjunction with a tool like reveal.
To me, none of that is simple. Simple would be like Emacs’ use-package. With that I know how to add dependencies, specify keybinds, and do initialization and configuration off the top of my head. And it has really nice documentation with tons of examples.
https://github.com/jwiegley/use-package
-
Newbie here! Need Help!
Since you are doing code development, the first things to go for would be setting up your emacs packaging (installing use-package and melpa (use-package's documentation covers this) so you have more packages to choose from (do be careful to not just pick things willy nilly but research them a bit first)) and then setting up lsp-mode. lsp-mode lets you use LSP servers for the specific programming languages you work with in a somewhat unified fashion. You then need to install and setup the LSP servers for the languages you use, and possibly install language specific Emacs packages as support (note, Emacs has builtin functionality for many).
-
Unable to display ligatures in Emacs
I'm using use-package as my package manager and the package ligature for the ligatures.
-
Boilerplate config
I have been crafting my emacs config for about 10 years. I started with vanilla and intentionally stayed away from frameworks. About two years ago I declared config bankruptcy and went down for a rewrite using use-package and straight.
-
what is basic alghoritm/logic of installation packages to emacs?
ref: https://github.com/radian-software/straight.el https://github.com/jwiegley/use-package
exwm
-
Emacs Is My New Window Manager
The developer has been missing on GitHub since 2020 [1]
[1] https://github.com/ch11ng/exwm/issues/845
-
Emacs GUI Library
There have been tiling window managers based around Emacs before. I think the most recent I tried was https://github.com/ch11ng/exwm -- in this case the window manager is itself emacs, and your windows are buffers in emacs etc.
It makes a lot of sense, since Emacs does its own tiling, and one is usually familiar with the keystrokes already, and then you don't have tiling in tiling.
So I keep meaning to go back and try this again, or something similar, but I recall it having issues with a lot of my commonly used applications back when I tried it.
When I get in the tiling mood, I use regolith, which is a nice packaging up of i3 in with the gnome environment. I'd love to have something like that, but built around emacs.
-
Does anyone here live inside emacs? can you share your workflow if you do?
The tools I use for living inside Emacs are: - EXWM as window manager https://github.com/ch11ng/exwm - mew for e-mail https://www.mew.org/en/ - org-mode for calendar and todo-list https://orgmode.org/ - terminology as shell/terminal (before it was xterm, but wanted transparency) https://www.enlightenment.org/about-terminology.md - elfeed as rss-reader https://github.com/skeeto/elfeed - hackernews for Hackernews-reader https://github.com/clarete/hackernews.el - browser eww and Firefox - pdf-tools for viewing pdfs and in mew they are converted to text view
- [EXWM] Not running under X environment when launched with emacsclient -c
-
What's that email client doing here?
I do the following things in Emacs: window management, window management, file management, web browsing, mail, streaming music, chatting, shell management, version control, and life organization.
-
Ricing EXWM environment: Generate theme from music video in EMMS
WM: EXWM Emacs X Window Manager
-
How to configure SteamOS/Arch Linux to have Emacs/OS X movement shortcuts?
In the case of Arch you could take a look at https://github.com/ch11ng/exwm
-
Are There Window Management Options For Emacs That Are Alternatives To Tab Bar Mode And Eyebrowse Mode, And Are Similar To Something Like 'i3'?
EXWM is a full-blown tiling window manager for X11 that runs in Emacs. I've been using it for years. It's kind of difficult to get going, but I'd never switch back now.
- Use GNU Emacs
-
The benefits of everything (in Emacs) being a buffer
Suddenly, I have that uniformity and consistent experience everywhere, and only a single configuration language to learn and use to get things how I like them.
If you like both emacs and tiling window managers, I strongly recommend it.
[0] https://github.com/ch11ng/exwm
What are some alternatives?
leaf.el - Flexible, declarative, and modern init.el package configuration
Amethyst - Automatic tiling window manager for macOS à la xmonad.
nano-emacs - GNU Emacs / N Λ N O - Emacs made simple
i3 - A tiling window manager for X11
evil-collection - A set of keybindings for evil-mode
stumpwm-contrib - Extension Modules for StumpWM