this post was submitted on 26 Oct 2023
3 points (100.0% liked)

Emacs

314 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

Code is:

(progn 
  (with-temp-buffer
(insert
 (with-current-buffer (url-retrieve-synchronously "https://raw.githubusercontent.com/alphapapa/org-ql/bd2dd12a417df5403954576756d9c24273d94379/tests/data.org")
   (goto-char url-http-end-of-headers)
   (buffer-substring (point) (point-max))))
;; remove sunrise stuff throwing error
(goto-char (point-min))
(while (re-search-forward "^%%(org-super-agenda--test-diary-sunrise)\\|^%%(org-super-agenda--test-diary-sunset)" nil t)
(replace-match "" nil nil))
(write-file "/tmp/tmp.org"))
  (let ((org-agenda-files '("/tmp/tmp.org"))
(org-agenda-finalize-hook nil))
(org-agenda-list nil "2017-07-05"))
  (delete-other-windows))

Thanks to /u/alphapapa for good data for this purpose.

I've attached what mine looks like, but basically just default modus dark theme.

Why? If you live in your org-agenda, you probably care about how it looks to some extent.

Maybe we can share cool parts that improve our living spaces :)

top 8 comments
sorted by: hot top controversial new old
[–] paretoOptimalDev@alien.top 2 points 1 year ago (1 children)
[–] bloopernova@programming.dev 1 points 1 year ago

Bookmarked for later :)

Looks cool, I like it.

[–] github-alphapapa@alien.top 1 points 1 year ago (1 children)

Here's an example of one of my current views: https://i.imgur.com/aZIncEM.png I use bufler-workspace to save and restore a tab-bar tab of 4 windows, the left one being the project's Org file, and the right ones showing 3 org-ql-search views.

FYI, Org QL recently gained Embark support, so you can C-. on one of the org-ql-view items, just like in an Org Agenda buffer, and act on them, as well as candidates from the org-ql-find series of commands.

(And before someone asks, the theme is ef-elea-light by Prot.)

[–] timmymayes@alien.top 1 points 1 year ago

I need to look into both embark and org-ql. I've taken a break on sweeping changes to my config for a bit but i'll add them to my list to look into.

[–] salutis1@alien.top 1 points 1 year ago (1 children)
[–] pridkett@alien.top 1 points 1 year ago

Part of me genuinely hopes that you ported Emacs to the TurboVision toolkit. The 90’s were awesome.

[–] anonimno2@alien.top 1 points 1 year ago