# Bring denote into org-agenda (with prettyness)

**URL:** <https://forum.systemcrafters.net/t/bring-denote-into-org-agenda-with-prettyness/779>\
**Category:** Emacs\
**Tags:** emacs-lisp\
**Created:** [June 11, 2024, 2:07am UTC](https://forum.systemcrafters.net/t/bring-denote-into-org-agenda-with-prettyness/779 "2024-06-11T02:07:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![barocio](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/barocio/32/384_2.png) [@barocio](https://forum.systemcrafters.net/u/barocio)\
**Post date:** [June 11, 2024, 2:07am UTC](https://forum.systemcrafters.net/t/bring-denote-into-org-agenda-with-prettyness/779/1 "2024-06-11T02:07:54Z")

</div>

This file was inspired by the following video and article of daviwil which tried to hack Protesilaos Stavrou’s denote package.

- [Crafting Note Taking Extensions for Denote - System Crafters](https://systemcrafters.net/live-streams/june-7-2024/)
- [https://www.youtube.com/live/q2l\_EShllus?si=1nV8yA6IPOcA3tbf](https://www.youtube.com/live/q2l_EShllus?si=1nV8yA6IPOcA3tbf)

This implements a keyword selection with a description (similar to what we can see with marginalia), added the selection for a category (which is automatically added to the file).

And, of course, the addition of (some of) the denote files to the agenda, based on keywords (filetags) and the category.

Code here: [https://0x0.st/XbCv.el](https://0x0.st/XbCv.el)

[config-org-agenda-denote.el](https://forum.systemcrafters.net/uploads/short-url/bt0qSealPjGm2JMwDbawBORnmws.el) (13.7 KB)

A screenshot for the selection of denote file:

 ![2024-06-10_20-24-52](https://canada1.discourse-cdn.com/flex029/uploads/systemcrafters/original/1X/1e4bf3b0b07aa51141924a7b67409286f41f0de3.png)

The new keyword-prompt:  
 ![2024-06-10_20-29-52](https://canada1.discourse-cdn.com/flex029/uploads/systemcrafters/original/1X/22178905cc6b716cc78d306ec9122c27999a84c1.png)

Category automatically added to the buffer:  
 ![2024-06-10_20-31-54](https://canada1.discourse-cdn.com/flex029/uploads/systemcrafters/original/1X/0b9ac2dbb4faaacfb4d9acfb96da72363b3cfbb4.png)
