; org mode agenda files
(setq org-agenda-files
- (quote ("~/projects/debbugs/debbugs.org"
+ (quote ("~/projects/org-notes/debbugs.org"
"~/projects/org-notes/notes.org"
"~/projects/org-notes/refile.org"
"~/projects/org-notes/diary.org"
"~/projects/org-notes/chaim.org"
"~/projects/org-notes/wildman.org"
"~/projects/org-notes/uddin.org"
- "~/projects/reviews/reviews.org"
+ "~/projects/org-notes/reviews.org"
"~/projects/org-notes/fh.org")))
(set-register ?n (cons 'file "~/projects/org-notes/notes.org"))
"* TODO Review %c\n%U\n" :immediate-finish t)
("M" "Meeting" entry (file "~/projects/org-notes/refile.org")
"* MEETING with %? :MEETING:\n%U" :clock-in t :clock-resume t)
+ ("S" "Seminar" entry (file "~/projects/org-notes/refile.org")
+ "* SEMINAR notes %? :SEMINAR:\n%U" :clock-in t :clock-resume t)
+ ("P" "Paper to read" entry (file+headline "~/projects/research/papers_to_read.org" "Refile")
+ "* TODO Get/Read %? \n%U" :clock-in t :clock-resume t)
("p" "Phone call" entry (file "~/projects/org-notes/refile.org")
"* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t)
("J" "job" entry (file "~/projects/org-notes/refile.org")
(setcar org-emphasis-regexp-components " [:space:] \t('\"{")
(setcar (nthcdr 1 org-emphasis-regexp-components) " [:space:]- \t.,:!?;'\")}\\")
(org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components)
+
+;; support inserting screen shots
+(defun my/org-insert-screenshot ()
+ "Take a screenshot into a time stamped unique-named file in the
+same directory as the org-buffer and insert a link to this file."
+ (interactive)
+ (defvar filename)
+ (setq filename
+ (read-file-name
+ "Screenshot to insert: "
+ nil
+ (concat (buffer-file-name) "_" (format-time-string "%Y%m%d_%H%M%S") ".png")
+ nil
+ nil
+ )
+ )
+ (call-process "import" nil nil nil filename)
+ (insert (concat "[[" filename "]]"))
+ (org-display-inline-images))