On Fri, Mar 11, 2011 at 6:59 AM, Ido Magal <i...@idomagal.com> wrote: > On Mon, Feb 28, 2011 at 03:51, Konrad Hinsen <resea...@khinsen.fastmail.net> > 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 >
I have a completelty different approach: As I use emacs / org mode effectively exclusively for literate programming and as I am usually working on two or three projects, I have created startup scripts (sh) and put them into my ~/bin directory - these are called emacs.PROJECTNAME and they change into the base directory of the project and start emacs. Emacs is configured to load all buffers which were open the lat time when started from this location, so I can effectively continue where I left. Cheers, Rainer -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: rai...@krugs.de Skype: RMkrug Google: r.m.k...@gmail.com