From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: Startup page Date: Fri, 11 Mar 2011 08:56:33 +0100 Message-ID: References: <7A1717E3-E36E-490D-9432-A10B06DD7CE2@khinsen.fastmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=40076 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxxDD-0006lo-2l for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 02:56:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxxD8-0008TZ-4W for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 02:56:38 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:60970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxxD8-0008Se-0N for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 02:56:34 -0500 Received: by qyk30 with SMTP id 30so2416867qyk.0 for ; Thu, 10 Mar 2011 23:56:33 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ido Magal Cc: Konrad Hinsen , emacs-orgmode@gnu.org On Fri, Mar 11, 2011 at 6:59 AM, Ido Magal wrote: > On Mon, Feb 28, 2011 at 03:51, Konrad Hinsen > 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. > > =A0Same 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) > =A0=A0(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 --=20 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:=A0 =A0 =A0 =A0 =A0=A0 +27 - (0)83 9479 042 Fax:=A0 =A0 =A0 =A0 =A0 =A0 +27 - (0)86 516 2782 Fax:=A0 =A0 =A0 =A0 =A0 =A0 +49 - (0)321 2125 2244 email:=A0 =A0 =A0 =A0 =A0 Rainer@krugs.de Skype:=A0 =A0 =A0 =A0 =A0 RMkrug Google:=A0 =A0 =A0 =A0=A0 R.M.Krug@gmail.com