emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* New Screencast: Setting Up Org-mode for Windows
@ 2010-11-05 21:52 Russell Adams
  2010-11-07 17:08 ` Carsten Dominik
  0 siblings, 1 reply; 9+ messages in thread
From: Russell Adams @ 2010-11-05 21:52 UTC (permalink / raw)
  To: emacs-orgmode

I've just posted a new thirty minute screencast on setting up Org-mode
in Windows to Vimeo.


Included are:

 - Downloading and configuring Emacs for Windows
 - Downloading and installing the latest Org-mode
 - Setting up a working agenda
 - Setting up capture for the agenda
 - Windows native popup reminders from Agenda entries
 - Setting up and use of one touch timestamps

Under my sig are the snippets I used in the video.


Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

;;; Agenda Icon Shortcut: "C:\Program Files\emacs-23.2\bin\runemacs.exe" -f org-agenda-list

;;;;;; start Popup.vbs
; On Error Resume Next
; Msgbox WScript.Arguments(0),0,"Org-Mode Agenda Reminder"
;;;;;; end

;; .emacs customizations

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Installing
;; Load org-mode
(add-to-list 'load-path "c:/Org/org-7.3/lisp")
(add-to-list 'load-path "c:/Org/org-7.3/contrib/lisp")
(require 'org)

;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(add-hook 'org-mode-hook 'turn-on-font-lock) ; not needed when global-font-lock-mode is on
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Capture
;; Capture
(global-set-key (kbd "C-c r") 'org-capture)
(setq org-capture-templates
      '(("t" "Agenda Todo" entry
	 (file+headline "c:/Org/MyAgenda.org" "Agenda")
	 "\n\n** TODO %?\n%T\n\n%i\n%a\n\n\n"
	 :empty-lines 1)

	("n" "Agenda Notes" entry
	 (file+headline "c:/Org/MyAgenda.org" "Agenda")
	 "\n\n** %?\n%T\n%i\n%a\n\n\n"
	 :empty-lines 1)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Popups
;; Get appointments for today
(defun my-org-agenda-to-appt ()
  (setq appt-time-msg-list nil)
  (run-at-time "24:01" nil 'my-org-agenda-to-appt)
  (let ((org-deadline-warning-days 0))    ;; will be automatic in org  5.23

;;; Disabled so that I can open multiple emacs without org loading agenda files.
(appt-activate t)

;; 5 minute warning
(setq appt-message-warning-time '60)
(setq appt-display-interval '15)

;; Update appt each time agenda opened.
(add-hook 'org-finalize-agenda-hook 'my-org-agenda-to-appt)

;; Setup agenda popup, we tell appt to use window, and replace default function
(setq appt-display-format 'window)
(setq appt-disp-window-function (function my-appt-disp-window))

(defun my-appt-disp-window (min-to-app new-time msg)
      "c:/windows/system32/cscript.exe //nologo c:/Org/Popup.vbs \"" msg "\"") nil nil)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Timestamps
;; Insert immediate timestamp
(setq org-agenda-skip-additional-timestamps nil)
(define-key global-map (kbd "<f9>")
  '(lambda () (interactive)
              (when (eq major-mode 'org-mode)
                    (org-insert-time-stamp nil t t)
                    (insert "\n"))))

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <201011081706.oA8H65QA021421@hormel5.ieee.org>]

end of thread, other threads:[~2010-11-08 22:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05 21:52 New Screencast: Setting Up Org-mode for Windows Russell Adams
2010-11-07 17:08 ` Carsten Dominik
2010-11-07 17:17   ` Russell Adams
2010-11-08  0:12     ` Stefan Vollmar
2010-11-08  1:02       ` Russell Adams
2010-11-08  3:50         ` Sunny Srivastava
2010-11-08 20:28         ` Sébastien Vauban
     [not found] <201011081706.oA8H65QA021421@hormel5.ieee.org>
2010-11-08 22:07 ` Raymond Zeitler
2010-11-08 22:34   ` Russell Adams

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).