radian
magit-todos
Our great sponsors
radian | magit-todos | |
---|---|---|
4 | 4 | |
483 | 685 | |
1.2% | - | |
6.7 | 6.9 | |
2 months ago | 8 days ago | |
Emacs Lisp | Emacs Lisp | |
MIT License | 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.
radian
- Whose user init have you found helpful?
-
Help with nested macros needed
(defvar test--var1 nil) ;; From https://github.com/raxod502/radian/blob/cb1dda7c8a697b2d6e3b2683805df6a085aed1c7/emacs/radian.el#L194 (defmacro my-when-compiletime (cond &rest body) "Like `when', but COND is evaluated at compile time. BODY is only compiled if COND evaluates to non-nil." (declare (indent 1)) (when (eval cond) (macroexp-progn body))) (defmacro my-log (s &rest args) "Log to *Messages*." `(when t (message (concat (propertize "the value is: " 'face 'font-lock-comment-face) (when (bound-and-true-p test--var1) (propertize (format "[%s/%s] " (substring (symbol-name (car test--var1)) 1) (cdr test--var1)) 'face 'warning)) ,s) ,@args))) ;; input should be an unquoted list containing like (:a b c) and c can be and ;; often is nil. The variable f take is included here for completeness but does ;; not do anything. (defmacro my-macro (input &rest body) (let ((c (car input)) (m (car (cdr input))) (f (cdr (cdr input)))) `(my-when-compiletime t (let ((test--var1 `(,,c . ,',m))) (message "test--var1 is %s" test--var1) (my-log "We are in my-macro") ,@body)))) ;; This works as expected (my-macro (:a b) (my-log "%s" test--var1)) ;; => test--var1 is (:a . b) ;; => the value is: [a/b] We are in my-macro ;; => the value is: [a/b] (:a . b) ;; => #("the value is: [a/b] (:a . b)" 0 14 (face font-lock-comment-face) 14 20 (face warning)) ;; This not (my-macro (:a b) (defun test-fun1 () (my-log "hey")) (run-with-timer 0.1 nil #'test-fun1)) ;; => test--var1 is (:a . b) ;; => the value is: [a/b] We are in my-macro ;; => [nil 24719 64999 224627 nil test-fun1 nil nil 964000] ;; => the value is: hey
- radian: 🍉 Dotfiles that marry elegance and practicality.
-
This is the Way
You might also want to check out Radian if you haven't seen that one yet. I haven't used it, but have read most of the code. It strikes me as a very Emacs-y "starter kit".
magit-todos
- alphapapa/magit-todos: v1.6 released (Show source files' TODOs in Magit status buffer)
-
Compile tags from code into an orgfile
This is not an exact solution you are looking for, but magit-todos displays todos in magit-status buffers. If your repository is huge, this can slow down magit, so I don't know if you would use it.
-
[ANN] alphapapa/taxy.el: Programmable taxonomical hierarchy for arbitrary objects
This is an idea I've been thinking about for a while, since Bufler reached a point of stability, to use structs to define hierarchies that can be filled with objects automatically. It finally came together in my mind and this is the result (still WIP, but it's working well). I expect to use this in Bufler, org-ql, and some other projects. It could be useful as a "backend" for magit-section, ewoc, etc, similar to how magit-todos uses hierarchical magit-sections (taxy would offer a cleaner, more flexible grouping backend).
-
Asynchronous magit-section
Take a look at magit-todos, IIRC it works asynchronously.
What are some alternatives?
.emacs.d - M-EMACS, a full-featured GNU Emacs configuration distribution
spacemacs - A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
dotfiles - My personal dotfiles (emacs, zsh, vim, i3)
bufler.el - A butler for your buffers. Group buffers into workspaces with programmable rules, and easily switch to and manipulate them.
dotfiles - My dotfiles: macOS, OpenBSD, Linux. Setup: git init; git remote add github https://github.com/rollcat/dotfiles; git pull github master
magit-delta - Use delta (https://github.com/dandavison/delta) when viewing diffs in Magit
Dotfiles - There's no place like ~/
magit-async-section - Asynchronous session support for magit
help - HELP Enables Literate Programming
ement.el - A Matrix client for GNU Emacs
.emacs.d - My emacs configuration
taxy.el - Programmable taxonomical hierarchies for arbitrary objects