emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Saurabh Agrawal <mailsaurabh@gmail.com>
To: Manish <mailtomanish.sharma@gmail.com>,
	emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Installing on windows
Date: Fri, 6 Feb 2009 18:37:22 +0530	[thread overview]
Message-ID: <4c4575360902060507n4fcc98d8k9c95aabada2e619d@mail.gmail.com> (raw)
In-Reply-To: <e7cdbe30902060434y5a5011eep1a2567f5facce184@mail.gmail.com>

>>>
>>> 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
>

  parent reply	other threads:[~2009-02-06 13:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-04 17:19 Bill Raynor
2009-02-04 17:47 ` Saurabh Agrawal
2009-02-04 17:48 ` Manish
2009-02-04 18:07   ` Saurabh Agrawal
2009-02-05  2:01     ` Manish
2009-02-05  5:02       ` Saurabh Agrawal
2009-02-05  5:14         ` Manish
2009-02-05  5:18           ` Cameron Horsburgh
2009-02-05  5:30             ` Manish
2009-02-05  6:11               ` Cameron Horsburgh
2009-02-05  7:53                 ` Manish
2009-02-05  8:25                   ` Cameron Horsburgh
2009-02-06  7:15           ` Saurabh Agrawal
2009-02-06  8:05             ` Manish
2009-02-06 11:26               ` Saurabh Agrawal
     [not found]                 ` <e7cdbe30902060434y5a5011eep1a2567f5facce184@mail.gmail.com>
2009-02-06 13:07                   ` Saurabh Agrawal [this message]
2009-02-06 19:52                     ` Manish
2009-02-06 21:24                       ` Chris McMahan
2009-02-06 23:30                         ` Sebastian Rose
2009-02-07  8:20                           ` Manish
2009-02-04 18:16   ` Bill Raynor
2009-02-04 19:52 ` Charles Sebold
2009-02-05  9:38 ` Tony Mc
2009-02-06 23:19 Tim O'Callaghan
2009-02-07  9:09 ` Manish

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=4c4575360902060507n4fcc98d8k9c95aabada2e619d@mail.gmail.com \
    --to=mailsaurabh@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailtomanish.sharma@gmail.com \
    --subject='Re: Installing on windows' \
    /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

Code repositories for project(s) associated with this 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).