Okay, so I have been working on some ideas for a customization file for startup, an org-agenda, recently modified and maybe unscheduled todo's . . accessible via a function key and at startup.  Kind of a "home screen".   I have it working fine when I run the code but my problem is that when I have it run in .emacs on startup it comes up (agenda on the right and my other chosen buffer on the left (last code in my .emacs to be run) and then the screen is split horizontal and the scratch buffer opens on the top.  For me this isn't the desired behavior, didn't know if anyone knew how to turn off emacs opening into a file or if I should move this code to another location because emacs is running something to open that after it goes through .emacs???  or is that just a behavior that is going to occur?
 
Matt

On Fri, Mar 11, 2011 at 1:56 AM, Rainer M Krug <r.m.krug@gmail.com> wrote:
On Fri, Mar 11, 2011 at 6:59 AM, Ido Magal <ido@idomagal.com> wrote:
> 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
>> 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:          Rainer@krugs.de

Skype:          RMkrug
Google:         R.M.Krug@gmail.com