Skip to content

Instantly share code, notes, and snippets.

@kurianbenoy
Last active July 23, 2019 14:26
Show Gist options
  • Save kurianbenoy/58df480a190eafe1a378d26433cf38a2 to your computer and use it in GitHub Desktop.
Save kurianbenoy/58df480a190eafe1a378d26433cf38a2 to your computer and use it in GitHub Desktop.
(define-skeleton insert-org-entry
"Prompt for task, estimate and category"
nil
'(setq task (skeleton-read "Task: "))
'(setq estimate (skeleton-read "Estimate: "))
'(setq category (skeleton-read "Category: "))
'(setq timestamp (format-time-string "%s"))
"** " task \n
":PROPERTIES:" \n
":ESTIMATED: " estimate \n
":ACTUAL:" \n
":OWNER: shaks" \n
":ID: " category "." timestamp \n
":TASKID: " category "." timestamp \n
":END:")
(org-babel-load-file (expand-file-name "~/.emacs.d/config.org"))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
(quote
("1436d643b98844555d56c59c74004eb158dc85fc55d2e7205f8d9b8c860e177f" "b583823b9ee1573074e7cbfd63623fe844030d911e9279a7c8a5d16de7df0ed0" "585942bb24cab2d4b2f74977ac3ba6ddbd888e3776b9d2f993c5704aa8bb4739" "8f97d5ec8a774485296e366fdde6ff5589cf9e319a584b845b6f7fa788c9fa9a" default)))
'(package-selected-packages
(quote
(doom-themes web-beautify sml-mode projectile kivy-mode blacken elpy anaconda-mode expand-region which-key ivy-hydra counsel ivy smex emmet-mode web-mode flycheck-clang-analyzer ac-c-headers ggtags git-timemachine git-gutter magit beacon w3m sx writegood-mode ox-twbs ox-reveal htmlize multiple-cursors emojify auto-complete async yasnippet-snippets use-package try smartparens smart-dash rainbow-mode rainbow-delimiters org-bullets gruvbox-theme doom-modeline diminish dashboard aggressive-indent)))
'(pdf-view-midnight-colors (quote ("#282828" . "#f9f5d7"))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
@kurianbenoy
Copy link
Author

Loading /etc/emacs/site-start.d/00debian.el (source)...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50festival.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

@kurianbenoy
Copy link
Author

Emacs-version: 26.1
org-mode-version: 9.1.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment