From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ido Magal Subject: Re: Re: Startup page Date: Thu, 10 Mar 2011 21:59:46 -0800 Message-ID: References: <7A1717E3-E36E-490D-9432-A10B06DD7CE2@khinsen.fastmail.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6d59d667847b9049e2eac27 Return-path: Received: from [140.186.70.92] (port=55223 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxvOU-0004T5-0R for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 01:00:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxvOS-0005ur-4f for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 01:00:09 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:65224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxvOR-0005uY-V7 for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 01:00:08 -0500 Received: by wwc33 with SMTP id 33so2378883wwc.30 for ; Thu, 10 Mar 2011 22:00:06 -0800 (PST) In-Reply-To: <7A1717E3-E36E-490D-9432-A10B06DD7CE2@khinsen.fastmail.net> 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: Konrad Hinsen Cc: emacs-orgmode@gnu.org --0016e6d59d667847b9049e2eac27 Content-Type: text/plain; charset=UTF-8 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. 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 --0016e6d59d667847b9049e2eac27 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Mon, Feb 28, 2011 at 03:51, = Konrad Hinsen <research@khinsen.fastmail.net> wrote:

1) An org-mode file that contains links to everything I am currently workin= g on, and which I change as projects start and end. This gives me instant a= ccess to almost everything I need.

2) A buffer containing my agenda and to-do list.

Translated to .emacs, this means:

(find-file "~/org/cur= rent.org")
(split-window-vertically)
(org-agenda nil "g")

Konrad.

=C2=A0Same here, except I al= so have a dblock that links to my most recently modified files to remind my= self what I was working on last.

In .emacs I have:=

(defun org-dblock-write:recently-modified (pa= rams)
=C2=A0=C2=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:
<= div>--------------------------
# -*- eval: (org-update-all-dblock= s) -*-

...my stuff...

#+BEGIN: recently-modified
#+END
=
--0016e6d59d667847b9049e2eac27--