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
| (cl-defun iko/run-process-async (name program &key stdin args on-exit) | |
| "Run PROGRAM asynchronously with ARGS, outputting to BUFFER-NAME." | |
| (with-current-buffer (get-buffer-create (concat "*" name "*")) | |
| (let ((b (current-buffer)) | |
| (p (apply #'start-process name (current-buffer) program args))) | |
| (set-process-sentinel | |
| p | |
| (lambda (proc event) | |
| (when (eq (process-status proc) 'exit) | |
| (when on-exit |
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
| (cl-defun iko/run-process-async (name program &key stdin args on-exit) | |
| "Run PROGRAM asynchronously with ARGS, outputting to BUFFER-NAME." | |
| (with-current-buffer (get-buffer-create (concat "*" name "*")) | |
| (let ((b (current-buffer)) | |
| (p (apply #'start-process name (current-buffer) program args))) | |
| (set-process-sentinel | |
| p | |
| (lambda (proc event) | |
| (when (eq (process-status proc) 'exit) | |
| (when on-exit |
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 iko/org-is-static-repeater () | |
| ;; Is this a repeater that uses the current date for rescheduling (.+) or | |
| ;; a „static“ repeater that uses the last scheduled date (++)? | |
| (when-let ((repeater (org-get-repeat))) | |
| (not (string-prefix-p ".+" repeater)))) | |
| (defun iko/org-entry-put-nil (EPOM PROPERTY VALUE) | |
| (and VALUE (org-entry-put EPOM PROPERTY VALUE))) | |
| (defun iko/org-ts-inactive→active (text) |
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
| ;;; doct-org-roam.el --- An org-roam extension for doct | |
| ;; Copyright (C) 2020 Nicholas Vollmer | |
| ;; Copyright (C) 2022 Valentin Herrmann | |
| ;; Author: Nicholas Vollmer <[email protected]> | |
| ;; URL: https://github.com/vherrmann/doct-org-roam | |
| ;; Created: July 27, 2020 | |
| ;; Keywords: org, org-roam, convenience | |
| ;; Package-Requires: ((emacs "26.1")) | |
| ;; Version: 0.0.0 |