use-package
my-little-friends | use-package | |
---|---|---|
5 | 67 | |
- | 4,369 | |
- | - | |
- | 2.3 | |
- | 3 months ago | |
Emacs Lisp | ||
- | 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.
my-little-friends
- skybert's Emacs Config
-
"make-directory: Wrong type argument: stringp, nil" when trying to load use-package
;; parts of the Emacs setup is copied from: https://gitlab.com/skybert/my-little-friends/-/blob/master/emacs/.emacs (defun my-message(string) "Print out a message with mild formatting" (interactive) (message (concat "————→ " string " …")) ) ;; (my-message "") (my-message "START of demo config setup") (my-message "turn off backup files") (setq-default backup-inhibited t) (my-message "set start of week to Monday (not Sunday) as I prefer and it should be according to ISO: https://en.wikipedia.org/wiki/ISO_week_date") (setq-default calendar-week-start-day 1) (my-message "set encoding") (setq locale-coding-system 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (prefer-coding-system 'utf-8) (my-message "creating ephemeral configuration directories including ELPA storage") (make-directory "configuration/elpa" "also create parents") (my-message "setq user-emacs-directory to current directory") (setq user-emacs-directory "configuration") (my-message "setq package-user-dir as sub-directory") (setq package-user-dir "configuration/elpa") ;; local demo elpa tree ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (my-message "Emacs package management") ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (my-message "Initialise the emacs packages in case any of them overrides built-in Emacs packages") (package-initialize) (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") (setq package-archives '(("melpa" . "http://melpa.org/packages/") ("gnu" . "http://elpa.gnu.org/packages/") ) gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3" ) (my-message "Ensure use-package is installed and loaded") (condition-case nil (require 'use-package) (file-error (my-message "require 'package") (require 'package) (my-message "package-initialize") (package-initialize) (my-message "package-refresh-contents") (package-refresh-contents) (my-message "package-install 'use-package") (edebug-all-defs) ;; FIXXME: doesn't catch the issue (package-install 'use-package) ;; FIXXME: I get "make-directory: Wrong type argument: stringp, nil" (my-message "require 'use-package") (require 'use-package))) (my-message "setq use-package-always-ensure: Set to true to have use-package install all packages mentioned if they're not already installed.") (setq use-package-always-ensure t) ;; ... more definitions and functions for the demo setup ...
-
Emacs as terminal multiplexer: Speed
🎞️ Slides: https://talks.skybert.net/r/2022-emacs-terminal-multiplexer2/ 📑 Emacs conf: https://gitlab.com/skybert/my-little-friends/-/tree/master/emacs 📑 tmux conf: https://gitlab.com/skybert/my-little-friends/-/tree/master/tmux
-
Emacs as your terminal multiplexer
emacs conf: https://gitlab.com/skybert/my-little-friends/-/tree/master/emacs
-
Perfect workflow with Emacs, Org and Cron
Regarding creating the daily Org files: The script can be found here: https://gitlab.com/skybert/my-little-friends/-/blob/master/bash/org/daily. You may also check out my updated slide deck at: https://talks.skybert.net/r/2022-gtd/#/24
use-package
-
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
-
Visual code folding?
use-package! is a macro over use-package, and respect its syntax, with a few additions. Useful reference on use-package keywords.
What are some alternatives?
emamux - tmux manipulation from Emacs
leaf.el - Flexible, declarative, and modern init.el package configuration
postprocess_Org-mode_iCal_export - Adding reminder alarms (defined as Org-mode tags) to your iCalendar export file
straight.el - 🍀 Next-generation, purely functional package manager for the Emacs hacker.
gnu-elpa-mirror - List packages mirrored from GNU ELPA
emacs-overlay - Bleeding edge emacs overlay [maintainer=@adisbladis]
qtile - :cookie: A full-featured, hackable tiling window manager written and configured in Python (X11 + Wayland)
nano-emacs - GNU Emacs / N Λ N O - Emacs made simple
jira2org-story.py - Extract Jira Issues and Generate Org-mode Headings
org-super-agenda - Supercharge your Org daily/weekly agenda by grouping items
code-review - Code Reviews in Emacs
melpa - Recipes and build machinery for the biggest Emacs package repo