doct
tempel
doct | tempel | |
---|---|---|
8 | 15 | |
362 | 475 | |
- | - | |
1.7 | 7.0 | |
3 months ago | 3 months 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.
doct
-
Packages that you would like to be in emacs core ?
Doct! Writing org capture templates is a PITA.
-
org-capture template containing conditional logic based on value read from prompt
For such a compelx logic in templates, I recommend (function function-returning-the-template) templates. Or you can explore https://github.com/progfolio/doct
-
I want to learn how to create structures and/or closures for emacs-lisp configuration
https://github.com/progfolio/doct implements a way for templates to inherit from a parent group or template. There were plans to use doct in org-roam early on, but I no longer contribute to the project and I think it has continued down the path of using its own extensions to capture templates.
-
How to display custom prompt for capture templates
I use doct which I would advise to use as well if you want to write your templates more clean
-
How do I build a filename for org capture purposes?
also see: https://github.com/progfolio/doct for org-capture definition sugar
-
I suppose I'm officially an "Emacs User" now...
I have a capture template for Waiting For items, examples: * Waiting For ** WAITING Dan the Book man send me an invoice [[mu4e:msgid:[email protected]][Re: Looking for great books of the western world]] [2022-02-25 Fri] ** RECEIVED Doct maintainer respond to my [[https://github.com/progfolio/doct/issues/33][support query]] [2022-02-27 Sun] ** RECEIVED Dok van Putten respond to my [[mu4e:msgid:[email protected]][request RE Covid booster shot]] [2022-02-25 Fri]
- Introduction to Org Capture
-
Is it possible to create a scheduled task in a task.org file to review a org file I just created with org-capture?
https://github.com/progfolio/doct#hooks
tempel
-
Packages that you would like to be in emacs core ?
TempEl could definitely replace tempo.el and even skeleton.el, but IMO the most unobtrusive and valuable addition will be orderless as a build in completion style.
-
org-capture template containing conditional logic based on value read from prompt
I combine org capture templates with the tempel package which is a great templating package.
-
How to develop a menu of phrases?
I would like to second this; writing snippets in this syntax is very easy. There's a new package for this as well: https://github.com/minad/tempel
-
TempEL: use named field as default, but be able to change it locally
I've created an issue for this.
-
Tempel error using tempel in doom emacs
I used the use-package configuration from: https://github.com/minad/tempel.
-
Like company-org-block, but for completion-at-point, corfu, and friends…
Regarding template integration, I was also wondering what org-block-capf/company offers on top. Maybe you can implement some special interactions? I use Tempel with templates like the following configured for org-mode:
-
New package: tempel-collection
A collection of templates for TempEl template engine. The collection is not so big as yasnippet-snippets just because I use a limited set of modes, but pull requests are always welcome. It is available on Melpa.
-
tempel-collections - tempel templates collection for different modes
Big thanks for beautiful template package TempEl
-
Emacs's native templating and snippet fuctionality
Thanks! There's also tempel, which uses the tempo syntax, and so can benefit directly from this library.
-
Please tell me about the different approaches to text expansion you can find in emacs.
I know exactly what I want, but it's such a chore to type out. A good example might be org-mode src blocks. Here I reach for a template-style abbrev/snippet package. Small plug for tempel, which reimagines tempo. Some modern lsp servers even include smart template expansion with "fields" you can hop around between (ya-snippet is good at this). There are lots of "libraries" of useful expansion templates for various modes for many of these tools.
What are some alternatives?
org-wild-notifier.el - Alert notifications for org-agenda
emacs-native-snippets - a collection for snippets that use emac's built in templating utilities
org-cliplink - Insert org-mode links from clipboard
numpydoc.el - Insert NumPy style docstrings in Python functions.
toc-org - toc-org is an Emacs utility to have an up-to-date table of contents in the org files without exporting (useful primarily for readme files on GitHub)
Dotfiles - Just a repository for my dotfiles
dot-doom - My Doom Emacs config files. Mirrored from https://gitlab.com/zzamboni/dot-doom
org-noter - Emacs document annotator, using Org-mode
org-fancy-priorities - Display Org Mode priorities as custom strings
cape - 🦸cape.el - Completion At Point Extensions
org-recur - Simple recurring org-mode tasks.
org-block-capf