On Mon, Feb 28, 2011 at 03:51, Konrad Hinsen
<address@hidden> wrote:
1) An org-mode file that contains links to everything I am currently working on, and which I change as projects start and end. This gives me instant access to almost everything I need.
2) A buffer containing my agenda and to-do list.
Translated to .emacs, this means:
(find-file "~/org/current.org")
(split-window-vertically)
(org-agenda nil "g")
Konrad.
Same here, except I also have a dblock that links to my most recently modified files to remind myself what I was working on last.
In .emacs I have:
(defun org-dblock-write:recently-modified (params)
(insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" )) (split-string (shell-command-to-string "ls -t ~/org *.org | head -5")) "\n")))
and my startup page looks like this:
--------------------------
# -*- eval: (org-update-all-dblocks) -*-
...my stuff...
#+BEGIN: recently-modified
#+END