From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: New Screencast: Setting Up Org-mode for Windows
Date: Fri, 5 Nov 2010 16:52:05 -0500 [thread overview]
Message-ID: <20101105215205.GH4528@x201> (raw)
I've just posted a new thirty minute screencast on setting up Org-mode
in Windows to Vimeo.
http://vimeo.com/16533939
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.
Enjoy!
------------------------------------------------------------------
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 ()
(interactive)
(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
(org-agenda-to-appt)))
;;; 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)
(save-window-excursion
(shell-command
(concat
"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"))))
next reply other threads:[~2010-11-05 21:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-05 21:52 Russell Adams [this message]
2010-11-07 17:08 ` New Screencast: Setting Up Org-mode for Windows 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101105215205.GH4528@x201 \
--to=rladams@adamsinfoserv.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).