(use-package org-transclusion
:ensure t
)
(require 'org-transclusion-http)
(add-to-list 'org-transclusion-extensions 'org-transclusion-http)
(add-to-list 'org-transclusion-extensions 'org-transclusion-html)
;(add-to-list 'org-transclusion-extensions 'dmg-org-transclusion-function)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; -*- lexical-binding: t; -*- | |
;; so they can't be simply changed | |
(setq dmg-parea-list (list "PROJ" "SPROJ" "AREA")) | |
;; this are probably hardcoded in some of the queries below | |
(setq dmg-org-roam-view-with-ancestors "v_dmg_todos_with_ancestor") | |
(setq dmg-org-roam-view-prarea "v_dmg_prarea") | |
(setq dmg-org-roam-view-nexts "v_dmg_nexts") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""This file acts as the main module for this script.""" | |
import traceback | |
import adsk.core | |
import adsk.fusion | |
import os | |
# import adsk.cam | |
# Initialize the global variables for the Application and UserInterface objects. | |
app = adsk.core.Application.get() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dmg_all_keys = {"cmd", "alt", "ctrl"} | |
hs.console.consoleFont({ | |
__luaSkinType = "NSFont", | |
name = "Menlo-Regular", | |
size = 18.0 | |
}) | |
hs.hotkey.bind( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(message "what is going on") | |
(setq package-enable-at-startup nil) | |
;;; REMEMBER: they are in reverse mode! | |
(add-to-list 'load-path "~/.emacs.d/org-mode/lisp") | |
(add-to-list 'load-path "~/.emacs.d/modules/org-roam") | |
(add-to-list 'load-path "~/.emacs.d/modules/consult") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun dmg-agenda-section-test (parm) | |
"Generate a custom section to be inserted into the agenda. Takes an optional PARM parameter." | |
(message "Parm --------------[%S]" parm) | |
(let ( | |
(original-pt (point)) | |
(inhibit-read-only t) | |
) | |
(goto-char (point-max)) | |
(let ( | |
(pt (point)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun org-roam-template-extract-fields (template) | |
"return a list with the names of the fields used | |
in the given template" | |
(let ( | |
(result '()) | |
(pos 0) | |
) | |
(while (string-match "\\${\\([^}]+\\)}" template pos) | |
;; position should be saved first, since |
(defun dmg-org-roam-danling-links (&optional limit)
(let (
(lim (or limit 25))
)
(unless (integerp lim)
(error "limit should be nil or an integer"))
(org-roam-db-query
(format
(defun test-node-creation-original (rows)
(cl-loop for row in rows
append (pcase-let* ((`(,id ,file ,file-title ,level ,todo
,pos ,priority ,scheduled ,deadline
,title ,properties ,olp ;;12
,atime ,mtime ,tags ,aliases ,refs)
row)
(all-titles (cons title aliases)))
(mapcar (lambda (temp-title)
NewerOlder