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
| ;; Usage: | |
| ;; 1. Call timed-screenshot | |
| ;; 2. Enter a delay time in seconds. I recommend 2. | |
| ;; 3. Navigate "out" of emacs into the pdf or web page you want to screenshot and wait for the timeout to end. | |
| ;; 4. The screenshot utility will be triggered automatically. You can customize `org-download-screenshot-method` for this. | |
| ;; 5. Take the screenshot. | |
| ;; 6. Navigate back to emacs. A minibuffer prompt asking you to enter a filename will be waiting for you. | |
| ;; 7. Enter a filename relative to current directory and hit enter. | |
| ;; | |
| ;; Credits: @mmonga@mathstodon.xyz for spurring this. Original Thread: https://mathstodon.xyz/@mmonga/113118159165252806 |
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
| (setq org-default-notes-file (concat org-directory "/notes.org")) | |
| (defvar org-local-notes-file) | |
| (defun my/org-local-get-target () | |
| (if (boundp 'org-local-notes-file) | |
| (expand-file-name org-local-notes-file) | |
| (if (y-or-n-p "A local org note doesn't exist. Create/choose one? ") | |
| (progn | |
| (add-dir-local-variable | |
| nil 'org-local-notes-file |
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
| #!/bin/sh | |
| if [ $# = 1 ] | |
| then | |
| echo "Correct call!" | |
| else | |
| echo "Wrong call - quitting!" | |
| return | |
| fi | |
| echo "Preprocessing mtx files" |
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
| ;;; sow.el --- Variable commands for scrolling the other window. | |
| ;; Copyright (C) 2016 Andreas Politz | |
| ;; Author: Andreas Politz <politza@fh-trier.de> | |
| ;; Keywords: extensions, frames | |
| ;; This program is free software; you can redistribute it and/or modify | |
| ;; it under the terms of the GNU General Public License as published by | |
| ;; the Free Software Foundation, either version 3 of the License, or |