emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Installing on windows


From: Saurabh Agrawal
Subject: Re: [Orgmode] Installing on windows
Date: Fri, 6 Feb 2009 18:37:22 +0530

>>>
>>> Then check Org version again please.
>>
>> It is still 6.16... :(
>
> Can you please mail me your complete .emacs, the location where you
> unzipped the org-mode package and what additional steps you took to
> install the package (like make etc.), if any?



Hi Manish, thanks for all the help. Here is my .emacs. Please don't
make fun of me... :)

I have just copied a lot of stuff from here and there and tried to
modify it for my needs.

-----------------------------------------------------------------
(add-to-list 'load-path "D:/Software/office/emacs/org-6.21b/org-6.21b/lisp")
(require 'org-install)
;; The following lines are always needed.  Choose your own keys.
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(add-hook 'org-mode-hook 'turn-on-font-lock)  ; Org buffers only
(transient-mark-mode 1)
(defun gtd ()
   (interactive)
   (find-file "D:/stuff/imp/plans/gtd.org")
 )


(eval-after-load "org"
  '(progn
     (define-prefix-command 'org-todo-state-map)

     (define-key org-mode-map "\C-cx" 'org-todo-state-map)

     (define-key org-todo-state-map "x"
       #'(lambda nil (interactive) (org-todo "CANCELLED")))
     (define-key org-todo-state-map "d"
       #'(lambda nil (interactive) (org-todo "DONE")))
     (define-key org-todo-state-map "f"
       #'(lambda nil (interactive) (org-todo "DEFERRED")))
     (define-key org-todo-state-map "l"
       #'(lambda nil (interactive) (org-todo "DELEGATED")))
     (define-key org-todo-state-map "s"
       #'(lambda nil (interactive) (org-todo "STARTED")))
     (define-key org-todo-state-map "w"
       #'(lambda nil (interactive) (org-todo "WAITING")))))


(require 'remember)

(add-hook 'remember-mode-hook 'org-remember-apply-template)

(define-key global-map [(control meta ?r)] 'remember)
(setq org-directory "d:/stuff/imp/plans/")
(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.
 '(org-agenda-custom-commands (quote (("t" "Today!!!" ((agenda ""
((org-agenda-ndays
1)(org-agenda-skip-function'(org-agenda-skip-entry-if 'regexp
"DONE")))) (todo "UNASSIGNED" nil) (tags-todo "CATEGORY=\"School\""
((org-agenda-skip-function'(org-agenda-skip-entry-if 'regexp "<2"))))
(tags-todo "CATEGORY=\"CRS\"" nil) (tags-todo "CATEGORY=\"Study\""
nil) (tags-todo "CATEGORY=\"Practice\"" nil) (tags-todo
"CATEGORY=\"Reading\"" nil) (tags-todo "CATEGORY=\"Other\"" nil))))))
 '(org-agenda-files (quote ("d:/Stuff/imp/dates.org"
"d:/Stuff/imp/plans/alamanac.org" "d:/stuff/imp/plans/gtd.org")))
 '(org-agenda-ndays 7)
 '(org-agenda-show-all-dates t)
 '(org-agenda-skip-deadline-if-done t)
 '(org-agenda-skip-scheduled-if-done t)
 '(org-agenda-start-on-weekday nil)
 '(org-agenda-time-grid (quote ((require-timed) "----------------"
(800 1000 1200 1400 1600 1800 2000))))
 '(org-agenda-todo-ignore-scheduled t)
 '(org-agenda-todo-ignore-with-date t)
 '(org-archive-location "%s_archive::")
 '(org-deadline-warning-days 14)
 '(org-default-notes-file "~/notes.org")
 '(org-fast-tag-selection-single-key (quote expert))
 '(org-remember-store-without-prompt t)
 '(org-remember-templates (quote (("School" 115 "* TODO %? %^g"
"gtd.org" "[[file:d:/stuff/imp/plans/school.org][School]]") ("CRS" 99
"* TODO %? %^g" "gtd.org" "CRS") ("Study" 116 "* TODO %? %^g"
"gtd.org" "Study") ("Practice" 112 "* TODO %? %^g" "gtd.org"
"Practice") ("Reading" 114 "* TODO %? %^g" "gtd.org" "Reading")
("Other" 111 "* TODO %? %^g" "gtd.org" "Other"))))
 '(org-reverse-note-order t)
 '(org-todo-keyword-faces (quote (("TODO" :foreground "red" :weight bold))))
 '(org-use-fast-todo-selection f)
 '(remember-annotation-functions (quote (org-remember-annotation)))
 '(remember-handler-functions (quote (org-remember-handler))))

(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.
 )

----------------------------------------------------------------------------------------------

I have unzipped the org-mode to the path described, which is:

D:\Software\office\emacs\org-6.21b\org-6.21b

And no, I have not taken any additional steps.


Saurabh.




>
> --
> Manish
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]